/**********************************************************************
 
	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 GM_CONVERT_PARAM_H___
#define GM_CONVERT_PARAM_H___

typedef LONG (*get_tile_id_func_type)(void *feature_record);
typedef LONG (*get_primitive_id_func_type)(void *feature_record);
typedef	void (*write_information_func_type)(FILE *fp, void *feature_record);

typedef struct{
	char output_filepath[MAX_PATH+1];
	char feature_table_name[MAX_PATH+1];
	VPF_TABLE_TYPE feature_table_type;
	LONG (*get_tile_id_func)(void *feature_record);
	LONG (*get_primitive_id_func)(void *feature_record);
	void (*write_information_func)(FILE *fp, void *feature_record);
	
	VPF_TABLE_TYPE primitive_table_type;
	char coverage_path[MAX_PATH+1];
	BOOL join_faces;
}GM_CONVERT_PARAM;

#endif
