VR-Forces 4.2 Class Documentation
DtCreateObjectMenuItem.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2000 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: DtCreateObjectMenuItem.h,v $ $Revision: 1.3 $ $State: Exp $
7 *********************************************************************/
8 
11 
15 
16 #pragma once
17 
18 #include <vrfGuiCore/DtMenuItem.h>
19 
20 #include <vrfutil/rwObjType.h>
21 #include <vrfutil/rwForce.h>
22 
23 namespace makVrf
24 {
26  {
27 
28  public:
29 
32  (
33  const DtString& name,
34  DtReaderWriterRegistry* const parentRegistry = NULL
35  );
36 
38  virtual ~DtCreateObjectMenuItem();
39 
42 
44  DtCreateObjectMenuItem& operator=(const DtCreateObjectMenuItem& orig);
45 
46  virtual DtString keywords() const;
47  void setKeywords(const DtString&);
48 
49  virtual DtString menuIcon() const;
50  void setMenuIcon(const DtString&);
51 
52  virtual DtObjectType objectType() const;
53  void setObjectType(const DtObjectType&);
54 
55  virtual DtForceType forceType() const;
56  void setForceType(DtForceType);
57 
58  virtual bool operator==(const DtMenuEntry&) const;
59 
60  virtual DtMenuEntry* clone() const;
61 
62  protected:
63 
68  };
69 
71  {
72  myMenuIcon = o;
73  }
74 
76  {
77  myKeywords = o;
78  }
79 
80  inline void DtCreateObjectMenuItem::setObjectType(const DtObjectType& o)
81  {
82  myObjectType = o;
83  }
84 
85  inline void DtCreateObjectMenuItem::setForceType(DtForceType f)
86  {
87  myForceType = f;
88  }
89 }

Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)