#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();
// process work for this port
bool process();
- bool process_command( const char *cmd );
// close the channel
bool close();
+
};