|
1 /* |
|
2 * Copyright (c) 2002-2005 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: Feature Manger stub plugin header |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef __FEATMGRPLUGIN_H_ |
|
20 #define __FEATMGRPLUGIN_H_ |
|
21 |
|
22 #include <featureinfoplugin.h> |
|
23 #include "plugintimer.h" |
|
24 |
|
25 |
|
26 class CFeatMgrPlugin : public CFeatureInfoPlugin, |
|
27 public MPluginTimerCallback |
|
28 { |
|
29 public: |
|
30 |
|
31 static CFeatMgrPlugin* NewL(); |
|
32 virtual ~CFeatMgrPlugin(); |
|
33 |
|
34 /** |
|
35 * Method to invoke a particular command in the plugin |
|
36 * @param aCommandId Command ID |
|
37 * @param aTransId Transaction ID |
|
38 * @param aData Data associated with command |
|
39 */ |
|
40 virtual void ProcessCommandL( const FeatureInfoCommand::TFeatureInfoCmd aCommandId, |
|
41 const TUint8 aTransId, |
|
42 TDesC8& aData ); |
|
43 |
|
44 // From MPluginTimerCallback |
|
45 void GenericTimerFiredL( MFeatureInfoPluginCallback& aService, |
|
46 const FeatureInfoCommand::TFeatureInfoCmd aCommandId, |
|
47 const TUint8 aTransId, |
|
48 TInt aRetVal ); |
|
49 private: // Construction |
|
50 |
|
51 CFeatMgrPlugin(); |
|
52 void ConstructL(); |
|
53 |
|
54 // RPointerArray<CPluginTimer> iTimers; |
|
55 CPluginTimer* iTimer; |
|
56 |
|
57 }; |
|
58 |
|
59 #endif // __FEATMGRPLUGIN_H_ |