aboutsummaryrefslogtreecommitdiff
path: root/src/sane-rules.h
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-07-26 18:23:59 +0100
committerConor Curran <conor.curran@canonical.com>2011-07-26 18:23:59 +0100
commit8e8a2b83bd5e5f5d293a64bfb5e5a163b80fad0d (patch)
treedde9cefd7845dd646c38f9e876dcde38aa9bbe9f /src/sane-rules.h
parente3b36473ed5400c60f4f08b8cc88bc4e384f3b32 (diff)
downloadayatana-indicator-session-8e8a2b83bd5e5f5d293a64bfb5e5a163b80fad0d.tar.gz
ayatana-indicator-session-8e8a2b83bd5e5f5d293a64bfb5e5a163b80fad0d.tar.bz2
ayatana-indicator-session-8e8a2b83bd5e5f5d293a64bfb5e5a163b80fad0d.zip
pattern established as to how to handle these sane rules
Diffstat (limited to 'src/sane-rules.h')
-rw-r--r--src/sane-rules.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/sane-rules.h b/src/sane-rules.h
new file mode 100644
index 0000000..fc43e39
--- /dev/null
+++ b/src/sane-rules.h
@@ -0,0 +1,20 @@
+
+
+void populate_usb_scanners (GHashTable* scanners)
+{
+ GList* epson = NULL;
+
+ epson = g_list_append (epson, g_strdup("0101"));
+ epson = g_list_append (epson, g_strdup("0103"));
+ epson = g_list_append (epson, g_strdup("0104"));
+ epson = g_list_append (epson, g_strdup("0105"));
+ epson = g_list_append (epson, g_strdup("0106"));
+ epson = g_list_append (epson, g_strdup("0107"));
+ epson = g_list_append (epson, g_strdup("0109"));
+ epson = g_list_append (epson, g_strdup("010a"));
+ epson = g_list_append (epson, g_strdup("010b"));
+
+ g_hash_table_insert (scanners,
+ g_strdup("04b8"),
+ g_list_copy(epson));
+}