[Scummvm-cvs-logs] SF.net SVN: scummvm:[50302] scummvm/branches/gsoc2010-opengl/backends/ platform/samsungtv

vgvgf at users.sourceforge.net vgvgf at users.sourceforge.net
Sat Jun 26 05:51:29 CEST 2010


Revision: 50302
          http://scummvm.svn.sourceforge.net/scummvm/?rev=50302&view=rev
Author:   vgvgf
Date:     2010-06-26 03:51:28 +0000 (Sat, 26 Jun 2010)

Log Message:
-----------
Override quit() and getConfigFileNameString(). Changed parent class to OSystem_POSIX.

Modified Paths:
--------------
    scummvm/branches/gsoc2010-opengl/backends/platform/samsungtv/samsungtv.cpp
    scummvm/branches/gsoc2010-opengl/backends/platform/samsungtv/samsungtv.h

Modified: scummvm/branches/gsoc2010-opengl/backends/platform/samsungtv/samsungtv.cpp
===================================================================
--- scummvm/branches/gsoc2010-opengl/backends/platform/samsungtv/samsungtv.cpp	2010-06-26 03:44:47 UTC (rev 50301)
+++ scummvm/branches/gsoc2010-opengl/backends/platform/samsungtv/samsungtv.cpp	2010-06-26 03:51:28 UTC (rev 50302)
@@ -52,4 +52,12 @@
 	}
 }
 
+void OSystem_SDL_SamsungTV::quit() {
+	deinit();
+}
+
+const char *OSystem_SDL_SamsungTV::getConfigFileNameString() {
+	return "/dtv/usb/sda1/.scummvmrc";
+}
+
 #endif

Modified: scummvm/branches/gsoc2010-opengl/backends/platform/samsungtv/samsungtv.h
===================================================================
--- scummvm/branches/gsoc2010-opengl/backends/platform/samsungtv/samsungtv.h	2010-06-26 03:44:47 UTC (rev 50301)
+++ scummvm/branches/gsoc2010-opengl/backends/platform/samsungtv/samsungtv.h	2010-06-26 03:51:28 UTC (rev 50302)
@@ -30,11 +30,16 @@
 
 #include "backends/platform/sdl/posix/posix.h"
 
-class OSystem_SDL_SamsungTV : public OSystem_SDL {
+class OSystem_SDL_SamsungTV : public OSystem_POSIX {
 public:
-	virtual bool hasFeature(Feature f);
-	virtual void setFeatureState(Feature f, bool enable);
-	virtual bool getFeatureState(Feature f);
+	bool hasFeature(Feature f);
+	void setFeatureState(Feature f, bool enable);
+	bool getFeatureState(Feature f);
+
+	void quit();
+
+protected
+	const char *getConfigFileNameString();
 };
 
 #endif


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list