Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Side by Side Diff: src/ibusconfig.h

Issue 2860022: Add api to ibus for retreiving unused config values. (Closed) Base URL: ssh://gitrw.chromium.org/ibus.git
Patch Set: Code review changes Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « memconf/config.cc ('k') | src/ibusconfig.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* vim:set et sts=4: */ 1 /* vim:set et sts=4: */
2 /* ibus - The Input Bus 2 /* ibus - The Input Bus
3 * Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com> 3 * Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
4 * Copyright (C) 2008-2010 Red Hat, Inc. 4 * Copyright (C) 2008-2010 Red Hat, Inc.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public 7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 * @section: Section name of the configuration option. 128 * @section: Section name of the configuration option.
129 * @name: Name of the configure option its self. 129 * @name: Name of the configure option its self.
130 * @returns: TRUE if succeed; FALSE otherwise. 130 * @returns: TRUE if succeed; FALSE otherwise.
131 * 131 *
132 * Remove an entry of a configuration option. 132 * Remove an entry of a configuration option.
133 * @see_also: ibus_config_get_value. 133 * @see_also: ibus_config_get_value.
134 */ 134 */
135 gboolean ibus_config_unset (IBusConfig *config, 135 gboolean ibus_config_unset (IBusConfig *config,
136 const gchar *section, 136 const gchar *section,
137 const gchar *name); 137 const gchar *name);
138
139 /**
140 * ibus_config_get_unused:
141 * @config: An IBusConfig
142 * @unread: GValue that holds a list of values that have been written but not
143 * read.
144 * @unwritten: GValue that holds a list of values that have been read but not
145 * written.
146 * @returns: TRUE if succeed; FALSE otherwise.
147 *
148 * Get the list of values that haven't been used properly.
149 */
150 gboolean ibus_config_get_unused (IBusConfig *config,
151 GValue *unread,
152 GValue *unwritten);
138 G_END_DECLS 153 G_END_DECLS
139 #endif 154 #endif
140
OLDNEW
« no previous file with comments | « memconf/config.cc ('k') | src/ibusconfig.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698