cmCursesForm.h 491 B

123456789101112131415161718192021222324252627
  1. #ifndef __cmCursesForm_h
  2. #define __cmCursesForm_h
  3. #include "cmCursesStandardIncludes.h"
  4. class cmCursesForm
  5. {
  6. public:
  7. cmCursesForm();
  8. virtual ~cmCursesForm();
  9. // Description:
  10. // Handle user input.
  11. virtual void HandleInput() = 0;
  12. // Description:
  13. // Display form.
  14. virtual void Render(int left, int top, int width, int height) = 0;
  15. protected:
  16. cmCursesForm(const cmCursesForm& from);
  17. void operator=(const cmCursesForm&);
  18. FORM* m_Form;
  19. };
  20. #endif // __cmCursesForm_h