// $Source: /usr/local/SimSoft/Sfx3D/src/gsl/ereignis.h,v $
// $Revision: 1.2 $
// $Author: baum $
// $Date: 2001/11/29 15:18:09 $
//
// Login name of the user who locked the revision
// $Locker:  $
// Tag name used to checkout the file
// $Name:  $
// State assigned to revision
// $State: Exp $
//
//
// $Log: ereignis.h,v $
// Revision 1.2  2001/11/29 15:18:09  baum
// -Realzeitsteuerung eingebaut
// -Handsteuerung eingebaut
//

#ifndef _EREIGNIS_H
#define _EREIGNIS_H      1

#include <ostream.h>

#ifdef _EREIGNIS_CPP
#  undef _impexp
#  define _impexp __declspec(dllexport)
#elif defined BUILD_MAIN_DLL
#  undef _impexp
#  define _impexp 
#else
#  undef _impexp
#  define _impexp __declspec(dllimport)
#endif

#if defined __GNUC__ || defined __hpux
#  undef _impexp
#  define _impexp
#endif

_impexp extern bool modelOpen;

//---------------------------------------------------------
//  System-Prozeduren
//---------------------------------------------------------
_impexp int  ok_ereignis   (int etyp);
_impexp char *ereignisstring   (int etyp);
_impexp void sys_trace     (ostream& ostrm);
_impexp void sys_protokoll (ostream& ostrm);
//---------------------------------------------------------
// Ereignisse EP<Name>
//---------------------------------------------------------
_impexp void E_Steuerung ();

//---------------------------------------------------------
//  CallbackFunctions for TimeWrap
//---------------------------------------------------------
#ifndef _GUI_H
class  SFXViewHandler;
#endif

extern _impexp SFXViewHandler* EPPoseHandler;
extern _impexp void (*EPPoseFunc)    (SFXViewHandler*);
extern _impexp void (*EPDisposeFunc) (SFXViewHandler*, bool, bool);

#endif /* _EREIGNIS_H */
