ScummVM API documentation
macosx.h
1 /* ScummVM - Graphic Adventure Engine
2  *
3  * ScummVM is the legal property of its developers, whose names
4  * are too numerous to list here. Please refer to the COPYRIGHT
5  * file distributed with this source distribution.
6  *
7  * This program is free software: you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation, either version 3 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program. If not, see <http://www.gnu.org/licenses/>.
19  *
20  */
21 
22 #ifndef PLATFORM_SDL_MACOSX_H
23 #define PLATFORM_SDL_MACOSX_H
24 
25 #include "backends/platform/sdl/posix/posix.h"
26 
27 class OSystem_MacOSX : public OSystem_POSIX {
28 public:
29  ~OSystem_MacOSX();
30 
31  bool hasFeature(Feature f) override;
32 
33  bool displayLogFile() override;
34 
35  bool hasTextInClipboard() override;
37  bool setTextInClipboard(const Common::U32String &text) override;
38 
39  bool openUrl(const Common::String &url) override;
40 
41  Common::String getSystemLanguage() const override;
42 
43  void init() override;
44  void initBackend() override;
45  void addSysArchivesToSearchSet(Common::SearchSet &s, int priority = 0) override;
46  void updateStartSettings(const Common::String &executable, Common::String &command, Common::StringMap &settings, Common::StringArray& additionalArgs) override;
47 
48 #ifdef USE_OPENGL
49  GraphicsManagerType getDefaultGraphicsManager() const override;
50 #endif
51 
52  // Default paths
53  Common::Path getDefaultIconsPath() override;
54  Common::Path getDefaultDLCsPath() override;
55  Common::Path getScreenshotsPath() override;
56 
57 protected:
60 
61  // Override createAudioCDManager() to get our Mac-specific
62  // version.
64 };
65 
66 #endif
bool openUrl(const Common::String &url) override
Definition: str.h:59
void updateStartSettings(const Common::String &executable, Common::String &command, Common::StringMap &settings, Common::StringArray &additionalArgs) override
void addSysArchivesToSearchSet(Common::SearchSet &s, int priority=0) override
AudioCDManager * createAudioCDManager() override
Feature
Definition: system.h:403
Common::Path getDefaultLogFileName() override
void init() override
Definition: path.h:52
Definition: macosx.h:27
Common::String getSystemLanguage() const override
void initBackend() override
Definition: ustr.h:57
Definition: archive.h:312
Common::U32String getTextFromClipboard() override
Common::Path getDefaultConfigFileName() override
bool setTextInClipboard(const Common::U32String &text) override
bool displayLogFile() override
Definition: posix.h:27
Definition: audiocd.h:33
bool hasTextInClipboard() override
bool hasFeature(Feature f) override