Tome
A generic data editor for games supporting arbitrary input and output formats.
referencedfiledoesnotexisttask.h
1 #ifndef REFERENCEDFILEDOESNOTEXISTTASK_H
2 #define REFERENCEDFILEDOESNOTEXISTTASK_H
3 
4 #include <QObject>
5 
6 #include "../../Tasks/Controller/task.h"
7 
8 namespace Tome
9 {
10  class TaskContext;
11 
15  class ReferencedFileDoesNotExistTask : 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 // REFERENCEDFILEDOESNOTEXISTTASK_H
Definition: commandlineoptions.h:6
const QString getDisplayName() const Q_DECL_OVERRIDE
Gets the localized display name of this task, as shown next to progress bars.
Definition: referencedfiledoesnotexisttask.cpp:23
Finds records with File type fields who are referencing files that could not be found.
Definition: referencedfiledoesnotexisttask.h:15
const MessageList execute(const TaskContext &context) const Q_DECL_OVERRIDE
Executes this task, generating a list of messages, warnings and errors.
Definition: referencedfiledoesnotexisttask.cpp:28
Context to run automated tasks in.
Definition: taskcontext.h:16
static const QString MessageCode
Unique message code of this task. Used for looking up more verbose documentation. ...
Definition: referencedfiledoesnotexisttask.h:24
Automated task that may result in a list of messages, warnings and errors.
Definition: task.h:14