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

Unified 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, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « memconf/config.cc ('k') | src/ibusconfig.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ibusconfig.h
diff --git a/src/ibusconfig.h b/src/ibusconfig.h
index fd256c1026f8da65d52b6c5a81d2c0a87137ca35..8d9679670c02b939a884a0102a9377a95eab4eb0 100644
--- a/src/ibusconfig.h
+++ b/src/ibusconfig.h
@@ -135,6 +135,20 @@ gboolean ibus_config_set_value (IBusConfig *config,
gboolean ibus_config_unset (IBusConfig *config,
const gchar *section,
const gchar *name);
+
+/**
+ * ibus_config_get_unused:
+ * @config: An IBusConfig
+ * @unread: GValue that holds a list of values that have been written but not
+ * read.
+ * @unwritten: GValue that holds a list of values that have been read but not
+ * written.
+ * @returns: TRUE if succeed; FALSE otherwise.
+ *
+ * Get the list of values that haven't been used properly.
+ */
+gboolean ibus_config_get_unused (IBusConfig *config,
+ GValue *unread,
+ GValue *unwritten);
G_END_DECLS
#endif
-
« 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