5#ifndef MOLYBDEN_APP_UPDATE_EVENTS_HPP
6#define MOLYBDEN_APP_UPDATE_EVENTS_HPP
10#include "molybden/base/event.hpp"
A class that contains all application update events.
Definition app_update_events.hpp:59
Event< AppUpdateInstalled > onAppUpdateInstalled
Invoked when the application update has been installed.
Definition app_update_events.hpp:70
Event< AppUpdateFailed > onAppUpdateFailed
Invoked when the application update has failed to be installed.
Definition app_update_events.hpp:81
Event< AppUpdateProgressChanged > onAppUpdateProgressChanged
Invoked when the progress of the application update has been changed.
Definition app_update_events.hpp:92
Events allow you to be notified when something happens in Molybden.
Definition event.hpp:25
The AppUpdateEvents::onAppUpdateFailed event arguments.
Definition app_update_events.hpp:44
std::string message
An error message during the application update.
Definition app_update_events.hpp:53
std::shared_ptr< AppUpdate > app_update
The application update instance initiated this event.
Definition app_update_events.hpp:48
The AppUpdateEvents::onAppUpdateInstalled event arguments.
Definition app_update_events.hpp:19
std::shared_ptr< AppUpdate > app_update
The application update instance initiated this event.
Definition app_update_events.hpp:23
The AppUpdateEvents::onAppUpdateProgressChanged event arguments.
Definition app_update_events.hpp:29
std::shared_ptr< AppUpdate > app_update
The application update instance initiated this event.
Definition app_update_events.hpp:33
uint16_t progress
The progress of the application update in the range 0-100.
Definition app_update_events.hpp:38