author | Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com> |
Thu, 17 Dec 2009 09:09:50 +0200 | |
changeset 37 | 5d0ec8b709be |
parent 33 | 50974a8b132e |
permissions | -rw-r--r-- |
19 | 1 |
/* |
2 |
* Copyright (c) 2007-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 the License "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: This Class provides the interface for |
|
15 |
* loading the interface class through ECom |
|
16 |
* |
|
17 |
*/ |
|
18 |
||
19 |
||
20 |
#ifndef __CAPPMANAGERSERVICEHANDLER_H |
|
21 |
#define __CAPPMANAGERSERVICEHANDLER_H |
|
22 |
||
33
50974a8b132e
Revision: 200945
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
23 |
#include <liwserviceifbase.h> |
19 | 24 |
|
25 |
||
26 |
class CAppManagerServiceHandler : public CLiwServiceIfBase |
|
27 |
{ |
|
28 |
public: |
|
29 |
/** |
|
30 |
* Two-phased constructor |
|
31 |
* @since Series60 v3.2 |
|
32 |
* @param void |
|
33 |
* @return CAppManagerServiceHandler* Returns the instance of |
|
34 |
* CAppManagerServiceHandler |
|
35 |
*/ |
|
36 |
||
37 |
static CAppManagerServiceHandler* NewL(); |
|
38 |
/** |
|
39 |
* Destructor. |
|
40 |
*/ |
|
41 |
~CAppManagerServiceHandler(); |
|
42 |
||
43 |
public: |
|
44 |
/** |
|
45 |
* Called by the Liw framework to initialise provider with necessary information |
|
46 |
* from the Service Handler. This method is called when the consumer makes |
|
47 |
* the attach operation. |
|
48 |
* |
|
49 |
* @param aFrameworkCallback Framework provided callback for provider to send |
|
50 |
* events to framework. |
|
51 |
* @param aInterest List of criteria items which invoked the provider. |
|
52 |
*/ |
|
53 |
||
54 |
virtual void InitialiseL( |
|
55 |
MLiwNotifyCallback& aFrameworkCallback, |
|
56 |
const RCriteriaArray& aInterest); |
|
57 |
||
58 |
/** |
|
59 |
* Executes generic service commands included in criteria. |
|
60 |
* |
|
61 |
* @param aCmdId Command to be executed. |
|
62 |
* @param aInParamList Input parameters, can be an empty list. |
|
63 |
* @param aOutParamList Output parameters, can be an empty list. |
|
64 |
* @param aCmdOptions Options for the command, see KLiwOpt* in LiwCommon.hrh. |
|
65 |
* @param aCallback Callback for asynchronous command handling, parameter checking, etc. |
|
66 |
* @leave KErrArgument Callback is missing when required. |
|
67 |
* @leave KErrNotSupported No provider supports service. |
|
68 |
*/ |
|
69 |
virtual void HandleServiceCmdL( |
|
70 |
const TInt& aCmdId, |
|
71 |
const CLiwGenericParamList& aInParamList, |
|
72 |
CLiwGenericParamList& aOutParamList, |
|
73 |
TUint aCmdOptions = 0, |
|
74 |
const MLiwNotifyCallback* aCallback = NULL); |
|
75 |
||
76 |
private: |
|
77 |
/** |
|
78 |
* Constructor. |
|
79 |
*/ |
|
80 |
CAppManagerServiceHandler(){}; |
|
81 |
||
82 |
}; |
|
83 |
||
84 |
#endif __CAPPMANAGERSERVICEHANDLER_H |