MITK-IGT
IGT Extension of MITK
Loading...
Searching...
No Matches
org_mitk_gui_qt_ultrasound_Activator.cpp
Go to the documentation of this file.
1/*============================================================================
2
3The Medical Imaging Interaction Toolkit (MITK)
4
5Copyright (c) German Cancer Research Center (DKFZ)
6All rights reserved.
7
8Use of this source code is governed by a 3-clause BSD license that can be
9found in the LICENSE file.
10
11============================================================================*/
12
15
16namespace mitk {
17
18ctkPluginContext* org_mitk_gui_qt_ultrasound_Activator::m_Context = nullptr;
19
20void org_mitk_gui_qt_ultrasound_Activator::start(ctkPluginContext* context)
21{
22 m_Context = context;
23
24 BERRY_REGISTER_EXTENSION_CLASS(QmitkUltrasoundSupport, context)
25}
26
27void org_mitk_gui_qt_ultrasound_Activator::stop(ctkPluginContext* context)
28{
29 m_Context = nullptr;
30
31 Q_UNUSED(context)
32}
33
35{
36 return m_Context;
37}
38
39}
UltrasoundSupport This plugin provides functionality to manage Ultrasound devices,...
IGT Exceptions.