WiimoteScannerDarwin: Rename stopScanning for code style compliance
This commit is contained in:
parent
be2ec728e4
commit
74755e5939
|
@ -18,7 +18,7 @@ public:
|
|||
void FindWiimotes(std::vector<Wiimote*>&, Wiimote*&) override;
|
||||
void Update() override {} // not needed
|
||||
private:
|
||||
bool stopScanning = false;
|
||||
bool m_stop_scanning = false;
|
||||
};
|
||||
} // namespace WiimoteReal
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ namespace WiimoteReal
|
|||
{
|
||||
WiimoteScannerDarwin::~WiimoteScannerDarwin()
|
||||
{
|
||||
stopScanning = true;
|
||||
m_stop_scanning = true;
|
||||
}
|
||||
|
||||
void WiimoteScannerDarwin::FindWiimotes(std::vector<Wiimote*>& found_wiimotes,
|
||||
|
@ -60,7 +60,7 @@ void WiimoteScannerDarwin::FindWiimotes(std::vector<Wiimote*>& found_wiimotes,
|
|||
do
|
||||
{
|
||||
CFRunLoopRunInMode(kCFRunLoopDefaultMode, 0, false);
|
||||
} while (!sbt->done && !stopScanning);
|
||||
} while (!sbt->done && !m_stop_scanning);
|
||||
|
||||
int found_devices = [[bti foundDevices] count];
|
||||
|
||||
|
|
Loading…
Reference in New Issue