mirror of
https://github.com/AxioDL/boo.git
synced 2025-05-15 20:01:33 +00:00
Alphabetizes includes and resolves quite a few instances of indirect inclusions, making the requirements of several interfaces explicit. This also trims out includes that aren't actually necessary (likely due to changes in the API over time).
23 lines
601 B
C++
23 lines
601 B
C++
#define _CRT_SECURE_NO_WARNINGS 1 /* STFU MSVC */
|
|
|
|
#include "boo/inputdev/IHIDListener.hpp"
|
|
#include "boo/inputdev/DeviceFinder.hpp"
|
|
|
|
namespace boo {
|
|
|
|
class HIDListenerUWP : public IHIDListener {
|
|
public:
|
|
HIDListenerUWP(DeviceFinder& finder) {}
|
|
|
|
/* Automatic device scanning */
|
|
bool startScanning() override { return false; }
|
|
bool stopScanning() override { return false; }
|
|
|
|
/* Manual device scanning */
|
|
bool scanNow() override { return false; }
|
|
};
|
|
|
|
std::unique_ptr<IHIDListener> IHIDListenerNew(DeviceFinder& finder) { return std::make_unique<HIDListenerUWP>(finder); }
|
|
|
|
} // namespace boo
|