Exemplo n.º 1
0
bool setup_xml_reset(void)
{
	char				path[1024];
	
		// read directly from the default
		
	file_paths_data(&file_path_setup,path,"Settings","Setup","xml");

	return(setup_xml_read_path(path));
}
Exemplo n.º 2
0
bool setup_xml_read(void)
{
	char				path[1024];
	
		// check user specific setup XML file.  If it exists, use that,
		// otherwise use default XML file
		
	if (!file_paths_documents_exist(&setup.file_path_setup,path,"Settings","Setup","xml")) {
		file_paths_data(&setup.file_path_setup,path,"Settings","Setup","xml");
	}

	return(setup_xml_read_path(path));
}
Exemplo n.º 3
0
bool setup_xml_read(void)
{
	char				path[1024];
	
		// check user specific setup XML file.  If it exists, use that,
		// otherwise use default XML file
		
	if (!file_paths_app_data_exist(&file_path_setup,path,"Settings","Setup","xml")) {
		file_paths_data(&file_path_setup,path,"Settings","Setup","xml");
	}
	
	if (!setup_xml_read_path(path)) return(FALSE);

	return(TRUE);
}