Tome
A generic data editor for games supporting arbitrary input and output formats.
Source
Tome
Features
Tasks
Controller
task.h
1
#ifndef TASK
2
#define TASK
3
4
#include "../Model/messagelist.h"
5
6
7
namespace
Tome
8
{
9
class
TaskContext;
10
14
class
Task
15
{
16
public
:
20
Task
();
21
virtual
~
Task
();
22
27
virtual
const
QString
getDisplayName
()
const
= 0;
28
34
virtual
const
MessageList
execute
(
const
TaskContext
& context)
const
= 0;
35
};
36
}
37
#endif // TASK
38
Tome
Definition:
commandlineoptions.h:6
Tome::Task::execute
virtual const MessageList execute(const TaskContext &context) const =0
Executes this task, generating a list of messages, warnings and errors.
Tome::Task::getDisplayName
virtual const QString getDisplayName() const =0
Gets the localized display name of this task, as shown next to progress bars.
Tome::TaskContext
Context to run automated tasks in.
Definition:
taskcontext.h:16
Tome::Task
Automated task that may result in a list of messages, warnings and errors.
Definition:
task.h:14
Tome::Task::Task
Task()
Constructs a new automated task that may result in a list of messages, warnings and errors...
Definition:
task.cpp:6
Generated on Sun Jun 11 2017 19:29:36 for Tome by
1.8.13