1// Aseprite
2// Copyright (C) 2018 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_OPTIONAL_ALERT_H_INCLUDED
8#define APP_UI_OPTIONAL_ALERT_H_INCLUDED
9#pragma once
10
11#include "app/pref/option.h"
12
13#include <string>
14
15namespace app {
16
17 class OptionalAlert {
18 public:
19 static int show(Option<bool>& option,
20 const int optionWhenDisabled,
21 const std::string& msg);
22 };
23
24}
25
26#endif
27