1 | // Aseprite |
2 | // Copyright (C) 2001-2015 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_BAR_OBSERVER_H_INCLUDED |
8 | #define APP_CONTEXT_BAR_OBSERVER_H_INCLUDED |
9 | #pragma once |
10 | |
11 | namespace app { |
12 | |
13 | class ContextBarObserver { |
14 | public: |
15 | enum DropAction { DropPixels, CancelDrag }; |
16 | |
17 | virtual ~ContextBarObserver() { } |
18 | virtual void onDropPixels(DropAction action) { } |
19 | }; |
20 | |
21 | } // namespace app |
22 | |
23 | #endif |
24 | |