1 #include <cstdio> 2 #include <sdeventplus/event.hpp> 3 4 int main(int argc, char* argv[]) 5 { 6 if (argc != 2) 7 { 8 fprintf(stderr, "Usage: %s [file]\n", argv[0]); 9 return 1; 10 } 11 12 sdeventplus::Event event = sdeventplus::Event::get_default(); 13 return event.loop(); 14 } 15