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: Interface to component which handles all command objects |
|
15 * in Phonebook 2. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #ifndef MPBK2COMMANDLIST_H |
|
21 #define MPBK2COMMANDLIST_H |
|
22 |
|
23 // FORWARD DECLARATIONS |
|
24 class MPbk2Command; |
|
25 |
|
26 // CLASS DECLARATION |
|
27 |
|
28 /** |
|
29 * Interface to component which handles all command objects in Phonebook 2. |
|
30 */ |
|
31 class MPbk2CommandList |
|
32 { |
|
33 public: // interface |
|
34 /** |
|
35 * Takes ownership of the command. |
|
36 * @param aCommand command object to be added to the storage. |
|
37 */ |
|
38 virtual void AddAndExecuteCommandL(MPbk2Command* aCommand) = 0; |
|
39 |
|
40 virtual ~MPbk2CommandList() { } |
|
41 }; |
|
42 |
|
43 #endif // MPBK2COMMANDLIST_H |
|
44 |
|
45 // End of File |