commit 194df41c1dd045ad168aabff353ecc876584315b
Author: Hector Martin <[email protected]>
Date: Tue Oct 20 12:42:01 2009 +0200
add itdb_sysinfo_properties_supports_sqlite
src/itdb_sysinfo_extended_parser.c | 9 +++++++++
src/itdb_sysinfo_extended_parser.h | 2 ++
2 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/src/itdb_sysinfo_extended_parser.c
b/src/itdb_sysinfo_extended_parser.c
index 2097a89..8f2a818 100644
--- a/src/itdb_sysinfo_extended_parser.c
+++ b/src/itdb_sysinfo_extended_parser.c
@@ -680,3 +680,12 @@ itdb_sysinfo_properties_get_firmware_version (const
SysInfoIpodProperties *props
return props->visible_build_id;
}
+
+gboolean
+itdb_sysinfo_properties_supports_sqlite (const SysInfoIpodProperties *props)
+{
+ g_return_val_if_fail (props != NULL, FALSE);
+
+ return props->sqlite_db;
+}
+
diff --git a/src/itdb_sysinfo_extended_parser.h
b/src/itdb_sysinfo_extended_parser.h
index 1c9726f..0fc33c5 100644
--- a/src/itdb_sysinfo_extended_parser.h
+++ b/src/itdb_sysinfo_extended_parser.h
@@ -66,6 +66,8 @@ G_GNUC_INTERNAL gboolean
itdb_sysinfo_properties_supports_podcast (const SysInfoIpodProperties *);
G_GNUC_INTERNAL const char *
itdb_sysinfo_properties_get_firmware_version (const SysInfoIpodProperties *);
+G_GNUC_INTERNAL gboolean
+itdb_sysinfo_properties_supports_sqlite (const SysInfoIpodProperties *props);
G_END_DECLS
------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
gtkpod-cvs2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2