Medical Imaging Interaction Toolkit  2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
mitkPreferencesService.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 mitkPreferencesService_h
14 #define mitkPreferencesService_h
15 
17 
18 #include <memory>
19 
20 namespace mitk
21 {
22  class IPreferencesStorage;
23 
32  {
33  public:
35  ~PreferencesService() override;
36 
37  void InitializeStorage(const fs::path& filename) override;
38  void UninitializeStorage(bool removeFile) override;
40 
41  private:
42  std::unique_ptr<IPreferencesStorage> m_Storage;
43  };
44 }
45 
46 #endif
mitk::PreferencesService::GetSystemPreferences
IPreferences * GetSystemPreferences() override
Access preferences.
mitkIPreferencesService.h
mitk::PreferencesService::InitializeStorage
void InitializeStorage(const fs::path &filename) override
Initialize the preferences backend.
mitk::PreferencesService::~PreferencesService
~PreferencesService() override
mitk::PreferencesService::UninitializeStorage
void UninitializeStorage(bool removeFile) override
For internal use only.
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitk::PreferencesService
Implementation of the IPreferencesService interface.
Definition: mitkPreferencesService.h:31
mitk::PreferencesService::PreferencesService
PreferencesService()
mitk::IPreferences
Interface to application preferences.
Definition: mitkIPreferences.h:50
mitk::IPreferencesService
A service for persistent application preferences.
Definition: mitkIPreferencesService.h:33