--- a/ftuwizardmodel/inc/ftuwizard.h Thu Apr 01 03:31:13 2010 +0800
+++ b/ftuwizardmodel/inc/ftuwizard.h Fri Apr 16 11:40:46 2010 +0800
@@ -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