#include <mw/sipprofileregistry.h>
Link against: sipprofilecli.lib
class CSIPProfileRegistry : public CSIPProfileRegistryBase |
Public Member Functions | |
---|---|
~CSIPProfileRegistry() | |
IMPORT_C CSIPConnection * | ConnectionL(CSIPProfile &) |
IMPORT_C TInt | Disable(CSIPProfile &) |
IMPORT_C void | EnableL(CSIPProfile &, MSIPConnectionObserver &) |
IMPORT_C TInt | ForceDisable(CSIPProfile &) |
IMPORT_C TBool | IsEnabled(const CSIPProfile &) |
virtual CSIPProfile * | NewInstanceL() |
IMPORT_C CSIPProfileRegistry * | NewL(CSIP &, MSIPProfileRegistryObserver &) |
IMPORT_C CSIPProfileRegistry * | NewLC(CSIP &, MSIPProfileRegistryObserver &) |
IMPORT_C void | RefreshEnableL(CSIPProfile &) |
IMPORT_C CSIP & | SIP() |
The class for retrieving SIP profiles from permanent storage. This class provides services for retreiving SIP profiles and enabling/disabling them for the usage.
The user can create only one instance of this class (a singleton class).
IMPORT_C CSIPConnection * | ConnectionL | ( | CSIPProfile & | aProfile | ) |
Parameters | |
---|---|
aProfile | a sip profile |
Leave Codes | |
---|---|
KErrNoMemory | if out of memory |
Capability | |
---|---|
NetworkServices |
IMPORT_C TInt | Disable | ( | CSIPProfile & | aProfile | ) |
Parameters | |
---|---|
aProfile | a sip profile to disable |
Capability | |
---|---|
NetworkServices |
IMPORT_C void | EnableL | ( | CSIPProfile & | aProfile, |
MSIPConnectionObserver & | aObserver | |||
) |
Parameters | |
---|---|
aProfile | a sip profile to enable |
aObserver | a observer for SIP connection events |
Leave Codes | |
---|---|
KErrNotFound | if non-existing profile is provided |
Capability | |
---|---|
NetworkServices |
IMPORT_C TInt | ForceDisable | ( | CSIPProfile & | aProfile | ) |
Parameters | |
---|---|
aProfile | a sip profile to disable |
Capability | |
---|---|
NetworkControl |
IMPORT_C TBool | IsEnabled | ( | const CSIPProfile & | aProfile | ) | const |
Tests is the SIP profile enabled for the use
Parameters | |
---|---|
aProfile | a SIP profile to be checked |
IMPORT_C CSIPProfileRegistry * | NewL | ( | CSIP & | aSip, |
MSIPProfileRegistryObserver & | aObserver | |||
) | [static] |
Two-phased constructor. This constructor should be used if the client intends to use SIP services with profiles.
Parameters | |
---|---|
aSip | a SIP client providing connection to SIP stack. |
aObserver | a observer for SIP profile change events. |
IMPORT_C CSIPProfileRegistry * | NewLC | ( | CSIP & | aSip, |
MSIPProfileRegistryObserver & | aObserver | |||
) | [static] |
Two-phased constructor. This constructor should be used if the client intends to use SIP services with profiles. Constructs an object and adds the pointer to the cleanup stack;
Parameters | |
---|---|
aSip | a SIP client providing connection to SIP stack. |
aObserver | a observer for SIP profile change events. |
IMPORT_C void | RefreshEnableL | ( | CSIPProfile & | aProfile | ) |
Parameters | |
---|---|
aProfile | a sip profile to enable |
Leave Codes | |
---|---|
KErrNotFound | if non-existing profile is provided |
KErrArgument | if the profile is not previously Enabled and in Unregistered state. |
Capability | |
---|---|
NetworkServices |