[Scummvm-cvs-logs] SF.net SVN: scummvm: [22981] scummvm/trunk/backends/symbian/src

anotherguest at users.sourceforge.net anotherguest at users.sourceforge.net
Wed Jun 7 22:36:22 CEST 2006


Revision: 22981
Author:   anotherguest
Date:     2006-06-07 13:36:17 -0700 (Wed, 07 Jun 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm/?rev=22981&view=rev

Log Message:
-----------
Better UIQ3 view support

Modified Paths:
--------------
    scummvm/trunk/backends/symbian/src/ScummApp.cpp
    scummvm/trunk/backends/symbian/src/ScummApp.h
Modified: scummvm/trunk/backends/symbian/src/ScummApp.cpp
===================================================================
--- scummvm/trunk/backends/symbian/src/ScummApp.cpp	2006-06-07 20:35:47 UTC (rev 22980)
+++ scummvm/trunk/backends/symbian/src/ScummApp.cpp	2006-06-07 20:36:17 UTC (rev 22981)
@@ -95,7 +95,18 @@
 CScummApp::~CScummApp() {
 }
 
+#if defined (UIQ3)
+#include <scummvm.rsg>
 /**
+ * Returns the resource id to be used to declare the views supported by this UIQ3 app
+ * @return TInt, resource id
+ */
+TInt CScummApp::ViewResourceId() {
+	return R_SDL_VIEW_UI_CONFIGURATIONS;
+}
+#endif
+
+/**
  *   Responsible for returning the unique UID of this application
  * @return unique UID for this application in a TUid
  **/

Modified: scummvm/trunk/backends/symbian/src/ScummApp.h
===================================================================
--- scummvm/trunk/backends/symbian/src/ScummApp.h	2006-06-07 20:35:47 UTC (rev 22980)
+++ scummvm/trunk/backends/symbian/src/ScummApp.h	2006-06-07 20:36:17 UTC (rev 22981)
@@ -37,7 +37,13 @@
 public:
 	CScummApp();
 	~CScummApp();
-
+#if defined (UIQ3)
+	/**
+	 * Returns the resource id to be used to declare the views supported by this UIQ3 app
+	 * @return TInt, resource id
+	 */
+	TInt ViewResourceId();
+#endif
 	TUid AppDllUid() const;
 #if defined (EPOC_AS_APP) && !defined (UIQ3) && !defined (S60V3)
 	TECompXL    iECompXL;


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