cmCursesCacheEntryComposite.h 1.4 KB
Newer Older
1
2
3
/*============================================================================
  CMake - Cross Platform Makefile Generator
  Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
Will Schroeder's avatar
Will Schroeder committed
4

5
6
  Distributed under the OSI-approved BSD License (the "License");
  see accompanying file Copyright.txt for details.
Will Schroeder's avatar
Will Schroeder committed
7

8
9
10
11
  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.
============================================================================*/
12
13
#ifndef cmCursesCacheEntryComposite_h
#define cmCursesCacheEntryComposite_h
Berk Geveci's avatar
Berk Geveci committed
14

15
#include "cmCursesLabelWidget.h"
Berk Geveci's avatar
Berk Geveci committed
16
17
18
19

class cmCursesCacheEntryComposite
{
public:
20
21
22
  cmCursesCacheEntryComposite(const std::string& key, int labelwidth,
                              int entrywidth);
  cmCursesCacheEntryComposite(const std::string& key,
23
                              cmake *cm,
24
                              bool isNew, int labelwidth, int entrywidth);
Berk Geveci's avatar
Berk Geveci committed
25
  ~cmCursesCacheEntryComposite();
26
  const char* GetValue();
Berk Geveci's avatar
Berk Geveci committed
27
28
29
30
31
32
33

  friend class cmCursesMainForm;

protected:
  cmCursesCacheEntryComposite(const cmCursesCacheEntryComposite& from);
  void operator=(const cmCursesCacheEntryComposite&);

Ken Martin's avatar
Ken Martin committed
34
35
36
37
38
39
  cmCursesLabelWidget* Label;
  cmCursesLabelWidget* IsNewLabel;
  cmCursesWidget* Entry;
  std::string Key;
  int LabelWidth;
  int EntryWidth;
Berk Geveci's avatar
Berk Geveci committed
40
41
};

42
#endif // cmCursesCacheEntryComposite_h