summaryrefslogtreecommitdiffstats
path: root/Source/CursesDialog/cmCursesForm.h
diff options
context:
space:
mode:
authorBerk Geveci <berk.geveci@kitware.com>2001-11-29 21:44:22 (GMT)
committerBerk Geveci <berk.geveci@kitware.com>2001-11-29 21:44:22 (GMT)
commit521d8d9410c7c7bb5958357933c9759035f51828 (patch)
treebe128f3ce5a15f3aedd02601de35a2018cbc6cbc /Source/CursesDialog/cmCursesForm.h
parente57a982136f654e21607ce8db0d890dfd65a0878 (diff)
downloadCMake-521d8d9410c7c7bb5958357933c9759035f51828.zip
CMake-521d8d9410c7c7bb5958357933c9759035f51828.tar.gz
CMake-521d8d9410c7c7bb5958357933c9759035f51828.tar.bz2
Improvements to the curses interface.
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&);