ENH: check in almost building VMS stuff with VMSBuild directory since the bootstrap...
[cmake.git] / Source / CursesDialog / cmCursesCacheEntryComposite.h
blob80c7cc9fb47e79f8f1e6a6e209e9caf4b480518e
1 /*=========================================================================
3 Program: CMake - Cross-Platform Makefile Generator
4 Module: $RCSfile: cmCursesCacheEntryComposite.h,v $
5 Language: C++
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
25 public:
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;
35 protected:
36 cmCursesCacheEntryComposite(const cmCursesCacheEntryComposite& from);
37 void operator=(const cmCursesCacheEntryComposite&);
39 cmCursesLabelWidget* Label;
40 cmCursesLabelWidget* IsNewLabel;
41 cmCursesWidget* Entry;
42 std::string Key;
43 int LabelWidth;
44 int EntryWidth;
47 #endif // __cmCursesCacheEntryComposite_h