X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Finternaltask.cpp;h=5cbbd09ad0dc787e36cd37f3d729cc2e7c77fdbb;hb=HEAD;hp=42932034c1435d4a655182b7189f86068bf9b5fb;hpb=c06c655a1e1a3e4d60257c2916923b789c6a26b9;p=builder.git diff --git a/source/internaltask.cpp b/source/internaltask.cpp deleted file mode 100644 index 4293203..0000000 --- a/source/internaltask.cpp +++ /dev/null @@ -1,22 +0,0 @@ -#include "internaltask.h" - -InternalTask::InternalTask(Worker *w): - worker(w) -{ } - -InternalTask::~InternalTask() -{ - delete worker; -} - -Task::Status InternalTask::check() -{ - if(worker->get_status()!=RUNNING) - signal_finished.emit(worker->get_status()==SUCCESS); - return worker->get_status(); -} - - -InternalTask::Worker::Worker(): - status(RUNNING) -{ }