1// Aseprite
2// Copyright (C) 2001-2016 David Capello
3//
4// This program is distributed under the terms of
5// the End-User License Agreement for Aseprite.
6
7#ifndef APP_UI_BACKUP_INDICATOR_H_INCLUDED
8#define APP_UI_BACKUP_INDICATOR_H_INCLUDED
9#pragma once
10
11#include "ui/timer.h"
12
13namespace app {
14
15 class BackupIndicator {
16 public:
17 BackupIndicator();
18 ~BackupIndicator();
19
20 void start();
21 void stop();
22
23 private:
24 void onTick();
25
26 ui::Timer m_timer;
27 bool m_small;
28 bool m_running;
29 };
30
31} // namespace app
32
33#endif
34