summaryrefslogtreecommitdiffstats
path: root/mmc_updater/src/UpdateObserver.h
blob: 84d47325f2e4775c77ef7118098fd14d069e856d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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;
};