diff options
Diffstat (limited to 'backends/platform/gp2x/gp2x-common.h')
| -rw-r--r-- | backends/platform/gp2x/gp2x-common.h | 18 | 
1 files changed, 11 insertions, 7 deletions
diff --git a/backends/platform/gp2x/gp2x-common.h b/backends/platform/gp2x/gp2x-common.h index 4d2a9c33cc..7efdd7164c 100644 --- a/backends/platform/gp2x/gp2x-common.h +++ b/backends/platform/gp2x/gp2x-common.h @@ -18,15 +18,16 @@   * along with this program; if not, write to the Free Software   * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.   * - * $URL$ - * $Id$ - *   */  #ifndef PLATFORM_SDL_GP2X_H  #define PLATFORM_SDL_GP2X_H +#include "backends/base-backend.h" +#include "backends/platform/sdl/sdl.h"  #include "backends/platform/sdl/posix/posix.h" +#include "backends/graphics/gp2xsdl/gp2xsdl-graphics.h" +#include "backends/events/gp2xsdl/gp2xsdl-events.h"  #ifndef PATH_MAX  	#define PATH_MAX 255 @@ -34,12 +35,15 @@  class OSystem_GP2X : public OSystem_POSIX {  public: -	virtual void initBackend(); -	virtual void quit(); -	virtual void addSysArchivesToSearchSet(Common::SearchSet &s, int priority = 0); +	OSystem_GP2X() {} + +	void initBackend(); +	void quit(); +	void addSysArchivesToSearchSet(Common::SearchSet &s, int priority = 0); +	void initSDL();  protected: -	virtual void initSDL(); +  };  #endif  | 
