Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkServiceInterface.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 mitkServiceInterface_h
18 #define mitkServiceInterface_h
19 
20 #include <usServiceInterface.h>
21 
22 #ifdef Q_DECLARE_INTERFACE
23 
24 #define MITK_DECLARE_SERVICE_INTERFACE(IFace, IId) \
25  US_DECLARE_SERVICE_INTERFACE(IFace, IId) \
26  Q_DECLARE_INTERFACE(IFace, IId)
27 
28 #else
29 
30 #define MITK_DECLARE_SERVICE_INTERFACE(IFace, IId) US_DECLARE_SERVICE_INTERFACE(IFace, IId)
31 
32 #endif
33 
34 #endif