mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-12-27 03:14:49 +00:00
6aa9bd0f77
Now with some actual consensus on what the updater will do!
16 lines
326 B
C++
16 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;
|
|
};
|
|
|