Medical Imaging Interaction Toolkit  2026.06.00
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 (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 
25 #ifndef mitkServiceInterface_h
26 #define mitkServiceInterface_h
27 
28 #include <usServiceInterface.h>
29 
30 #ifdef Q_DECLARE_INTERFACE
31 
41 #define MITK_DECLARE_SERVICE_INTERFACE(IFace, IId) \
42  US_DECLARE_SERVICE_INTERFACE(IFace, IId) \
43  Q_DECLARE_INTERFACE(IFace, IId)
44 
45 #else
46 
53 #define MITK_DECLARE_SERVICE_INTERFACE(IFace, IId) US_DECLARE_SERVICE_INTERFACE(IFace, IId)
54 
55 #endif
56 
57 #endif