DECLARE_GENERIC_EVENT_2(InstallPluginEvent, std::string, PluginInstallerStruct)
/**
- * @brief Event for indiciating W3C Geolocation plugin instalation process.
- */
-DECLARE_GENERIC_EVENT_1(InstallPluginGeolocationEvent, PluginInstallerStruct) //
-
-/**
* @brief Event for inicietig widget uninstallation.
*
* WidgetHandler is used to point witch widget shuld be uninstalled
} // namespace InstallerEvents
+
+namespace Logic {
+
/**
* @brief Controls Widget installation
*
typedef DPL::TypeListDecl<
InstallerControllerEvents::InstallWidgetEvent,
InstallerControllerEvents::InstallPluginEvent,
- InstallerControllerEvents::InstallPluginGeolocationEvent,
InstallerControllerEvents::UninstallWidgetEvent,
InstallerControllerEvents::NextStepEvent,
InstallerControllerEvents::InstallDeferredWidgetPackagesEvent,
const InstallerControllerEvents::InstallPluginEvent &event);
/**
- * @brief Executed on InstallPluginEvent received.
- */
- virtual void OnEventReceived(
- const InstallerControllerEvents::InstallPluginGeolocationEvent
- &event);
-
- /**
* @brief Executed on UninstallWidgetEvent received.
*/
virtual void OnEventReceived(
private:
// Embedded logic
- InstallerLogic m_installerLogic;
+ Logic::InstallerLogic m_installerLogic;
InstallerController();
typedef DPL::Singleton<InstallerController> InstallerControllerSingleton;
+}
+
#endif // INSTALLER_CONTROLLER_H