| 1 | // Aseprite |
|---|---|
| 2 | // Copyright (c) 2001-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_CONTEXT_OBSERVER_H_INCLUDED |
| 8 | #define APP_CONTEXT_OBSERVER_H_INCLUDED |
| 9 | #pragma once |
| 10 | |
| 11 | namespace app { |
| 12 | |
| 13 | class Doc; |
| 14 | class Site; |
| 15 | |
| 16 | class ContextObserver { |
| 17 | public: |
| 18 | virtual ~ContextObserver() { } |
| 19 | virtual void onActiveSiteChange(const Site& site) { } |
| 20 | }; |
| 21 | |
| 22 | } // namespace app |
| 23 | |
| 24 | #endif |
| 25 |