move most of the wiiuse mac implementation into WiiuseWiimote* object

This commit is contained in:
Lysann Schlegel
2012-11-10 20:57:20 +01:00
parent b295af0777
commit a39cfd4374
4 changed files with 56 additions and 112 deletions

View File

@@ -723,10 +723,7 @@ typedef struct wiimote_t {
#ifdef WIIUSE_MAC
/** @name Mac OS X-specific members */
/** @{ */
WCONST IOBluetoothDeviceRef device; /** Device reference */
WCONST void* objc_wm; /** WiiuseWiimote* as opaque pointer */
WCONST IOBluetoothL2CAPChannelRef controlChannel; /** control channel reference */
WCONST IOBluetoothL2CAPChannelRef interruptChannel; /** interrupt channel reference */
/** @} */
#endif