mirror of
https://github.com/debauchee/barrier.git
synced 2025-07-23 19:38:26 +02:00
implemented crypto stream, with some extra unit tests
This commit is contained in:
parent
728ad02d61
commit
0a69c28ac5
21 changed files with 217 additions and 32 deletions
|
@ -25,6 +25,8 @@
|
|||
|
||||
namespace synergy { class IStream; }
|
||||
|
||||
const int g_encryptionEnabled = true;
|
||||
|
||||
//! Generic proxy for client
|
||||
class CClientProxy : public CBaseClientProxy {
|
||||
public:
|
||||
|
@ -47,9 +49,16 @@ public:
|
|||
//! @name accessors
|
||||
//@{
|
||||
|
||||
//! Get stream (unmodified)
|
||||
/*!
|
||||
Returns the original stream passed to the c'tor.
|
||||
*/
|
||||
synergy::IStream* getStreamUnmodified() const;
|
||||
|
||||
//! Get stream
|
||||
/*!
|
||||
Returns the stream passed to the c'tor.
|
||||
Returns a crypto stream if the user has this enabled,
|
||||
otherwise returns the original stream passed to the c'tor.
|
||||
*/
|
||||
synergy::IStream* getStream() const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue