eekboard-context-service: Drop the GObject boilerplate

The previous commits show it's not really a derivable type
so make it a finale one.
This commit is contained in:
Guido Günther
2020-09-11 18:51:21 +02:00
parent 3e212ddab4
commit 53f30324f0
2 changed files with 18 additions and 38 deletions

View File

@ -42,6 +42,23 @@ enum {
static guint signals[LAST_SIGNAL] = { 0, };
/**
* EekboardContextService:
*
* Handles layout state, gsettings, and virtual-keyboard.
*
* TODO: Restrict to managing keyboard layouts, and maybe button repeats,
* and the virtual keyboard protocol.
*
* The #EekboardContextService structure contains only private data
* and should only be accessed using the provided API.
*/
struct _EekboardContextService {
GObject parent;
EekboardContextServicePrivate *priv;
struct squeek_layout_state *layout; // Unowned
};
struct _EekboardContextServicePrivate {
LevelKeyboard *keyboard; // currently used keyboard
GSettings *settings; // Owned reference