<?php
/**************************************************************************\
* AngleMail	http://www.anglemail.org								*
*/
/**************************************************************************\
* AngleMail - E-Mail Message Processing Core Functions					*
* This file written by Angelo "Angles" Puglisi <angles@aminvestments.com>	*
* Copyright (C) 2001-2003 Angelo "Angles" Puglisi						*
* -------------------------------------------------------------------------						*
* This file designed to work as part of a drop in module for phpGroupWare		*
* http://www.phpgroupware.org									* 
* ------------------------------------------------------------------------ 						*
* This library is free software; you can redistribute it and/or modify it  		*
* under the terms of the GNU Lesser General Public License as published by 	*
* the Free Software Foundation; either version 2.1 of the License,			*
* or any later version.											*
* This library 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.		*
* See the GNU Lesser General Public License for more details.				*
* You should have received a copy of the GNU Lesser General Public License 	*
* along with this library; if not, write to the Free Software Foundation,  		*
* Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA			*
\**************************************************************************/

  /* $Id: class.mail_msg.inc.php,v 1.4.8.1 2004/09/26 11:50:41 kazuyan Exp $ */

	include_once(PHPGW_INCLUDE_ROOT.'/email/inc/class.mail_msg_base.inc.php');
	include_once(PHPGW_INCLUDE_ROOT.'/email/inc/class.mail_msg_wrappers.inc.php');
	include_once(PHPGW_INCLUDE_ROOT.'/email/inc/class.mail_msg_display.inc.php');
	if ($GLOBALS['phpgw_info']['user']['preferences']['common']['lang'] == 'ja')
	{
		include_once(PHPGW_INCLUDE_ROOT.'/email/inc/class.mail_msg_display_ja.inc.php');
		$parent_class_name = 'mail_msg_display_ja';
	}
	else 
	{
		$parent_class_name = 'mail_msg_display';
	}
	if (!class_exists('mail_msg'))
		eval ("class mail_msg extends $parent_class_name {}");
?>
