| 1 |
/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */ |
| 2 |
/* vim:set et sts=4: */ |
| 3 |
/* ibus - The Input Bus |
| 4 |
* Copyright (C) 2022 Takao Fujiwara <[email protected]> |
| 5 |
* |
| 6 |
* This library is free software; you can redistribute it and/or |
| 7 |
* modify it under the terms of the GNU Lesser General Public |
| 8 |
* License as published by the Free Software Foundation; either |
| 9 |
* version 2.1 of the License, or (at your option) any later version. |
| 10 |
* |
| 11 |
* This library is distributed in the hope that it will be useful, |
| 12 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 14 |
* Lesser General Public License for more details. |
| 15 |
* |
| 16 |
* You should have received a copy of the GNU Lesser General Public |
| 17 |
* License along with this library; if not, write to the Free Software |
| 18 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 |
| 19 |
* USA |
| 20 |
*/ |
| 21 |
|
| 22 |
#ifndef __IBUS_IM_MODULE_CONTEXT_H_ |
| 23 |
#define __IBUS_IM_MODULE_CONTEXT_H_ |
| 24 |
|
| 25 |
/** |
| 26 |
* ibus_im_module_get_id: |
| 27 |
* @argc: The length of argv |
| 28 |
* @argv: (array length=argc) (element-type utf8): argv from main() |
| 29 |
* |
| 30 |
* Retrieve im-module value from GTK instance. |
| 31 |
* |
| 32 |
* Returns: (nullable): im-module value. |
| 33 |
*/ |
| 34 |
char * ibus_im_module_get_id (int argc, char *argv[]); |
| 35 |
|
| 36 |
#endif |