/*------------------------------------------------------------------------------*
 *      File Name:      oEvents.h												*
 *      Purpose:		events ID's to shared between ok and OC					*
 *      Date:			07/14/2003												*
 *		Creator:		YuI														*
 *      Copyright OriginLab Corp. 2002, 2003, 2004								*
 *      Modification log                                                        *
 *------------------------------------------------------------------------------*/

#ifndef	_OEVENTS_H
#define	_OEVENTS_H
typedef enum	tagORIGINEVENTID
{
	OE_CREATE_NEW_GRAPH_PAGE_ADD_DATA,	// fires after create new graph page and add data
	OE_AFTER_LOAD_FROM_TEMPLATE,		// fires after loading from template
	OE_BEFORE_CNF,						// fires before execution of any CNF file
	OE_AFTER_CNF,						// fires after execution of all CNF files
	OE_BEFORE_COMPILE_SYSTEM,			// fires before startup compilation of system folder
	OE_AFTER_COMPILE_SYSTEM,			// fires after startup compilation of system folder
	OE_BEFORE_OPEN_DOC,					// fires before Origin project is loaded
	OE_AFTER_OPEN_DOC,					// fires after Origin project is loaded
	OE_BEFORE_CLOSE_DOC,				// fires before Origin project is closed
	OE_AFTER_CLOSE_DOC,					// fires after Origin project is closed
	OE_EXIT_ORIGIN,						// fires before exiting origin but after OE_AFTER_CLOSE_DOC
}	ORIGINEVENTID;

typedef	enum tagORIGINEVENTMESSAGE
{
	OE_MSG_FIRE,
	OE_MSG_SET_OGS_FILE_NAME,
}	ORIGINEVENTMESSAGE;
#endif //_OEVENTS_H