mirror of
https://github.com/AxioDL/boo.git
synced 2025-12-17 00:47:01 +00:00
CMake integration and refactor
This commit is contained in:
@@ -3,11 +3,11 @@
|
||||
|
||||
#include <set>
|
||||
#include <mutex>
|
||||
#include <stdexcept>
|
||||
#include "CDeviceToken.hpp"
|
||||
#include "DeviceToken.hpp"
|
||||
#include "IHIDListener.hpp"
|
||||
#include "SDeviceSignature.hpp"
|
||||
#include "DeviceSignature.hpp"
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#ifdef _WIN32
|
||||
#define _WIN32_LEAN_AND_MEAN 1
|
||||
@@ -95,7 +95,10 @@ public:
|
||||
: m_listener(NULL)
|
||||
{
|
||||
if (skDevFinder)
|
||||
throw std::runtime_error("only one instance of CDeviceFinder may be constructed");
|
||||
{
|
||||
fprintf(stderr, "only one instance of CDeviceFinder may be constructed");
|
||||
abort();
|
||||
}
|
||||
skDevFinder = this;
|
||||
for (const char* typeName : types)
|
||||
{
|
||||
@@ -2,8 +2,8 @@
|
||||
#define CDEVICETOKEN
|
||||
|
||||
#include <string>
|
||||
#include "CDeviceBase.hpp"
|
||||
#include "SDeviceSignature.hpp"
|
||||
#include "DeviceBase.hpp"
|
||||
#include "DeviceSignature.hpp"
|
||||
|
||||
namespace boo
|
||||
{
|
||||
@@ -2,7 +2,7 @@
|
||||
#define CDOLPHINSMASHADAPTER_HPP
|
||||
|
||||
#include <stdint.h>
|
||||
#include "CDeviceBase.hpp"
|
||||
#include "DeviceBase.hpp"
|
||||
|
||||
namespace boo
|
||||
{
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef CGENERICPAD_HPP
|
||||
#define CGENERICPAD_HPP
|
||||
|
||||
#include "CDeviceBase.hpp"
|
||||
#include "DeviceBase.hpp"
|
||||
|
||||
namespace boo
|
||||
{
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
#include <unordered_map>
|
||||
#include <mutex>
|
||||
#include "CDeviceToken.hpp"
|
||||
#include "DeviceToken.hpp"
|
||||
|
||||
namespace boo
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user