mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-07 06:03:40 +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:
@@ -86,6 +86,11 @@ CArgs* CArgs::s_instance = NULL;
|
||||
// platform dependent factories
|
||||
//
|
||||
|
||||
//! Factory for creating secondary screens
|
||||
/*!
|
||||
Objects of this type create secondary screens appropriate for the
|
||||
platform.
|
||||
*/
|
||||
class CSecondaryScreenFactory : public ISecondaryScreenFactory {
|
||||
public:
|
||||
CSecondaryScreenFactory() { }
|
||||
|
||||
@@ -96,6 +96,11 @@ CArgs* CArgs::s_instance = NULL;
|
||||
// platform dependent factories
|
||||
//
|
||||
|
||||
//! Factory for creating primary screens
|
||||
/*!
|
||||
Objects of this type create primary screens appropriate for the
|
||||
platform.
|
||||
*/
|
||||
class CPrimaryScreenFactory : public IPrimaryScreenFactory {
|
||||
public:
|
||||
CPrimaryScreenFactory() { }
|
||||
|
||||
Reference in New Issue
Block a user