File:  [parser3project] / parser3 / src / include / pa_request_charsets.h
Revision 1.1.2.3.2.2: download - view: text, annotated - select for diffs - revision graph
Thu Mar 20 08:11:13 2003 UTC (23 years, 3 months ago) by paf
untaint.C 30%,
pa_common.C [done, without http for now]

/** @file
	Parser: request charsets class decl.

	Copyright (c) 2001-2003 ArtLebedev Group (http://www.artlebedev.com)
	Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru)
*/

#ifndef PA_REQUEST_CHARSETS_H
#define PA_REQUEST_CHARSETS_H

static const char* IDENT_REQUEST_CHARSETS_H="$Date: 2003/03/20 08:11:13 $";

class Request_charsets {
	Charset *fsource;
	Charset *fclient;
	Charset *fmail;
public:
	Request_charsets(
		Charset& asource, 
		Charset& aclient,
		Charset& amail):
		fsource(&asource),
		fclient(&aclient),
		fmail(&amail) {}

	Charset& source() const { return *fsource; } void set_source(Charset& asource) { fsource=&asource; }
	Charset& client() const { return *fclient; } void set_client(Charset& aclient) { fclient=&aclient; }
	Charset& mail() const { return *fmail; } void set_mail(Charset& amail) { fmail=&amail; }
};

#endif

E-mail: