diff options
Diffstat (limited to 'Source/CursesDialog/cmCursesCacheEntryComposite.h')
-rw-r--r-- | Source/CursesDialog/cmCursesCacheEntryComposite.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Source/CursesDialog/cmCursesCacheEntryComposite.h b/Source/CursesDialog/cmCursesCacheEntryComposite.h new file mode 100644 index 0000000..e22f551 --- /dev/null +++ b/Source/CursesDialog/cmCursesCacheEntryComposite.h @@ -0,0 +1,28 @@ +#ifndef __cmCursesCacheEntryComposite_h +#define __cmCursesCacheEntryComposite_h + +#include "cmCursesLabelWidget.h" +#include "cmCacheManager.h" + +class cmCursesCacheEntryComposite +{ +public: + cmCursesCacheEntryComposite(const char* key); + cmCursesCacheEntryComposite(const char* key, + const cmCacheManager::CacheEntry& value, + bool isNew); + ~cmCursesCacheEntryComposite(); + + friend class cmCursesMainForm; + +protected: + cmCursesCacheEntryComposite(const cmCursesCacheEntryComposite& from); + void operator=(const cmCursesCacheEntryComposite&); + + cmCursesLabelWidget* m_Label; + cmCursesLabelWidget* m_IsNewLabel; + cmCursesWidget* m_Entry; + std::string m_Key; +}; + +#endif // __cmCursesCacheEntryComposite_h |