mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
refactor(MessageLevel): move and rename 'FromLine*' functions
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
This commit is contained in:
parent
d1b6d7c402
commit
28d27d4f19
4 changed files with 10 additions and 10 deletions
|
|
@ -33,12 +33,12 @@ struct MessageLevel {
|
|||
explicit operator int() const { return static_cast<int>(m_type); }
|
||||
explicit operator MessageLevel::Enum() { return m_type; }
|
||||
|
||||
/* Get message level from a line. Line is modified if it was successful. */
|
||||
static MessageLevel takeFromLine(QString& line);
|
||||
|
||||
/* Get message level from a line from the launcher log. Line is modified if it was successful. */
|
||||
static MessageLevel takeFromLauncherLine(QString& line);
|
||||
|
||||
private:
|
||||
Enum m_type;
|
||||
};
|
||||
|
||||
/* Get message level from a line. Line is modified if it was successful. */
|
||||
MessageLevel messageLevelFromLine(QString& line);
|
||||
|
||||
/* Get message level from a line from the launcher log. Line is modified if it was successful. */
|
||||
MessageLevel messageLevelFromLauncherLine(QString& line);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue