00001 #ifndef mbl_read_yes_h_ 00002 #define mbl_read_yes_h_ 00003 //: 00004 // \file 00005 // \brief Get yes or no response from keyboard 00006 // \author Tim Cootes 00007 // Converted to VXL by Louise Butcher 00008 #ifdef VCL_NEEDS_PRAGMA_INTERFACE 00009 #pragma interface 00010 #endif 00011 00012 //: True if 'y' or 'Y' pressed 00013 //Waits for returns to be pressed. 00014 //Returns true if last character pressed is a Y. 00015 bool mbl_read_yes(); 00016 00017 //:True if 'n' or 'N' pressed 00018 //Waits for returns to be pressed. 00019 //Returns true if last character pressed is a N. 00020 bool mbl_read_no(); 00021 00022 #endif // mbl_read_yes_h_