scummvm/backends/platform/sdl/switch/switch.h

44 lines
1.4 KiB
C
Raw Permalink Normal View History

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.
*
* 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
* 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:
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;
virtual Common::String getSystemLanguage() const;
2018-09-20 16:33:08 +02:00
protected:
Common::String getDefaultLogFileName() override;
2018-09-20 16:33:08 +02:00
};
#endif