1// Aseprite
2// Copyright (C) 2019 Igara Studio S.A.
3//
4// This program is distributed under the terms of
5// the End-User License Agreement for Aseprite.
6
7#ifndef APP_CRASH_RECOVERY_CONFIG_H_INCLUDED
8#define APP_CRASH_RECOVERY_CONFIG_H_INCLUDED
9#pragma once
10
11namespace app {
12namespace crash {
13
14 // Structure to store the configuration from Preferences instance to
15 // avoid accessing to Preferences from a non-UI thread.
16 struct RecoveryConfig {
17 double dataRecoveryPeriod;
18 int keepEditedSpriteDataFor;
19 };
20
21} // namespace crash
22} // namespace app
23
24#endif
25