2009-09-28 19:43:28 +04:00
|
|
|
/*============================================================================
|
|
|
|
CMake - Cross Platform Makefile Generator
|
|
|
|
Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
|
2002-01-21 23:30:43 +03:00
|
|
|
|
2009-09-28 19:43:28 +04:00
|
|
|
Distributed under the OSI-approved BSD License (the "License");
|
|
|
|
see accompanying file Copyright.txt for details.
|
2002-01-21 23:30:43 +03:00
|
|
|
|
2009-09-28 19:43:28 +04:00
|
|
|
This software is distributed WITHOUT ANY WARRANTY; without even the
|
|
|
|
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
See the License for more information.
|
|
|
|
============================================================================*/
|
2014-12-11 21:10:03 +03:00
|
|
|
#ifndef cmCursesCacheEntryComposite_h
|
|
|
|
#define cmCursesCacheEntryComposite_h
|
2001-11-05 02:05:21 +03:00
|
|
|
|
2001-11-05 19:52:27 +03:00
|
|
|
#include "cmCursesLabelWidget.h"
|
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
|