VR-Forces 4.1.1 Class Documentation
menuEntry.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2000 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: menuEntry.h,v $ $Revision: 1.4 $ $State: Exp $
7 *********************************************************************/
8 
11 
12 #ifndef MENUENTRY_H
13 #define MENUENTRY_H
14 
15 #include "vrfutil/rdrWritr.h"
16 
17 #include "vrfutil/rwString.h"
18 
22 
25 {
26 
27 public:
28 
31  (
32  const DtString& name,
33  DtReaderWriterRegistry* const parentRegistry = NULL
34  );
35 
37  virtual ~DtMenuEntry();
38 
40  DtMenuEntry(const DtMenuEntry& orig);
41 
43  DtMenuEntry& operator=(const DtMenuEntry& orig);
44 
45  virtual DtString label() const;
46  void setLabel(const DtString&);
47 
48  virtual bool operator==(const DtMenuEntry&) const;
49  virtual bool operator!=(const DtMenuEntry&) const;
50 
51  virtual DtMenuEntry* clone() const;
52 
53 protected:
54 
56 
57 };
58 
59 inline void DtMenuEntry::setLabel(const DtString& label)
60 {
61  myLabel = label;
62 }
63 
64 #endif

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)