Annotation of parser3/src/include/pa_request_charsets.h, revision 1.1.2.2

1.1.2.1   paf         1: /** @file
                      2:        Parser: request charsets class decl.
                      3: 
                      4:        Copyright (c) 2001, 2003 ArtLebedev Group (http://www.artlebedev.com)
                      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.2 ! paf        11: static const char* IDENT_REQUEST_CHARSETS_H="$Date: 2003/01/29 11:31:42 $";
1.1.2.1   paf        12: 
                     13: class Request_charsets {
                     14:        Pool& fpool;
                     15:        Charset *fsource;
                     16:        Charset *fclient;
                     17:        Charset *fmail;
                     18: public:
                     19:        Request_charsets(Pool& apool, 
                     20:                Charset& asource, 
                     21:                Charset& aclient,
                     22:                Charset& amail): fpool(apool),
                     23:                fsource(&asource),
                     24:                fclient(&aclient),
                     25:                fmail(&amail) {}
                     26: 
1.1.2.2 ! paf        27:        Pool& pool() const { return fpool; }
        !            28:        Charset& source() const { return *fsource; } void set_source(Charset& asource) { fsource=&asource; }
        !            29:        Charset& client() const { return *fclient; } void set_client(Charset& aclient) { fclient=&aclient; }
        !            30:        Charset& mail() const { return *fmail; } void set_mail(Charset& amail) { fmail=&amail; }
1.1.2.1   paf        31: };
                     32: 
                     33: #endif

E-mail: