NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
IGIVLEditorActivator.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 IGIVLEditorActivator_h
16 #define IGIVLEditorActivator_h
17 
18 #include <ctkPluginActivator.h>
19 
20 namespace mitk {
21 
27 class IGIVLEditorActivator : public QObject, public ctkPluginActivator
28 {
29  Q_OBJECT
30  Q_INTERFACES(ctkPluginActivator)
31 #if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)
32  Q_PLUGIN_METADATA(IID "uk_ac_ucl_cmic_igivleditor")
33 #endif
34 
35 public:
36  void start(ctkPluginContext* context);
37  void stop(ctkPluginContext* context);
38  static ctkPluginContext* getContext();
39 
40 private:
41  static ctkPluginContext* s_PluginContext;
42 };
43 
44 } // end namespace
45 
46 #endif /* IGIVLEditorActivator_h */
47 
Activator class for the IGIVLEditor.
Definition: IGIVLEditorActivator.h:27
static ctkPluginContext * getContext()
Definition: IGIVLEditorActivator.cxx:46
void start(ctkPluginContext *context)
Definition: IGIVLEditorActivator.cxx:29
Definition: ReceptorMemberCommandTest.cxx:25
void stop(ctkPluginContext *context)
Definition: IGIVLEditorActivator.cxx:38