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: Declaration of CPsuiReqObserver class. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef CPSUIREQOBSERVER_H |
|
20 #define CPSUIREQOBSERVER_H |
|
21 |
|
22 // INCLUDES |
|
23 #include <mservicerequestobserver.h> |
|
24 #include "psuinotemaster.h" |
|
25 |
|
26 // FORWARD DECLARATIONS |
|
27 |
|
28 // CLASS DECLARATION |
|
29 |
|
30 /** |
|
31 * CPsuiReqObserver class is responsible for observe request note cancel. |
|
32 * @since 3.2 |
|
33 */ |
|
34 NONSHARABLE_CLASS ( CPsuiReqObserver ) : public CBase , public MServiceRequestObserver |
|
35 { |
|
36 public: // Constructors and destructor |
|
37 |
|
38 /** |
|
39 * Symbian OS two-phased constructor. |
|
40 * |
|
41 */ |
|
42 static CPsuiReqObserver* NewL( CPsuiNoteMaster& aNoteMaster ); |
|
43 |
|
44 /** |
|
45 * Destructor |
|
46 */ |
|
47 ~CPsuiReqObserver(); |
|
48 |
|
49 private: |
|
50 CPsuiReqObserver( CPsuiNoteMaster& aNoteMaster ); |
|
51 |
|
52 public: //new |
|
53 |
|
54 protected: |
|
55 /** |
|
56 * From MServiceRequestObserver. Called when service request |
|
57 * is cancelled by the user. |
|
58 */ |
|
59 void MServiceRequestNoteCancelledL( TBool aCancelledWithEscape ); |
|
60 |
|
61 private: //new |
|
62 |
|
63 private: // Member variables |
|
64 |
|
65 CPsuiNoteMaster& iNoteMaster; |
|
66 |
|
67 }; |
|
68 #endif //CPSUIREQOBSERVER_H |
|