CustusX  2021.04.21-dev+develop.337f9
An IGT application
cxExampleGUIExtenderService.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 CXEXAMPLEGUIEXTENDERSERVICE_H_
13 #define CXEXAMPLEGUIEXTENDERSERVICE_H_
14 
15 #include "cxGUIExtenderService.h"
16 #include "org_custusx_example_Export.h"
17 class ctkPluginContext;
18 
19 namespace cx
20 {
21 
30 class org_custusx_example_EXPORT ExampleGUIExtenderService : public GUIExtenderService
31 {
32  Q_INTERFACES(cx::GUIExtenderService)
33 public:
34  ExampleGUIExtenderService(ctkPluginContext *context);
36 
37  std::vector<CategorizedWidget> createWidgets() const;
38 
39 private:
40  ctkPluginContext* mContext;
41 
42 };
43 typedef boost::shared_ptr<ExampleGUIExtenderService> ExampleGUIExtenderServicePtr;
44 
45 } /* namespace cx */
46 
47 #endif /* CXEXAMPLEGUIEXTENDERSERVICE_H_ */
48 
boost::shared_ptr< ExampleGUIExtenderService > ExampleGUIExtenderServicePtr
Namespace for all CustusX production code.