|
|
| version 1.7, 2002/08/01 11:41:15 | version 1.8.2.3, 2003/01/28 11:38:49 |
|---|---|
| Line 1 | Line 1 |
| /** @file | /** @file |
| Parser: sql driver manager decl. | Parser: sql driver manager decl. |
| Copyright (c) 2001, 2002 ArtLebedev Group (http://www.artlebedev.com) | Copyright (c) 2001, 2003 ArtLebedev Group (http://www.artlebedev.com) |
| Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru) | Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru) |
| Line 14 | Line 14 |
| static const char* IDENT_CHARSETS_H="$Date$"; | static const char* IDENT_CHARSETS_H="$Date$"; |
| #include "pa_hash.h" | #include "pa_hash.h" |
| #include "pa_charset.h" | |
| class Charsets : public Hash { | class Charsets: public Hash<ConstStringPtr, CharsetPtr> { |
| Pool charsets_pool; | |
| public: | public: |
| Charsets(Pool& apool); | |
| ~Charsets(); | |
| Charset& get_charset(const String& name); | Charsets(); |
| void load_charset(const String& request_name, const String& request_file_spec); | |
| CharsetPtr get(ConstStringPtr aname); | |
| void load_charset(ConstStringPtr arequest_name, ConstStringPtr arequest_file_spec); | |
| }; | }; |
| /// global | /// global |
| extern Charsets *charsets; | extern Charsets charsets; |
| #endif | #endif |