1 /********************************************************** 2 * Version $Id: TLB_Interface.cpp 1246 2011-11-25 13:42:38Z oconrad $ 3 *********************************************************/ 4 5 /////////////////////////////////////////////////////////// 6 // // 7 // The Tool Link Library Interface // 8 // // 9 /////////////////////////////////////////////////////////// 10 11 //--------------------------------------------------------- 12 // 1. Include the appropriate SAGA-API header... 13 14 #include "MLB_Interface.h" 15 16 17 //--------------------------------------------------------- 18 // 2. Place general tool library informations here... 19 Get_Info(int i)20CSG_String Get_Info(int i) 21 { 22 switch( i ) 23 { 24 case TLB_INFO_Name: default: 25 return( _TL("ESRI E00") ); 26 27 case TLB_INFO_Category: 28 return( _TL("Import/Export") ); 29 30 case TLB_INFO_Author: 31 return( SG_T("O. Conrad (c) 2004") ); 32 33 case TLB_INFO_Description: 34 return( _TL("Import and export filter for ESRI's E00 file exchange format.") ); 35 36 case TLB_INFO_Version: 37 return( SG_T("1.0") ); 38 39 case TLB_INFO_Menu_Path: 40 return( _TL("File|ESRI E00") ); 41 } 42 } 43 44 45 //--------------------------------------------------------- 46 // 3. Include the headers of your tools here... 47 48 #include "ESRI_E00_Import.h" 49 50 51 //--------------------------------------------------------- 52 // 4. Allow your tools to be created here... 53 Create_Tool(int i)54CSG_Tool * Create_Tool(int i) 55 { 56 CSG_Tool *pTool; 57 58 switch( i ) 59 { 60 case 0: 61 pTool = new CESRI_E00_Import; 62 break; 63 64 default: 65 pTool = NULL; 66 break; 67 } 68 69 return( pTool ); 70 } 71 72 73 /////////////////////////////////////////////////////////// 74 // // 75 // // 76 // // 77 /////////////////////////////////////////////////////////// 78 79 //--------------------------------------------------------- 80 //{{AFX_SAGA 81 82 TLB_INTERFACE 83 84 //}}AFX_SAGA 85