#include <stdio.h>
#ifdef FGFS
-# pragma message("FGFS defined")
# include <simgear/compiler.h>
-# ifdef SG_HAVE_STD_INCLUDES
-# include <iostream>
-# include <fstream>
-# else
-# include <iostream.h>
-# include <fstream.h>
-# endif
+# include STL_STRING
+# include STL_IOSTREAM
+# include STL_FSTREAM
+ SG_USING_STD(cout);
+ SG_USING_STD(endl);
#else
-# pragma message("FGFS not defined")
# include <iostream>
# include <fstream>
+# include <string>
+ using std::cout;
+ using std::endl;
#endif
-#include <string>
#include <sys/types.h>
#if defined(__BORLANDC__) || defined(_MSC_VER)
DEFINITIONS
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
-#define ID_FDMSOCKET "$Header"
-
-using std::cout;
-using std::endl;
+#define ID_FDMSOCKET "$Id$"
/*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
CLASS DECLARATION
class FGfdmSocket {
public:
FGfdmSocket(string, int);
- ~FGfdmSocket(void);
+ ~FGfdmSocket();
void Send(void);
void Append(const char*);
void Append(float);