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 &)

voidConstructL(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,
TLanguageaLanguageId,
TBoolaCacheData = EFalse,
TIntaReserved = 0
)

Creates a brand access interface

Parameters

const TDesC8 & aBrandIdthe brand to be used with this interface instance
TLanguage aLanguageIdthe language id to be used with this interface instance
TBool aCacheData = EFalseshould the interface cache the branding data
TInt aReserved = 0for further use

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

IMPORT_C MBSAccess *CreateAccessLC(const TDesC8 &aBrandId,
TLanguageaLanguageId,
TBoolaCacheData = EFalse,
TIntaReserved = 0
)

Creates a brand access interface

Parameters

const TDesC8 & aBrandIdthe brand to be used with this interface instance
TLanguage aLanguageIdthe language id to be used with this interface instance
TBool aCacheData = EFalseshould the interface cache the branding data
TInt aReserved = 0for 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 & aDefaultBrandIdthe 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 & aApplicationIdapplication id

Member Data Documentation

HBufC8 * iApplicationId

HBufC8 *iApplicationId[private]

HBufC8 * iDefaultBrand

HBufC8 *iDefaultBrand[private]

RBSClient * iServerKeepAlive

RBSClient *iServerKeepAlive[private]

bool iUseDefaultBrand

booliUseDefaultBrand[private]