From 119d3dc0e8194e45ec732dd9b79d25820ba48db9 Mon Sep 17 00:00:00 2001 From: Lars Persson Date: Wed, 7 Jun 2006 20:36:17 +0000 Subject: Better UIQ3 view support svn-id: r22981 --- backends/symbian/src/ScummApp.cpp | 11 +++++++++++ backends/symbian/src/ScummApp.h | 8 +++++++- 2 files changed, 18 insertions(+), 1 deletion(-) (limited to 'backends') 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 +/** + * 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; -- cgit v1.2.3