CMake/Source/CursesDialog/cmCursesCacheEntryComposite.h

48 lines
1.5 KiB
C
Raw Normal View History

2002-01-21 23:30:43 +03:00
/*=========================================================================
Program: Insight Segmentation & Registration Toolkit
Module: $RCSfile$
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) 2002 Insight Consortium. All rights reserved.
See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
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
#include "../cmCacheManager.h"
#include "cmCursesLabelWidget.h"
2001-11-05 02:05:21 +03:00
class cmCursesCacheEntryComposite
{
public:
cmCursesCacheEntryComposite(const char* key, int labelwidth, int entrywidth);
2001-11-05 02:05:21 +03:00
cmCursesCacheEntryComposite(const char* key,
const cmCacheManager::CacheEntry& value,
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&);
cmCursesLabelWidget* m_Label;
cmCursesLabelWidget* m_IsNewLabel;
cmCursesWidget* m_Entry;
std::string m_Key;
int m_LabelWidth;
int m_EntryWidth;
2001-11-05 02:05:21 +03:00
};
#endif // __cmCursesCacheEntryComposite_h