Annotation of parser3/src/include/pa_charsets.h, revision 1.8.2.4
1.1 paf 1: /** @file
2: Parser: sql driver manager decl.
3:
1.8 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.4 ! paf 14: static const char* IDENT_CHARSETS_H="$Date: 2003/01/28 11:38:49 $";
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.1 paf 19: class Charsets: public Hash<ConstStringPtr, CharsetPtr> {
1.8.2.2 paf 20: Pool charsets_pool;
1.1 paf 21: public:
1.8.2.3 paf 22:
23: Charsets();
24:
1.8.2.4 ! paf 25: Charset *get(ConstStringPtr aname);
1.2 paf 26:
1.8.2.2 paf 27: void load_charset(ConstStringPtr arequest_name, ConstStringPtr arequest_file_spec);
1.1 paf 28: };
29:
30: /// global
1.8.2.3 paf 31: extern Charsets charsets;
1.1 paf 32:
33:
34: #endif
E-mail: