#ifdef HAVE_CONFIG_H #include "config.h" #endif #include "HttpServ.h" #include "Confirm.h" #include "Buffer.h" #include "CopyJob.h" Confirm::Confirm(const String & t, const String & m, const String & U, Action * y, Action * n) : Action(U), tit(t), msg(m), NYes(y), NNo(n) { } Task * Confirm::Do(Variables * v, Variables *, Handle * h) { Handle * b = new Buffer; Task * t = new CopyJob(b, h, -1, true); SendHead(b); (*b) << msg << "
" << endnl << " | " << endnl << " |