idlehomescreen/widgetmanager/inc/wmconfiguration.h
branchRCL_3
changeset 9 f966699dea19
parent 4 4d54b72983ae
child 15 ff572dfe6d86
--- a/idlehomescreen/widgetmanager/inc/wmconfiguration.h	Tue Feb 02 00:04:13 2010 +0200
+++ b/idlehomescreen/widgetmanager/inc/wmconfiguration.h	Fri Feb 19 22:42:37 2010 +0200
@@ -86,54 +86,23 @@
     const TDesC& PortalButtonIcon( TInt aIndex );
     
     /**
-     * Portal button action method.
-     * Defines what happens when the portal button is pressed.
+     * Returns url to for browser by button index
      * @param aIndex index of the button, starting at 0
      */
-    TMethod PortalButtonPrimaryMethod( TInt aIndex );
+    const TDesC& PortalButtonBrowserUrl( TInt aIndex );
     
     /**
-     * Service name for the primary method.
-     * For EHttp this is unused.
-     * For EWidget, this is the widget Bundle ID.
-     * For EApplication, this is the application name.
-     * @param aIndex index of the button, starting at 0
-     */
-    const TDesC& PortalButtonPrimaryService( TInt aIndex );
-    
-    /**
-     * parameters related to the method.
-     * For EHttp this is the HTTP address
-     * For EWidget the parameters passed to the widget
-     * For EApplication the params passed to the app.
+     * Returns client uid by button index 
      * @param aIndex index of the button, starting at 0
      */
-    const TDesC& PortalButtonPrimaryParams( TInt aIndex );
-    
-    /**
-     * Secondary method, which is excuted if
-     * primary method fails.
-     * Works like Primary method.
-     * @param aIndex index of the button, starting at 0
-     */
-    TMethod PortalButtonSecondaryMethod( TInt aIndex );
+    TUid PortalButtonClientUid( TInt aIndex );
     
     /**
-     * Service name for the primary method.
-     * For EHttp this is unused.
-     * For EWidget, this is the widget Bundle ID.
-     * For EApplication, this is the application name.
+     * Returns client parameter by button index 
      * @param aIndex index of the button, starting at 0
      */
-    const TDesC& PortalButtonSecondaryService( TInt aIndex );
-    
-    /**
-     * Parameters for Secondary method. Like Primary method
-     * Works like Primary params.
-     * @param aIndex index of the button, starting at 0
-     */
-    const TDesC& PortalButtonSecondaryParams( TInt aIndex );
-    
+    const TDesC& PortalButtonClientParam( TInt aIndex );
+        
 private: // New functions
     
     void LoadConfigurationL();