/*------------------------------------------------------------------------------*
 * File Name: FileImportFirst.h			 										*
 * Purpose: Common file for Import File											*
 * Copyright (c)2003 OriginLab Corp.											*
 * All Rights Reserved															*
 * 																				*
 * Modification Log:															*
 *------------------------------------------------------------------------------*/
 
#ifndef _FILEIMPORT_FIRST_H
#define _FILEIMPORT_FIRST_H

#define IMPORT_FUNC_PATH "OriginLab\\dragNdrop.C"

#define IMPORT_FUNC_NAME_IMPORT_FILES "import_files_ex"
typedef int (*FUNC_IMPORTFILES)(const StringArray& stDataFileName, LPCSTR strPageName, int nIndexLayer, TreeNode& trFilterSource, LPCSTR lpcszTypes, DWORD dwCntrl, TreeNode* ptrFilterLastUsed);

#define IMPORT_FUNC_NAME_IMPORT_FILE "import_file_ex"
typedef int (*FUNC_IMPORTFILE)(LPCSTR strPageName, int nIndexLayer, LPCSTR lpcszDataFile, LPCSTR lpcszFilterName);

#define IMPORT_FUNC_NAME_LOAD_FILTER "load_import_filter_ex"
typedef int (*FUNC_LOADFILTER)(LPCSTR lpcszFilterName, LPCSTR lpcszDatFile, LPCSTR lpcszPageName, int nLocation, TreeNode& trFilter);

#define IMPORT_FUNC_NAME_IS_APPLICABLE "is_applicable_ex"
typedef int (*FUNC_ISAPPLICABLE)(TreeNode &trFilter, LPCSTR lpcszDataFile, LPCSTR lpcszTypes);

#endif // _FILEIMPORT_H
