// // command.h // cards-proof // // Created by Ethan Miller on 4/24/12. // #ifndef cards_proof_command_h #define cards_proof_command_h #include #include #include class command { public: command(); std::istream & read_command(std::istream & in); private: // type of commands enum command_type{draw, move, list, adjust, quit, endturn, null}; command_type command_; } inline command::command() { command_ = null; } #endif