![]() |
От: | qwerty2006 | |
Дата: | 29.08.06 07:09 | ||
Оценка: |
class HttpPost
{
typedef std::list<cURLpp::FormPart*> forms_type;
public:
HttpPost();
HttpPost(const forms_type& posts) : mFirst(NULL), mLast(NULL)
{
*this = posts;
}
~HttpPost();
HttpPost &operator=(const forms_type& posts);
operator forms_type() const { return forms(); }
curl_httppost* httppost() const { return mFirst; }
forms_type forms() const { return mForms; }
..............................