2016-09-27 22:01:08 +03:00
|
|
|
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
|
|
|
file Copyright.txt or https://cmake.org/licensing for details. */
|
2014-12-11 21:10:03 +03:00
|
|
|
#ifndef cmCursesCacheEntryComposite_h
|
|
|
|
#define cmCursesCacheEntryComposite_h
|
2001-11-05 02:05:21 +03:00
|
|
|
|
2016-09-01 22:55:09 +03:00
|
|
|
#include <cmConfigure.h> // IWYU pragma: keep
|
2001-11-05 02:05:21 +03:00
|
|
|
|
2016-09-01 22:55:09 +03:00
|
|
|
#include <string>
|
|
|
|
|
|
|
|
class cmCursesLabelWidget;
|
|
|
|
class cmCursesWidget;
|
2016-08-17 02:08:13 +03:00
|
|
|
class cmake;
|
|
|
|
|
2001-11-05 02:05:21 +03:00
|
|
|
class cmCursesCacheEntryComposite
|
|
|
|
{
|
|
|
|
public:
|
2014-02-05 01:06:56 +04:00
|
|
|
cmCursesCacheEntryComposite(const std::string& key, int labelwidth,
|
|
|
|
int entrywidth);
|
2016-05-16 17:34:04 +03:00
|
|
|
cmCursesCacheEntryComposite(const std::string& key, cmake* cm, bool isNew,
|
|
|
|
int labelwidth, int entrywidth);
|
2001-11-05 02:05:21 +03:00
|
|
|
~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&);
|
|
|
|
|
2006-03-16 18:44:55 +03:00
|
|
|
cmCursesLabelWidget* Label;
|
|
|
|
cmCursesLabelWidget* IsNewLabel;
|
|
|
|
cmCursesWidget* Entry;
|
|
|
|
std::string Key;
|
|
|
|
int LabelWidth;
|
|
|
|
int EntryWidth;
|
2001-11-05 02:05:21 +03:00
|
|
|
};
|
|
|
|
|
2014-12-11 21:10:03 +03:00
|
|
|
#endif // cmCursesCacheEntryComposite_h
|