]> git.mxchange.org Git - flightgear.git/blobdiff - src/Network/props.hxx
Updated adf property names.
[flightgear.git] / src / Network / props.hxx
index 92481a93d9e571acb84f9af99ee6101b12bc933e..5c26bd2ca3e597966b9cccdaa2b318663c60efdf 100644 (file)
 
 #include "protocol.hxx"
 
-FG_USING_STD(string);
+SG_USING_STD(string);
 
 
 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();
@@ -52,10 +61,10 @@ public:
 
     // process work for this port
     bool process();
-    bool process_command( const char *cmd );
 
     // close the channel
     bool close();
+
 };