CMake/Source/CursesDialog/cmCursesCacheEntryComposite.h

30 lines
754 B
C++

#ifndef __cmCursesCacheEntryComposite_h
#define __cmCursesCacheEntryComposite_h
#include "../cmCacheManager.h"
#include "cmCursesLabelWidget.h"
class cmCursesCacheEntryComposite
{
public:
cmCursesCacheEntryComposite(const char* key);
cmCursesCacheEntryComposite(const char* key,
const cmCacheManager::CacheEntry& value,
bool isNew);
~cmCursesCacheEntryComposite();
const char* GetValue();
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