2001-11-05 02:05:21 +03:00
|
|
|
#ifndef __cmCursesCacheEntryComposite_h
|
|
|
|
#define __cmCursesCacheEntryComposite_h
|
|
|
|
|
2001-11-05 16:37:22 +03:00
|
|
|
#include "../cmCacheManager.h"
|
2001-11-05 19:52:27 +03:00
|
|
|
#include "cmCursesLabelWidget.h"
|
2001-11-05 02:05:21 +03:00
|
|
|
|
|
|
|
class cmCursesCacheEntryComposite
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
cmCursesCacheEntryComposite(const char* key);
|
|
|
|
cmCursesCacheEntryComposite(const char* key,
|
|
|
|
const cmCacheManager::CacheEntry& value,
|
|
|
|
bool isNew);
|
|
|
|
~cmCursesCacheEntryComposite();
|
2001-11-30 00:44:22 +03:00
|
|
|
const char* GetValue();
|
2001-11-05 02:05:21 +03:00
|
|
|
|
|
|
|
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
|