3 This file is part of the MSP Märklin suite
4 Copyright © 2006-2009 Mikkosoft Productions, Mikko Rasa
5 Distributed under the GPL
8 #ifndef LIBMARKLIN_REPLY_H_
9 #define LIBMARKLIN_REPLY_H_
19 unsigned char data[128];
24 Error get_error() const { return err; }
25 const unsigned char *get_data() const { return data; }
27 static Reply read(int, Cmd);
28 static Reply simulate(Cmd);
30 friend std::ostream &operator<<(std::ostream &, const Reply &);
35 } // namespace Marklin