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.

34 lines
757 B

7 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. #ifndef __MAINWINDOW_H_INCL__
  2. #define __MAINWINDOW_H_INCL__
  3. #include "../../source/lib/cli/cliClass.h"
  4. #ifdef NEWT_CLI
  5. class mainWindow: public WindowCLI{
  6. private:
  7. newtComponent m_oMenu;
  8. public:
  9. mainWindow();
  10. ~mainWindow();
  11. void paint( void );
  12. int decodeEvent( newtComponent evt );
  13. };
  14. #else
  15. #include "../../source/lib/components/base/basicNCursesEngine.h"
  16. /**
  17. * TODO: Add class description
  18. *
  19. * @author gagua
  20. */
  21. class mainWindow : public WindowCLI {
  22. public:
  23. mainWindow();
  24. virtual ~mainWindow();
  25. void paint( void );
  26. };
  27. #endif // NEWT_CLI
  28. #endif // __MAINWINDOW_H_INCL__