CustusX  2021.04.21-dev+develop.337f9
An IGT application
cxWebServerGUIExtenderService.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 CXWEBSERVERGUIEXTENDERSERVICE_H_
13 #define CXWEBSERVERGUIEXTENDERSERVICE_H_
14 
15 #include "cxGUIExtenderService.h"
16 #include "org_custusx_webserver_Export.h"
17 class ctkPluginContext;
18 
19 namespace cx
20 {
21 
22 typedef boost::shared_ptr<class RemoteAPI> RemoteAPIPtr;
23 typedef boost::shared_ptr<class HttpRequestHandler> HttpRequestHandlerPtr;
24 
33 class org_custusx_webserver_EXPORT WebServerGUIExtenderService : public GUIExtenderService
34 {
35  Q_INTERFACES(cx::GUIExtenderService)
36 public:
37  WebServerGUIExtenderService(ctkPluginContext *context);
39 
40  std::vector<CategorizedWidget> createWidgets() const;
41 
42 private:
43  VisServicesPtr mVisServices;
44 };
45 typedef boost::shared_ptr<WebServerGUIExtenderService> WebServerGUIExtenderServicePtr;
46 
47 } /* namespace cx */
48 
49 #endif /* CXWEBSERVERGUIEXTENDERSERVICE_H_ */
50 
boost::shared_ptr< class VisServices > VisServicesPtr
Definition: cxMainWindow.h:40
boost::shared_ptr< WebServerGUIExtenderService > WebServerGUIExtenderServicePtr
boost::shared_ptr< class RemoteAPI > RemoteAPIPtr
boost::shared_ptr< class HttpRequestHandler > HttpRequestHandlerPtr
Namespace for all CustusX production code.