--- parser3/src/include/pa_charsets.h 2003/03/21 14:49:00 1.8.2.8.2.3 +++ parser3/src/include/pa_charsets.h 2012/03/16 09:24:09 1.15 @@ -1,7 +1,7 @@ /** @file Parser: sql driver manager decl. - Copyright (c) 2001-2003 ArtLebedev Group (http://www.artlebedev.com) + Copyright (c) 2001-2012 Art. Lebedev Studio (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) @@ -11,19 +11,20 @@ #ifndef PA_CHARSETS_H #define PA_CHARSETS_H -static const char* IDENT_CHARSETS_H="$Date: 2003/03/21 14:49:00 $"; +#define IDENT_PA_CHARSETS_H "$Id: pa_charsets.h,v 1.15 2012/03/16 09:24:09 moko Exp $" #include "pa_hash.h" #include "pa_charset.h" -class Charsets: public Hash { +/// convention: use UPPERCASE keys +class Charsets: public HashString { public: Charsets(); - Charset& get(const String& aname); + Charset& get(const String::Body ANAME); - void load_charset(const String& aname, const String& afile_spec); + void load_charset(Request_charsets& charsets, const String::Body ANAME, const String& afile_spec); }; //@{ globals