/* This software is distributed under the Lesser General Public License */
/* (C) Universitaet Passau 1986-1994 */
/* Sgraph Source, 1988-1994 by Torsten Bachmann / Michael Himsolt */

#include <xview/rect.h>

#ifndef SGRAGRA_INTERFACE_H
#define SGRAGRA_INTERFACE_H

/************************** Sgragra-interface **************************/
#ifdef SGRAGRA_HEADER

typedef enum
{
    SGG_UNDEFINED,
    SGG_NO_PRODUCTION,
    SGG_CURRENT_PROD_WINDOW,
    SGG_ACTIVE_WINDOW,
    SGG_ALL_WINDOWS
}
Sgragra_create_mode;



typedef	struct	sgragra_proc_info
{
    Sgragra_create_mode	create_mode;
    Sgragra			sgragra;
    Sprod			current_production;
	
}
*Sgragra_proc_info;


extern	Sgragra_proc_info	init_sgragra_from_graphed_gragra(Sgragra_create_mode create_mode, int auto_compile);
extern	void			exit_sgragra_from_graphed_gragra(Sgragra_proc_info info);
	

#endif 
/****************** End ********* Sgragra-interface ******************/


#endif
