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: ESMR observer for the custom list component |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef __MESMRRESPONSEOBSERVER_H__ |
|
19 #define __MESMRRESPONSEOBSERVER_H__ |
|
20 |
|
21 //#include "esmrguidef.h" |
|
22 |
|
23 /** |
|
24 * Observer interface for the response area |
|
25 * |
|
26 * @lib esmrgui.lib |
|
27 */ |
|
28 class MESMRResponseObserver |
|
29 { |
|
30 public: |
|
31 /** |
|
32 * Called when user selects the response for MR. It can be decline, tentatibe or accept. |
|
33 * |
|
34 * @param aType - Response value |
|
35 * @return Boolean ETrue/EFalse to inform was the response succesfully sent. |
|
36 */ |
|
37 virtual TBool Response( TInt aType ) = 0; |
|
38 /** |
|
39 * Method to be called when UI needs to be closed. |
|
40 */ |
|
41 virtual void ExitDialog() = 0; |
|
42 /** |
|
43 * Method to be called when user wants to change the response value. |
|
44 * Called from CESMRResponseReadyField. |
|
45 */ |
|
46 virtual void ChangeReadyResponseL() = 0; |
|
47 }; |
|
48 |
|
49 #endif // __MESMRRESPONSEOBSERVER_H__ |