diff options
Diffstat (limited to 'project2/task.h')
-rw-r--r-- | project2/task.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/project2/task.h b/project2/task.h index 00fce4b..b79687b 100644 --- a/project2/task.h +++ b/project2/task.h @@ -7,6 +7,7 @@ #include "sourceObject.h" #include "xmlObjectLoader.h" #include "view.h" +#include "noOutputExecute.h" class ApplicationEngine; class _Task; @@ -14,16 +15,14 @@ typedef boost::shared_ptr<_Task> Task; typedef std::map<std::string, Task> Tasks; typedef std::map<unsigned int, Task> OrderedTasks; -class _Task : public _Project2SourceObject { +class _Task : public virtual _SourceObject, public _NoOutputExecute { public: _Task(const xmlpp::Element * p); virtual ~_Task(); - virtual void execute(const ApplicationEngine *, const _View * parent = NULL) const = 0; - const unsigned int order; + virtual void execute(const ApplicationEngine *, const PerRowValues * parent = NULL) const = 0; static void AddLoaders(Loaders & l, OrderedTasks & vs); - private: - static unsigned int loadOrder; + static void AddLoaders(Loaders & l, NoOutputExecutes & vs); }; #endif |