2010-06-24 19:05:59 +00:00
|
|
|
/* ScummVM - Graphic Adventure Engine
|
|
|
|
*
|
|
|
|
* ScummVM is the legal property of its developers, whose names
|
|
|
|
* are too numerous to list here. Please refer to the COPYRIGHT
|
|
|
|
* file distributed with this source distribution.
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License
|
|
|
|
* as published by the Free Software Foundation; either version 2
|
|
|
|
* of the License, or (at your option) any later version.
|
2014-02-18 02:34:24 +01:00
|
|
|
*
|
2010-06-24 19:05:59 +00:00
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
2014-02-18 02:34:24 +01:00
|
|
|
*
|
2010-06-24 19:05:59 +00:00
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef PLATFORM_SDL_MACOSX_H
|
|
|
|
#define PLATFORM_SDL_MACOSX_H
|
|
|
|
|
|
|
|
#include "backends/platform/sdl/posix/posix.h"
|
|
|
|
|
|
|
|
class OSystem_MacOSX : public OSystem_POSIX {
|
|
|
|
public:
|
|
|
|
OSystem_MacOSX();
|
2018-03-25 16:54:43 -05:00
|
|
|
~OSystem_MacOSX();
|
2010-06-24 19:05:59 +00:00
|
|
|
|
2011-06-03 12:08:37 +02:00
|
|
|
virtual bool hasFeature(Feature f);
|
|
|
|
|
|
|
|
virtual bool displayLogFile();
|
2012-09-26 04:17:31 +02:00
|
|
|
|
2016-07-28 00:20:33 +01:00
|
|
|
virtual bool hasTextInClipboard();
|
|
|
|
virtual Common::String getTextFromClipboard();
|
2018-04-10 23:41:10 +01:00
|
|
|
virtual bool setTextInClipboard(const Common::String &text);
|
2016-10-09 15:02:02 +02:00
|
|
|
|
2016-09-09 23:51:40 +01:00
|
|
|
virtual bool openUrl(const Common::String &url);
|
2016-07-28 00:20:33 +01:00
|
|
|
|
2011-10-03 23:53:22 +01:00
|
|
|
virtual Common::String getSystemLanguage() const;
|
2011-06-03 12:08:37 +02:00
|
|
|
|
2014-01-26 20:40:36 +00:00
|
|
|
virtual void init();
|
2010-07-02 06:44:42 +00:00
|
|
|
virtual void initBackend();
|
|
|
|
virtual void addSysArchivesToSearchSet(Common::SearchSet &s, int priority = 0);
|
2012-12-30 13:38:56 -05:00
|
|
|
|
2017-04-24 00:30:28 +01:00
|
|
|
//Screenshots
|
|
|
|
virtual Common::String getScreenshotsPath();
|
|
|
|
|
2012-12-30 13:38:56 -05:00
|
|
|
protected:
|
|
|
|
// Override createAudioCDManager() to get our Mac-specific
|
|
|
|
// version.
|
|
|
|
virtual AudioCDManager *createAudioCDManager();
|
2010-06-24 19:05:59 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|