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
28public:
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
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
57protected:
60
61 // Override createAudioCDManager() to get our Mac-specific
62 // version.
64};
65
66#endif
Definition: audiocd.h:33
Definition: path.h:52
Definition: archive.h:330
Definition: str.h:59
Definition: ustr.h:57
Definition: macosx.h:27
Common::U32String getTextFromClipboard() override
bool hasFeature(Feature f) override
bool openUrl(const Common::String &url) override
void initBackend() override
Common::Path getDefaultLogFileName() override
void init() override
AudioCDManager * createAudioCDManager() override
Common::Path getDefaultConfigFileName() override
Common::String getSystemLanguage() const override
void updateStartSettings(const Common::String &executable, Common::String &command, Common::StringMap &settings, Common::StringArray &additionalArgs) override
bool setTextInClipboard(const Common::U32String &text) override
bool hasTextInClipboard() override
void addSysArchivesToSearchSet(Common::SearchSet &s, int priority=0) override
bool displayLogFile() override
Definition: posix.h:27
Feature
Definition: system.h:415