Better UIQ3 view support

svn-id: r22981
This commit is contained in:
Lars Persson 2006-06-07 20:36:17 +00:00
parent 60456933e7
commit 119d3dc0e8
2 changed files with 18 additions and 1 deletions

View File

@ -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

View File

@ -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;