|
|
| version 1.8.2.8, 2003/03/06 08:21:09 | version 1.10, 2003/09/25 09:15:02 |
|---|---|
| Line 16 static const char* IDENT_CHARSETS_H="$Da | Line 16 static const char* IDENT_CHARSETS_H="$Da |
| #include "pa_hash.h" | #include "pa_hash.h" |
| #include "pa_charset.h" | #include "pa_charset.h" |
| class Charsets: public Hash<StringPtr, CharsetPtr> { | /// convention: use UPPERCASE keys |
| Pool charsets_pool; | class Charsets: public Hash<const String::Body, Charset*> { |
| public: | public: |
| Charsets(); | Charsets(); |
| Charset& get(StringPtr aname); | Charset& get(const String::Body ANAME); |
| void load_charset(StringPtr arequest_name, StringPtr arequest_file_spec); | void load_charset(Request_charsets& charsets, const String::Body ANAME, const String& afile_spec); |
| }; | }; |
| //@{ globals | //@{ globals |
| extern CharsetPtr UTF8_charset; | extern Charset UTF8_charset; |
| extern Charsets charsets; | extern Charsets charsets; |
| //@} | //@} |