2 * Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of "Eclipse Public License v1.0"
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
15 * Name : sipprofileregistryobserver.h
16 * Part of : SIP Profile Client
17 * Interface : SDK API, SIP Profile API
18 * The observer class for monitoring SIP profiles.
25 #ifndef MSIPPROFILEOREGISTRYBSERVER_H
26 #define MSIPPROFILEOREGISTRYBSERVER_H
32 // FORWARD DECLARATIONS
39 * The observer class for monitoring SIP profiles.
40 * Class must be implemented by the user in order to
41 * observe changes in the SIP profiles.
43 class MSIPProfileRegistryObserver
46 /** Profile Registry events */
50 * Signals the creation of a SIP profile, indicating that a new
51 * profile is added into permanent store. This event is sent to
56 * Signals the updating of a SIP profile, indicating that the data of
57 * an existing profile is updated into permanent store. This event is
58 * sent to those observers who have the corresponding profile
60 * Newly updated values of the profile are available for clients after
61 * they receive this signal.If profile was registered while updated,
62 * reregistration of the profile may occur. Updated values of the
63 * profile are uploaded into network when SIP registration process
64 * is completed.It is possible (but not recommended) that profile is
65 * updated even when it is being enabled by the client. If client
66 * receives this event for enabled profile, client should react as if
67 * error was occurred in the exception that profile is disabled
72 * Signals the changing of the registration status of a SIP profile
74 * This event is sent to those observers who have the corresponding
75 * profile instantiated.
79 * Signals the changing of the registration status of a SIP profile
81 * This event is sent to those observers who have the corresponding
82 * profile instantiated.
86 * Signals the destruction of a SIP profile, indicating that the
87 * profile has been removed from the permanent store and cannot
88 * be used anymore.This event is sent to those observers who have
89 * the corresponding profile instantiated.
93 * Signals the force disabling of a SIP profile, indicating that
94 * all the users attached to the profile are detached. This event
95 * is sent to all the observers but ForceDisable API can be invoked
96 * only by application with Network Control capability.
98 EProfileForciblyDisabled
102 * An event related to SIP Profile has accorred
103 * @param aProfileId a profile Id
104 * @param aEvent an occurred event
106 virtual void ProfileRegistryEventOccurred(TUint32 aProfileId,
110 * An asynchronous error has occurred related to SIP profile
111 * Event is send to those observers, who have the
112 * corresponding profile instantiated.
113 * @param aProfileId the id of failed profile
114 * @param aError an occurred error
116 virtual void ProfileRegistryErrorOccurred(TUint32 aProfileId,
120 #endif // MSIPPROFILEOREGISTRYBSERVER_H