Annotation of parser3/src/include/pa_charsets.h, revision 1.11
1.1 paf 1: /** @file
2: Parser: sql driver manager decl.
3:
1.9 paf 4: Copyright (c) 2001-2003 ArtLebedev Group (http://www.artlebedev.com)
1.5 paf 5: Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru)
1.1 paf 6:
7:
8: global sql driver manager, must be thread-safe
9: */
10:
11: #ifndef PA_CHARSETS_H
12: #define PA_CHARSETS_H
1.6 paf 13:
1.11 ! paf 14: static const char * const IDENT_CHARSETS_H="$Date: 2003/09/25 09:15:02 $";
1.1 paf 15:
16: #include "pa_hash.h"
1.9 paf 17: #include "pa_charset.h"
1.1 paf 18:
1.9 paf 19: /// convention: use UPPERCASE keys
1.10 paf 20: class Charsets: public Hash<const String::Body, Charset*> {
1.1 paf 21: public:
1.2 paf 22:
1.9 paf 23: Charsets();
24:
1.10 paf 25: Charset& get(const String::Body ANAME);
1.9 paf 26:
1.10 paf 27: void load_charset(Request_charsets& charsets, const String::Body ANAME, const String& afile_spec);
1.1 paf 28: };
29:
1.9 paf 30: //@{ globals
31: extern Charset UTF8_charset;
32: extern Charsets charsets;
33: //@}
1.1 paf 34:
35: #endif
E-mail: