1 | // Aseprite |
2 | // Copyright (C) 2020-2022 Igara Studio S.A |
3 | // Copyright (C) 2001-2015 David Capello |
4 | // |
5 | // This program is distributed under the terms of |
6 | // the End-User License Agreement for Aseprite. |
7 | |
8 | #ifndef APP_UI_MAIN_MENU_BAR_H_INCLUDED |
9 | #define APP_UI_MAIN_MENU_BAR_H_INCLUDED |
10 | #pragma once |
11 | |
12 | #include "obs/connection.h" |
13 | #include "ui/menu.h" |
14 | |
15 | namespace app { |
16 | |
17 | class MainMenuBar : public ui::MenuBar { |
18 | public: |
19 | MainMenuBar(); |
20 | |
21 | void reload(); |
22 | |
23 | private: |
24 | obs::scoped_connection m_extKeys; |
25 | obs::scoped_connection m_extScripts; |
26 | }; |
27 | |
28 | } // namespace app |
29 | |
30 | #endif |
31 | |