equal
deleted
inserted
replaced
1 /* |
|
2 * Copyright (c) 2004-2008 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 |
|
18 |
|
19 #ifndef CCONFIRMATIONQUERY_H |
|
20 #define CCONFIRMATIONQUERY_H |
|
21 |
|
22 #include <e32base.h> |
|
23 #include <e32std.h> |
|
24 |
|
25 #include "mconfirmationnotify.h" |
|
26 |
|
27 class CConfirmationQuery : public CActive |
|
28 { |
|
29 public: |
|
30 |
|
31 ~CConfirmationQuery(); |
|
32 |
|
33 static CConfirmationQuery* NewL( MConfirmationNotify& aNotify ); |
|
34 |
|
35 static CConfirmationQuery* NewLC( MConfirmationNotify& aNotify ); |
|
36 |
|
37 void CConfirmationQuery::StartWaitingAnswer( ); |
|
38 |
|
39 protected: // from CActive |
|
40 |
|
41 void RunL(); |
|
42 |
|
43 void RunError(); |
|
44 |
|
45 void DoCancel(); |
|
46 |
|
47 protected: // construction |
|
48 |
|
49 CConfirmationQuery(MConfirmationNotify& aNotify); |
|
50 |
|
51 void ConstructL(); |
|
52 |
|
53 private: |
|
54 |
|
55 MConfirmationNotify& iNotify; |
|
56 TBool iCancelledByUser; |
|
57 }; |
|
58 |
|
59 |
|
60 #endif // CCONFIRMATIONQUERY_H |
|
61 |
|
62 // End of File |
|