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) 2004 Chris Schoeneman
|
||||
*
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
class IEventQueue;
|
||||
|
||||
namespace synergy {
|
||||
namespace barrier {
|
||||
|
||||
//! Bidirectional stream interface
|
||||
/*!
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* synergy -- mouse and keyboard sharing utility
|
||||
* barrier -- mouse and keyboard sharing utility
|
||||
* Copyright (C) 2012-2016 Symless Ltd.
|
||||
* Copyright (C) 2002 Chris Schoeneman
|
||||
*
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* synergy -- mouse and keyboard sharing utility
|
||||
* barrier -- mouse and keyboard sharing utility
|
||||
* Copyright (C) 2012-2016 Symless Ltd.
|
||||
* Copyright (C) 2002 Chris Schoeneman
|
||||
*
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* synergy -- mouse and keyboard sharing utility
|
||||
* barrier -- mouse and keyboard sharing utility
|
||||
* Copyright (C) 2012-2016 Symless Ltd.
|
||||
* Copyright (C) 2004 Chris Schoeneman
|
||||
*
|
||||
@@ -24,7 +24,7 @@
|
||||
// StreamFilter
|
||||
//
|
||||
|
||||
StreamFilter::StreamFilter(IEventQueue* events, synergy::IStream* stream, bool adoptStream) :
|
||||
StreamFilter::StreamFilter(IEventQueue* events, barrier::IStream* stream, bool adoptStream) :
|
||||
m_stream(stream),
|
||||
m_adopted(adoptStream),
|
||||
m_events(events)
|
||||
@@ -98,7 +98,7 @@ StreamFilter::getSize() const
|
||||
return getStream()->getSize();
|
||||
}
|
||||
|
||||
synergy::IStream*
|
||||
barrier::IStream*
|
||||
StreamFilter::getStream() const
|
||||
{
|
||||
return m_stream;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* synergy -- mouse and keyboard sharing utility
|
||||
* barrier -- mouse and keyboard sharing utility
|
||||
* Copyright (C) 2012-2016 Symless Ltd.
|
||||
* Copyright (C) 2004 Chris Schoeneman
|
||||
*
|
||||
@@ -26,14 +26,14 @@
|
||||
This class wraps a stream. Subclasses provide indirect access
|
||||
to the wrapped stream, typically performing some filtering.
|
||||
*/
|
||||
class StreamFilter : public synergy::IStream {
|
||||
class StreamFilter : public barrier::IStream {
|
||||
public:
|
||||
/*!
|
||||
Create a wrapper around \c stream. Iff \c adoptStream is true then
|
||||
this object takes ownership of the stream and will delete it in the
|
||||
d'tor.
|
||||
*/
|
||||
StreamFilter(IEventQueue* events, synergy::IStream* stream, bool adoptStream = true);
|
||||
StreamFilter(IEventQueue* events, barrier::IStream* stream, bool adoptStream = true);
|
||||
virtual ~StreamFilter();
|
||||
|
||||
// IStream overrides
|
||||
@@ -53,7 +53,7 @@ public:
|
||||
/*!
|
||||
Returns the stream passed to the c'tor.
|
||||
*/
|
||||
synergy::IStream* getStream() const;
|
||||
barrier::IStream* getStream() const;
|
||||
|
||||
protected:
|
||||
//! Handle events from source stream
|
||||
@@ -67,7 +67,7 @@ private:
|
||||
void handleUpstreamEvent(const Event&, void*);
|
||||
|
||||
private:
|
||||
synergy::IStream* m_stream;
|
||||
barrier::IStream* m_stream;
|
||||
bool m_adopted;
|
||||
IEventQueue* m_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) 2002 Chris Schoeneman
|
||||
*
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* synergy -- mouse and keyboard sharing utility
|
||||
* barrier -- mouse and keyboard sharing utility
|
||||
* Copyright (C) 2012-2016 Symless Ltd.
|
||||
* Copyright (C) 2002 Chris Schoeneman
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user