Medical Imaging Interaction Toolkit  2018.4.99-4c24e3cb
Medical Imaging Interaction Toolkit
mitkQtWidgetsActivator.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef MITKQTWIDGETSACTIVATOR_H_
14 #define MITKQTWIDGETSACTIVATOR_H_
15 
16 // Micro Services
17 #include <usModuleActivator.h>
18 #include <usModuleEvent.h>
19 #include <usServiceRegistration.h>
20 #include <usServiceTracker.h>
21 
22 #include <memory>
23 
25 
26 /*
27  * This is the module activator for the "QtWidgets" module.
28  */
30 {
31 public:
32  void Load(us::ModuleContext *context) override;
33  void Unload(us::ModuleContext *) override;
34 
35 private:
36  std::unique_ptr<mitk::IDataStorageInspectorProvider> m_TreeInspector;
37  std::unique_ptr<mitk::IDataStorageInspectorProvider> m_ListInspector;
38  std::unique_ptr<mitk::IDataStorageInspectorProvider> m_FavoriteNodesInspector;
39 };
40 
41 #endif // MITKCOREACTIVATOR_H_
void Unload(us::ModuleContext *) override
void Load(us::ModuleContext *context) override