ncdengine/provider/deviceinteraction/inc/ncdinstallationserviceimpl.h
branchRCL_3
changeset 11 3ba40be8e484
parent 9 51c0f5edf5ef
child 25 7333d7932ef7
--- a/ncdengine/provider/deviceinteraction/inc/ncdinstallationserviceimpl.h	Fri Feb 19 22:57:02 2010 +0200
+++ b/ncdengine/provider/deviceinteraction/inc/ncdinstallationserviceimpl.h	Fri Mar 12 15:43:14 2010 +0200
@@ -1,5 +1,5 @@
 /*
-* Copyright (c) 2006-2008 Nokia Corporation and/or its subsidiary(-ies).
+* Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies).
 * All rights reserved.
 * This component and the accompanying materials are made available
 * under the terms of "Eclipse Public License v1.0"
@@ -34,6 +34,8 @@
 #include "ncdasyncoperationobserver.h"
 #include "ncdasyncsilentinstallobserver.h"
 
+#include "ncdwidgetregistrydata.h"
+
 
 /**
  * New Java registry API was introduced in 3.2. We start using it 
@@ -148,6 +150,12 @@
                              const SwiUI::TInstallOptionsPckg& aInstallOptionsPckg );
     
     /**
+     * @see MNcdInstallationService::SilentInstallWidgetJavaL
+     */
+    void SilentInstallWidgetL( RFile& aFile,
+                               const SwiUI::TInstallOptionsPckg& aInstallOptionsPckg );
+    
+    /**
      * @see MNcdInstallationService::MNcdCancelSilentInstall
      */
     void CancelSilentInstall( HBufC*& aFileName,
@@ -178,6 +186,17 @@
         const TUid& aUid, const TCatalogsVersion& aVersion );
     
     /**
+     * @see MNcdInstallationService::IsWidgetInstalledL
+     */
+    TNcdApplicationStatus IsWidgetInstalledL(
+        const TDesC& aIdentifier, const TCatalogsVersion& aVersion);
+    
+    /**
+     * @see MNcdInstallationService::WidgetUidL
+     */
+    TUid WidgetUidL( const TDesC& aIdentifier);
+    
+    /**
      * @see MNcdInstallationService::SidFromSisRegistryL
      */
     TUid SidFromSisRegistryL( const TUid& aUid );
@@ -386,6 +405,8 @@
     
     void PopulateInstalledWidgetUidsL();
     
+    void PopulateInstalledWidgetsL(RExtendedWidgetInfoArray& aWidgets);
+    
     TUid InstalledWidgetUidL();
     
     HBufC* InstalledWidgetNameLC();
@@ -396,6 +417,10 @@
     
     TBool WidgetExistsL( const TUid& aUid );
     
+    TBool WidgetExistsL( const TDesC& aIdentifier, TCatalogsVersion& aVersion );
+    
+    TBool WidgetExistsL( const TUid& aUid, TCatalogsVersion& aVersion );
+    
 private:
     
     enum TInstallType
@@ -468,7 +493,9 @@
     
     
     RWidgetRegistryClientSession iWidgetRegistry;    
+    
     RWidgetInfoArray iInstalledWidgets;    
+    RPointerArray<CExtendedWidgetInfo> iInstalledWidgetsInfos; 
     };
 
 #endif // C_NCD_INSTALLATION_SERVICE_IMPL_H