X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fwrt-installer%2Fwrt_installer_api.h;h=694c9d11014a5e9b66322a0ca8f558584bef1c07;hb=bb6a49cba8cf075304d971b519809b1816bc53ad;hp=512168b652213b869dbc9c4e5d4574339cd864ad;hpb=4c3a03cc7892389de60114e3ef3afff627fe919a;p=framework%2Fweb%2Fwrt-installer.git diff --git a/src/wrt-installer/wrt_installer_api.h b/src/wrt-installer/wrt_installer_api.h index 512168b..694c9d1 100644 --- a/src/wrt-installer/wrt_installer_api.h +++ b/src/wrt-installer/wrt_installer_api.h @@ -27,13 +27,10 @@ #include #include #include +#include #include #include -#ifdef __cplusplus -extern "C" { -#endif - typedef void (*WrtInstallerInitCallback)(WrtErrStatus status, void *data); typedef void (*WrtPluginInstallerStatusCallback)(WrtErrStatus status, @@ -45,15 +42,6 @@ typedef void (*WrtProgressCallback)(float percent, const char *description, void *data); -enum WrtInstallMode -{ - WRT_INSTALL_MODE_UNKNOWN = 0, - WRT_INSTALL_MODE_INSTALL_WGT, - WRT_INSTALL_MODE_INSTALL_DIRECTORY, - WRT_INSTALL_MODE_INSTALL_PRELOAD, - WRT_INSTALL_MODE_REINSTALL -}; - void wrt_installer_init( void *userdata, WrtInstallerInitCallback callback); @@ -63,7 +51,7 @@ void wrt_install_widget( void *user_parameter, WrtInstallerStatusCallback status_callback, WrtProgressCallback progress_callback, - WrtInstallMode install_mode, + InstallMode install_mode, std::shared_ptr pkgmgrInterface ); @@ -79,8 +67,4 @@ void wrt_install_plugin(const char *pluginDirectory, WrtPluginInstallerStatusCallback statusCallback, WrtProgressCallback progressCallback); -#ifdef __cplusplus -} -#endif - #endif /* WRT_INSTALLER_API_H_ */