ftuwizardmodel/inc/ftuwizard.h
changeset 21 851e19007849
parent 18 e3554c9069b6
child 23 7e4c5a2ff1a2
child 37 940f6b67827d
--- a/ftuwizardmodel/inc/ftuwizard.h	Fri Apr 16 15:15:08 2010 +0300
+++ b/ftuwizardmodel/inc/ftuwizard.h	Mon May 03 12:46:45 2010 +0300
@@ -25,9 +25,10 @@
 #include <QObject>
 #include <QRectF>
 #include <QDate>
+#include <hbmenu>
 
 class QGraphicsWidget;
-   
+
 /**
  * @ingroup group_ftuwizardmodel
  * @brief Represents a wizard plugin visualization information.
@@ -108,9 +109,14 @@
      * usually creates its initial view.
      * Once the initialization is done, wizardInitialized signal must be 
      * emitted.
+ 	 * @param cenrepOwnerId Id of the owner of Cenrep holding wizard completion Information.
+	 * @param wizardIdx Index of the Cenrep key for a wizard.
+	 * If wizard is invoking another application, it should provide cenrepOwnerId and wizardIdx
+	 * to the application. Application should write 1 into the wizardIdx cenrep on completion.
+
      * @since S60 ?S60_version.
      */
-    virtual void initializeWizard() = 0;
+    virtual void initializeWizard(qint32 cenrepOwnerId, int wizardIdx) = 0;
 
     /**
      * Called by the FTU fw when the wizard becomes the current wizard.  
@@ -241,7 +247,15 @@
      * @param caller The calling wizard plugin instance.
      */
     void shutdownCompleted(FtuWizard *caller);
-
+    
+    /**
+     * Emit this signal to indicate that the wizard plugin wants a custom view menu to be shown. 
+     * from shutdownWizard.
+     * @param caller The calling wizard plugin instance.
+     * @param menu   The HbMenu instance that needs to be shown on the view
+     */
+    void updateMainMenu(FtuWizard *caller, HbMenu * menu);
+    
 };
 
 #endif // FTUWIZARD_H