Tome
A generic data editor for games supporting arbitrary input and output formats.
fieldisneverusedtask.h
1 #ifndef FIELDISNEVERUSEDTASK_H
2 #define FIELDISNEVERUSEDTASK_H
3 
4 #include <QObject>
5 
6 #include "../../Tasks/Controller/task.h"
7 
8 namespace Tome
9 {
10  class TaskContext;
11 
15  class FieldIsNeverUsedTask : public QObject, public Task
16  {
17  public:
18  const QString getDisplayName() const Q_DECL_OVERRIDE;
19  const MessageList execute(const TaskContext& context) const Q_DECL_OVERRIDE;
20 
24  static const QString MessageCode;
25  };
26 }
27 
28 #endif // FIELDISNEVERUSEDTASK_H
Definition: commandlineoptions.h:6
const MessageList execute(const TaskContext &context) const Q_DECL_OVERRIDE
Executes this task, generating a list of messages, warnings and errors.
Definition: fieldisneverusedtask.cpp:20
const QString getDisplayName() const Q_DECL_OVERRIDE
Gets the localized display name of this task, as shown next to progress bars.
Definition: fieldisneverusedtask.cpp:15
Context to run automated tasks in.
Definition: taskcontext.h:16
Automated task that may result in a list of messages, warnings and errors.
Definition: task.h:14
static const QString MessageCode
Unique message code of this task. Used for looking up more verbose documentation. ...
Definition: fieldisneverusedtask.h:24
Finds fields who aren&#39;t used by any records.
Definition: fieldisneverusedtask.h:15