equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2007-2008 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: Observer class for IPVoiceMailEngine. Used to deliver |
|
15 * subscription status. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 |
|
21 #ifndef M_IPVMBXOBSERVER_H |
|
22 #define M_IPVMBXOBSERVER_H |
|
23 |
|
24 #include <e32def.h> |
|
25 |
|
26 /** |
|
27 * Observer class for IPVoiceMailEngine |
|
28 * |
|
29 * This class must be herited to receive IPVoiceMailEngine's |
|
30 * subscription status messages. |
|
31 * |
|
32 * @lib IPVoiceMailAppEnginedll.lib |
|
33 */ |
|
34 class MIpVmbxObserver |
|
35 { |
|
36 |
|
37 public: |
|
38 |
|
39 /** Subscribtion states */ |
|
40 enum TVmbxMessage |
|
41 { |
|
42 ESubscribed, |
|
43 EUnsubscribed, |
|
44 ENoMemory, |
|
45 ESmsError, |
|
46 ENetworkError, |
|
47 EIncorrectSettings |
|
48 }; |
|
49 |
|
50 /** |
|
51 * This function is called to inform status of subscribe and un-subscribe |
|
52 * |
|
53 * @param aSipProfileId Sip profile conserning about delivered message |
|
54 * @param aMessage Subscribtion status |
|
55 */ |
|
56 virtual void HandleMessage( |
|
57 TUint32 aServiceProviderId, |
|
58 TVmbxMessage aMessage ) = 0; |
|
59 |
|
60 }; |
|
61 |
|
62 |
|
63 #endif // M_IPVMBXOBSERVER_H |