mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-06-12 21:27:44 +02:00
Renew the updater branch
Now with some actual consensus on what the updater will do!
This commit is contained in:
15
mmc_updater/src/UpdateObserver.h
Normal file
15
mmc_updater/src/UpdateObserver.h
Normal file
@ -0,0 +1,15 @@
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
|
||||
/** Base class for observers of update installation status.
|
||||
* See UpdateInstaller::setObserver()
|
||||
*/
|
||||
class UpdateObserver
|
||||
{
|
||||
public:
|
||||
virtual void updateError(const std::string& errorMessage) = 0;
|
||||
virtual void updateProgress(int percentage) = 0;
|
||||
virtual void updateFinished() = 0;
|
||||
};
|
||||
|
Reference in New Issue
Block a user