2002-01-21 23:30:43 +03:00
|
|
|
/*=========================================================================
|
|
|
|
|
2002-10-24 02:03:27 +04:00
|
|
|
Program: CMake - Cross-Platform Makefile Generator
|
2002-01-21 23:30:43 +03:00
|
|
|
Module: $RCSfile$
|
|
|
|
Language: C++
|
|
|
|
Date: $Date$
|
|
|
|
Version: $Revision$
|
|
|
|
|
2002-10-24 02:03:27 +04:00
|
|
|
Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved.
|
|
|
|
See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details.
|
2002-01-21 23:30:43 +03:00
|
|
|
|
|
|
|
This software is distributed WITHOUT ANY WARRANTY; without even
|
|
|
|
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
|
|
|
PURPOSE. See the above copyright notices for more information.
|
|
|
|
|
|
|
|
=========================================================================*/
|
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:
|
2002-05-01 19:34:27 +04:00
|
|
|
cmCursesCacheEntryComposite(const char* key, int labelwidth, int entrywidth);
|
2001-11-05 02:05:21 +03:00
|
|
|
cmCursesCacheEntryComposite(const char* key,
|
2002-10-24 02:03:27 +04:00
|
|
|
const cmCacheManager::CacheIterator& it,
|
|
|
|
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
|
|
|
};
|
|
|
|
|
|
|
|
#endif // __cmCursesCacheEntryComposite_h
|