Add optional prettyStatusMessage to Job.

This commit is contained in:
Teo Mrnjavac 2015-06-13 02:03:35 +02:00
parent 659a388688
commit 18a9e0db48
2 changed files with 8 additions and 0 deletions

View File

@ -94,4 +94,11 @@ Job::prettyDescription() const
}
QString
Job::prettyStatusMessage() const
{
return QString();
}
} // namespace Calamares

View File

@ -65,6 +65,7 @@ public:
virtual QString prettyName() const = 0;
virtual QString prettyDescription() const;
virtual QString prettyStatusMessage() const;
virtual JobResult exec() = 0;
signals:
void progress( qreal percent );