Buildfix for real!

This commit is contained in:
Jordan Woyak 2013-02-07 14:42:50 -06:00
parent 85f25ded4c
commit 9ecfb5e75d
2 changed files with 10 additions and 7 deletions

View File

@ -26,9 +26,12 @@ WiimoteScanner::WiimoteScanner()
return; return;
} }
WiimoteScanner::~WiimoteScanner()
{}
std::vector<Wiimote*> WiimoteScanner::FindWiimotes(size_t max_wiimotes) std::vector<Wiimote*> WiimoteScanner::FindWiimotes(size_t max_wiimotes)
{ {
return std::vector<Wiimote*>() return std::vector<Wiimote*>();
} }
bool WiimoteScanner::IsReady() const bool WiimoteScanner::IsReady() const
@ -46,17 +49,17 @@ void Wiimote::Disconnect()
return; return;
} }
bool Wiimote::IsOpen() const bool Wiimote::IsConnected() const
{ {
return IsConnected(); return false;
} }
int Wiimote::IORead(unsigned char* buf) int Wiimote::Read(const u8* buf)
{ {
return 0; return 0;
} }
int Wiimote::IOWrite(unsigned char* buf, int len) int Wiimote::Write(const u8* buf, int len)
{ {
return 0; return 0;
} }

View File

@ -73,8 +73,6 @@ HINSTANCE bthprops_lib = NULL;
static int initialized = 0; static int initialized = 0;
int PairUp(bool unpair = false);
inline void init_lib() inline void init_lib()
{ {
if (!initialized) if (!initialized)
@ -129,6 +127,8 @@ inline void init_lib()
namespace WiimoteReal namespace WiimoteReal
{ {
int PairUp(bool unpair = false);
WiimoteScanner::WiimoteScanner() WiimoteScanner::WiimoteScanner()
{ {
init_lib(); init_lib();