NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
FootpedalHotkeyViewActivator.h
Go to the documentation of this file.
1 /*=============================================================================
2 
3  NifTK: A software platform for medical image computing.
4 
5  Copyright (c) University College London (UCL). All rights reserved.
6 
7  This software is distributed WITHOUT ANY WARRANTY; without even
8  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
9  PURPOSE.
10 
11  See LICENSE.txt in the top level directory for details.
12 
13 =============================================================================*/
14 
15 #ifndef FootpedalHotkeyViewActivator_h
16 #define FootpedalHotkeyViewActivator_h
17 
18 #include <ctkPluginActivator.h>
19 
20 
21 namespace mitk
22 {
23 
24 
25 class FootpedalHotkeyViewActivator : public QObject, public ctkPluginActivator
26 {
27  Q_OBJECT
28  Q_INTERFACES(ctkPluginActivator)
29 #if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)
30  Q_PLUGIN_METADATA(IID "uk_ac_ucl_cmic_igifootpedalhotkey")
31 #endif
32 
33 public:
34 
35  void start(ctkPluginContext* context);
36  void stop(ctkPluginContext* context);
37  static ctkPluginContext* getContext();
38 
39 private:
40  static ctkPluginContext* m_PluginContext;
41 };
42 
43 
44 } // namespace
45 
46 #endif // FootpedalHotkeyViewActivator_h
Definition: FootpedalHotkeyViewActivator.h:25
Definition: ReceptorMemberCommandTest.cxx:25
static ctkPluginContext * getContext()
Definition: FootpedalHotkeyViewActivator.cxx:45
void stop(ctkPluginContext *context)
Definition: FootpedalHotkeyViewActivator.cxx:37
void start(ctkPluginContext *context)
Definition: FootpedalHotkeyViewActivator.cxx:29