equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2002-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: |
|
15 * Phonebook 2 command factory abstract API. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #ifndef MPBK2COMMANDFACTORY_H |
|
21 #define MPBK2COMMANDFACTORY_H |
|
22 |
|
23 #include <Pbk2Commands.hrh> |
|
24 |
|
25 // FORWARD DECLARATIONS |
|
26 class MPbk2Command; |
|
27 class MPbk2ContactUiControl; |
|
28 |
|
29 // CLASS DECLARATION |
|
30 |
|
31 /** |
|
32 * Phonebook command factory API. |
|
33 */ |
|
34 class MPbk2CommandFactory |
|
35 { |
|
36 public: // Interface |
|
37 /** |
|
38 * Virtual destructor. |
|
39 */ |
|
40 virtual ~MPbk2CommandFactory() { } |
|
41 |
|
42 /** |
|
43 * Creates a command given command ID. |
|
44 * |
|
45 * @param aCommandId ID of the command that the command object is |
|
46 * created for. |
|
47 * @param aParams Phonebook 2 command object parameters |
|
48 * @return the created command object |
|
49 */ |
|
50 virtual MPbk2Command* CreateCommandForIdL( |
|
51 TPbk2CommandId aCommandId, |
|
52 MPbk2ContactUiControl& aParams) const =0; |
|
53 }; |
|
54 |
|
55 #endif // MPBK2COMMANDFACTORY_H |
|
56 |
|
57 // End of File |