Medical Imaging Interaction Toolkit  2022.04.99-01b95b17
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_*/
static const int EXIT_OK
#define org_blueberry_core_runtime_EXPORT
static const int EXIT_RESTART
static const int EXIT_RELAUNCH