1 | // Aseprite UI Library |
2 | // Copyright (C) 2018 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_CLIPBOARD_DELEGATE_H_INCLUDED |
8 | #define UI_CLIPBOARD_DELEGATE_H_INCLUDED |
9 | #pragma once |
10 | |
11 | #include <string> |
12 | |
13 | namespace ui { |
14 | |
15 | class ClipboardDelegate { |
16 | public: |
17 | virtual ~ClipboardDelegate() { } |
18 | virtual void setClipboardText(const std::string& text) = 0; |
19 | virtual bool getClipboardText(std::string& text) = 0; |
20 | }; |
21 | |
22 | } // namespace ui |
23 | |
24 | #endif |
25 | |