Annotation of parser3/src/include/pa_charsets.h, revision 1.8.2.8.2.2
1.1 paf 1: /** @file
2: Parser: sql driver manager decl.
3:
1.8.2.7 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.8.2.8.2.2! paf 14: static const char* IDENT_CHARSETS_H="$Date: 2003/03/18 15:14:16 $";
1.1 paf 15:
16: #include "pa_hash.h"
1.8.2.2 paf 17: #include "pa_charset.h"
1.1 paf 18:
1.8.2.8.2.2! paf 19: class Charsets: public Hash<const StringBody&, Charset*> {
1.1 paf 20: public:
1.8.2.3 paf 21:
22: Charsets();
23:
1.8.2.8.2.1 paf 24: Charset& get(const String& aname);
1.2 paf 25:
1.8.2.8.2.1 paf 26: void load_charset(const String& arequest_name, const String& arequest_file_spec);
1.1 paf 27: };
28:
1.8.2.8 paf 29: //@{ globals
1.8.2.8.2.2! paf 30: extern Charset* UTF8_charset;
1.8.2.3 paf 31: extern Charsets charsets;
1.8.2.8 paf 32: //@}
1.1 paf 33:
34: #endif
E-mail: