aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Fedchin <anightik@gmail.com>2018-04-03 18:33:01 +0300
committerAnton Fedchin <anightik@gmail.com>2018-04-04 12:23:47 +0300
commit374841d68b1eea4923e428c2138cd779b399abd2 (patch)
tree49dfcc4a2677f6e054bf6d80d6985a15b503d4e0
parent7fbeeed1a120d11b14ae56f2d563f45621832b7d (diff)
[win10] peripherals: move implementation to platform folder.
-rw-r--r--cmake/treedata/windowsstore/subdirs.txt4
-rw-r--r--xbmc/peripherals/bus/PeripheralBusUSB.h2
-rw-r--r--xbmc/platform/win10/peripherals/CMakeLists.txt (renamed from xbmc/peripherals/bus/win10/CMakeLists.txt)2
-rw-r--r--xbmc/platform/win10/peripherals/PeripheralBusUSB.cpp (renamed from xbmc/peripherals/bus/win10/PeripheralBusUSB.cpp)0
-rw-r--r--xbmc/platform/win10/peripherals/PeripheralBusUSB.h (renamed from xbmc/peripherals/bus/win10/PeripheralBusUSB.h)0
5 files changed, 4 insertions, 4 deletions
diff --git a/cmake/treedata/windowsstore/subdirs.txt b/cmake/treedata/windowsstore/subdirs.txt
index d66845cb18..82d49b1f71 100644
--- a/cmake/treedata/windowsstore/subdirs.txt
+++ b/cmake/treedata/windowsstore/subdirs.txt
@@ -1,12 +1,12 @@
xbmc/platform/win10 platform/win10
xbmc/platform/win10/filesystem platform/win10/filesystem
-xbmc/platform/win10/storage platfrom/win10/storage
xbmc/platform/win10/network platform/win10/network
+xbmc/platform/win10/peripherals platform/win10/peripherals
+xbmc/platform/win10/storage platfrom/win10/storage
xbmc/platform/win32/filesystem platform/win32/filesystem
xbmc/input/touch input/touch
xbmc/input/touch/generic input/touch/generic
xbmc/network/mdns network/mdns
-xbmc/peripherals/bus/win10 peripherals/bus/win10
xbmc/powermanagement/win10 powermanagement/win10
xbmc/utils/win32 utils/win32
xbmc/rendering/dx rendering/dx
diff --git a/xbmc/peripherals/bus/PeripheralBusUSB.h b/xbmc/peripherals/bus/PeripheralBusUSB.h
index baff025659..82bf8ee577 100644
--- a/xbmc/peripherals/bus/PeripheralBusUSB.h
+++ b/xbmc/peripherals/bus/PeripheralBusUSB.h
@@ -24,7 +24,7 @@
#include "win32/PeripheralBusUSB.h"
#elif defined(TARGET_WINDOWS_STORE)
#define HAVE_PERIPHERAL_BUS_USB 1
-#include "win10/PeripheralBusUSB.h"
+#include "platform/win10/peripherals/PeripheralBusUSB.h"
#elif defined(TARGET_LINUX) && defined(HAVE_LIBUDEV)
#define HAVE_PERIPHERAL_BUS_USB 1
#include "linux/PeripheralBusUSBLibUdev.h"
diff --git a/xbmc/peripherals/bus/win10/CMakeLists.txt b/xbmc/platform/win10/peripherals/CMakeLists.txt
index b334acd48b..b27b407494 100644
--- a/xbmc/peripherals/bus/win10/CMakeLists.txt
+++ b/xbmc/platform/win10/peripherals/CMakeLists.txt
@@ -2,4 +2,4 @@ set(SOURCES PeripheralBusUSB.cpp)
set(HEADERS PeripheralBusUSB.h)
-core_add_library(peripherals_bus_win10)
+core_add_library(platform_win10_peripherals)
diff --git a/xbmc/peripherals/bus/win10/PeripheralBusUSB.cpp b/xbmc/platform/win10/peripherals/PeripheralBusUSB.cpp
index 951b2d8ac1..951b2d8ac1 100644
--- a/xbmc/peripherals/bus/win10/PeripheralBusUSB.cpp
+++ b/xbmc/platform/win10/peripherals/PeripheralBusUSB.cpp
diff --git a/xbmc/peripherals/bus/win10/PeripheralBusUSB.h b/xbmc/platform/win10/peripherals/PeripheralBusUSB.h
index b3991ee7b0..b3991ee7b0 100644
--- a/xbmc/peripherals/bus/win10/PeripheralBusUSB.h
+++ b/xbmc/platform/win10/peripherals/PeripheralBusUSB.h