|
1 /* |
|
2 * Copyright (c) 2003 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
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". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: The observer class for monitoring SIP profiles. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef MMUSAVASIPPROFILEREGISTRYADAPTER_H |
|
20 #define MMUSAVASIPPROFILEREGISTRYADAPTER_H |
|
21 |
|
22 #include <e32std.h> |
|
23 #include <sipprofileregistryobserver.h> |
|
24 |
|
25 /** |
|
26 * @publishedAll |
|
27 * @released |
|
28 * |
|
29 * The observer class for monitoring SIP profiles. |
|
30 * Class must be implemented by the user in order to |
|
31 * observe changes in the SIP profiles. |
|
32 */ |
|
33 class MMusAvaSipProfileRegistryAdapter |
|
34 { |
|
35 public: // from MSIPProfileRegistryObserver |
|
36 |
|
37 /** |
|
38 * An event related to SIP Profile has accorred |
|
39 * @param aProfileId a profile Id |
|
40 * @param aEvent an occurred event |
|
41 **/ |
|
42 virtual void ProfileRegistryEventOccurred( |
|
43 TUint32 /*aProfileId*/, |
|
44 MSIPProfileRegistryObserver::TEvent /*aEvent*/ ) { } |
|
45 |
|
46 /** |
|
47 * An asynchronous error has occurred related to SIP profile |
|
48 * Event is send to those observers, who have the |
|
49 * corresponding profile instantiated. |
|
50 * @param aProfileId the id of failed profile |
|
51 * @param aError an occurred error |
|
52 */ |
|
53 virtual void ProfileRegistryErrorOccurred( TUint32 /*aProfileId*/, |
|
54 TInt /*aError*/ ) { } |
|
55 }; |
|
56 |
|
57 #endif // MMUSAVASIPPROFILEREGISTRYADAPTER_H |