You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
314 B

2 years ago
  1. #pragma once
  2. #include <stdio.h>
  3. #include <stdint.h>
  4. #include <functional>
  5. namespace iflytop {
  6. using namespace std;
  7. class Main {
  8. private:
  9. /* data */
  10. public:
  11. Main(/* args */){};
  12. ~Main(){};
  13. void run();
  14. };
  15. extern Main gmain;
  16. } // namespace iflytop
  17. extern "C" {
  18. void umain(void) { iflytop::gmain.run(); }
  19. }