Medical Imaging Interaction Toolkit
2023.12.00
Medical Imaging Interaction Toolkit
mitkIPreferencesService.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 mitkIPreferencesService_h
14
#define mitkIPreferencesService_h
15
16
#include <
mitkServiceInterface.h
>
17
#include <
MitkCoreExports.h
>
18
19
#include <filesystem>
20
21
namespace
mitk
22
{
23
class
IPreferences;
24
33
class
MITKCORE_EXPORT
IPreferencesService
34
{
35
public
:
39
virtual
~
IPreferencesService
();
40
54
virtual
void
InitializeStorage(
const
std::filesystem::path& filename) = 0;
55
62
virtual
void
UninitializeStorage(
bool
removeFile =
true
) = 0;
63
78
virtual
IPreferences
* GetSystemPreferences() = 0;
79
};
80
}
81
82
MITK_DECLARE_SERVICE_INTERFACE
(
mitk::IPreferencesService
,
"org.mitk.IPreferencesService"
)
83
84
#endif
mitkServiceInterface.h
mitk
Find image slices visible on a given plane.
Definition:
RenderingTests.dox:1
MitkCoreExports.h
mitk::IPreferences
Interface to application preferences.
Definition:
mitkIPreferences.h:50
mitk::IPreferencesService
A service for persistent application preferences.
Definition:
mitkIPreferencesService.h:33
MITK_DECLARE_SERVICE_INTERFACE
#define MITK_DECLARE_SERVICE_INTERFACE(IFace, IId)
Definition:
mitkServiceInterface.h:26
MITKCORE_EXPORT
#define MITKCORE_EXPORT
Definition:
MitkCoreExports.h:15
src
MITK
Modules
Core
include
mitkIPreferencesService.h
Generated on Thu Nov 30 2023 15:58:53 for Medical Imaging Interaction Toolkit by
1.8.17