summaryrefslogtreecommitdiffstats
path: root/Source/cmCacheManager.h
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2002-09-04 19:46:25 (GMT)
committerKen Martin <ken.martin@kitware.com>2002-09-04 19:46:25 (GMT)
commit7f76762c07dca6c61d3889124903c474be5f1c63 (patch)
tree34734f12b4922806fc30630bfcdec2d37e8d7f39 /Source/cmCacheManager.h
parentae34a490bbe836c4fbd48fcd547f14c4b13d82e7 (diff)
downloadCMake-7f76762c07dca6c61d3889124903c474be5f1c63.zip
CMake-7f76762c07dca6c61d3889124903c474be5f1c63.tar.gz
CMake-7f76762c07dca6c61d3889124903c474be5f1c63.tar.bz2
made method public
Diffstat (limited to 'Source/cmCacheManager.h')
-rw-r--r--Source/cmCacheManager.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmCacheManager.h b/Source/cmCacheManager.h
index 0e80822..243506e 100644
--- a/Source/cmCacheManager.h
+++ b/Source/cmCacheManager.h
@@ -104,7 +104,10 @@ public:
std::string& var,
std::string& value,
CacheEntryType& type);
-
+
+ ///! Get a value from the cache given a key
+ const char* GetCacheValue(const char* key) const;
+
protected:
///! Add an entry into the cache
void AddCacheEntry(const char* key, const char* value,
@@ -112,9 +115,6 @@ protected:
///! Add a BOOL entry into the cache
void AddCacheEntry(const char* key, bool, const char* helpString);
-
- ///! Get a value from the cache given a key
- const char* GetCacheValue(const char* key) const;
private:
static void OutputHelpString(std::ofstream& fout,