mirror of
https://github.com/debauchee/barrier.git
synced 2026-07-01 17:37:38 +08:00
rebranding symless/synergy to debauchee/barrier
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# synergy -- mouse and keyboard sharing utility
|
||||
# barrier -- mouse and keyboard sharing utility
|
||||
# Copyright (C) 2012-2016 Symless Ltd.
|
||||
# Copyright (C) 2009 Nick Bolton
|
||||
#
|
||||
@@ -17,7 +17,7 @@
|
||||
file(GLOB headers "*.h")
|
||||
file(GLOB sources "*.cpp")
|
||||
|
||||
if (SYNERGY_ADD_HEADERS)
|
||||
if (BARRIER_ADD_HEADERS)
|
||||
list(APPEND sources ${headers})
|
||||
endif()
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* synergy -- mouse and keyboard sharing utility
|
||||
* barrier -- mouse and keyboard sharing utility
|
||||
* Copyright (C) 2012-2016 Symless Ltd.
|
||||
* Copyright (C) 2012 Nick Bolton
|
||||
*
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* synergy -- mouse and keyboard sharing utility
|
||||
* barrier -- mouse and keyboard sharing utility
|
||||
* Copyright (C) 2012-2016 Symless Ltd.
|
||||
* Copyright (C) 2012 Nick Bolton
|
||||
*
|
||||
@@ -35,18 +35,18 @@ enum EIpcClientType {
|
||||
};
|
||||
|
||||
// handshake: node/gui -> daemon
|
||||
// $1 = type, the client identifies it's self as gui or node (synergyc/s).
|
||||
// $1 = type, the client identifies it's self as gui or node (barrierc/s).
|
||||
extern const char* kIpcMsgHello;
|
||||
|
||||
// log line: daemon -> gui
|
||||
// $1 = aggregate log lines collected from synergys/c or the daemon itself.
|
||||
// $1 = aggregate log lines collected from barriers/c or the daemon itself.
|
||||
extern const char* kIpcMsgLogLine;
|
||||
|
||||
// command: gui -> daemon
|
||||
// $1 = command; the command for the daemon to launch, typically the full
|
||||
// path to synergys/c. $2 = true when process must be elevated on ms windows.
|
||||
// path to barriers/c. $2 = true when process must be elevated on ms windows.
|
||||
extern const char* kIpcMsgCommand;
|
||||
|
||||
// shutdown: daemon -> node
|
||||
// the daemon tells synergys/c to shut down gracefully.
|
||||
// the daemon tells barriers/c to shut down gracefully.
|
||||
extern const char* kIpcMsgShutdown;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* synergy -- mouse and keyboard sharing utility
|
||||
* barrier -- mouse and keyboard sharing utility
|
||||
* Copyright (C) 2012-2016 Symless Ltd.
|
||||
* Copyright (C) 2012 Nick Bolton
|
||||
*
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* synergy -- mouse and keyboard sharing utility
|
||||
* barrier -- mouse and keyboard sharing utility
|
||||
* Copyright (C) 2012-2016 Symless Ltd.
|
||||
* Copyright (C) 2012 Nick Bolton
|
||||
*
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* synergy -- mouse and keyboard sharing utility
|
||||
* barrier -- mouse and keyboard sharing utility
|
||||
* Copyright (C) 2012-2016 Symless Ltd.
|
||||
* Copyright (C) 2012 Nick Bolton
|
||||
*
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
#include "ipc/Ipc.h"
|
||||
#include "ipc/IpcMessage.h"
|
||||
#include "synergy/ProtocolUtil.h"
|
||||
#include "barrier/ProtocolUtil.h"
|
||||
#include "io/IStream.h"
|
||||
#include "arch/Arch.h"
|
||||
#include "base/TMethodEventJob.h"
|
||||
@@ -30,7 +30,7 @@
|
||||
// IpcClientProxy
|
||||
//
|
||||
|
||||
IpcClientProxy::IpcClientProxy(synergy::IStream& stream, IEventQueue* events) :
|
||||
IpcClientProxy::IpcClientProxy(barrier::IStream& stream, IEventQueue* events) :
|
||||
m_stream(stream),
|
||||
m_clientType(kIpcClientUnknown),
|
||||
m_disconnecting(false),
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* synergy -- mouse and keyboard sharing utility
|
||||
* barrier -- mouse and keyboard sharing utility
|
||||
* Copyright (C) 2012-2016 Symless Ltd.
|
||||
* Copyright (C) 2012 Nick Bolton
|
||||
*
|
||||
@@ -23,7 +23,7 @@
|
||||
#include "base/EventTypes.h"
|
||||
#include "base/Event.h"
|
||||
|
||||
namespace synergy { class IStream; }
|
||||
namespace barrier { class IStream; }
|
||||
class IpcMessage;
|
||||
class IpcCommandMessage;
|
||||
class IpcHelloMessage;
|
||||
@@ -33,7 +33,7 @@ class IpcClientProxy {
|
||||
friend class IpcServer;
|
||||
|
||||
public:
|
||||
IpcClientProxy(synergy::IStream& stream, IEventQueue* events);
|
||||
IpcClientProxy(barrier::IStream& stream, IEventQueue* events);
|
||||
virtual ~IpcClientProxy();
|
||||
|
||||
private:
|
||||
@@ -46,7 +46,7 @@ private:
|
||||
void disconnect();
|
||||
|
||||
private:
|
||||
synergy::IStream& m_stream;
|
||||
barrier::IStream& m_stream;
|
||||
EIpcClientType m_clientType;
|
||||
bool m_disconnecting;
|
||||
ArchMutex m_readMutex;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* synergy -- mouse and keyboard sharing utility
|
||||
* barrier -- mouse and keyboard sharing utility
|
||||
* Copyright (C) 2012-2016 Symless Ltd.
|
||||
* Copyright (C) 2012 Nick Bolton
|
||||
*
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* synergy -- mouse and keyboard sharing utility
|
||||
* barrier -- mouse and keyboard sharing utility
|
||||
* Copyright (C) 2012-2016 Symless Ltd.
|
||||
* Copyright (C) 2012 Nick Bolton
|
||||
*
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* synergy -- mouse and keyboard sharing utility
|
||||
* barrier -- mouse and keyboard sharing utility
|
||||
* Copyright (C) 2012-2016 Symless Ltd.
|
||||
* Copyright (C) 2012 Nick Bolton
|
||||
*
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* synergy -- mouse and keyboard sharing utility
|
||||
* barrier -- mouse and keyboard sharing utility
|
||||
* Copyright (C) 2012-2016 Symless Ltd.
|
||||
* Copyright (C) 2012 Nick Bolton
|
||||
*
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* synergy -- mouse and keyboard sharing utility
|
||||
* barrier -- mouse and keyboard sharing utility
|
||||
* Copyright (C) 2012-2016 Symless Ltd.
|
||||
* Copyright (C) 2012 Nick Bolton
|
||||
*
|
||||
@@ -96,7 +96,7 @@ IpcServer::listen()
|
||||
void
|
||||
IpcServer::handleClientConnecting(const Event&, void*)
|
||||
{
|
||||
synergy::IStream* stream = m_socket->accept();
|
||||
barrier::IStream* stream = m_socket->accept();
|
||||
if (stream == NULL) {
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* synergy -- mouse and keyboard sharing utility
|
||||
* barrier -- mouse and keyboard sharing utility
|
||||
* Copyright (C) 2012-2016 Symless Ltd.
|
||||
* Copyright (C) 2012 Nick Bolton
|
||||
*
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* synergy -- mouse and keyboard sharing utility
|
||||
* barrier -- mouse and keyboard sharing utility
|
||||
* Copyright (C) 2012-2016 Symless Ltd.
|
||||
* Copyright (C) 2012 Nick Bolton
|
||||
*
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
#include "ipc/IpcMessage.h"
|
||||
#include "ipc/Ipc.h"
|
||||
#include "synergy/ProtocolUtil.h"
|
||||
#include "barrier/ProtocolUtil.h"
|
||||
#include "io/IStream.h"
|
||||
#include "base/TMethodEventJob.h"
|
||||
#include "base/Log.h"
|
||||
@@ -29,7 +29,7 @@
|
||||
// IpcServerProxy
|
||||
//
|
||||
|
||||
IpcServerProxy::IpcServerProxy(synergy::IStream& stream, IEventQueue* events) :
|
||||
IpcServerProxy::IpcServerProxy(barrier::IStream& stream, IEventQueue* events) :
|
||||
m_stream(stream),
|
||||
m_events(events)
|
||||
{
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* synergy -- mouse and keyboard sharing utility
|
||||
* barrier -- mouse and keyboard sharing utility
|
||||
* Copyright (C) 2012-2016 Symless Ltd.
|
||||
* Copyright (C) 2012 Nick Bolton
|
||||
*
|
||||
@@ -21,7 +21,7 @@
|
||||
#include "base/Event.h"
|
||||
#include "base/EventTypes.h"
|
||||
|
||||
namespace synergy { class IStream; }
|
||||
namespace barrier { class IStream; }
|
||||
class IpcMessage;
|
||||
class IpcLogLineMessage;
|
||||
class IEventQueue;
|
||||
@@ -30,7 +30,7 @@ class IpcServerProxy {
|
||||
friend class IpcClient;
|
||||
|
||||
public:
|
||||
IpcServerProxy(synergy::IStream& stream, IEventQueue* events);
|
||||
IpcServerProxy(barrier::IStream& stream, IEventQueue* events);
|
||||
virtual ~IpcServerProxy();
|
||||
|
||||
private:
|
||||
@@ -41,6 +41,6 @@ private:
|
||||
void disconnect();
|
||||
|
||||
private:
|
||||
synergy::IStream& m_stream;
|
||||
barrier::IStream& m_stream;
|
||||
IEventQueue* m_events;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user