|
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: IMPS Protocol implementation for Presence Framework |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef __CIMPSPLUGINDELETEPRESENTITYGROUPREQUEST_H__ |
|
20 #define __CIMPSPLUGINDELETEPRESENTITYGROUPREQUEST_H__ |
|
21 |
|
22 |
|
23 // INCLUDES |
|
24 #include <e32base.h> |
|
25 #include <ximpbase.h> |
|
26 #include "impsdebugprint.h" |
|
27 |
|
28 |
|
29 // FORWARD DECLARATIONS |
|
30 class MImpsPrtPluginConnectionManager; |
|
31 class MPEngXMLParser; |
|
32 class MPEngXmlSerializer; |
|
33 class MXIMPIdentity; |
|
34 |
|
35 /** |
|
36 * CDeletePresentityGroupRequest |
|
37 * |
|
38 * Delete Presentity Group Request to Network Server |
|
39 * |
|
40 * @lib ?library |
|
41 * @since S60 v4.0 |
|
42 */ |
|
43 |
|
44 class CDeletePresentityGroupRequest: public CActive |
|
45 |
|
46 |
|
47 { |
|
48 |
|
49 public: |
|
50 |
|
51 static CDeletePresentityGroupRequest* NewL( |
|
52 MImpsPrtPluginConnectionManager& aConnMan, |
|
53 TXIMPRequestId aRequestId ); |
|
54 |
|
55 static CDeletePresentityGroupRequest* NewLC( |
|
56 MImpsPrtPluginConnectionManager& aConnMan, |
|
57 TXIMPRequestId aRequestId ); |
|
58 |
|
59 virtual ~CDeletePresentityGroupRequest(); |
|
60 |
|
61 |
|
62 private: |
|
63 |
|
64 CDeletePresentityGroupRequest( |
|
65 MImpsPrtPluginConnectionManager& aConnMan, |
|
66 TXIMPRequestId aRequestId ); |
|
67 void ConstructL(); |
|
68 |
|
69 |
|
70 private: // from CActive |
|
71 |
|
72 void DoCancel(); |
|
73 void RunL(); |
|
74 TInt RunError( TInt aError ); |
|
75 |
|
76 |
|
77 public: |
|
78 |
|
79 void DeletePresentityGroupRequestL( const MXIMPIdentity& aIdentity ); |
|
80 |
|
81 |
|
82 private: // data |
|
83 |
|
84 /** |
|
85 * Request Id from PrFw |
|
86 */ |
|
87 |
|
88 TXIMPRequestId iRequestId; |
|
89 |
|
90 /** |
|
91 * Send data request to pure data handler generates the id |
|
92 */ |
|
93 TInt iSendId; |
|
94 |
|
95 /** |
|
96 * Store the groupName as the data member |
|
97 */ |
|
98 HBufC16* iGroupName; |
|
99 |
|
100 /** |
|
101 * ?description_of_pointer_member |
|
102 * Own. *** Write "Own" if this class owns the object pointed to; in |
|
103 other words, if this class is responsible for deleting it. |
|
104 */ |
|
105 |
|
106 MPEngXMLParser* iParser; |
|
107 |
|
108 /** |
|
109 * Imps Protocol Plugin Connection Manager |
|
110 * Not own. *** Write "Not own" if some other class owns this object. |
|
111 */ |
|
112 MImpsPrtPluginConnectionManager& iConnMan; |
|
113 }; |
|
114 |
|
115 |
|
116 #endif // __CIMPSPLUGINDELETEPRESENTITYGROUPREQUEST_H__ |
|
117 |