MBSUpdater Class Reference

class MBSUpdater

An interface for updating branding information

Since
Public Member Functions
voidAppendBufferL(const TDesC8 &, const TDesC8 &)
voidAppendElementL(MBSElement *)
voidAppendFileL(const TDesC8 &, const TDesC &)
voidAppendIntL(const TDesC8 &, TInt)
voidAppendTextL(const TDesC8 &, const TDesC &)
voidCancelTransactionL()
voidClose()
voidInsertBufferL(const TDesC8 &, const TDesC8 &)
voidInsertElementL(MBSElement *)
voidInsertFileL(const TDesC8 &, const TDesC &)
voidInsertIntL(const TDesC8 &, TInt)
voidInsertTextL(const TDesC8 &, const TDesC &)
voidRegisterObserverL(MBSBackupRestoreStateObserver *)
voidRemoveBrandL(const TDesC8 &, const TDesC8 &)
voidRemoveBrandsL(const TDesC8 &)
voidReplaceBufferL(const TDesC8 &, const TDesC8 &)
voidReplaceElementL(MBSElement *)
voidReplaceFileL(const TDesC8 &, const TDesC &)
voidReplaceIntL(const TDesC8 &, TInt)
voidReplaceTextL(const TDesC8 &, const TDesC &)
voidStartTransactionL(const TDesC8 &, TLanguage, TUpdateTransactionType, TInt)
TInt StopTransactionL()
voidUnRegisterObserverL(MBSBackupRestoreStateObserver *)
Protected Member Functions
~MBSUpdater()
Public Member Enumerations
enumTUpdateTransactionType { EUpdateInstall = 1, EUpdateAppend, EUpdateReplace, EUpdateUninstall }

Constructor & Destructor Documentation

~MBSUpdater()

~MBSUpdater()[protected, inline, virtual]

Member Functions Documentation

AppendBufferL(const TDesC8 &, const TDesC8 &)

voidAppendBufferL(const TDesC8 &aId,
const TDesC8 &aBuffer
)[pure virtual]

Parameters

const TDesC8 & aId
const TDesC8 & aBuffer

AppendElementL(MBSElement *)

voidAppendElementL(MBSElement *aElement)[pure virtual]

Parameters

MBSElement * aElement

AppendFileL(const TDesC8 &, const TDesC &)

voidAppendFileL(const TDesC8 &aId,
const TDesC &aFileName
)[pure virtual]

Parameters

const TDesC8 & aId
const TDesC & aFileName

AppendIntL(const TDesC8 &, TInt)

voidAppendIntL(const TDesC8 &aId,
TIntaInt
)[pure virtual]

Parameters

const TDesC8 & aId
TInt aInt

AppendTextL(const TDesC8 &, const TDesC &)

voidAppendTextL(const TDesC8 &aId,
const TDesC &aText
)[pure virtual]

Parameters

const TDesC8 & aId
const TDesC & aText

CancelTransactionL()

voidCancelTransactionL()[pure virtual]

Close()

voidClose()[pure virtual]

InsertBufferL(const TDesC8 &, const TDesC8 &)

voidInsertBufferL(const TDesC8 &aId,
const TDesC8 &aBuffer
)[pure virtual]

Parameters

const TDesC8 & aId
const TDesC8 & aBuffer

InsertElementL(MBSElement *)

voidInsertElementL(MBSElement *aElement)[pure virtual]

Parameters

MBSElement * aElement

InsertFileL(const TDesC8 &, const TDesC &)

voidInsertFileL(const TDesC8 &aId,
const TDesC &aFileName
)[pure virtual]

Parameters

const TDesC8 & aId
const TDesC & aFileName

InsertIntL(const TDesC8 &, TInt)

voidInsertIntL(const TDesC8 &aId,
TIntaInt
)[pure virtual]

Parameters

const TDesC8 & aId
TInt aInt

InsertTextL(const TDesC8 &, const TDesC &)

voidInsertTextL(const TDesC8 &aId,
const TDesC &aText
)[pure virtual]

Parameters

const TDesC8 & aId
const TDesC & aText

RegisterObserverL(MBSBackupRestoreStateObserver *)

voidRegisterObserverL(MBSBackupRestoreStateObserver *aBackupObserver)[pure virtual]

Parameters

MBSBackupRestoreStateObserver * aBackupObserver

RemoveBrandL(const TDesC8 &, const TDesC8 &)

voidRemoveBrandL(const TDesC8 &aApplicationId,
const TDesC8 &aBrandId
)[pure virtual]

Parameters

const TDesC8 & aApplicationId
const TDesC8 & aBrandId

RemoveBrandsL(const TDesC8 &)

voidRemoveBrandsL(const TDesC8 &aApplicationId)[pure virtual]

Parameters

const TDesC8 & aApplicationId

ReplaceBufferL(const TDesC8 &, const TDesC8 &)

voidReplaceBufferL(const TDesC8 &aId,
const TDesC8 &aBuffer
)[pure virtual]

Parameters

const TDesC8 & aId
const TDesC8 & aBuffer

ReplaceElementL(MBSElement *)

voidReplaceElementL(MBSElement *aElement)[pure virtual]

Parameters

MBSElement * aElement

ReplaceFileL(const TDesC8 &, const TDesC &)

voidReplaceFileL(const TDesC8 &aId,
const TDesC &aFileName
)[pure virtual]

Parameters

const TDesC8 & aId
const TDesC & aFileName

ReplaceIntL(const TDesC8 &, TInt)

voidReplaceIntL(const TDesC8 &aId,
TIntaInt
)[pure virtual]

Parameters

const TDesC8 & aId
TInt aInt

ReplaceTextL(const TDesC8 &, const TDesC &)

voidReplaceTextL(const TDesC8 &aId,
const TDesC &aText
)[pure virtual]

Parameters

const TDesC8 & aId
const TDesC & aText

StartTransactionL(const TDesC8 &, TLanguage, TUpdateTransactionType, TInt)

voidStartTransactionL(const TDesC8 &aBrandId,
TLanguageaLanguageId,
TUpdateTransactionTypeaType = EUpdateInstall,
TIntaReserved = 0
)[pure virtual]

Parameters

const TDesC8 & aBrandId
TLanguage aLanguageId
TUpdateTransactionType aType = EUpdateInstall
TInt aReserved = 0

StopTransactionL()

TInt StopTransactionL()[pure virtual]

UnRegisterObserverL(MBSBackupRestoreStateObserver *)

voidUnRegisterObserverL(MBSBackupRestoreStateObserver *aObserver)[pure virtual]

Parameters

MBSBackupRestoreStateObserver * aObserver

Member Enumerations Documentation

Enum TUpdateTransactionType

Enumerators

EUpdateInstall = 1
EUpdateAppend
EUpdateReplace
EUpdateUninstall