- remove buffer with class scope
- remove variable 'length' (isn't used anywhere)
- make process_command private (it isn't used anywhere outside, and it
shouldn't be)
class FGProps : public FGProtocol {
- char buf[max_cmd_len];
- int length;
enum Mode {
PROMPT,
DATA
// 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();
-private:
-
- bool reset();
};