X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flib%2Fexternaltask.h;h=8dbdb86cc110e28e0786883cbbd9330b4f73ac92;hb=1df42c314669f30fe1d82f02fdfeeff19f92964e;hp=9b9bc438867ce5884241249dedbe6b511af87ed8;hpb=c8e829c219c65ff8e93b6c7b66212ff0876441c5;p=builder.git diff --git a/source/lib/externaltask.h b/source/lib/externaltask.h index 9b9bc43..8dbdb86 100644 --- a/source/lib/externaltask.h +++ b/source/lib/externaltask.h @@ -6,6 +6,7 @@ #include #include #include +#include "libbuilder_api.h" #include "task.h" /** @@ -13,7 +14,7 @@ Runs an external command. A zero exit status is translated to a SUCCESS status for the task, and anything else is treated as an error. Output can optionally be captured. */ -class ExternalTask: public Task +class LIBBUILDER_API ExternalTask: public Task { public: enum StreamAction @@ -68,7 +69,7 @@ public: void set_stderr(StreamAction); /** Returns captured output, if any. This may be called while the task is - still running, but it will always return all output. */ + still running, but it will always return all output produced so far. */ const std::string &get_output() const { return output; } /** Executes a command and captures its output. If the command exits with