1 | // Aseprite |
2 | // Copyright (C) 2021 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_COMMANDS_DEBUGGER_H_INCLUDED |
8 | #define APP_COMMANDS_DEBUGGER_H_INCLUDED |
9 | #pragma once |
10 | |
11 | #include "app/commands/command.h" |
12 | |
13 | #include <memory> |
14 | |
15 | namespace app { |
16 | |
17 | class Debugger; |
18 | |
19 | class DebuggerCommand : public Command { |
20 | public: |
21 | DebuggerCommand(); |
22 | |
23 | void closeDebugger(Context* ctx); |
24 | |
25 | protected: |
26 | void onExecute(Context* context) override; |
27 | |
28 | std::unique_ptr<Debugger> m_debugger; |
29 | }; |
30 | |
31 | } // namespace app |
32 | |
33 | #endif |
34 | |