#define _EVENT_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
#define FG_EVENT_SUSP 0
#define FG_EVENT_READY 1
#define FG_EVENT_QUEUED 2
void fgEventProcess( void );
+#ifdef __cplusplus
+}
+#endif
+
+
#endif /* _EVENT_H */
/* $Log$
-/* Revision 1.3 1998/01/22 02:59:43 curt
-/* Changed #ifdef FILE_H to #ifdef _FILE_H
+/* Revision 1.4 1998/04/21 17:01:43 curt
+/* Fixed a problems where a pointer to a function was being passed around. In
+/* one place this functions arguments were defined as ( void ) while in another
+/* place they were defined as ( int ). The correct answer was ( int ).
+/*
+/* Prepairing for C++ integration.
/*
+ * Revision 1.3 1998/01/22 02:59:43 curt
+ * Changed #ifdef FILE_H to #ifdef _FILE_H
+ *
* Revision 1.2 1998/01/19 18:40:39 curt
* Tons of little changes to clean up the code and to remove fatal errors
* when building with the c++ compiler.
#define _FG_TIME_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
#include <config.h>
#ifdef HAVE_WINDOWS_H
void fgTimeUpdate(fgFLIGHT *f, struct fgTIME *t);
+#ifdef __cplusplus
+}
+#endif
+
+
#endif /* _FG_TIME_H */
/* $Log$
-/* Revision 1.18 1998/04/08 23:35:40 curt
-/* Tweaks to Gnu automake/autoconf system.
+/* Revision 1.19 1998/04/21 17:01:44 curt
+/* Fixed a problems where a pointer to a function was being passed around. In
+/* one place this functions arguments were defined as ( void ) while in another
+/* place they were defined as ( int ). The correct answer was ( int ).
+/*
+/* Prepairing for C++ integration.
/*
+ * Revision 1.18 1998/04/08 23:35:40 curt
+ * Tweaks to Gnu automake/autoconf system.
+ *
* Revision 1.17 1998/04/03 22:12:56 curt
* Converting to Gnu autoconf system.
* Centralized time handling differences.
/* this routine initializes the interval timer to generate a SIGALRM after
* the specified interval (dt) */
-void fgTimerInit(float dt, void (*f)()) {
+void fgTimerInit(float dt, void (*f)( int )) {
int terr;
int isec;
float usec;
/* $Log$
-/* Revision 1.11 1998/04/03 22:12:56 curt
-/* Converting to Gnu autoconf system.
-/* Centralized time handling differences.
+/* Revision 1.12 1998/04/21 17:01:44 curt
+/* Fixed a problems where a pointer to a function was being passed around. In
+/* one place this functions arguments were defined as ( void ) while in another
+/* place they were defined as ( int ). The correct answer was ( int ).
/*
+/* Prepairing for C++ integration.
+/*
+ * Revision 1.11 1998/04/03 22:12:56 curt
+ * Converting to Gnu autoconf system.
+ * Centralized time handling differences.
+ *
* Revision 1.10 1998/01/31 00:43:45 curt
* Added MetroWorks patches from Carmen Volpe.
*
#define _FG_TIMER_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
extern unsigned long int fgSimTime;
/* this routine initializes the interval timer to generate a SIGALRM
* after the specified interval (dt) the function f() will be called
* at each signal */
-void fgTimerInit( float dt, void (*f)( void ) );
+void fgTimerInit( float dt, void (*f)( int ) );
/* This function returns the number of milleseconds since the last
time it was called. */
int fgGetTimeInterval( void );
+#ifdef __cplusplus
+}
+#endif
+
+
#endif /* _FG_TIMER_H */
/* $Log$
-/* Revision 1.4 1998/01/22 02:59:43 curt
-/* Changed #ifdef FILE_H to #ifdef _FILE_H
+/* Revision 1.5 1998/04/21 17:01:45 curt
+/* Fixed a problems where a pointer to a function was being passed around. In
+/* one place this functions arguments were defined as ( void ) while in another
+/* place they were defined as ( int ). The correct answer was ( int ).
+/*
+/* Prepairing for C++ integration.
/*
+ * Revision 1.4 1998/01/22 02:59:43 curt
+ * Changed #ifdef FILE_H to #ifdef _FILE_H
+ *
* Revision 1.3 1998/01/19 18:40:40 curt
* Tons of little changes to clean up the code and to remove fatal errors
* when building with the c++ compiler.
#define _SUNPOS_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
#include <time.h>
#include <Include/fg_types.h>
void fgSunPosition(time_t ssue, double *lon, double *lat);
+#ifdef __cplusplus
+}
+#endif
+
+
#endif /* _SUNPOS_H */