mirror of
https://github.com/debauchee/barrier.git
synced 2025-07-29 22:37:42 +02:00
- Allow dragging one file from Windows (server) to Mac (client), --filetransfer-des needs to be specified in client side's command line.
This commit is contained in:
parent
012fe6ddd8
commit
031a84ca84
17 changed files with 95 additions and 23 deletions
|
@ -48,7 +48,7 @@ public:
|
|||
virtual void fakeInputBegin() = 0;
|
||||
virtual void fakeInputEnd() = 0;
|
||||
virtual SInt32 getJumpZoneSize() const = 0;
|
||||
virtual bool isAnyMouseButtonDown() const = 0;
|
||||
virtual bool isAnyMouseButtonDown(UInt32& buttonID) const = 0;
|
||||
virtual void getCursorCenter(SInt32& x, SInt32& y) const = 0;
|
||||
|
||||
// ISecondaryScreen overrides
|
||||
|
@ -76,6 +76,8 @@ public:
|
|||
virtual SInt32 pollActiveGroup() const;
|
||||
virtual void pollPressedKeys(KeyButtonSet& pressedKeys) const;
|
||||
|
||||
virtual CString& getDraggingFileDir() { return m_draggingFileDir; }
|
||||
|
||||
// IPlatformScreen overrides
|
||||
virtual void enable() = 0;
|
||||
virtual void disable() = 0;
|
||||
|
@ -108,6 +110,10 @@ protected:
|
|||
|
||||
// IPlatformScreen overrides
|
||||
virtual void handleSystemEvent(const CEvent& event, void*) = 0;
|
||||
|
||||
protected:
|
||||
CString m_draggingFileDir;
|
||||
bool m_draggingStarted;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue