13 #ifndef mitkUndoRedoPreferenceHelper_h
14 #define mitkUndoRedoPreferenceHelper_h
34 namespace UndoRedoPreferenceHelper
Interface to application preferences.
MITKCORE_EXPORT int GetLastPositiveLimit()
The most recent positive (non-zero) limit the user chose. Falls back to mitk::DEFAULT_UNDO_REDO_LIMIT...
MITKCORE_EXPORT void StoreLimit(int limit)
Persists the active limit. Always writes "UndoLimit"; when limit is greater than 0 it also records it...
MITKCORE_EXPORT int GetActiveLimit()
The currently configured undo limit (0 = unlimited). Falls back to mitk::DEFAULT_UNDO_REDO_LIMIT if n...
MITKCORE_EXPORT IPreferences * GetPreferences()
Returns the "/General/UndoRedo" preferences node, or nullptr if the preferences service is unavailabl...
Find image slices visible on a given plane.