NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
niftkNiftyViewAppWorkbenchAdvisor.h
Go to the documentation of this file.
1 /*=============================================================================
2 
3  NifTK: A software platform for medical image computing.
4 
5  Copyright (c) University College London (UCL). All rights reserved.
6 
7  This software is distributed WITHOUT ANY WARRANTY; without even
8  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
9  PURPOSE.
10 
11  See LICENSE.txt in the top level directory for details.
12 
13 =============================================================================*/
14 
15 #ifndef niftkNiftyViewAppWorkbenchAdvisor_h
16 #define niftkNiftyViewAppWorkbenchAdvisor_h
17 
18 #ifdef __MINGW32__
19 // We need to include winbase.h here in order to declare
20 // atomic intrinsics like InterlockedIncrement correctly.
21 // Otherwhise, they would be declared wrong within qatomic_windows.h .
22 #include <windows.h>
23 #endif
24 
25 #include <uk_ac_ucl_cmic_niftyview_Export.h>
27 
28 
29 namespace niftk
30 {
31 
37 class NIFTYVIEW_EXPORT NiftyViewAppWorkbenchAdvisor: public BaseWorkbenchAdvisor
38 {
39 public:
40 
42  virtual QString GetInitialWindowPerspectiveId() override;
43 
45  virtual QString GetWindowIconResourcePath() const override;
46 
47 protected:
48 
52  virtual BaseWorkbenchWindowAdvisor* CreateBaseWorkbenchWindowAdvisor(
53  berry::IWorkbenchWindowConfigurer::Pointer configurer) override;
54 
55 };
56 
57 }
58 
59 #endif
Abstract advisor class to set up an initial workbench.
Definition: niftkBaseWorkbenchAdvisor.h:45
Advisor class to set up the initial NiftyView workbench.
Definition: niftkNiftyViewAppWorkbenchAdvisor.h:37
Definition: niftkBaseWorkbenchWindowAdvisor.h:31
Definition: niftkExceptionObject.h:21