CRCSEProfileRegistry Class Reference
class CRCSEProfileRegistry : public CRCSERegistryBase |
Offers getting, setting and updating of profiles.
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() |
| CRCSERegistryBase::BaseConstructL() |
| CRCSERegistryBase::BeginL() |
| CRCSERegistryBase::CRCSERegistryBase(TRCSERegistryType) |
| CRCSERegistryBase::CleanupDbPropArray(TAny *) |
| CRCSERegistryBase::CreatePropertyL(TUint,const TDesC &,RIpAppPropArray &) |
| CRCSERegistryBase::EndL() |
| CRCSERegistryBase::FindAllIdsL(RArray< TUint32 > &) |
| CRCSERegistryBase::FindIdsByValueL(TUint,const TDesC &,RArray< TUint32 > &) |
| CRCSERegistryBase::GetPropertyValueL(TUint,TDes &,RIpAppPropArray &) |
| CRCSERegistryBase::HandleBackupOperationEventL() |
| CRCSERegistryBase::ImportSettingsL() |
| CRCSERegistryBase::ToDes(TInt32,TDes &) |
| CRCSERegistryBase::ToDes(TUint32,TDes &) |
| CRCSERegistryBase::ToTInt32L(const TDesC &) |
| CRCSERegistryBase::ToTUint32L(const TDesC &) |
| CRCSERegistryBase::~CRCSERegistryBase() |
Constructor & Destructor Documentation
CRCSEProfileRegistry()
CRCSEProfileRegistry | ( | ) | [private] |
~CRCSEProfileRegistry()
IMPORT_C | ~CRCSEProfileRegistry | ( | ) | [virtual] |
Member Functions Documentation
AddL(const CRCSEProfileEntry &)
AddL(RPointerArray< CRCSEProfileEntry > &)
Adds bunch of profile entries to store in one transaction. Creates new service provider setting entry to service table if iServiceProviderId has not been set in given profile entry.
AddOrUpdateEntryL(TUint32 &, const CRCSEProfileEntry &)
Adds or updates settings entry to storage depending of the aId parameter. Entry is stored as new entry if aId parameter have been set to KNoEntryId, otherwise existing entry is updated.
ConstructL()
void | ConstructL | ( | ) | [private] |
By default Symbian 2nd phase constructor is private.
ConvertEntryToPropertiesL(const CRCSEProfileEntry &, RIpAppPropArray &)
Convert xxx
- Since
- S60 v3.2.
ConvertPropertiesToEntryL(CRCSEProfileEntry &, RIpAppPropArray &)
Convert xxx
- Since
- S60 v3.2.
CopyEntryValues(const CRCSEProfileEntry &, CRCSEProfileEntry &)
Copies values from a const entry to a modifiable one.
- Since
- S60 3.2.
CreateDefaultServiceSettingsL(CRCSEProfileEntry &)
Creates and stores service provider settings entry with default values, when new profile is created. Service ID of stored service settings is set to profile.
DeleteL(TUint32)
IMPORT_C void | DeleteL | ( | TUint32 | aProfileId | ) | |
Deletes a profile, which profile id is same than aProfileId.
Parameters
TUint32 aProfileId | Profile identifier |
DeleteReferenceSettingsL(TUint32)
void | DeleteReferenceSettingsL | ( | TUint32 | aProfileId | ) | [private] |
Deletes service settings and audio codec settings referenced from profile.
Parameters
TUint32 aProfileId | Id of deleted VoIP profile |
ExtractProtocoIdsL(const TDesC &, RArray< TSettingIds > &)
Extract protocol ids from descriptor.
Parameters
const TDesC & aDes | Contains TSettingIds structs. |
RArray< TSettingIds > & aArray | Contains extracted TSettingIds struct when return. |
FindBySIPProfileIdL(TUint32, RPointerArray< CRCSEProfileEntry > &)
Search a profiles that have requested aSipProfileId. Content of aFoundEntries array is deleted before the search. On return, aFoundEntries is empty if requested entries are not found.
FindByServiceIdL(TUint32, RPointerArray< CRCSEProfileEntry > &)
Search a profiles, where service provider id is same as aServiceId. Content of aFoundEntries array is deleted before the search. On return, aFoundEntries is empty if requested entries are not found.
FindEntryL(TUint32, CRCSEProfileEntry &)
Do actual search of requested entry. Leaves with KErrNotFound if such profile is not found. Default values are reseted to aFoundEntry before the search.
- Since
- S60 v3.0.
-
leave
- KErrNotFound if profile doesn't exist.
FindL(const TDesC &, CRCSEProfileEntry &)
Search a profile, which provider name setting is same as aProviderName. Leaves with KErrNotFound if such profile is not found. Default values are reseted to aFoundEntry before the search.
Parameters
const TDesC & aProviderName | Search criteria for profiles. |
CRCSEProfileEntry & aFoundEntry | A found profile entry, which provider name is same than aProviderName. |
FindL(TUint32, CRCSEProfileEntry &)
Search a profile, which profile id is same as aProfileId. Leaves with KErrNotFound if such profile is not found. Default values are reseted to aFoundEntry before the search.
Parameters
TUint32 aProfileId | Search criteria for profiles. |
CRCSEProfileEntry & aFoundEntry | A found profile entry, which provider name is same than aProviderName. |
GetAllIdsL(RArray< TUint32 > &)
Gets all profile identifiers which are stored to RCSE. If there are no profiles stored, aAllIds will contain zero entries.
Parameters
RArray< TUint32 > & aAllIds | Array, where the profile identifiers are stored. |
GetDefaultProfile(CRCSEProfileEntry &)
Resets default values for profile. Default profile is a profile, which can be used when no other profile is available.
LeaveIfServiceIdInUseL(const CRCSEProfileEntry &)
Checks if service id is used for profile.
- Since
- S60 3.2.
NameExistsInServiceTableL(const TDesC &)
TBool
| NameExistsInServiceTableL | ( | const TDesC & | aProviderName | ) | const [private] |
Checks if Service table exist with rerenced entry name.
- Since
- S60 3.2.
Parameters
const TDesC & aProviderName | |
ProfileRegistryErrorOccurred(TUint32, TInt)
void | ProfileRegistryErrorOccurred | ( | TUint32 | aSIPProfileId, |
| TInt | aError |
| ) | |
Parameters
TUint32 aSIPProfileId | the id of failed profile |
TInt aError | a error code |
ProfileRegistryEventOccurred(TUint32, TEvent)
void | ProfileRegistryEventOccurred | ( | TUint32 | aSIPProfileId, |
| TEvent | aEvent |
| ) | |
Parameters
TUint32 aSIPProfileId | id for profile |
TEvent aEvent | type of information event |
ResetAndDestroyEntries(TAny *)
void | ResetAndDestroyEntries | ( | TAny * | anArray | ) | [private, static] |
Implementation for cleanup item. Resets and destroys array of the entries.
Parameters
TAny * anArray | RPointerArray pointer. |
UpdateL(TUint32, const CRCSEProfileEntry &)
Updates profile, which profile identifier is same than aProfileId. Only settings that are set in aUpdateData are updated in profile. Leaves with KErrNotFound if profile is not found.
UpdateSIPProfileLinksL(CRCSEProfileEntry &)
Validates that linked SIP profiles are up to date. Removes invalid links and updates entry to data base
UpdateServiceIdL(TUint32, TUint32)
Updates service id related to given entry id.
- Since
- S60 3.2.
UpdateServiceSettingsL(const CRCSEProfileEntry &)
Updates service settings related to aEntry if needed
- Since
- S60 3.2.
Member Data Documentation
RPointerArray< CSIPProfile > iSIPProfiles
SIP profiles ( from SIP Profile Client ) Own.
CSIPManagedProfileRegistry * iSIPRegistry
SIP registry ( from SIP Profile Client ) Own.
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.