Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
berryWorkbenchTweaklet.h
Go to the documentation of this file.
1 /*===================================================================
2 
3 BlueBerry Platform
4 
5 Copyright (c) German Cancer Research Center,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 
18 #ifndef BERRYWORKBENCHTWEAKLET_H_
19 #define BERRYWORKBENCHTWEAKLET_H_
20 
21 #include "internal/berryTweaklets.h"
22 
23 #include "berryShell.h"
24 #include "berryDisplay.h"
25 
26 namespace berry
27 {
28 
29 class WorkbenchWindow;
30 
32 {
33 
34  static Tweaklets::TweakKey<WorkbenchTweaklet> KEY;
35 
36  virtual Display* CreateDisplay() = 0;
37 
38  virtual bool IsRunning() = 0;
39 
40 };
41 
42 }
43 
44 Q_DECLARE_INTERFACE(berry::WorkbenchTweaklet, "org.blueberry.WorkbenchTweaklet")
45 
46 #endif /* BERRYWORKBENCHTWEAKLET_H_ */
static Tweaklets::TweakKey< WorkbenchTweaklet > KEY
#define BERRY_UI_QT