Emit 'update-available' and 'checking-for-update' events.

This commit is contained in:
probablycorey 2014-01-31 16:11:11 -08:00
parent da602a7c01
commit 6949af5427
4 changed files with 26 additions and 0 deletions

View file

@ -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");
}