File:  [parser3project] / parser3 / src / include / pa_charsets.h
Revision 1.12.14.1: download - view: text, annotated - select for diffs - revision graph
Fri Aug 5 13:02:58 2005 UTC (20 years, 11 months ago) by paf
Branches: release_3_1_5
Diff to: branchpoint 1.12: preferred, unified
. 2005 ;)

/** @file
	Parser: sql driver manager decl.

	Copyright (c) 2001-2005 ArtLebedev Group (http://www.artlebedev.com)
	Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru)


	global sql driver manager, must be thread-safe
*/

#ifndef PA_CHARSETS_H
#define PA_CHARSETS_H

static const char * const IDENT_CHARSETS_H="$Date: 2005/08/05 13:02:58 $";

#include "pa_hash.h"
#include "pa_charset.h"

/// convention: use UPPERCASE keys
class Charsets: public Hash<const String::Body, Charset*> {
public:

	Charsets();

	Charset& get(const String::Body ANAME);

	void load_charset(Request_charsets& charsets, const String::Body ANAME, const String& afile_spec);
};

//@{ globals
extern Charset UTF8_charset;
extern Charsets charsets;
//@}

#endif

E-mail: