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

GRAOUMF TRACKER 2

Copyright (c) 1996 - 2002 Laurent de Soras

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

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.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.

Contact the author : laurent@ohmforce.com
More information about this license : http://www.gnu.org/licenses/gpl.html

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



#if defined (CFG_CURRENT_HEADER)
	#error Inclusion recursive du header CFG.
#endif
#define	CFG_CURRENT_HEADER

#if ! defined (CFG_HEADER_INCLUDED)
#define	CFG_HEADER_INCLUDED



/*\\\ INCLUDES \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/



/*\\\ CONSTANTES PUBLIQUES \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/



/*\\\ TYPES & STRUCTURES PUBLIQUES \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/



/*\\\ PROTOTYPES DES FONCTIONS PUBLIQUES \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/

class ConfigKeyValue;
class String;

bool	CFG_get_string (const ConfigKeyValue &key_val, const char *path_0, String &str);
bool	CFG_get_bool (const ConfigKeyValue &key_val, const char *path_0, bool &val, const char *true_string_0 = 0);
bool	CFG_get_int (const ConfigKeyValue &key_val, const char *path_0, int &v1);
bool	CFG_get_int_2 (const ConfigKeyValue &key_val, const char *path_0, int &v1, int &v2);
bool	CFG_get_int_3 (const ConfigKeyValue &key_val, const char *path_0, int &v1, int &v2, int &v3);
bool	CFG_get_enum (const ConfigKeyValue &key_val, const char *path_0, int &val, const char *enum_list_0);

bool	CFG_check_string (const ConfigKeyValue &key_val, const char *path_0);
bool	CFG_check_list (const ConfigKeyValue &key_val, const char *path_0, int nbr_items);



/*\\\ VARIABLES EXTERNES \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/



/*\\\ FIN DU FICHIER \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/

#endif

#undef CFG_CURRENT_HEADER
