From 524183661dcfb4a6066b60bc66a099c16f8682e4 Mon Sep 17 00:00:00 2001 From: arcnmx Date: Thu, 14 Dec 2017 14:11:41 -0500 Subject: [PATCH] [host] fix include paths and casing --- host/Capture/DXGI.cpp | 6 +++--- host/Capture/NvFBC.cpp | 4 ++-- host/Capture/NvFBC.h | 6 +++--- host/CaptureFactory.h | 8 ++++---- host/CrashHandler.h | 4 ++-- host/ICapture.h | 1 + host/IVSHMEM.cpp | 10 +++++----- host/IVSHMEM.h | 2 +- host/Service.cpp | 4 ++-- host/Service.h | 2 +- host/main.cpp | 8 ++++---- 11 files changed, 28 insertions(+), 27 deletions(-) diff --git a/host/Capture/DXGI.cpp b/host/Capture/DXGI.cpp index 9956b1a0..07ac3bdc 100644 --- a/host/Capture/DXGI.cpp +++ b/host/Capture/DXGI.cpp @@ -17,11 +17,11 @@ this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include "DXGI.h" +#include "Capture/DXGI.h" using namespace Capture; -#include "common\debug.h" -#include "common\memcpySSE.h" +#include "common/debug.h" +#include "common/memcpySSE.h" DXGI::DXGI() : m_options(NULL), diff --git a/host/Capture/NvFBC.cpp b/host/Capture/NvFBC.cpp index 12556b03..be4dcc85 100644 --- a/host/Capture/NvFBC.cpp +++ b/host/Capture/NvFBC.cpp @@ -22,8 +22,8 @@ using namespace Capture; #include -#include "common\debug.h" -#include "common\memcpySSE.h" +#include "common/debug.h" +#include "common/memcpySSE.h" #include "Util.h" #ifdef _WIN64 diff --git a/host/Capture/NvFBC.h b/host/Capture/NvFBC.h index 58e45b48..75a7a9b5 100644 --- a/host/Capture/NvFBC.h +++ b/host/Capture/NvFBC.h @@ -21,10 +21,10 @@ Place, Suite 330, Boston, MA 02111-1307 USA #include "ICapture.h" #define W32_LEAN_AND_MEAN -#include +#include -#include -#include +#include +#include namespace Capture { diff --git a/host/CaptureFactory.h b/host/CaptureFactory.h index a46197d8..c54686df 100644 --- a/host/CaptureFactory.h +++ b/host/CaptureFactory.h @@ -20,13 +20,13 @@ Place, Suite 330, Boston, MA 02111-1307 USA #pragma once #define W32_LEAN_AND_MEAN -#include +#include #include -#include "common\debug.h" +#include "common/debug.h" #include "ICapture.h" -#include "Capture\NvFBC.h" -#include "Capture\DXGI.h" +#include "Capture/NvFBC.h" +#include "Capture/DXGI.h" class CaptureFactory { diff --git a/host/CrashHandler.h b/host/CrashHandler.h index 2085f1d4..485908d5 100644 --- a/host/CrashHandler.h +++ b/host/CrashHandler.h @@ -18,8 +18,8 @@ Place, Suite 330, Boston, MA 02111-1307 USA */ #pragma once -#include -#include +#include +#include class CrashHandler { diff --git a/host/ICapture.h b/host/ICapture.h index 817ca363..9ea0e018 100644 --- a/host/ICapture.h +++ b/host/ICapture.h @@ -21,6 +21,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA #include "common/KVMFR.h" #include +#include struct CursorInfo { diff --git a/host/IVSHMEM.cpp b/host/IVSHMEM.cpp index 24078c03..b177637c 100644 --- a/host/IVSHMEM.cpp +++ b/host/IVSHMEM.cpp @@ -17,12 +17,12 @@ this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include "ivshmem.h" +#include "IVSHMEM.h" -#include -#include -#include "vendor\kvm-guest-drivers-windows\ivshmem\Public.h" -#include "common\debug.h" +#include +#include +#include "vendor/kvm-guest-drivers-windows/ivshmem/Public.h" +#include "common/debug.h" IVSHMEM * IVSHMEM::m_instance = NULL; diff --git a/host/IVSHMEM.h b/host/IVSHMEM.h index 5ba0c5ce..13d9f320 100644 --- a/host/IVSHMEM.h +++ b/host/IVSHMEM.h @@ -20,7 +20,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA #pragma once #define W32_LEAN_AND_MEAN -#include +#include #include class IVSHMEM diff --git a/host/Service.cpp b/host/Service.cpp index e46d53ff..332fa938 100644 --- a/host/Service.cpp +++ b/host/Service.cpp @@ -20,8 +20,8 @@ Place, Suite 330, Boston, MA 02111-1307 USA #include "Service.h" #include "IVSHMEM.h" -#include "common\debug.h" -#include "common\KVMFR.h" +#include "common/debug.h" +#include "common/KVMFR.h" #include "CaptureFactory.h" diff --git a/host/Service.h b/host/Service.h index 446cef52..531559a7 100644 --- a/host/Service.h +++ b/host/Service.h @@ -20,7 +20,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA #pragma once #define W32_LEAN_AND_MEAN -#include +#include #include #include "IVSHMEM.h" diff --git a/host/main.cpp b/host/main.cpp index d7225382..a87f2e69 100644 --- a/host/main.cpp +++ b/host/main.cpp @@ -17,11 +17,11 @@ this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include -#include +#include +#include -#include "common\debug.h" -#include "vendor\getopt\getopt.h" +#include "common/debug.h" +#include "vendor/getopt/getopt.h" #include "CrashHandler.h" #include "CaptureFactory.h"