VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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: DtMenuEntry.h,v $ $Revision: 1.4 $ $State: Exp $
7 *********************************************************************/
11 
14 
15 #pragma once
16 
17 #include <vrfGuiCore/vrfGuiCore.h>
18 
19 #include <vrfutil/readerWriter.h>
20 #include <vrfutil/rwString.h>
21 
22 namespace makVrf
23 {
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 }

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)