Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
berryIPersistable.h
Go to the documentation of this file.
1 /*===================================================================
2 
3 BlueBerry Platform
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 BERRYIPERSISTABLE_H
18 #define BERRYIPERSISTABLE_H
19 
21 #include <berrySmartPointer.h>
22 
23 namespace berry {
24 
25 struct IMemento;
26 
32 {
33  virtual ~IPersistable();
34 
40  virtual void SaveState(const SmartPointer<IMemento>& memento) const = 0;
41 };
42 
43 }
44 
45 #endif // BERRYIPERSISTABLE_H
Implements transparent reference counting.
#define BERRY_UI_QT