CBSFactory Class Reference

class CBSFactory : public CBase

Inherits from

Constructor & Destructor Documentation

CBSFactory()

CBSFactory ( ) [private]

~CBSFactory()

IMPORT_C ~CBSFactory ( ) [virtual]

Member Functions Documentation

ConstructL(const TDesC8 &, const TDesC8 &)

void ConstructL ( const TDesC8 & aDefaultBrandId,
const TDesC8 & aApplicationId
) [private]

Parameters

const TDesC8 & aDefaultBrandId
const TDesC8 & aApplicationId

CreateAccessL(const TDesC8 &, TLanguage, TBool, TInt)

IMPORT_C MBSAccess * CreateAccessL ( const TDesC8 & aBrandId,
TLanguage aLanguageId,
TBool aCacheData = EFalse,
TInt aReserved = 0
)

Creates a brand access interface

Parameters

const TDesC8 & aBrandId the brand to be used with this interface instance
TLanguage aLanguageId the language id to be used with this interface instance
TBool aCacheData = EFalse should the interface cache the branding data
TInt aReserved = 0 for further use

CreateAccessLC(const TDesC8 &, TLanguage, TBool, TInt)

IMPORT_C MBSAccess * CreateAccessLC ( const TDesC8 & aBrandId,
TLanguage aLanguageId,
TBool aCacheData = EFalse,
TInt aReserved = 0
)

Creates a brand access interface

Parameters

const TDesC8 & aBrandId the brand to be used with this interface instance
TLanguage aLanguageId the language id to be used with this interface instance
TBool aCacheData = EFalse should the interface cache the branding data
TInt aReserved = 0 for further use

CreateUpdaterL()

IMPORT_C MBSUpdater * CreateUpdaterL ( )

Creates a brand update interface

CreateUpdaterLC()

IMPORT_C MBSUpdater * CreateUpdaterLC ( )

Creates a brand update interface

NewL(const TDesC8 &, const TDesC8 &)

IMPORT_C CBSFactory * NewL ( const TDesC8 & aDefaultBrandId,
const TDesC8 & aApplicationId
) [static]

Two-phased constructor.

Parameters

const TDesC8 & aDefaultBrandId the default brand id for branding interfaces that are created through this factory. If this parameter is given the branding items will be taken from the given default brand if they are not found from the wanted brand. brand.
const TDesC8 & aApplicationId application id

Member Data Documentation

HBufC8 * iApplicationId

HBufC8 * iApplicationId [private]

HBufC8 * iDefaultBrand

HBufC8 * iDefaultBrand [private]

RBSClient * iServerKeepAlive

RBSClient * iServerKeepAlive [private]

bool iUseDefaultBrand

bool iUseDefaultBrand [private]