Medical Imaging Interaction Toolkit  2018.4.99-b5518f0d
Medical Imaging Interaction Toolkit
berryWorkbenchTweaklet.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 
14 #ifndef BERRYWORKBENCHTWEAKLET_H_
15 #define BERRYWORKBENCHTWEAKLET_H_
16 
17 #include "internal/berryTweaklets.h"
18 
19 #include "berryShell.h"
20 #include "berryDisplay.h"
21 
22 namespace berry
23 {
24 
25 class WorkbenchWindow;
26 
28 {
29 
30  static Tweaklets::TweakKey<WorkbenchTweaklet> KEY;
31 
32  virtual Display* CreateDisplay() = 0;
33 
34  virtual bool IsRunning() = 0;
35 
36 };
37 
38 }
39 
40 Q_DECLARE_INTERFACE(berry::WorkbenchTweaklet, "org.blueberry.WorkbenchTweaklet")
41 
42 #endif /* BERRYWORKBENCHTWEAKLET_H_ */
static Tweaklets::TweakKey< WorkbenchTweaklet > KEY
#define BERRY_UI_QT