/**********************************************************************
 
	Copyright (C) 2003 Hirohisa MORI <joshua@nichibun.ac.jp>
 
	This program is free software; you can redistribute it 
	and/or modify it under the terms of the GLOBALBASE 
	Library General Public License (G-LGPL) as published by 

	http://www.globalbase.org/
 
	This program is distributed in the hope that it will be 
	useful, but WITHOUT ANY WARRANTY; without even the 
	implied warranty of MERCHANTABILITY or FITNESS FOR A 
	PARTICULAR PURPOSE.

**********************************************************************/

#ifndef ___TR_LANG_H___
#define ___TR_LANG_H___

#include	"text_render.h"

extern TR_LANG ja_render;
extern TR_LANG en_render;

typedef struct ja_work {
	int			dir;
	L_CHAR *		line_end_escape_delim;
	L_CHAR *		line_top_escape_delim;
} JA_WORK;

typedef struct en_work {
	L_CHAR *		space;
	L_CHAR *		delim;
} EN_WORK;

int in_table(L_CHAR ch,L_CHAR * list);
TR_ERROR make_rc_render(TR_SEQUENCE * sq,TR_CHAR_INFO * ci);


TRL_LANG_LIST * _trl_copy_langs(TRL_LANG_LIST * ll);
TRL_LANG_LIST * _trl_new_langs(TRL_LANG_LIST * ll,TR_LANG * lang);

#endif

