Fraxinus  2023.01.05-dev+develop.0da12
An IGT application
cxHelpGUIExtenderService.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 CXHELPGUIEXTENDERSERVICE_H_
13 #define CXHELPGUIEXTENDERSERVICE_H_
14 
15 #include "cxGUIExtenderService.h"
16 #include "org_custusx_help_Export.h"
17 class ctkPluginContext;
18 
19 namespace cx
20 {
21 typedef boost::shared_ptr<class HelpEngine> HelpEnginePtr;
22 
31 class org_custusx_help_EXPORT HelpGUIExtenderService : public GUIExtenderService
32 {
33  Q_INTERFACES(cx::GUIExtenderService)
34 public:
35  HelpGUIExtenderService(ctkPluginContext *context, HelpEnginePtr engine);
36  virtual ~HelpGUIExtenderService();
37 
38  virtual std::vector<CategorizedWidget> createWidgets() const;
39 
40 private:
41  ctkPluginContext* mContext;
42  HelpEnginePtr mEngine;
43 };
44 typedef boost::shared_ptr<HelpGUIExtenderService> HelpGUIExtenderServicePtr;
45 
46 } /* namespace cx */
47 
48 #endif /* CXHELPGUIEXTENDERSERVICE_H_ */
boost::shared_ptr< HelpGUIExtenderService > HelpGUIExtenderServicePtr
boost::shared_ptr< HelpEngine > HelpEnginePtr
Definition: cxHelpEngine.h:61
Namespace for all CustusX production code.