CMtmRegistryControl Class Reference

class CMtmRegistryControl : public CBase

Inherits from

Public Member Functions
~CMtmRegistryControl ()
IMPORT_C TInt DeInstallMtmGroup ( TUid )
IMPORT_C void ExternalizeL ( RWriteStream &)
IMPORT_C TInt FillRegisteredMtmDllArray ( TUid , CRegisteredMtmDllArray &, TTimeIntervalMicroSeconds32 )
IMPORT_C TInt FullNameToMtmTypeUid (const TDesC &, TUid &)
IMPORT_C CMtmGroupData * GetMtmGroupDataL ( TUid )
const CMtmGroupData & GetMtmGroupDataReferenceL ( TUid )
IMPORT_C TInt InstallMtmGroup (const TDesC &, TUid &)
IMPORT_C void InternalizeL ( RReadStream &)
IMPORT_C TBool IsInUse ( TUid )
IMPORT_C CMtmRegistryControl * NewL ( RFs &, CServerMtmDllRegistry &)
IMPORT_C TInt ReleaseMtmGroup ( TUid )
IMPORT_C void RestoreRegistryL ()
IMPORT_C void StoreRegistryL ()
IMPORT_C TInt UseMtmGroup ( TUid )
Private Member Functions
CMtmRegistryControl ( RFs &, CServerMtmDllRegistry &)
void AddInstalledMtmGroupL ( CInstalledMtmGroup *)
void ConstructL ()
void DoDeInstallMtmGroupL ( TUid )
TUid DoFindMtmTypeUidL (const TDesC &)
void DoInstallMtmGroupL (const TDesC &, TUid &)
void DoInternalizeL ( RReadStream &)
TBool IsResFileL (const TDesC &)
CMtmGroupData * LoadDatFileL (const TDesC &, TUid &)
CMtmGroupData * LoadMTMFileL (const TDesC &, TUid &)
CMtmGroupData * LoadResFileL (const TDesC &, TUid &)
TInt MtmTypeUidToIndex ( TUid )
CMtmGroupData * ReadDataFileStoreL (const TDesC &)
void RemoveInstalledMtmGroup ( TUid )
TInt UidTypeToIndex ( TUidType )
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
Private Attributes
RFs & iFs
CInstalledMtmGroupArray * iInstalledMtmGroupArray
TPath iPathName
CServerMtmDllRegistry & iServerMtmDllRegistry

Constructor & Destructor Documentation

CMtmRegistryControl(RFs &, CServerMtmDllRegistry &)

CMtmRegistryControl ( RFs & anFs,
CServerMtmDllRegistry & aServerMtmDllRegistry
) [private]

Parameters

RFs & anFs
CServerMtmDllRegistry & aServerMtmDllRegistry

~CMtmRegistryControl()

IMPORT_C ~CMtmRegistryControl ( )

Member Functions Documentation

AddInstalledMtmGroupL(CInstalledMtmGroup *)

void AddInstalledMtmGroupL ( CInstalledMtmGroup * aInstalledMtmGroup ) [private]

Parameters

CInstalledMtmGroup * aInstalledMtmGroup

ConstructL()

void ConstructL ( ) [private]

DeInstallMtmGroup(TUid)

IMPORT_C TInt DeInstallMtmGroup ( TUid aMtmTypeUid )

Parameters

TUid aMtmTypeUid

DoDeInstallMtmGroupL(TUid)

void DoDeInstallMtmGroupL ( TUid aMtmTypeUid ) [private]

Parameters

TUid aMtmTypeUid

DoFindMtmTypeUidL(const TDesC &)

TUid DoFindMtmTypeUidL ( const TDesC & aFullName ) const [private]

Parameters

const TDesC & aFullName

DoInstallMtmGroupL(const TDesC &, TUid &)

void DoInstallMtmGroupL ( const TDesC & aFullName,
TUid & aMtmTypeUid
) [private]

Parameters

const TDesC & aFullName
TUid & aMtmTypeUid

DoInternalizeL(RReadStream &)

void DoInternalizeL ( RReadStream & aStream ) [private]

Parameters

RReadStream & aStream

ExternalizeL(RWriteStream &)

IMPORT_C void ExternalizeL ( RWriteStream & aStream ) const

Parameters

RWriteStream & aStream

FillRegisteredMtmDllArray(TUid, CRegisteredMtmDllArray &, TTimeIntervalMicroSeconds32)

IMPORT_C TInt FillRegisteredMtmDllArray ( TUid aMtmDllTypeUid,
CRegisteredMtmDllArray & aRegisteredMtmDllArray,
TTimeIntervalMicroSeconds32 aTimeoutMicroSeconds32 = 0
)

Parameters

TUid aMtmDllTypeUid
CRegisteredMtmDllArray & aRegisteredMtmDllArray
TTimeIntervalMicroSeconds32 aTimeoutMicroSeconds32 = 0

FullNameToMtmTypeUid(const TDesC &, TUid &)

IMPORT_C TInt FullNameToMtmTypeUid ( const TDesC & aFullName,
TUid & aMtmTypeUid
) const

Parameters

const TDesC & aFullName
TUid & aMtmTypeUid

GetMtmGroupDataL(TUid)

IMPORT_C CMtmGroupData * GetMtmGroupDataL ( TUid aMtmTypeUid ) const

Parameters

TUid aMtmTypeUid

GetMtmGroupDataReferenceL(TUid)

const CMtmGroupData & GetMtmGroupDataReferenceL ( TUid aMtmTypeUid ) const

Parameters

TUid aMtmTypeUid

InstallMtmGroup(const TDesC &, TUid &)

IMPORT_C TInt InstallMtmGroup ( const TDesC & aFullName,
TUid & aMtmTypeUid
)

Parameters

const TDesC & aFullName
TUid & aMtmTypeUid

InternalizeL(RReadStream &)

IMPORT_C void InternalizeL ( RReadStream & aStream )

Parameters

RReadStream & aStream

IsInUse(TUid)

IMPORT_C TBool IsInUse ( TUid aMtmTypeUid ) const

Parameters

TUid aMtmTypeUid

IsResFileL(const TDesC &)

TBool IsResFileL ( const TDesC & aFullName ) const [private]

Parameters

const TDesC & aFullName

LoadDatFileL(const TDesC &, TUid &)

CMtmGroupData * LoadDatFileL ( const TDesC & aFullName,
TUid & aUid
) [private]

Parameters

const TDesC & aFullName
TUid & aUid

LoadMTMFileL(const TDesC &, TUid &)

CMtmGroupData * LoadMTMFileL ( const TDesC & aFullName,
TUid & aUid
) [private]

Parameters

const TDesC & aFullName
TUid & aUid

LoadResFileL(const TDesC &, TUid &)

CMtmGroupData * LoadResFileL ( const TDesC & aFullName,
TUid & aUid
) [private]

Parameters

const TDesC & aFullName
TUid & aUid

MtmTypeUidToIndex(TUid)

TInt MtmTypeUidToIndex ( TUid aMtmTypeUid ) const [private]

Parameters

TUid aMtmTypeUid

NewL(RFs &, CServerMtmDllRegistry &)

IMPORT_C CMtmRegistryControl * NewL ( RFs & anFs,
CServerMtmDllRegistry & aServerMtmDllRegistry
) [static]

Parameters

RFs & anFs
CServerMtmDllRegistry & aServerMtmDllRegistry

ReadDataFileStoreL(const TDesC &)

CMtmGroupData * ReadDataFileStoreL ( const TDesC & aFullName ) const [private]

Parameters

const TDesC & aFullName

ReleaseMtmGroup(TUid)

IMPORT_C TInt ReleaseMtmGroup ( TUid aMtmTypeUid )

Parameters

TUid aMtmTypeUid

RemoveInstalledMtmGroup(TUid)

void RemoveInstalledMtmGroup ( TUid aMtmTypeUid ) [private]

Parameters

TUid aMtmTypeUid

RestoreRegistryL()

IMPORT_C void RestoreRegistryL ( )

StoreRegistryL()

IMPORT_C void StoreRegistryL ( ) const

UidTypeToIndex(TUidType)

TInt UidTypeToIndex ( TUidType aUidType ) const [private]

Parameters

TUidType aUidType

UseMtmGroup(TUid)

IMPORT_C TInt UseMtmGroup ( TUid aMtmTypeUid )

Parameters

TUid aMtmTypeUid

Member Data Documentation

RFs & iFs

RFs & iFs [private]

CInstalledMtmGroupArray * iInstalledMtmGroupArray

CInstalledMtmGroupArray * iInstalledMtmGroupArray [private]

TPath iPathName

TPath iPathName [private]

CServerMtmDllRegistry & iServerMtmDllRegistry

CServerMtmDllRegistry & iServerMtmDllRegistry [private]