typedef void (*WrtProgressCallback)(float percent,
const char *description,
void *data);
-typedef void (*WrtAllPluginInstalledCallback)(void *userdata);
-
-typedef struct
-{
- WrtAllPluginInstalledCallback plugin_installed_cb;
- char *plugin_path;
- void *user_data;
-} wrt_plugin_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_INSTALL_PRELOAD,
+ WRT_INSTALL_MODE_REINSTALL
};
void wrt_installer_init(
WrtInstallerStatusCallback status_callback,
WrtProgressCallback progress_callback,
WrtInstallMode install_mode,
- bool quiet,
std::shared_ptr<PackageManager::IPkgmgrSignal>
pkgmgrInterface
);
void *userData,
WrtPluginInstallerStatusCallback statusCallback,
WrtProgressCallback progressCallback);
-void wrt_install_all_plugins(WrtAllPluginInstalledCallback installed_cb,
- void *user_param);
#ifdef __cplusplus
}