]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/fg_io.hxx
Initialize the bump-mapped 3d clouds to true.
[flightgear.git] / src / Main / fg_io.hxx
index 163d96f07d3836533bb5886c25d3652cdc30b542..aa377c18298eff61e6f7d318c0293dce8d2fa969 100644 (file)
 #define _FG_IO_HXX
 
 
-#include "Include/compiler.h"
+#include <simgear/compiler.h>
+#include <simgear/structure/subsystem_mgr.hxx>
 
-// #include <string>
+#include <vector>
+#include STL_STRING
 
-// #ifdef FG_HAVE_STD_INCLUDES
-// #  include <ctime>
-// #else
-// #  include <time.h>
-// #endif
+SG_USING_STD(vector);
+SG_USING_STD(string);
 
-#include <Network/iochannel.hxx>
+class FGProtocol;
 
+class FGIO : public SGSubsystem
+{
+public:
+    FGIO();
+    ~FGIO();
 
-// initialize I/O channels based on command line options (if any)
-void fgIOInit();
+    void init();
+    void bind();
+    void unbind();
+    void update( double dt );
 
+    void shutdown_all();
 
-// process any I/O work
-void fgIOProcess();
+private:
 
+    FGProtocol* parse_port_config( const string& cfgstr );
 
-#endif // _FG_IO_HXX
+private:
+
+    // define the global I/O channel list
+    //io_container global_io_list;
+    vector< FGProtocol* > io_channels;
+};
 
 
+#endif // _FG_IO_HXX