William A. Kennington III | 8f90e28 | 2018-07-17 14:40:14 -0700 | [diff] [blame] | 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 | } |