equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2005-2007 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: Phonebook 2 generic dialog eliminator interface. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef MPBK2DIALOGELIMINATOR_H |
|
20 #define MPBK2DIALOGELIMINATOR_H |
|
21 |
|
22 // CLASS DECLARATION |
|
23 |
|
24 /** |
|
25 * Phonebook 2 generic dialog eliminator interface. |
|
26 */ |
|
27 class MPbk2DialogEliminator |
|
28 { |
|
29 public: // Interface |
|
30 |
|
31 /** |
|
32 * Tells the dialog exit is now approved and requests it to happen. |
|
33 * The exit is done with supplied command id. |
|
34 * |
|
35 * @param aCommandId Exit command id. |
|
36 */ |
|
37 virtual void RequestExitL( |
|
38 TInt aCommandId ) = 0; |
|
39 |
|
40 /** |
|
41 * Tries to exit dialog nicely, but if that does not succeed |
|
42 * exits the dialog brute force. |
|
43 */ |
|
44 virtual void ForceExit() = 0; |
|
45 |
|
46 /** |
|
47 * Reset eliminator pointer when dialog has destroyed. |
|
48 * |
|
49 * @param aSelfPtr Pointer to this eliminator pointer. |
|
50 */ |
|
51 virtual void ResetWhenDestroyed( |
|
52 MPbk2DialogEliminator** aSelfPtr ) = 0; |
|
53 |
|
54 }; |
|
55 |
|
56 #endif // MPBK2DIALOGELIMINATOR_H |
|
57 |
|
58 // End of File |