#include "HttpServ.h" #include "Message.h" #include "Buffer.h" #include "CopyJob.h" #include "config.h" Message::Message(const String & t, const String & m, const String & U, Action * n) : Action(U), tit(t), msg(m), Next(n) { } Task * Message::Do(Variables * v, Handle * h) { Handle * b = new Buffer(); Task * t = new CopyJob(b, h, -1, true); SendHead(b); (*b) << msg << "
GetURL() : "start") << "\">" << endnl << "" << endnl; v->Dump(b); (*b) << "
" << endnl; SendFoot(b); Accessed(); return t; } String Message::GetTitle(void) { return tit; }