GH-1053 move guessLevel to instances
This commit is contained in:
parent
2fc18921b0
commit
6310f6569c
6 changed files with 53 additions and 58 deletions
|
@ -25,6 +25,7 @@
|
|||
#include "settings/INIFile.h"
|
||||
#include "BaseVersionList.h"
|
||||
#include "auth/MojangAccount.h"
|
||||
#include "launch/MessageLevel.h"
|
||||
|
||||
class QDir;
|
||||
class Task;
|
||||
|
@ -94,6 +95,12 @@ public:
|
|||
QString getPostExitCommand();
|
||||
QString getWrapperCommand();
|
||||
|
||||
/// guess log level from a line of game log
|
||||
virtual MessageLevel::Enum guessLevel(const QString &line, MessageLevel::Enum level)
|
||||
{
|
||||
return level;
|
||||
};
|
||||
|
||||
virtual QStringList extraArguments() const;
|
||||
|
||||
virtual QString intendedVersionId() const = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue