diff options
Diffstat (limited to 'src/fs/gnunet-fs-gtk.h')
-rw-r--r-- | src/fs/gnunet-fs-gtk.h | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/src/fs/gnunet-fs-gtk.h b/src/fs/gnunet-fs-gtk.h index 1eead2ab..0040fffe 100644 --- a/src/fs/gnunet-fs-gtk.h +++ b/src/fs/gnunet-fs-gtk.h | |||
@@ -77,11 +77,21 @@ GNUNET_GTK_get_selected_anonymity_level (GtkBuilder * builder, | |||
77 | 77 | ||
78 | 78 | ||
79 | /** | 79 | /** |
80 | * Get the selected anonymity level. | ||
81 | * | ||
82 | * @param combo combo box widget to get anonymity from | ||
83 | * @param p_level pointer to a guint to receive the level value | ||
84 | * @return TRUE on success, FALSE on error | ||
85 | */ | ||
86 | gboolean | ||
87 | GNUNET_GTK_get_selected_anonymity_combo_level (GtkComboBox *combo, guint *p_level); | ||
88 | |||
89 | /** | ||
80 | * Set the selected anonymity level. | 90 | * Set the selected anonymity level. |
81 | * For dialogue initialization. | 91 | * For dialogue initialization. |
82 | * | 92 | * |
83 | * @param builder builder object for the window | 93 | * @param builder builder object for the window |
84 | * @param combo_name name of the combobox widget to get anonymity from | 94 | * @param combo_name name of the combobox widget to set anonymity in |
85 | * @param sel_level the level value to select | 95 | * @param sel_level the level value to select |
86 | * @return TRUE on success, FALSE on error (no item with such level) | 96 | * @return TRUE on success, FALSE on error (no item with such level) |
87 | */ | 97 | */ |
@@ -89,5 +99,17 @@ gboolean | |||
89 | GNUNET_GTK_select_anonymity_level (GtkBuilder * builder, gchar * combo_name, | 99 | GNUNET_GTK_select_anonymity_level (GtkBuilder * builder, gchar * combo_name, |
90 | guint sel_level); | 100 | guint sel_level); |
91 | 101 | ||
102 | |||
103 | /** | ||
104 | * Set the selected anonymity level. | ||
105 | * For dialogue initialization. | ||
106 | * | ||
107 | * @param combo the combobox widget to set anonymity in | ||
108 | * @param sel_level the level value to select | ||
109 | * @return TRUE on success, FALSE on error (no item with such level) | ||
110 | */ | ||
111 | gboolean | ||
112 | GNUNET_GTK_select_anonymity_combo_level (GtkComboBox *combo, guint sel_level); | ||
113 | |||
92 | #endif | 114 | #endif |
93 | /* end of gnunet-fs-gtk.h */ | 115 | /* end of gnunet-fs-gtk.h */ |