1 /*=========================================================================
3 Program: CMake - Cross-Platform Makefile Generator
4 Module: $RCSfile: cmCursesCacheEntryComposite.h,v $
6 Date: $Date: 2006-03-16 15:44:55 $
7 Version: $Revision: 1.9 $
9 Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved.
10 See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details.
12 This software is distributed WITHOUT ANY WARRANTY; without even
13 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14 PURPOSE. See the above copyright notices for more information.
16 =========================================================================*/
17 #ifndef __cmCursesCacheEntryComposite_h
18 #define __cmCursesCacheEntryComposite_h
20 #include "../cmCacheManager.h"
21 #include "cmCursesLabelWidget.h"
23 class cmCursesCacheEntryComposite
26 cmCursesCacheEntryComposite(const char* key
, int labelwidth
, int entrywidth
);
27 cmCursesCacheEntryComposite(const char* key
,
28 const cmCacheManager::CacheIterator
& it
,
29 bool isNew
, int labelwidth
, int entrywidth
);
30 ~cmCursesCacheEntryComposite();
31 const char* GetValue();
33 friend class cmCursesMainForm
;
36 cmCursesCacheEntryComposite(const cmCursesCacheEntryComposite
& from
);
37 void operator=(const cmCursesCacheEntryComposite
&);
39 cmCursesLabelWidget
* Label
;
40 cmCursesLabelWidget
* IsNewLabel
;
41 cmCursesWidget
* Entry
;
47 #endif // __cmCursesCacheEntryComposite_h