2018-09-20 16:33:08 +02: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.
|
|
|
|
*
|
2021-12-26 18:47:58 +01:00
|
|
|
* 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 3 of the License, or
|
|
|
|
* (at your option) any later version.
|
2018-09-20 16:33:08 +02: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.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
2021-12-26 18:47:58 +01:00
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
2018-09-20 16:33:08 +02:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef PLATFORM_SDL_SWITCH_H
|
|
|
|
#define PLATFORM_SDL_SWITCH_H
|
|
|
|
|
|
|
|
#include "backends/platform/sdl/sdl.h"
|
|
|
|
|
|
|
|
class OSystem_Switch : public OSystem_SDL {
|
|
|
|
public:
|
2021-11-13 23:18:12 +02:00
|
|
|
void init() override;
|
|
|
|
void initBackend() override;
|
|
|
|
bool hasFeature(Feature f) override;
|
|
|
|
void setFeatureState(Feature f, bool enable) override;
|
|
|
|
bool getFeatureState(Feature f) override;
|
|
|
|
void logMessage(LogMessageType::Type type, const char *message) override;
|
|
|
|
Common::HardwareInputSet *getHardwareInputSet() override;
|
2020-11-04 00:19:46 +01:00
|
|
|
virtual Common::String getSystemLanguage() const;
|
2018-09-20 16:33:08 +02:00
|
|
|
|
|
|
|
protected:
|
2021-11-13 23:18:12 +02:00
|
|
|
Common::String getDefaultLogFileName() override;
|
2018-09-20 16:33:08 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|