ximpfw/presence/srcpresenceoperations/presencewatching/operationhandlepresentitypresence.h
equal
deleted
inserted
replaced
|
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: Handle presentity group list operation |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef CPSCOPERATIONHANDLEPRESENTITYPRESENCE_H |
|
19 #define CPSCOPERATIONHANDLEPRESENTITYPRESENCE_H |
|
20 |
|
21 |
|
22 #include <e32base.h> |
|
23 #include <ximpbase.h> |
|
24 |
|
25 #include "ximpoperationbase.h" |
|
26 #include "presenceoperationdefs.h" |
|
27 |
|
28 class CXIMPIdentityImp; |
|
29 class CPresenceInfoImp; |
|
30 |
|
31 /** |
|
32 * Publish presence operation. |
|
33 * |
|
34 * @lib ximpoperations.lib |
|
35 * @since S60 v4.0 |
|
36 */ |
|
37 class COperationHandlePresentityPresence : public CXIMPOperationBase |
|
38 { |
|
39 |
|
40 public: |
|
41 |
|
42 IMPORT_C COperationHandlePresentityPresence( TInt aOperation ); |
|
43 |
|
44 void ConstructL( const TDesC8& aParamPck ); |
|
45 |
|
46 ~COperationHandlePresentityPresence(); |
|
47 |
|
48 public: // from CXIMPOperationBase |
|
49 |
|
50 void ProcessL(); |
|
51 |
|
52 void RequestCompletedL(); |
|
53 |
|
54 TInt Type() const; |
|
55 |
|
56 private: // data |
|
57 |
|
58 /** |
|
59 * Identity |
|
60 */ |
|
61 CXIMPIdentityImp* iIdentity; |
|
62 |
|
63 /** |
|
64 * Presence info |
|
65 */ |
|
66 CPresenceInfoImp* iPresenceInfo; |
|
67 |
|
68 /** |
|
69 * Operation. |
|
70 */ |
|
71 TInt iOperation; |
|
72 }; |
|
73 |
|
74 |
|
75 #endif // CPSCOPERATIONHANDLEPRESENTITYPRESENCE_H |