]> git.mxchange.org Git - flightgear.git/blobdiff - src/Network/props.hxx
Updated adf property names.
[flightgear.git] / src / Network / props.hxx
index aa349582a34bd1b1266fd2629b7db23b4594845f..5c26bd2ca3e597966b9cccdaa2b318663c60efdf 100644 (file)
@@ -39,12 +39,18 @@ const static int max_cmd_len = 256;
 
 class FGProps : public FGProtocol {
 
-    char buf[max_cmd_len];
-    int length;
+    enum Mode {
+       PROMPT,
+       DATA
+    };
+    Mode mode;
 
     // tree view of property list
     string path;
 
+    bool reset();
+    bool process_command( const char *cmd );
+    
 public:
 
     FGProps();
@@ -55,10 +61,10 @@ public:
 
     // process work for this port
     bool process();
-    bool process_command( const char *cmd );
 
     // close the channel
     bool close();
+
 };