radio/lib/utils/defines.h

10 lines
205 B
C
Raw Normal View History

2018-08-04 21:46:25 +00:00
#ifndef DEFINES_UTILS_H
#define DEFINES_UTILS_H
#define handler(HANDLER) \
void _h_##HANDLER(const W::Event& ev) {h_##HANDLER(ev);}\
virtual void h_##HANDLER(const W::Event& ev);\
#endif