diff --git a/synergy/CXWindowsClipboard.cpp b/synergy/CXWindowsClipboard.cpp index 6d72dc8d..a8b3823a 100644 --- a/synergy/CXWindowsClipboard.cpp +++ b/synergy/CXWindowsClipboard.cpp @@ -14,9 +14,10 @@ CXWindowsClipboard::~CXWindowsClipboard() { } -void CXWindowsClipboard::open() +bool CXWindowsClipboard::open() { log((CLOG_INFO "open clipboard")); + return true; } void CXWindowsClipboard::close() diff --git a/synergy/CXWindowsClipboard.h b/synergy/CXWindowsClipboard.h index 334af77c..b025536d 100644 --- a/synergy/CXWindowsClipboard.h +++ b/synergy/CXWindowsClipboard.h @@ -9,7 +9,7 @@ class CXWindowsClipboard : public IClipboard { virtual ~CXWindowsClipboard(); // IClipboard overrides - virtual void open(); + virtual bool open(); virtual void close(); virtual void add(EFormat, const CString& data); virtual bool has(EFormat) const;