equal
deleted
inserted
replaced
59 // Function for receiving the sensor data. The funtion is essentially the same as MSensrvDataListener::DataReceived( CSensrvChannel& aChannel, TInt aCount, TInt aDataLost ) with different parameter types |
59 // Function for receiving the sensor data. The funtion is essentially the same as MSensrvDataListener::DataReceived( CSensrvChannel& aChannel, TInt aCount, TInt aDataLost ) with different parameter types |
60 // the function should cast the first void ptr to CSensrvChannel* in order to figure out what kind of data is sent. The 2 int parameters are aDataCount and aDataLost (same as inSensrvDataListener::DataReceived) |
60 // the function should cast the first void ptr to CSensrvChannel* in order to figure out what kind of data is sent. The 2 int parameters are aDataCount and aDataLost (same as inSensrvDataListener::DataReceived) |
61 // If plugin does not want to use sensors, the function pointer must to be initialized to NULL |
61 // If plugin does not want to use sensors, the function pointer must to be initialized to NULL |
62 void (*receivesensordata)(void*, int, int); |
62 void (*receivesensordata)(void*, int, int); |
63 |
63 |
|
64 void (*setfaded)(int); |
|
65 |
64 // this function can be used to convey any additional data from/to the plugin. |
66 // this function can be used to convey any additional data from/to the plugin. |
65 int (*extension)(int, void*); |
67 int (*extension)(int, void*); |
66 } plugin_export_v1_t; |
68 } plugin_export_v1_t; |
67 |
69 |
68 |
70 |