Fraxinus  2023.01.05-dev+develop.0da12
An IGT application
cxVBService.cpp
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 #include "cxVBService.h"
13 #include "ctkPluginContext.h"
14 #include "cxVBWidget.h"
15 #include "cxVisServices.h"
16 
17 namespace cx
18 {
19 
21  mServices(services)
22 {
23 }
24 std::vector<GUIExtenderService::CategorizedWidget> VBGUIExtenderService::createWidgets() const
25 {
26  std::vector<CategorizedWidget> retval;
28  new VBWidget(mServices, NULL),
29  "Utility"));
30 
31  return retval;
32 }
33 
34 } /* namespace cx */
boost::shared_ptr< class VisServices > VisServicesPtr
Definition: cxMainWindow.h:40
std::vector< CategorizedWidget > createWidgets() const
Definition: cxVBService.cpp:24
VBGUIExtenderService(VisServicesPtr services)
Definition: cxVBService.cpp:20
Namespace for all CustusX production code.