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