85
|
1 |
/*
|
|
2 |
* Copyright (c) 2009 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: caappscanner.h
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
|
|
19 |
#ifndef __C_APPSCANNER_HANDLER_H__
|
|
20 |
#define __C_APPSCANNER_HANDLER_H__
|
|
21 |
|
|
22 |
#include "casrvplugin.h"
|
|
23 |
#include "casrvappscanner.h"
|
|
24 |
|
|
25 |
/**
|
|
26 |
* App Scanner Handler.
|
|
27 |
* @lib
|
|
28 |
* @since S60 v5.0
|
|
29 |
*/
|
|
30 |
NONSHARABLE_CLASS( CCaAppScannerHandler ): public CCaSrvPlugin
|
|
31 |
{
|
|
32 |
public:
|
|
33 |
|
|
34 |
/**
|
|
35 |
* Two-phased constructor. Leaves on failure.
|
|
36 |
* @param aPLuginParam plugin param consist of storage, storage utils.
|
|
37 |
* @return The constructed object.
|
|
38 |
*/
|
|
39 |
static CCaAppScannerHandler* NewL( TPluginParams* aPLuginParam );
|
|
40 |
|
|
41 |
/**
|
|
42 |
* Destructor.
|
|
43 |
* @since S60 v5.0
|
|
44 |
* @capability None.
|
|
45 |
* @throws None.
|
|
46 |
* @panic None.
|
|
47 |
*/
|
|
48 |
virtual ~CCaAppScannerHandler();
|
|
49 |
|
|
50 |
private:
|
|
51 |
|
|
52 |
/**
|
|
53 |
* Constructor.
|
|
54 |
* @since S60 v5.0
|
|
55 |
* @param aPLuginParam plugin param consist of storage, storage utils.
|
|
56 |
*/
|
|
57 |
CCaAppScannerHandler( TPluginParams* aPLuginParam );
|
|
58 |
|
|
59 |
/**
|
|
60 |
* Symbien 2nd phase constructor.
|
|
61 |
* @param aCaStorageProxy storage.
|
|
62 |
* @param aUtils storage utils.
|
|
63 |
*/
|
|
64 |
void ConstructL( CCaStorageProxy& aCaStorageProxy,
|
|
65 |
CCaSrvEngUtils& aUtils );
|
|
66 |
|
|
67 |
private:
|
|
68 |
// data
|
|
69 |
|
|
70 |
/**
|
|
71 |
* App scanner.
|
|
72 |
* Own.
|
|
73 |
*/
|
|
74 |
CCaSrvAppScanner* iScanner;
|
|
75 |
|
|
76 |
CA_STORAGE_TEST_FRIEND_CLASS ( T_casrvAppScaner)
|
|
77 |
|
|
78 |
};
|
|
79 |
|
|
80 |
#endif // __C_APPSCANNER_HANDLER_H__
|
|
81 |
// End of File
|