equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2006-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 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: |
|
15 * Interface for the CSwiSidChecker class |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 /** |
|
21 @file |
|
22 @internalComponent |
|
23 */ |
|
24 |
|
25 #ifndef __SWISIDCHECKER_H__ |
|
26 #define __SWISIDCHECKER_H__ |
|
27 |
|
28 #include <apsidchecker.h> |
|
29 #include <swi/sisregistrysession.h> |
|
30 |
|
31 class CSwiInstallMonitor; |
|
32 |
|
33 NONSHARABLE_CLASS(CSwiSidChecker) : public CAppSidChecker |
|
34 /** Swi Sid checker. |
|
35 |
|
36 This is an implementation of CAppSidChecker for checking nativa application Sids |
|
37 |
|
38 This instance of the CAppSidChecker is used to verify that a native application |
|
39 installed and can be launched. |
|
40 |
|
41 @internalComponent */ |
|
42 { |
|
43 public: |
|
44 static CSwiSidChecker* NewL(); |
|
45 ~CSwiSidChecker(); |
|
46 |
|
47 public: |
|
48 virtual TBool AppRegisteredAt(const TUid& aSid, TDriveUnit aDrive); |
|
49 virtual void SetRescanCallBackL(const TCallBack &aCallback); |
|
50 |
|
51 private: |
|
52 CSwiSidChecker(); |
|
53 TBool AppRegisteredAtInternalL(const TUid& aSid, TDriveUnit aDrive); |
|
54 |
|
55 private: |
|
56 CSwiInstallMonitor* iSwiInstallMonitor; |
|
57 }; |
|
58 |
|
59 #endif |
|
60 |