Fraxinus  2023.01.05-dev+develop.0da12
An IGT application
cxFileManagerServicePluginActivator.h
Go to the documentation of this file.
1 /*=========================================================================
2 This file is part of CustusX, an Image Guided Therapy Application.
3 
4 Copyright (c) SINTEF Department of Medical Technology.
5 All rights reserved.
6 
7 CustusX is released under a BSD 3-Clause license.
8 
9 See Lisence.txt (https://github.com/SINTEFMedtek/CustusX/blob/master/License.txt) for details.
10 =========================================================================*/
11 
12 #ifndef CXFILEMANAGERSERVICEPLUGINACTIVATOR_H
13 #define CXFILEMANAGERSERVICEPLUGINACTIVATOR_H
14 #include <ctkPluginActivator.h>
15 #include "boost/shared_ptr.hpp"
16 #include "cxRegisteredService.h"
17 
18 namespace cx
19 {
20 
26 class FileManagerServicePluginActivator : public QObject, public ctkPluginActivator
27 {
28  Q_OBJECT
29  Q_INTERFACES(ctkPluginActivator)
30  Q_PLUGIN_METADATA(IID "org_custusx_core_filemanager")
31 public:
34 
35  void start(ctkPluginContext* context);
36  void stop(ctkPluginContext* context);
37 
38 private:
39  RegisteredServicePtr mRegisteredFileManagerService;
40  std::vector<RegisteredServicePtr> mRegisteredFileReaderWriterServices;
41  RegisteredServicePtr mRegisteredGuiExtenderService;
42 };
43 
44 } // cx
45 #endif // CXFILEMANAGERSERVICEPLUGINACTIVATOR_H
boost::shared_ptr< class RegisteredService > RegisteredServicePtr
Namespace for all CustusX production code.