Mercurial > MadButterfly
diff include/mb_observer.h @ 1112:1993e5ae60aa
Rename X_kb_event_t to mb_kb_event_t
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Wed, 08 Dec 2010 19:17:03 +0800 |
parents | e415c55b4a0d |
children |
line wrap: on
line diff
--- a/include/mb_observer.h Wed Dec 08 18:59:44 2010 +0800 +++ b/include/mb_observer.h Wed Dec 08 19:17:03 2010 +0800 @@ -82,6 +82,13 @@ observer_t *observer; /*!< \brief Observer been added or removed. */ }; +struct _mb_kb_event { + event_t event; + int keycode; + int sym; +}; +typedef struct _mb_kb_event mb_kb_event_t; + /*! \brief Observer factory. * * It provides functions for allocation of subject and observer objects,