init
Some checks failed
Docker. / Ubuntu (push) Has been cancelled
User-agent updater. / User-agent (push) Failing after 15s
Lock Threads / lock (push) Failing after 10s
Waiting for answer. / waiting-for-answer (push) Failing after 22s
Needs user action. / needs-user-action (push) Failing after 8s
Can't reproduce. / cant-reproduce (push) Failing after 8s
Close stale issues and PRs / stale (push) Has been cancelled
Some checks failed
Docker. / Ubuntu (push) Has been cancelled
User-agent updater. / User-agent (push) Failing after 15s
Lock Threads / lock (push) Failing after 10s
Waiting for answer. / waiting-for-answer (push) Failing after 22s
Needs user action. / needs-user-action (push) Failing after 8s
Can't reproduce. / cant-reproduce (push) Failing after 8s
Close stale issues and PRs / stale (push) Has been cancelled
This commit is contained in:
63
Telegram/ThirdParty/nimf/libnimf/nimf-server-private.h
vendored
Normal file
63
Telegram/ThirdParty/nimf/libnimf/nimf-server-private.h
vendored
Normal file
@@ -0,0 +1,63 @@
|
||||
/* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 2; tab-width: 2 -*- */
|
||||
/*
|
||||
* nimf-server-private.h
|
||||
* This file is part of Nimf.
|
||||
*
|
||||
* Copyright (C) 2015-2019 Hodong Kim <cogniti@gmail.com>
|
||||
*
|
||||
* Nimf is free software: you can redistribute it and/or modify it
|
||||
* under the terms of the GNU Lesser General Public License as published
|
||||
* by the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Nimf is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
* See the GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License
|
||||
* along with this program; If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __NIMF_SERVER_PRIVATE_H__
|
||||
#define __NIMF_SERVER_PRIVATE_H__
|
||||
|
||||
#include "nimf-server.h"
|
||||
#include "nimf-service-ic.h"
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
struct _NimfServerPrivate
|
||||
{
|
||||
GHashTable *modules;
|
||||
GHashTable *services;
|
||||
GList *engines;
|
||||
NimfServiceIC *last_focused_im;
|
||||
const gchar *last_focused_service;
|
||||
GSettings *settings;
|
||||
NimfKey **hotkeys;
|
||||
GHashTable *shortcuts;
|
||||
gboolean use_singleton;
|
||||
GPtrArray *ics;
|
||||
/* facilities */
|
||||
NimfCandidatable *candidatable;
|
||||
NimfPreeditable *preeditable;
|
||||
};
|
||||
|
||||
typedef struct {
|
||||
GSettings *settings;
|
||||
NimfKey **to_lang;
|
||||
NimfKey **to_sys;
|
||||
} NimfShortcut;
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
NimfEngine *nimf_server_get_default_engine (NimfServer *server);
|
||||
NimfEngine *nimf_server_get_next_engine (NimfServer *server,
|
||||
NimfEngine *engine);
|
||||
NimfEngine *nimf_server_get_engine_by_id (NimfServer *server,
|
||||
const gchar *engine_id);
|
||||
gboolean nimf_server_start (NimfServer *server);
|
||||
|
||||
#endif /* __NIMF_SERVER_PRIVATE_H__ */
|
||||
|
||||
Reference in New Issue
Block a user