class CPsuiResourceLoader : public CBase |
A helper class for loading dll-specific resource files on demand. Searches and loads the specified resource file to the CONE environment ( CCoeEnv ) -object (accessible as iCoeEnv in CONE-related classes). After calling NewL the user can access the resources directly via the CONE environment. The resources in the file are accessible until the CPsuiResourceLoader object is destroyed. The resource file must be a well-formed UIKON resource file with NAME and RSS_SIGNATURE specified.
Public Member Functions | |
---|---|
~CPsuiResourceLoader () | |
IMPORT_C CPsuiResourceLoader * | NewL () |
IMPORT_C CPsuiResourceLoader * | NewLC () |
Protected Member Functions | |
---|---|
void | ConstructL () |
Private Attributes | |
---|---|
RConeResourceLoader * | iResourceLoader |
IMPORT_C CPsuiResourceLoader * | NewL | ( | ) | [static] |
Symbian OS 1st phase constructor. Creates and returns a new resource loader object. Loads resource from any drive. If this function is succesful (doesn't leave) the resources in the file are usable through CCoeEnv .
KErrNotFound |
if the resource file is not found. |
KErrNoMemory |
if out of memory. |
error |
from CCoeEnv::AddResourceFileL . |
IMPORT_C CPsuiResourceLoader * | NewLC | ( | ) | [static] |
Same as NewL, but leaves the created object onto the cleanup stack. NewL
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.