More work on signal: the C++ part is working

This commit is contained in:
Olivier Goffart 2020-05-20 18:21:12 +02:00
parent 83d206ea39
commit 4575011293
15 changed files with 166 additions and 59 deletions

13
examples/cpptest/main.cpp Normal file
View file

@ -0,0 +1,13 @@
#include "hello.h"
#include <iostream>
int main() {
static Hello component;
component._foobar.set_handler([](auto...){
std::cout << "Hello from C++" << std::endl;
});
sixtyfps::run(&component);
}