|
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: Abstract base class for location triggering entries |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef C_LBT_DELETE_ASYNCOPERATION_H |
|
20 #define C_LBT_DELETE_ASYNCOPERATION_H |
|
21 |
|
22 |
|
23 #include <lbtcommon.h> |
|
24 #include <lbttriggerdynamicinfo.h> |
|
25 #include "lbtcontainerupdatefilter.h" |
|
26 #include "lbtcontainerAOOperation.h" |
|
27 #include "lbtsecuritypolicy.h" |
|
28 |
|
29 /** |
|
30 * This is the class used hold the data sent by the client in case of |
|
31 * asynchronous delete operations |
|
32 */ |
|
33 NONSHARABLE_CLASS( CLbtDeleteAsyncOperation ) : public CLbtContainerAOOperation |
|
34 { |
|
35 public: |
|
36 |
|
37 |
|
38 |
|
39 /** |
|
40 * Constructs a new instance of container trigger entry object. |
|
41 * |
|
42 * @return The new instance of the container trigger entry object. |
|
43 */ |
|
44 static CLbtDeleteAsyncOperation* NewL( CLbtContainerUpdateFilter* aFilter, |
|
45 TRequestStatus& aClientStatus, |
|
46 TLbtSecurityPolicy aSecurityPolicy ); |
|
47 |
|
48 |
|
49 virtual void StartAOOperationL(MLbtTriggerStore* aStore,TRequestStatus &aStatus) ; |
|
50 |
|
51 virtual TRequestStatus* GetStatus(); |
|
52 |
|
53 /** |
|
54 * Destructor |
|
55 */ |
|
56 virtual ~CLbtDeleteAsyncOperation(); |
|
57 |
|
58 private: |
|
59 /** |
|
60 * Constructor. |
|
61 */ |
|
62 CLbtDeleteAsyncOperation(TLbtSecurityPolicy aSecurityPolicy); |
|
63 |
|
64 void ConstructL(CLbtContainerUpdateFilter* aFilter,TRequestStatus& aClientStatus); |
|
65 |
|
66 TContainerAOOperation GetAOOperationType(); |
|
67 |
|
68 private: |
|
69 TRequestStatus* iClientStatus; |
|
70 |
|
71 CLbtContainerUpdateFilter* iFilter; |
|
72 |
|
73 TLbtSecurityPolicy iSecurityPolicy; |
|
74 }; |
|
75 |
|
76 |
|
77 #endif // C_LBT_DELETE_ASYNCOPERATION_H |