diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2023-09-15 15:48:16 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2023-09-15 15:48:16 +0200 |
commit | 761419285e36a00a4f0add11e464f9ede99d6416 (patch) | |
tree | de57b504a73764a6c238c241f1c1c41fefb9e94e /src/keyboard.h | |
parent | ecf5e442a2d66ef6e9b97bd8e5f54c892df42d11 (diff) | |
parent | 6cd61d67a4af511717ed1b0878f106b24a8b9ed6 (diff) | |
download | ayatana-indicator-keyboard-761419285e36a00a4f0add11e464f9ede99d6416.tar.gz ayatana-indicator-keyboard-761419285e36a00a4f0add11e464f9ede99d6416.tar.bz2 ayatana-indicator-keyboard-761419285e36a00a4f0add11e464f9ede99d6416.zip |
Merge branch 'tari01-pr/show-layout'
Attributes GH PR #52: https://github.com/AyatanaIndicators/ayatana-indicator-keyboard/pull/52
Diffstat (limited to 'src/keyboard.h')
-rw-r--r-- | src/keyboard.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/keyboard.h b/src/keyboard.h index 20ae9dac..39f822cd 100644 --- a/src/keyboard.h +++ b/src/keyboard.h @@ -1,5 +1,5 @@ /* - * Copyright 2021 Robert Tari <robert@tari.in> + * Copyright 2021-2023 Robert Tari <robert@tari.in> * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published @@ -47,6 +47,7 @@ GType keyboard_get_type(void); Keyboard* keyboard_new(); void keyboard_AddSource(Keyboard *pKeyboard); guint keyboard_GetNumLayouts(Keyboard *pKeyboard); +guint keyboard_GetLayoutIndex (Keyboard *pKeyboard); void keyboard_GetLayout(Keyboard *pKeyboard, gint nLayout, gchar **pLanguage, gchar **pDescription); void keyboard_SetLayout(Keyboard *pKeyboard, gint nLayout); |