| 1 | // Aseprite UI Library |
|---|---|
| 2 | // Copyright (C) 2001-2013 David Capello |
| 3 | // |
| 4 | // This file is released under the terms of the MIT license. |
| 5 | // Read LICENSE.txt for more information. |
| 6 | |
| 7 | #ifndef UI_MESSAGE_LOOP_H_INCLUDED |
| 8 | #define UI_MESSAGE_LOOP_H_INCLUDED |
| 9 | #pragma once |
| 10 | |
| 11 | namespace ui { |
| 12 | |
| 13 | class Manager; |
| 14 | |
| 15 | class MessageLoop |
| 16 | { |
| 17 | public: |
| 18 | MessageLoop(Manager* manager); |
| 19 | |
| 20 | void pumpMessages(); |
| 21 | |
| 22 | private: |
| 23 | Manager* m_manager; |
| 24 | }; |
| 25 | |
| 26 | } // namespace ui |
| 27 | |
| 28 | #endif |
| 29 |