mirror of
https://github.com/debauchee/barrier.git
synced 2026-07-06 11:57:00 +08:00
Moved CPrimaryScreen and CSecondaryScreen to the lib/synergy
and the platform specific implementations to lib/platform. Added an lib/arch method to query the platform's native wide character encoding and changed CUnicode to use it. All platform dependent code is now in lib/arch, lib/platform, and the programs under cmd. Also added more documentation.
This commit is contained in:
@@ -33,6 +33,11 @@ class IScreenReceiver;
|
||||
class CXWindowsClipboard;
|
||||
class CXWindowsScreenSaver;
|
||||
|
||||
/*!
|
||||
\class CEvent
|
||||
\brief User event data
|
||||
An architecture dependent type holding user event data.
|
||||
*/
|
||||
// X11 event
|
||||
class CEvent {
|
||||
public:
|
||||
@@ -40,7 +45,7 @@ public:
|
||||
SInt32 m_result;
|
||||
};
|
||||
|
||||
// X11 screen implementation
|
||||
//! Implementation of IScreen for X11
|
||||
class CXWindowsScreen : public IScreen {
|
||||
public:
|
||||
CXWindowsScreen(IScreenReceiver*, IScreenEventHandler*);
|
||||
@@ -279,6 +284,7 @@ private:
|
||||
static CXWindowsScreen* s_screen;
|
||||
};
|
||||
|
||||
//! Convenience object to lock/unlock a CXWindowsScreen
|
||||
class CDisplayLock {
|
||||
public:
|
||||
CDisplayLock(const CXWindowsScreen*);
|
||||
|
||||
Reference in New Issue
Block a user