+/* $Id$
+
+This file is part of the MSP Märklin suite
+Copyright © 2006-2008 Mikkosoft Productions, Mikko Rasa
+Distributed under the GPL
+*/
+
#ifndef ERROR_H_
#define ERROR_H_
+#include <ostream>
+
namespace Marklin {
enum Error
ERR_UNKNOWN_ERROR=0xFF
};
+std::ostream &operator<<(std::ostream &, const Error &);
+
enum Cmd
{
CMD_LOK=0x80,
CMD_EVENT_SENSOR=0xCB
};
+std::ostream &operator<<(std::ostream &, const Cmd &);
+
} // namespace Marklin
#endif