Medical Imaging Interaction Toolkit  2023.12.99-101158b3
Medical Imaging Interaction Toolkit
berryIApplication.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 #ifndef BERRYIAPPLICATION_H_
14 #define BERRYIAPPLICATION_H_
15 
17 
18 #include <QObject>
19 
20 namespace berry {
21 
22 struct IApplicationContext;
23 
34 {
35 
39  static const int EXIT_OK;
40 
44  static const int EXIT_RESTART;
45 
51  static const int EXIT_RELAUNCH;
52 
53  virtual ~IApplication();
73  virtual QVariant Start(IApplicationContext* context) = 0;
74 
88  virtual void Stop() = 0;
89 
90 };
91 
92 }
93 
94 Q_DECLARE_INTERFACE(berry::IApplication, "org.blueberry.IApplication")
95 
96 #endif /*BERRYIAPPLICATION_H_*/
berry::IApplication::EXIT_RESTART
static const int EXIT_RESTART
Definition: berryIApplication.h:44
org_blueberry_core_runtime_Export.h
berry::IApplication::EXIT_RELAUNCH
static const int EXIT_RELAUNCH
Definition: berryIApplication.h:51
berry::IApplication
Definition: berryIApplication.h:33
berry::IApplicationContext
Definition: berryIApplicationContext.h:31
org_blueberry_core_runtime_EXPORT
#define org_blueberry_core_runtime_EXPORT
Definition: org_blueberry_core_runtime_Export.h:26
berry::IApplication::EXIT_OK
static const int EXIT_OK
Definition: berryIApplication.h:39
berry
Definition: QmitkPropertyItemModel.h:24