#ifndef CALLBACKDEFINESH #define CALLBACKDEFINESH #include typedef void(*usbreport_callback)(int conditioncode,void* usrdata); typedef void(*usbcallback)(int conditioncode,void* usrdata); //typedef void(*onimagecallback)(void* mat, int bpp, int statuscode); typedef std::decay::type onimagecallback; typedef std::decay::type usbcallback; #endif