ScummVM API documentation
op-sdl.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 OP_SDL_H
23#define OP_SDL_H
24
25#if defined(OPENPANDORA)
26
27#include "backends/base-backend.h"
28#include "backends/platform/sdl/sdl-sys.h"
29#include "backends/platform/sdl/posix/posix.h"
30#include "backends/events/openpandora/op-events.h"
31#include "backends/graphics/openpandora/op-graphics.h"
32
33class OSystem_OP : public OSystem_POSIX {
34public:
35 OSystem_OP();
36
37 /* Platform Setup Stuff */
38 void addSysArchivesToSearchSet(Common::SearchSet &s, int priority);
39 void initBackend();
40 void quit();
41
42protected:
43 bool _inited;
44 bool _initedSDL;
45
50 virtual void initSDL();
51
52private:
53 Common::String getCurrentDirectory();
54};
55#endif
56#endif //OP_SDL_H
Definition: archive.h:330
Definition: str.h:59
Definition: posix.h:27
void initBackend() override
void addSysArchivesToSearchSet(Common::SearchSet &s, int priority=0) override
void quit() override
virtual void initSDL()