aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorLars Persson2006-06-07 20:36:17 +0000
committerLars Persson2006-06-07 20:36:17 +0000
commit119d3dc0e8194e45ec732dd9b79d25820ba48db9 (patch)
tree694921751447d59fcd4387a190cf31b2c77d440f /backends
parent60456933e75c2c3cdd436a2198010d59409d332a (diff)
downloadscummvm-rg350-119d3dc0e8194e45ec732dd9b79d25820ba48db9.tar.gz
scummvm-rg350-119d3dc0e8194e45ec732dd9b79d25820ba48db9.tar.bz2
scummvm-rg350-119d3dc0e8194e45ec732dd9b79d25820ba48db9.zip
Better UIQ3 view support
svn-id: r22981
Diffstat (limited to 'backends')
-rw-r--r--backends/symbian/src/ScummApp.cpp11
-rw-r--r--backends/symbian/src/ScummApp.h8
2 files changed, 18 insertions, 1 deletions
diff --git a/backends/symbian/src/ScummApp.cpp b/backends/symbian/src/ScummApp.cpp
index 0c59f41205..07966b4cf5 100644
--- a/backends/symbian/src/ScummApp.cpp
+++ b/backends/symbian/src/ScummApp.cpp
@@ -95,6 +95,17 @@ CScummApp::CScummApp() {
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
diff --git a/backends/symbian/src/ScummApp.h b/backends/symbian/src/ScummApp.h
index 9b8fd47a1d..bd81edaa83 100644
--- a/backends/symbian/src/ScummApp.h
+++ b/backends/symbian/src/ScummApp.h
@@ -37,7 +37,13 @@ class CScummApp : public CSDLApp {
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;