|
1 /* |
|
2 * Copyright (c) 2006 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: Presentity group members presence unsubscription operation |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef CPSCOPERATIONUNSUBSCRIBEPRESENTITYGROUPMEMBERSPRESENCE_H |
|
19 #define CPSCOPERATIONUNSUBSCRIBEPRESENTITYGROUPMEMBERSPRESENCE_H |
|
20 |
|
21 |
|
22 #include <e32base.h> |
|
23 #include <ximpbase.h> |
|
24 |
|
25 #include "ximpoperationbase.h" |
|
26 #include "presentitygroupmemberspresencesubscriptionitem.h" |
|
27 |
|
28 /** |
|
29 * Group members presence unsubscription |
|
30 * |
|
31 * @lib ximpoperations.lib |
|
32 * @since S60 v4.0 |
|
33 */ |
|
34 class COperationUnsubscribePresentityGroupMembersPresence : public CXIMPOperationBase |
|
35 { |
|
36 public: |
|
37 |
|
38 IMPORT_C COperationUnsubscribePresentityGroupMembersPresence(); |
|
39 |
|
40 void ConstructL( const TDesC8& aParamPck ); |
|
41 |
|
42 ~COperationUnsubscribePresentityGroupMembersPresence(); |
|
43 |
|
44 |
|
45 public: // from CXIMPOperationBase |
|
46 |
|
47 void ProcessL(); |
|
48 |
|
49 void RequestCompletedL(); |
|
50 |
|
51 TInt Type() const; |
|
52 |
|
53 private: // Helper methods |
|
54 |
|
55 /** |
|
56 * Synthesise event after completion |
|
57 */ |
|
58 void SynthesiseEventL(); |
|
59 |
|
60 private: // data |
|
61 |
|
62 /** |
|
63 * Presence subscription item |
|
64 * Own. |
|
65 */ |
|
66 CPresentityGroupMembersPresenceSubscriptionItem* iSubItem; |
|
67 |
|
68 /** |
|
69 * Presentity address |
|
70 * Own. |
|
71 */ |
|
72 CXIMPIdentityImp* iGroupId; |
|
73 |
|
74 /** |
|
75 * Subscription status |
|
76 */ |
|
77 CPresentityGroupMembersPresenceSubscriptionItem::TSubscriptionStatus iSubscriptionStatus; |
|
78 |
|
79 }; |
|
80 |
|
81 |
|
82 #endif // CPSCOPERATIONUNSUBSCRIBEPRESENTITYGROUPMEMBERSPRESENCE_H |