Added prefix 'TD' to our own callback-functions

This commit is contained in:
Micke Prag 2009-08-17 07:41:20 +00:00
parent 238eb44810
commit 2a497c3033
4 changed files with 12 additions and 12 deletions

View file

@ -258,14 +258,14 @@ void Manager::parseMessage( const std::string &message ) {
}
}
int Manager::registerDeviceEvent( deviceEvent eventFunction, void *context ) {
int Manager::registerDeviceEvent( TDDeviceEvent eventFunction, void *context ) {
int id = ++lastCallbackId;
CallbackStruct callback = {eventFunction, id, context};
callbacks.push_back(callback);
return id;
}
int Manager::registerRawDeviceEvent( rawDeviceEvent eventFunction, void *context ) {
int Manager::registerRawDeviceEvent( TDRawDeviceEvent eventFunction, void *context ) {
int id = ++lastCallbackId;
RawCallbackStruct callback = {eventFunction, id, context};
rawCallbacks.push_back(callback);