diff options
Diffstat (limited to 'Source/cmCacheManager.h')
-rw-r--r-- | Source/cmCacheManager.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/cmCacheManager.h b/Source/cmCacheManager.h index 12c2aef..6655997 100644 --- a/Source/cmCacheManager.h +++ b/Source/cmCacheManager.h @@ -31,7 +31,7 @@ class cmCacheManager public: class CacheIterator; friend class cmCacheManager::CacheIterator; - enum CacheEntryType{ BOOL=0, PATH, FILEPATH, STRING, INTERNAL,STATIC,UNINITIALIZED }; + enum CacheEntryType{ BOOL=0, PATH, FILEPATH, STRING, INTERNAL,STATIC, UNINITIALIZED }; private: struct CacheEntry @@ -125,6 +125,10 @@ public: std::string& value, CacheEntryType& type); + static bool ParseEntry(const char* entry, + std::string& var, + std::string& value); + ///! Get a value from the cache given a key const char* GetCacheValue(const char* key) const; |