Annotation of parser3/src/include/pa_request_charsets.h, revision 1.1.2.3.2.2
1.1.2.1 paf 1: /** @file
2: Parser: request charsets class decl.
3:
1.1.2.3 paf 4: Copyright (c) 2001-2003 ArtLebedev Group (http://www.artlebedev.com)
1.1.2.1 paf 5: Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru)
6: */
7:
8: #ifndef PA_REQUEST_CHARSETS_H
9: #define PA_REQUEST_CHARSETS_H
10:
1.1.2.3.2.2! paf 11: static const char* IDENT_REQUEST_CHARSETS_H="$Date: 2003/03/18 15:14:16 $";
1.1.2.1 paf 12:
13: class Request_charsets {
14: Charset *fsource;
15: Charset *fclient;
16: Charset *fmail;
17: public:
1.1.2.3.2.1 paf 18: Request_charsets(
1.1.2.1 paf 19: Charset& asource,
20: Charset& aclient,
1.1.2.3.2.2! paf 21: Charset& amail):
1.1.2.1 paf 22: fsource(&asource),
23: fclient(&aclient),
24: fmail(&amail) {}
25:
1.1.2.2 paf 26: Charset& source() const { return *fsource; } void set_source(Charset& asource) { fsource=&asource; }
27: Charset& client() const { return *fclient; } void set_client(Charset& aclient) { fclient=&aclient; }
28: Charset& mail() const { return *fmail; } void set_mail(Charset& amail) { fmail=&amail; }
1.1.2.1 paf 29: };
30:
31: #endif
E-mail: