aboutsummaryrefslogtreecommitdiff
path: root/src/sane-rules.h
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-08-04 11:59:50 +0100
committerConor Curran <conor.curran@canonical.com>2011-08-04 11:59:50 +0100
commit6ec15c2d51f83a10f81d94ad1be2da8761c9553c (patch)
tree8f425f7532c5abd7f0e817872f05663a98273120 /src/sane-rules.h
parent85e9bcfb399e489eaa6fbf467f940baa69239bf2 (diff)
downloadayatana-indicator-session-6ec15c2d51f83a10f81d94ad1be2da8761c9553c.tar.gz
ayatana-indicator-session-6ec15c2d51f83a10f81d94ad1be2da8761c9553c.tar.bz2
ayatana-indicator-session-6ec15c2d51f83a10f81d94ad1be2da8761c9553c.zip
add scsi scanner detection support
Diffstat (limited to 'src/sane-rules.h')
-rw-r--r--src/sane-rules.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/sane-rules.h b/src/sane-rules.h
index 871565b..5483b28 100644
--- a/src/sane-rules.h
+++ b/src/sane-rules.h
@@ -1,3 +1,29 @@
+void populate_scsi_scanners (GHashTable* scanners)
+{
+ GList* epson = NULL;
+ epson = g_list_append (epson, g_strdup ("GT-9700"));
+ epson = g_list_append (epson, g_strdup ("GT-9800"));
+ epson = g_list_append (epson, g_strdup ("Perfection1200"));
+ epson = g_list_append (epson, g_strdup ("Perfection636"));
+ epson = g_list_append (epson, g_strdup ("SCANNER GT-7000"));
+ g_hash_table_insert (scanners,
+ g_strdup("EPSON"),
+ g_list_copy(epson));
+
+
+ GList* hp = NULL;
+ hp = g_list_append (hp, g_strdup ("C1130A"));
+ hp = g_list_append (hp, g_strdup ("C1750A"));
+ hp = g_list_append (hp, g_strdup ("C1790A"));
+ hp = g_list_append (hp, g_strdup ("C2500A"));
+ hp = g_list_append (hp, g_strdup ("C2520A"));
+ hp = g_list_append (hp, g_strdup ("C5110A"));
+ hp = g_list_append (hp, g_strdup ("C6270A"));
+ hp = g_list_append (hp, g_strdup ("C7670A"));
+ g_hash_table_insert (scanners,
+ g_strdup("HP"),
+ g_list_copy(hp));
+}
void populate_usb_scanners (GHashTable* scanners)
{