]> git.mxchange.org Git - flightgear.git/blobdiff - src/Network/generic.hxx
Add an "additive-switch" type.
[flightgear.git] / src / Network / generic.hxx
index 22b62b5e87cef4cdbe7afbd673b32666713362a1..c5657f764184ca8e717c19b46073605752365c06 100644 (file)
@@ -2,7 +2,7 @@
 //
 // Written by Curtis Olson, started November 1999.
 //
-// Copyright (C) 1999  Curtis L. Olson - curt@flightgear.org
+// Copyright (C) 1999  Curtis L. Olson - http://www.flightgear.org/~curt
 //
 // This program is free software; you can redistribute it and/or
 // modify it under the terms of the GNU General Public License as
@@ -71,11 +71,14 @@ private:
     int length;
     char buf[ FG_MAX_MSG_SIZE ];
 
-    string var_seperator;
-    string line_seperator;
+    string var_separator;
+    string line_separator;
     string var_sep_string;
     string line_sep_string;
-    vector<_serial_prot> _message;
+    vector<_serial_prot> _out_message;
+    vector<_serial_prot> _in_message;
+
+    void read_config(SGPropertyNode *root, vector<_serial_prot> &msg);
 
 };