#include "ReadJob.h" ReadJob::ReadJob(Handle & as, Handle & ad) : s(as), d(ad) { } ReadJob::~ReadJob() { } int ReadJob::Do() { int r; String buff; while (!s.IsClosed()) { buff << s; buff >> d; if (buff == "") return TASK_DONE; } }