CSIPManagedProfileRegistry Class Reference

class CSIPManagedProfileRegistry : public CSIPProfileRegistryBase

The class for managing SIP profiles. This class provides the functions for adding/updating/removing profiles.

sipprofilecli.lib

Inherits from

Public Member Functions
~CSIPManagedProfileRegistry()
IMPORT_C CSIPManagedProfile *CreateL(const TSIPProfileTypeInfo &)
IMPORT_C voidDestroyL(CSIPProfile &)
IMPORT_C TBoolIsInUseL(const CSIPProfile &)
IMPORT_C CSIPManagedProfileRegistry *NewL(MSIPProfileRegistryObserver &)
IMPORT_C CSIPManagedProfileRegistry *NewLC(MSIPProfileRegistryObserver &)
IMPORT_C voidSaveL(CSIPProfile &)
Private Member Functions
CSIPManagedProfileRegistry(MSIPProfileRegistryObserver &)
voidConstructL()
CSIPProfile *NewInstanceL()
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()
CSIPProfileRegistryBase::AddProfileL(CSIPProfile &)
CSIPProfileRegistryBase::AddedL(TUint32)
CSIPProfileRegistryBase::BaseConstructL()
CSIPProfileRegistryBase::CSIPProfileRegistryBase(MSIPProfileRegistryObserver &)
CSIPProfileRegistryBase::CrashRevert(TAny *)
CSIPProfileRegistryBase::DefaultProfileL()
CSIPProfileRegistryBase::DisableProfileL(CSIPProfile &)
CSIPProfileRegistryBase::EnableProfileL(CSIPProfile &)
CSIPProfileRegistryBase::ErrorOccurredL(TUint32,TInt,TInt)
CSIPProfileRegistryBase::ForceDisableProfileL(CSIPProfile &)
CSIPProfileRegistryBase::IsDefaultProfileL(const CSIPProfile &)
CSIPProfileRegistryBase::Itc()
CSIPProfileRegistryBase::ItcReceiver()
CSIPProfileRegistryBase::LastRegistrationError(const CSIPProfile &)const
CSIPProfileRegistryBase::LocalCrashRevert(TAny *)
CSIPProfileRegistryBase::NegotiatedSecurityMechanismL(CSIPConcreteProfile &)
CSIPProfileRegistryBase::ProfileDeleted(CSIPProfile &)
CSIPProfileRegistryBase::ProfileIndex(TUint)
CSIPProfileRegistryBase::ProfileItemByIndex(TUint)
CSIPProfileRegistryBase::ProfileItemL(TUint)
CSIPProfileRegistryBase::ProfileL(TUint32)
CSIPProfileRegistryBase::ProfilesL(RPointerArray< CSIPProfile > &)
CSIPProfileRegistryBase::ProfilesL(const TDesC8 &,RPointerArray< CSIPProfile > &)
CSIPProfileRegistryBase::ProfilesL(const TSIPProfileTypeInfo &,RPointerArray< CSIPProfile > &)
CSIPProfileRegistryBase::RegisteredAORsL(CSIPConcreteProfile &)
CSIPProfileRegistryBase::RegistrationStatusChangedL(TUint32,TInt,TUint32)
CSIPProfileRegistryBase::RemoveProfileL(CSIPProfile &)
CSIPProfileRegistryBase::RemovedL(TUint32)
CSIPProfileRegistryBase::SIPProfileL(TUint32,TInt)
CSIPProfileRegistryBase::StoreArrayL(RPointerArray< CSIPConcreteProfile > &,RPointerArray< CSIPProfile > &)
CSIPProfileRegistryBase::StoreProfileL(CSIPProfileCleanupItem *)
CSIPProfileRegistryBase::SupportedProfileTypesL(RArray< TSIPProfileTypeInfo > &)
CSIPProfileRegistryBase::UpdateProfileL(CSIPProfile &)
CSIPProfileRegistryBase::UpdatedL(TUint32,TUint)
CSIPProfileRegistryBase::UsageL(const CSIPProfile &)const
CSIPProfileRegistryBase::~CSIPProfileRegistryBase()
Inherited Attributes
CSIPProfileRegistryBase::iFindEntry
CSIPProfileRegistryBase::iITC
CSIPProfileRegistryBase::iITCReceiver
CSIPProfileRegistryBase::iObserver
CSIPProfileRegistryBase::iProfilePlugins
CSIPProfileRegistryBase::iProfiles
CSIPProfileRegistryBase::iSipClient

Constructor & Destructor Documentation

CSIPManagedProfileRegistry(MSIPProfileRegistryObserver &)

CSIPManagedProfileRegistry(MSIPProfileRegistryObserver &aObserver)[private]

Parameters

MSIPProfileRegistryObserver & aObserver

~CSIPManagedProfileRegistry()

IMPORT_C~CSIPManagedProfileRegistry()

Destructor

Member Functions Documentation

ConstructL()

voidConstructL()[private]

CreateL(const TSIPProfileTypeInfo &)

IMPORT_C CSIPManagedProfile *CreateL(const TSIPProfileTypeInfo &aType)

Instantiates new profile with default values for given type.

Parameters

const TSIPProfileTypeInfo & aTypea SIP profile type to be created

DestroyL(CSIPProfile &)

IMPORT_C voidDestroyL(CSIPProfile &aSIPProfile)
Removes and deletes SIP profile from the persistent storage. Function leaves on failure. If the profile is registered it will be de-registered before the removal from the persistent storage.
capability
WriteDeviceData
capability
NetworkServices

Parameters

CSIPProfile & aSIPProfilea sip profile to delete

IsInUseL(const CSIPProfile &)

IMPORT_C TBoolIsInUseL(const CSIPProfile &aSIPProfile)const
Checks if profile is not used by other applications.
capability
ReadUserData

Parameters

const CSIPProfile & aSIPProfilea SIP profile

NewInstanceL()

CSIPProfile *NewInstanceL()[private, virtual]

Creates a new instance of type CSIPManagedProfile

NewL(MSIPProfileRegistryObserver &)

IMPORT_C CSIPManagedProfileRegistry *NewL(MSIPProfileRegistryObserver &aObserver)[static]

Two-phased constructor.

Parameters

MSIPProfileRegistryObserver & aObservera observer for SIP profile change events.

NewLC(MSIPProfileRegistryObserver &)

IMPORT_C CSIPManagedProfileRegistry *NewLC(MSIPProfileRegistryObserver &aObserver)[static]

Two-phased constructor. Constructs an object and adds the pointer to the cleanup stack;

Parameters

MSIPProfileRegistryObserver & aObservera observer for SIP profile change events.

SaveL(CSIPProfile &)

IMPORT_C voidSaveL(CSIPProfile &aSIPProfile)
Saves new profile or changes to a profile to the persistent storage. This function must be called after desired values are set or updated in the SIP profile. If the profile is marked for auto-registration and the profile is updated the profile will be re-registered. Function leaves on failure.
capability
WriteDeviceData
capability
NetworkServices

Parameters

CSIPProfile & aSIPProfilea sip profile to save