equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2010 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: Cps command buffer interface |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef M_CAICPSCOMMANDBUFFER_H |
|
20 #define M_CAICPSCOMMANDBUFFER_H |
|
21 |
|
22 // System includes |
|
23 #include <e32base.h> |
|
24 |
|
25 // User includes |
|
26 |
|
27 // Forward declarations |
|
28 class CLiwDefaultMap; |
|
29 |
|
30 /** |
|
31 * AI Cps command buffer interface |
|
32 * |
|
33 * @lib aifw |
|
34 * @since S60 v5.2 |
|
35 */ |
|
36 class MAiCpsCommandBuffer |
|
37 { |
|
38 public: |
|
39 // new functions |
|
40 |
|
41 /** |
|
42 * Adds command to command buffer queue |
|
43 * |
|
44 * @since S60 5.2 |
|
45 * @param aPluginId plugin id. |
|
46 * @param aType type of the cps registry. |
|
47 * @param aFilter filter values. |
|
48 * @param aAction action trigger. |
|
49 */ |
|
50 virtual void AddCommand( const TDesC& aPluginId, |
|
51 const TDesC& aType, CLiwDefaultMap* aFilter, |
|
52 const TDesC8& aAction) = 0; |
|
53 |
|
54 protected: |
|
55 // destructor |
|
56 |
|
57 ~MAiCpsCommandBuffer() { } |
|
58 }; |
|
59 |
|
60 #endif // M_CAICPSCOMMANDBUFFER_H |
|
61 |
|
62 // End of file |
|
63 |