diff options
| author | jcsjcs <jcsjcs@f01d2545-417e-4e96-918e-98f8d0dbbcb6> | 2007-04-27 14:09:59 +0000 |
|---|---|---|
| committer | jcsjcs <jcsjcs@f01d2545-417e-4e96-918e-98f8d0dbbcb6> | 2007-04-27 14:09:59 +0000 |
| commit | 3f355fe5888dbe534f95cb3bbe79bcb6315a87f5 (patch) | |
| tree | 3edd7b23d5848a943cfaa9a177800fc8f94f44e4 /src/itdb_device.h | |
| parent | 1697dc8977f5236d4223456137c09e2fb7227c85 (diff) | |
* docs/reference/tmpl/device.sgml
docs/reference/tmpl/itunesdb-time.sgml
docs/reference/tmpl/libgpod-unused.sgml
docs/reference/tmpl/track.sgml
src/db-artwork-parser.c
src/db-artwork-writer.c
src/db-itunes-parser.h
src/itdb.h
src/itdb_device.c
src/itdb_device.h
src/itdb_itunesdb.c
src/itdb_private.h
tests/Makefile.am:
Christophe's patch for automatic correction of timestamps
depending on which timezone the iPod is set to.
ATTENTION DEVELOPERS: as a consequence all exported timestamps
are no longer guint32 mac-type timestamps but standard time_t
timestamps. This also includes the 64 bit timestamps in smart
playlists. The following functions are therefore no longer
needed and are deprecated:
itdb_time_mac_to_host(), itdb_time_host_to_mac(): simply return
the argument without changing it. Argument and return value are
now both of type 'time_t'.
itunesdb_time_get_mac_time(): returns the seconds passed since
Epoch in seconds and is equivalent to time(NULL).
These functions may be removed in a future version of
libgpod. Programs linking to libgpod may need to be changed
slightly if they made any assumptions on the type of timestamps
used. This should be obvious through compile-time warnings.
tests/test-ls.c: print a list of recently played tracks.
git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1417 f01d2545-417e-4e96-918e-98f8d0dbbcb6
Diffstat (limited to 'src/itdb_device.h')
| -rw-r--r-- | src/itdb_device.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/itdb_device.h b/src/itdb_device.h index 0601ea4..bba6f48 100644 --- a/src/itdb_device.h +++ b/src/itdb_device.h @@ -1,6 +1,5 @@ -/* Time-stamp: <2006-11-12 23:03:35 jcs> -| -| Copyright (C) 2002-2005 Jorg Schuler <jcsjcs at users sourceforge net> +/* +| Copyright (C) 2002-2007 Jorg Schuler <jcsjcs at users sourceforge net> | Part of the gtkpod project. | | URL: http://www.gtkpod.org/ @@ -71,6 +70,10 @@ struct _Itdb_Device * in Device/SysInfo */ gboolean sysinfo_changed; /* Has the sysinfo hash been changed by the user (itdb_set_sysinfo) */ + gint timezone_shift; /* difference in seconds between the current + * timezone and UTC + */ + }; struct _Itdb_ArtworkFormat |
