mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-04 20:36:58 +03:00
15 lines
326 B
C++
15 lines
326 B
C++
#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;
|
|
};
|
|
|