Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
QmitkExtFileSaveProjectAction.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,
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 #ifndef QmitkExtFileSaveProjectAction_H_
18 #define QmitkExtFileSaveProjectAction_H_
19 
20 #ifdef __MINGW32__
21 // We need to inlclude winbase.h here in order to declare
22 // atomic intrinsics like InterlockedIncrement correctly.
23 // Otherwhise, they would be declared wrong within qatomic_windows.h .
24 #include <windows.h>
25 #endif
26 
27 #include <QAction>
28 
30 
31 #include <berrySmartPointer.h>
32 
33 namespace berry {
34 struct IWorkbenchWindow;
35 }
36 
38 {
39  Q_OBJECT
40 
41 public:
42 
45 
46 protected slots:
47 
48  void Run();
49 
50 private:
51 
52  void Init(berry::IWorkbenchWindow* window);
53 
54  berry::IWorkbenchWindow* m_Window;
55 };
56 
57 
58 #endif /*QmitkExtFileSaveProjectAction_H_*/
Implements transparent reference counting.
#define MITK_QT_COMMON_EXT_EXPORT