--- parser3/src/include/pa_charsets.h 2003/01/21 15:51:09 1.8 +++ parser3/src/include/pa_charsets.h 2003/01/28 11:38:49 1.8.2.3 @@ -11,21 +11,24 @@ #ifndef PA_CHARSETS_H #define PA_CHARSETS_H -static const char* IDENT_CHARSETS_H="$Date: 2003/01/21 15:51:09 $"; +static const char* IDENT_CHARSETS_H="$Date: 2003/01/28 11:38:49 $"; #include "pa_hash.h" +#include "pa_charset.h" -class Charsets : public Hash { +class Charsets: public Hash { + Pool charsets_pool; public: - Charsets(Pool& apool); - ~Charsets(); - Charset& get_charset(const String& name); - void load_charset(const String& request_name, const String& request_file_spec); + Charsets(); + + CharsetPtr get(ConstStringPtr aname); + + void load_charset(ConstStringPtr arequest_name, ConstStringPtr arequest_file_spec); }; /// global -extern Charsets *charsets; +extern Charsets charsets; #endif