summaryrefslogtreecommitdiffstats
path: root/Source/CursesDialog/cmCursesForm.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/CursesDialog/cmCursesForm.h')
-rw-r--r--Source/CursesDialog/cmCursesForm.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/Source/CursesDialog/cmCursesForm.h b/Source/CursesDialog/cmCursesForm.h
index bf6d065..c333cf4 100644
--- a/Source/CursesDialog/cmCursesForm.h
+++ b/Source/CursesDialog/cmCursesForm.h
@@ -17,6 +17,17 @@ public:
// Display form.
virtual void Render(int left, int top, int width, int height) = 0;
+ // Description:
+ // This method should normally called only by the form.
+ // The only exception is during a resize.
+ virtual void UpdateStatusBar() = 0;
+
+ // During a CMake run, an error handle should add errors
+ // to be displayed afterwards.
+ virtual void AddError(const char* message, const char* title) {};
+
+ static cmCursesForm* CurrentForm;
+
protected:
cmCursesForm(const cmCursesForm& from);
void operator=(const cmCursesForm&);