summaryrefslogtreecommitdiff
path: root/Source/CursesDialog/cmCursesMainForm.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/CursesDialog/cmCursesMainForm.h')
-rw-r--r--Source/CursesDialog/cmCursesMainForm.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/Source/CursesDialog/cmCursesMainForm.h b/Source/CursesDialog/cmCursesMainForm.h
index 9a80ba20c6..9aa0f6775f 100644
--- a/Source/CursesDialog/cmCursesMainForm.h
+++ b/Source/CursesDialog/cmCursesMainForm.h
@@ -54,7 +54,8 @@ public:
*/
bool LookForCacheEntry(const std::string& key);
- enum {
+ enum
+ {
MIN_WIDTH = 65,
MIN_HEIGHT = 6,
IDEAL_WIDTH = 80,
@@ -88,7 +89,7 @@ public:
* Used to do a configure. If argument is specified, it does only the check
* and not configure.
*/
- int Configure(int noconfigure=0);
+ int Configure(int noconfigure = 0);
/**
* Used to generate
@@ -98,13 +99,13 @@ public:
/**
* Used by main program
*/
- int LoadCache(const char *dir);
+ int LoadCache(const char* dir);
/**
* Progress callback
*/
- static void UpdateProgressOld(const char *msg, float prog, void*);
- static void UpdateProgress(const char *msg, float prog, void*);
+ static void UpdateProgressOld(const char* msg, float prog, void*);
+ static void UpdateProgress(const char* msg, float prog, void*);
protected:
cmCursesMainForm(const cmCursesMainForm& from);
@@ -114,8 +115,8 @@ protected:
// cache.
void FillCacheManagerFromUI();
// Fix formatting of values to a consistent form.
- void FixValue(cmState::CacheEntryType type,
- const std::string& in, std::string& out) const;
+ void FixValue(cmState::CacheEntryType type, const std::string& in,
+ std::string& out) const;
// Re-post the existing fields. Used to toggle between
// normal and advanced modes. Render() should be called
// afterwards.
@@ -155,7 +156,7 @@ protected:
int NumberOfPages;
int InitialWidth;
- cmake *CMakeInstance;
+ cmake* CMakeInstance;
std::string SearchString;
std::string OldSearchString;