CSIPManagedProfileRegistry Class Reference

#include <mw/sipmanagedprofileregistry.h>

Link against: sipprofilecli.lib

class CSIPManagedProfileRegistry : public CSIPProfileRegistryBase

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 &)
Inherited Attributes
CSIPProfileRegistryBase::iFindEntry
CSIPProfileRegistryBase::iITC
CSIPProfileRegistryBase::iITCReceiver
CSIPProfileRegistryBase::iObserver
CSIPProfileRegistryBase::iProfilePlugins
CSIPProfileRegistryBase::iProfiles
CSIPProfileRegistryBase::iSipClient
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()

Detailed Description

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

Constructor & Destructor Documentation

~CSIPManagedProfileRegistry ( )

IMPORT_C~CSIPManagedProfileRegistry()

Destructor

Member Function Documentation

CreateL ( const TSIPProfileTypeInfo & )

IMPORT_C CSIPManagedProfile *CreateL(const TSIPProfileTypeInfo &aType)

Instantiates new profile with default values for given type.

ParameterDescription
aTypea SIP profile type to be created

Returns: pre-filled instance of given type profile type; the ownership is transferred

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
ParameterDescription
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
ParameterDescription
aSIPProfilea SIP profile

Returns: ETrue if its being used by other applications, EFalse otherwise

NewL ( MSIPProfileRegistryObserver & )

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

Two-phased constructor.

ParameterDescription
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;

ParameterDescription
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
ParameterDescription
aSIPProfilea sip profile to save