/** * @author Edouard DUPIN * * @copyright 2011, Edouard DUPIN, all right reserved * * @license APACHE v2.0 (see license file) */ #include static const char* typeDescriptionString[ewol::key::typeCount+1] = { "typeUnknow", "typeMouse", "typeFinger", "typeStylet", "typeCount" }; std::ostream& ewol::operator <<(std::ostream& _os, const enum ewol::key::type _obj) { if (_obj >= 0 && _obj < ewol::key::typeCount) { _os << typeDescriptionString[_obj]; } else { _os << "[ERROR]"; } return _os; }