gnome-scan r736 - in trunk: . modules/gsane
- From: bersace svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-scan r736 - in trunk: . modules/gsane
- Date: Tue, 23 Dec 2008 21:48:01 +0000 (UTC)
Author: bersace
Date: Tue Dec 23 21:48:00 2008
New Revision: 736
URL: http://svn.gnome.org/viewvc/gnome-scan?rev=736&view=rev
Log:
Added field for option.
Modified:
trunk/ChangeLog
trunk/modules/gsane/gsane-option-handler.h
Modified: trunk/modules/gsane/gsane-option-handler.h
==============================================================================
--- trunk/modules/gsane/gsane-option-handler.h (original)
+++ trunk/modules/gsane/gsane-option-handler.h Tue Dec 23 21:48:00 2008
@@ -69,7 +69,8 @@
/* Define private structs fields to handle a named SANE option */
#define GSANE_OPTION_HANDLER_DEFINE_OPTION(name) \
const SANE_Option_Descriptor* name##_desc; \
- SANE_Int name##_index;
+ SANE_Int name##_index; \
+ GnomeScanOption* name##_option;
/* Define class struct field to handle a named SANE option. */
#define GSANE_OPTION_HANDLER_CLASS_DEFINE_HANDLER(name) \
@@ -96,7 +97,7 @@
void gsane_option_handler_handle_option(GSaneOptionHandler *self, const SANE_Option_Descriptor* desc, SANE_Int n, const gchar*group);
void gsane_option_handler_reload_options(GSaneOptionHandler *self);
-/* helper for option initialiazation. */
+/* helper for option initialazation. */
GSList* gsane_option_handler_enum_list_int_values(GSaneOptionHandler *handler, const SANE_Option_Descriptor*desc, SANE_Int n);
GSList* gsane_option_handler_enum_list_double_values(GSaneOptionHandler *handler, const SANE_Option_Descriptor*desc, SANE_Int n);
GSList* gsane_option_handler_enum_list_string_values(GSaneOptionHandler *handler, const SANE_Option_Descriptor*desc, SANE_Int n);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]