equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2009 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: |
|
15 * |
|
16 */ |
|
17 #ifndef AFASYNCREQUESTPRIVATE_H |
|
18 #define AFASYNCREQUESTPRIVATE_H |
|
19 |
|
20 #include <e32base.h> |
|
21 #include <afcmd.h> |
|
22 |
|
23 #include "afasyncrequestobserver.h" |
|
24 #include "afasyncsession.h" |
|
25 |
|
26 class CAfAsyncRequestPrivate : public CActive |
|
27 |
|
28 { |
|
29 public: |
|
30 static void NewLD(MAfAsyncRequestObserver &observer, |
|
31 MAfAsyncSession & session, |
|
32 ActivityCmd cmd); |
|
33 |
|
34 ~CAfAsyncRequestPrivate(); |
|
35 |
|
36 protected: |
|
37 void DoCancel(); |
|
38 |
|
39 void RunL(); |
|
40 |
|
41 TInt RunError(TInt error); |
|
42 |
|
43 private: |
|
44 CAfAsyncRequestPrivate(MAfAsyncRequestObserver &, |
|
45 MAfAsyncSession &, |
|
46 ActivityCmd); |
|
47 void ConstructL(); |
|
48 |
|
49 private: |
|
50 MAfAsyncRequestObserver &mObserver; |
|
51 MAfAsyncSession &mSession; |
|
52 const ActivityCmd mCmd; |
|
53 TPckgBuf<TInt> mIds[4]; |
|
54 }; |
|
55 #endif // AFASYNCREQUESTPRIVATE_H |