Annotation of parser3/src/include/pa_charsets.h, revision 1.9
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.9 ! paf 14: static const char* IDENT_CHARSETS_H="$Date: 2003/04/08 16:11:53 $";
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
! 20: class Charsets: public Hash<const StringBody, Charset*> {
1.1 paf 21: public:
1.2 paf 22:
1.9 ! paf 23: Charsets();
! 24:
! 25: Charset& get(const StringBody ANAME);
! 26:
! 27: void load_charset(Request_charsets& charsets, const StringBody 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: