/*==============================================================================// //	File: ANECB.h////	Argus Numerical Environments - Plug In Extension, Release 1.0// //	Copyright © 1996 Argus Holdings Ltd.  All rights reserved.////		THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF Argus Holdings Ltd..//		The copyright notice above does not evidence any//		actual or intended publication of such source code////==============================================================================*/#ifndef _ANECB_H_#define _ANECB_H_#ifndef _ANEPIE_H_#include "ANEPIE.h"#endif /*_ANEPIE_H_*/#pragma lib_export on#ifdef __cplusplusextern "C"{#endifvoid ANE_GetVersion(ANE_PTR aneHandle, int* major, int* minor, int* update, char* versionBuf, int bufLen);	/* get version information for the ArgusNE application */void ANE_GetPIEProjectHandle(ANE_PTR aneHandle, ANE_PTR* pieHandle);	/* get a pointer to the private information of the current document's Project */void ANE_ProcessEvents(ANE_PTR aneHandle);	/* give a chance to ArgusNE and the rest of the system to handle user events */void ANE_MakeDirty(ANE_PTR aneHandle);	/* mark that the document was touched (turn on Save menu etc. ) */void ANE_ImportTextToLayer(ANE_PTR handle, ANE_STR textToImport);	/* calls the current layer to import the text in 'textToImport' as an import file */void ANE_ExportTextFromOtherLayer(ANE_PTR handle, ANE_PTR layerHandle, ANE_STR* textExported);	/* calls the layer pointed by 'layerHandle' to export it's information into 'textExported' pointer *//* Memory allocation functions */ANE_PTR ANE_MemAlloc(ANE_PTR handle, ANE_INT32 size);	/* allocate size bytes of memory */void ANE_MemDelete(ANE_PTR handle, ANE_PTR ptr);	/* delete chunk of memory *//* Protection functions */void ANE_ProtGetRegCode(ANE_PTR handle, ANE_STR regCodeBuf, ANE_INT32 bufLen);	/* return into regCodeBuf min(regcode length, bufLen-1) characters of the RegCode */void ANE_ProtGetUniqueID(ANE_PTR handle, ANE_STR uniqueIDBuf, ANE_INT32 bufLen);	/* return into uniqueIDBuf min(unique id  length, bufLen-1) characters of the Worksstation Unique ID *//* Directory and file functions */ANE_BOOL ANE_DirectoryGet(ANE_PTR handle, ANE_STR caption, ANE_STR path, ANE_STR dirBuf, ANE_INT32 bufLen);	/* pop a dialog to the user, allowing selection of a directory. return true if directory was 		selected, false if directory was not selected. If directory was selected, a null terminated string is returned in buf */		ANE_BOOL ANE_FileGet(ANE_PTR handle, ANE_STR caption, ANE_STR path, ANE_STR defName, ANE_BOOL forExport, ANE_STR dirBuf, ANE_INT32 bufLen);	/* pop a dialog to the user, allowing selection of a file. return true if a file was 		selected, false if no file was selected. If file was selected, a null terminated string is returned in buf */		void ANE_DirectorySetCurrent(ANE_PTR handle, ANE_STR currentDirectory);	/* set the current directory */	void ANE_DirectoryGetCurrent(ANE_PTR handle, ANE_STR buf, ANE_INT32 bufLen);	/* return the name of the directory */	/* Layer Handling callbacks */ANE_PTR ANE_LayerGetHandleByName(ANE_PTR handle, ANE_STR name);	/* return a handle for the layer with the name 'name', 0 if no layer with that name */	ANE_PTR ANE_LayerAddByTemplate(ANE_PTR handle, ANE_STR layerTemplate);	/* parse a Layer Definition Language template, and adds a layer. If a layer			was added, return the handle to that layer. If parsing failed, returns 0 */			ANE_BOOL ANE_LayerClear(ANE_PTR handle,  ANE_PTR layerHandle, ANE_BOOL selectedOnly);	/* clear all objects in the specified layer. Returns true if there were objects in		the layer, return false if no objects were cleared.	*/void ANE_ImportTextToLayerByHandle(ANE_PTR handle, ANE_PTR layerHandle, ANE_STR textToImport);	/* calls a layer to import the text in 'textToImport' as an import file */#ifdef __cplusplus}#endif#pragma lib_export off#endif /* _ANECB_H_ *//*==============================================================================//	End File: ANECB.h//==============================================================================*/
