Emit 'update-available' and 'checking-for-update' events.
This commit is contained in:
parent
da602a7c01
commit
6949af5427
4 changed files with 26 additions and 0 deletions
|
@ -30,6 +30,14 @@ void AutoUpdater::OnError(const std::string& error) {
|
|||
Emit("error", &args);
|
||||
}
|
||||
|
||||
void AutoUpdater::OnCheckingForUpdate() {
|
||||
Emit("checking-for-update");
|
||||
}
|
||||
|
||||
void AutoUpdater::OnUpdateAvailable() {
|
||||
Emit("update-available");
|
||||
}
|
||||
|
||||
void AutoUpdater::OnUpdateNotAvailable() {
|
||||
Emit("update-not-available");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue