diff options
author | Cameron Cawley | 2019-09-19 22:20:08 +0100 |
---|---|---|
committer | Filippos Karapetis | 2019-09-21 22:16:01 +0300 |
commit | 014bef9eab9fb409cfb3ec66830e033e4aaa29a9 (patch) | |
tree | 1d4dedd703446cbf1cb90a279fc186cc293f1486 /backends/platform/sdl/sdl.h | |
parent | bdd7b6baedea7455fdc1754f7c7b49fef201cc2a (diff) | |
download | scummvm-rg350-014bef9eab9fb409cfb3ec66830e033e4aaa29a9.tar.gz scummvm-rg350-014bef9eab9fb409cfb3ec66830e033e4aaa29a9.tar.bz2 scummvm-rg350-014bef9eab9fb409cfb3ec66830e033e4aaa29a9.zip |
BACKENDS: Add a default clipboard implementation
Diffstat (limited to 'backends/platform/sdl/sdl.h')
-rw-r--r-- | backends/platform/sdl/sdl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/backends/platform/sdl/sdl.h b/backends/platform/sdl/sdl.h index ccbaeddb6d..d2912cbeb8 100644 --- a/backends/platform/sdl/sdl.h +++ b/backends/platform/sdl/sdl.h @@ -69,10 +69,12 @@ public: virtual Common::String getSystemLanguage() const; +#if SDL_VERSION_ATLEAST(2, 0, 0) // Clipboard virtual bool hasTextInClipboard(); virtual Common::String getTextFromClipboard(); virtual bool setTextInClipboard(const Common::String &text); +#endif virtual void setWindowCaption(const char *caption); virtual void addSysArchivesToSearchSet(Common::SearchSet &s, int priority = 0); |