OpendTect-6_4  6.4
canvascommands.h
Go to the documentation of this file.
1 #ifndef canvascommands_h
2 #define canvascommands_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Jaap Glas
9  Date: February 2009
10  RCS: $Id$
11  ________________________________________________________________________
12 
13 -*/
14 
15 #include "uicmddrivermod.h"
16 #include "command.h"
17 #include "cmdcomposer.h"
18 #include "uigraphicsviewbase.h"
19 
22 namespace CmdDrive
23 {
24 
25 mStartDeclCmdClass( uiCmdDriver, CanvasMenu, UiObjectCmd ) mEndDeclCmdClass
26 
27 
29 {
30 public:
32  : actobj_( const_cast<uiGraphicsViewBase&>(obj) )
33  {}
34  void actCB(CallBacker*);
35 
36 protected:
38 };
39 
40 
41 mStartDeclCmdClass( uiCmdDriver, NrCanvasMenuItems, UiObjQuestionCmd )
43 mStartDeclCmdClass( uiCmdDriver, IsCanvasMenuItemOn, UiObjQuestionCmd )
45 mStartDeclCmdClass( uiCmdDriver, GetCanvasMenuItem, UiObjQuestionCmd )
47 
50 
51 
52 }; // namespace CmdDrive
53 
54 #endif
#define mEndDeclCmdClass
Definition: command.h:152
#define mExpClass(module)
Definition: commondefs.h:160
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
#define mStartDeclCmdClass(mod, cmdkey, parentclass)
Definition: command.h:148
Definition: canvascommands.h:28
Command Drive
Definition: canvascommands.h:22
Definition: command.h:186
Definition: uigraphicsviewbase.h:28
Definition: cmdcomposer.h:52
#define mEndDeclComposerClass
Definition: cmdcomposer.h:149
uiGraphicsViewBase & actobj_
Definition: canvascommands.h:37
Definition: command.h:162
Definition: command.h:156
GraphicsViewMenuActivator(const uiGraphicsViewBase &obj)
Definition: canvascommands.h:31
#define mStartDeclComposerClass(mod, cmdkey, parentclass, callerclass)
Definition: cmdcomposer.h:131

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019