28 lines
611 B
C++
28 lines
611 B
C++
/**
|
|
* @author Edouard DUPIN
|
|
*
|
|
* @copyright 2011, Edouard DUPIN, all right reserved
|
|
*
|
|
* @license BSD v3 (see license file)
|
|
*/
|
|
|
|
#include <ewol/widget/Widget.h>
|
|
|
|
#undef __class__
|
|
#define __class__ "EventEntry"
|
|
|
|
etk::CCout& ewol::operator <<(etk::CCout& _os, const ewol::EventEntry& _obj) {
|
|
_os << "{type=" << _obj.getType();
|
|
_os << " status=" << _obj.getStatus();
|
|
if (_obj.getType() == ewol::keyEvent::keyboardChar) {
|
|
_os << " char=" << _obj.getChar();
|
|
}
|
|
_os << "}";
|
|
return _os;
|
|
}
|
|
|
|
etk::CCout& operator <<(etk::CCout& _os, const ewol::EventEntrySystem& _obj) {
|
|
_os << _obj.m_event;
|
|
return _os;
|
|
}
|