#include <KeyboardLayoutManager.h>
|
| | KeyboardLayoutManager (const std::vector< std::string > &localLayouts=AppUtil::instance().getKeyboardLayoutList()) |
| void | setRemoteLayouts (const std::string_view &remoteLayouts) |
| | setRemoteLayouts sets remote layouts
|
| const std::vector< std::string > & | getRemoteLayouts () const |
| | getRemoteLayouts getter for remote layouts
|
| const std::vector< std::string > & | getLocalLayouts () const |
| | getLocalLayouts getter for local layouts
|
| std::string | getMissedLayouts () const |
| | getMissedLayouts getter for missed layouts on local machine
|
| std::string | getSerializedLocalLayouts () const |
| | getSerializedLocalLayouts getter for local serialized layouts
|
| bool | isLayoutInstalled (const std::string &layout) const |
| | isLayoutInstalled checks if layout is installed
|
◆ KeyboardLayoutManager()
| deskflow::KeyboardLayoutManager::KeyboardLayoutManager |
( |
const std::vector< std::string > & | localLayouts = AppUtil::instance().getKeyboardLayoutList() | ) |
|
|
explicit |
◆ getLocalLayouts()
| const std::vector< std::string > & deskflow::KeyboardLayoutManager::getLocalLayouts |
( |
| ) |
const |
getLocalLayouts getter for local layouts
- Returns
- vector of local layouts
◆ getMissedLayouts()
| std::string deskflow::KeyboardLayoutManager::getMissedLayouts |
( |
| ) |
const |
getMissedLayouts getter for missed layouts on local machine
- Returns
- difference between remote and local layouts as a coma separated string
◆ getRemoteLayouts()
| const std::vector< std::string > & deskflow::KeyboardLayoutManager::getRemoteLayouts |
( |
| ) |
const |
getRemoteLayouts getter for remote layouts
- Returns
- vector of remote layouts
◆ getSerializedLocalLayouts()
| std::string deskflow::KeyboardLayoutManager::getSerializedLocalLayouts |
( |
| ) |
const |
getSerializedLocalLayouts getter for local serialized layouts
- Returns
- serialized local layouts as a string
◆ isLayoutInstalled()
| bool deskflow::KeyboardLayoutManager::isLayoutInstalled |
( |
const std::string & | layout | ) |
const |
isLayoutInstalled checks if layout is installed
- Parameters
-
| layout | which should be checked |
- Returns
- true if the specified layout is installed
◆ setRemoteLayouts()
| void deskflow::KeyboardLayoutManager::setRemoteLayouts |
( |
const std::string_view & | remoteLayouts | ) |
|
setRemoteLayouts sets remote layouts
- Parameters
-
| remoteLayouts | is a string with sericalized layouts |
The documentation for this class was generated from the following files: