Updater responsible for patching Application, BootStrap, Core and Thirdparty files. More...
Public Types | |
|
typedef boost::shared_ptr < UpdateManager > | SharedPtr |
Public Member Functions | |
| UpdateManager () | |
| Ctor. | |
| ~UpdateManager () | |
| Dtor. | |
| bool | checkSystemUpdates (const std::string &a_appRoot, bool a_doUpdate, bool a_forceCheck) |
| Checks the system for updates. | |
| bool | checkPlugin (const std::string &a_dir, bool a_doUpdate, bool a_forceCheck) |
| Checks the plugin for updates. | |
| void | checkPluginUpdates (bool a_forceCheck) |
| Checks all the plugins for updates. | |
| void | getInstallablePlugins (const std::string a_url, std::vector< Plugin::Manifest::ManifestData > &a_pluginData) |
| Returns the list of installable plugins. | |
| void | processActions (const std::string &a_when, const std::string &a_operation) |
| Process All the Actions at Tonido startup and shutdown time. | |
| void | updateAllPlugins () |
| Update all apps in one shot. | |
| bool | doPluginUpdate (const std::string &a_path) |
| Update specific plugin. | |
| bool | checkPluginPath (const std::string &a_pluginPath) |
Public Attributes | |
| bool | m_needsUpdate |
| bool | m_isCriticalUpdate |
| bool | m_needsPluginUpdate |
| bool | m_isCriticalPluginUpdate |
Updater responsible for patching Application, BootStrap, Core and Thirdparty files.
| Tonido::Patch::UpdateManager::UpdateManager | ( | ) |
Ctor.
Details if needed
| Tonido::Patch::UpdateManager::~UpdateManager | ( | ) |
Dtor.
Details if needed
| bool Tonido::Patch::UpdateManager::checkPlugin | ( | const std::string & | a_dir, |
| bool | a_doUpdate, | ||
| bool | a_forceCheck | ||
| ) |
Checks the plugin for updates.
| void Tonido::Patch::UpdateManager::checkPluginUpdates | ( | bool | a_forceCheck | ) |
Checks all the plugins for updates.
| bool Tonido::Patch::UpdateManager::checkSystemUpdates | ( | const std::string & | a_appRoot, |
| bool | a_doUpdate, | ||
| bool | a_forceCheck | ||
| ) |
Checks the system for updates.
| bool Tonido::Patch::UpdateManager::doPluginUpdate | ( | const std::string & | a_path | ) |
Update specific plugin.
| void Tonido::Patch::UpdateManager::getInstallablePlugins | ( | const std::string | a_url, |
| std::vector< Plugin::Manifest::ManifestData > & | a_pluginData | ||
| ) |
Returns the list of installable plugins.
| void Tonido::Patch::UpdateManager::processActions | ( | const std::string & | a_when, |
| const std::string & | a_operation | ||
| ) |
Process All the Actions at Tonido startup and shutdown time.
| void Tonido::Patch::UpdateManager::updateAllPlugins | ( | ) |
Update all apps in one shot.