summaryrefslogtreecommitdiffstats
path: root/src/itdb_device.h
diff options
context:
space:
mode:
authorteuf <teuf@f01d2545-417e-4e96-918e-98f8d0dbbcb6>2008-05-25 10:38:09 +0000
committerteuf <teuf@f01d2545-417e-4e96-918e-98f8d0dbbcb6>2008-05-25 10:38:09 +0000
commite36402aead91c157dbefd577cdf463759c2aa045 (patch)
treed24c80f92bfb89240b81a2dcdc97a6520f7016fc /src/itdb_device.h
parente6ec5b106163bcd4857d75d2027fcc318b245f50 (diff)
* configure.ac: check libxml presence
* src/Makefile.am: add new files, remove obsolete ones * src/itdb_plist.h: * src/itdb_plist.c: plist parser, this parses a plist XML file to a GHashTable of GValue *. This parser should be generic, ie it doesn't know it's parsing SysInfoExtended, it only cares about it being a plist file * src/itdb_sysinfo_extended_parser.h: * src/itdb_sysinfo_extended_parser.c: convert the parsed plist data to data structures usable by libgpod * src/itdb_device.h: * src/itdb_device.c: parses SysInfoExtended in addition to SysInfo * src/itdb_sysinfo.c: this hacky parser is obsoleted by the new (much more complete) SysInfoExtended parser, so it's removed * tests/Makefile.am: * tests/test-sysinfo-extended-parsing.c: small test program for the new parser git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1980 f01d2545-417e-4e96-918e-98f8d0dbbcb6
Diffstat (limited to 'src/itdb_device.h')
-rw-r--r--src/itdb_device.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/itdb_device.h b/src/itdb_device.h
index c21be94..0f4a8a7 100644
--- a/src/itdb_device.h
+++ b/src/itdb_device.h
@@ -40,6 +40,7 @@
#endif
#include "itdb.h"
+#include "itdb_sysinfo_extended_parser.h"
#include <glib.h>
@@ -85,6 +86,8 @@ struct _Itdb_Device
*/
GHashTable *sysinfo; /* hash with value/key pairs of all entries
* in Device/SysInfo */
+ SysInfoIpodProperties *sysinfo_extended; /* parsed content of
+ * SysInfoExtended, can be NULL */
gboolean sysinfo_changed; /* Has the sysinfo hash been changed by
the user (itdb_set_sysinfo) */
gint timezone_shift; /* difference in seconds between the current
@@ -109,8 +112,6 @@ struct _Itdb_ArtworkFormat
G_GNUC_INTERNAL const Itdb_ArtworkFormat *itdb_device_get_artwork_formats (Itdb_Device *device);
G_GNUC_INTERNAL gint itdb_device_musicdirs_number (Itdb_Device *device);
G_GNUC_INTERNAL void itdb_device_autodetect_endianess (Itdb_Device *device);
-G_GNUC_INTERNAL gboolean itdb_device_read_sysinfo_xml (Itdb_Device *device,
- GError **error);
G_GNUC_INTERNAL guint64 itdb_device_get_firewire_id (Itdb_Device *device);
G_END_DECLS