mirror of
https://github.com/debauchee/barrier.git
synced 2024-11-22 15:45:22 +03:00
Fix build on Windows
This commit is contained in:
parent
0a1f080231
commit
64a9320d61
@ -18,6 +18,7 @@
|
|||||||
#include "arch/win32/ArchInternetWindows.h"
|
#include "arch/win32/ArchInternetWindows.h"
|
||||||
#include "arch/win32/XArchWindows.h"
|
#include "arch/win32/XArchWindows.h"
|
||||||
#include "arch/Arch.h"
|
#include "arch/Arch.h"
|
||||||
|
#include "base/String.h"
|
||||||
#include "common/Version.h"
|
#include "common/Version.h"
|
||||||
|
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
|
@ -18,6 +18,7 @@
|
|||||||
|
|
||||||
#include "arch/win32/XArchWindows.h"
|
#include "arch/win32/XArchWindows.h"
|
||||||
#include "arch/win32/ArchNetworkWinsock.h"
|
#include "arch/win32/ArchNetworkWinsock.h"
|
||||||
|
#include "base/String.h"
|
||||||
|
|
||||||
//
|
//
|
||||||
// XArchEvalWindows
|
// XArchEvalWindows
|
||||||
|
@ -30,7 +30,7 @@ public:
|
|||||||
XArchEvalWindows(DWORD error) : m_error(error) { }
|
XArchEvalWindows(DWORD error) : m_error(error) { }
|
||||||
virtual ~XArchEvalWindows() { }
|
virtual ~XArchEvalWindows() { }
|
||||||
|
|
||||||
virtual std::string eval() const;
|
virtual std::string eval() const noexcept;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
DWORD m_error;
|
DWORD m_error;
|
||||||
@ -42,7 +42,7 @@ public:
|
|||||||
XArchEvalWinsock(int error) : m_error(error) { }
|
XArchEvalWinsock(int error) : m_error(error) { }
|
||||||
virtual ~XArchEvalWinsock() { }
|
virtual ~XArchEvalWinsock() { }
|
||||||
|
|
||||||
virtual std::string eval() const;
|
virtual std::string eval() const noexcept;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
int m_error;
|
int m_error;
|
||||||
|
@ -20,6 +20,7 @@
|
|||||||
|
|
||||||
#include "barrier/IPlatformScreen.h"
|
#include "barrier/IPlatformScreen.h"
|
||||||
#include "barrier/DragInformation.h"
|
#include "barrier/DragInformation.h"
|
||||||
|
#include <stdexcept>
|
||||||
|
|
||||||
//! Base screen implementation
|
//! Base screen implementation
|
||||||
/*!
|
/*!
|
||||||
|
@ -20,6 +20,7 @@
|
|||||||
|
|
||||||
#include "common/IInterface.h"
|
#include "common/IInterface.h"
|
||||||
#include "base/Event.h"
|
#include "base/Event.h"
|
||||||
|
#include <string>
|
||||||
|
|
||||||
class IEventJob;
|
class IEventJob;
|
||||||
class IEventQueueBuffer;
|
class IEventQueueBuffer;
|
||||||
|
@ -902,7 +902,7 @@ MSWindowsDesks::closeDesktop(HDESK desk)
|
|||||||
std::string MSWindowsDesks::getDesktopName(HDESK desk)
|
std::string MSWindowsDesks::getDesktopName(HDESK desk)
|
||||||
{
|
{
|
||||||
if (desk == NULL) {
|
if (desk == NULL) {
|
||||||
return {}
|
return {};
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
DWORD size;
|
DWORD size;
|
||||||
|
@ -19,6 +19,7 @@
|
|||||||
#include "platform/MSWindowsUtil.h"
|
#include "platform/MSWindowsUtil.h"
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include "base/String.h"
|
||||||
|
|
||||||
//
|
//
|
||||||
// MSWindowsUtil
|
// MSWindowsUtil
|
||||||
|
@ -40,7 +40,6 @@ class MSWindowsKeyStateTests : public ::testing::Test
|
|||||||
protected:
|
protected:
|
||||||
virtual void SetUp()
|
virtual void SetUp()
|
||||||
{
|
{
|
||||||
m_hook.loadLibrary();
|
|
||||||
m_screensaver = new MSWindowsScreenSaver();
|
m_screensaver = new MSWindowsScreenSaver();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user