FreeRDP
|
#include <freerdp/config.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <winpr/crt.h>
#include <winpr/path.h>
#include <winpr/json.h>
#include "liblocale.h"
#include <freerdp/types.h>
#include <freerdp/scancode.h>
#include <freerdp/locale/keyboard.h>
#include <freerdp/log.h>
Macros | |
#define | TAG FREERDP_TAG("locale.keyboard.layouts") |
Functions | |
static BOOL | reallocate_keyboard_layouts (RDP_KEYBOARD_LAYOUT **layouts, size_t *pcount, size_t to_add) |
static BOOL | load_layout_file (void) |
static UINT32 | rdp_keyboard_layout_by_name (const char *name) |
static UINT32 | rdp_keyboard_variant_by_name (const char *name) |
static UINT32 | rdp_keyboard_ime_by_name (const char *name) |
static const char * | rdp_keyboard_layout_by_id (UINT32 id) |
static const char * | rdp_keyboard_variant_by_id (UINT32 id) |
static const char * | rdp_keyboard_ime_by_id (UINT32 id) |
static BOOL | rdp_keyboard_layout_clone_append (RDP_KEYBOARD_LAYOUT **layouts, size_t *pcount) |
static BOOL | rdp_keyboard_variant_clone_append (RDP_KEYBOARD_LAYOUT **layouts, size_t *pcount) |
static BOOL | rdp_keyboard_ime_clone_append (RDP_KEYBOARD_LAYOUT **layouts, size_t *pcount) |
void | freerdp_keyboard_layouts_free (RDP_KEYBOARD_LAYOUT *layouts, size_t count) |
RDP_KEYBOARD_LAYOUT * | freerdp_keyboard_get_layouts (DWORD types, size_t *count) |
const char * | freerdp_keyboard_get_layout_name_from_id (DWORD keyboardLayoutID) |
DWORD | freerdp_keyboard_get_layout_id_from_name (const char *name) |
static void | copy (const struct LanguageIdentifier *id, RDP_CODEPAGE *cp) |
static BOOL | copyOnMatch (DWORD column, const char *filter, const struct LanguageIdentifier *cur, RDP_CODEPAGE *dst) |
RDP_CODEPAGE * | freerdp_keyboard_get_matching_codepages (DWORD column, const char *filter, size_t *count) |
void | freerdp_codepages_free (RDP_CODEPAGE *pages) |
Variables | |
static const struct LanguageIdentifier | language_identifiers [] |
static const RDP_KEYBOARD_LAYOUT | sRDP_KEYBOARD_LAYOUT_TABLE [] |
static const size_t | sRDP_KEYBOARD_LAYOUT_TABLE_len = ARRAYSIZE(sRDP_KEYBOARD_LAYOUT_TABLE) |
static const RDP_KEYBOARD_LAYOUT_VARIANT | sRDP_KEYBOARD_LAYOUT_VARIANT_TABLE [] |
static const size_t | sRDP_KEYBOARD_LAYOUT_VARIANT_TABLE_len |
static const RDP_KEYBOARD_IME | sRDP_KEYBOARD_IME_TABLE [] |
static const size_t | sRDP_KEYBOARD_IME_TABLE_len = ARRAYSIZE(sRDP_KEYBOARD_IME_TABLE) |
#define TAG FREERDP_TAG("locale.keyboard.layouts") |
FreeRDP: A Remote Desktop Protocol Implementation Keyboard Layouts
Copyright 2009-2012 Marc-Andre Moreau marca ndre .more au@g mail. com
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
|
static |
|
static |
void freerdp_codepages_free | ( | RDP_CODEPAGE * | pages | ) |
DWORD freerdp_keyboard_get_layout_id_from_name | ( | const char * | name | ) |
const char* freerdp_keyboard_get_layout_name_from_id | ( | DWORD | keyboardLayoutID | ) |
RDP_KEYBOARD_LAYOUT* freerdp_keyboard_get_layouts | ( | DWORD | types, |
size_t * | count | ||
) |
RDP_CODEPAGE* freerdp_keyboard_get_matching_codepages | ( | DWORD | column, |
const char * | filter, | ||
size_t * | count | ||
) |
void freerdp_keyboard_layouts_free | ( | RDP_KEYBOARD_LAYOUT * | layouts, |
size_t | count | ||
) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |