summaryrefslogtreecommitdiffstats
path: root/src/itdb.h
diff options
context:
space:
mode:
authorJorg Schuler <jcsjcs@users.sourceforge.net>2006-06-01 15:45:28 +0000
committerJorg Schuler <jcsjcs@users.sourceforge.net>2006-06-01 15:45:28 +0000
commit4b4d3bf8d9f1fbe1d15e260a08fda2c347eb4d52 (patch)
tree357ea03987d9101f0cadb57d1906d4bebae99d36 /src/itdb.h
parent821efbba91524de002c812c2b43a9ef21c3a912e (diff)
downloadlibgpod-4b4d3bf8d9f1fbe1d15e260a08fda2c347eb4d52.tar.gz
libgpod-4b4d3bf8d9f1fbe1d15e260a08fda2c347eb4d52.tar.xz
libgpod-4b4d3bf8d9f1fbe1d15e260a08fda2c347eb4d52.zip
* src/itdb.h:
src/itdb_private.h: moved Itdb_DB to private part. * src/itdb.h: src/itdb_private.h: src/itdb_itunesdb: New: db_get_itunesdb(), db_get_photodb() * src/db-artwork-parser.c src/db-artwork-writer.c src/db-image-parser.c src/db-image-parser.h src/db-parse-context.c src/db-parse-context.h src/itdb_endianness.h src/itdb_itunesdb.c src/ithumb-writer.c: Remove all direct access to Itdb_DB->db. enum git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1296 f01d2545-417e-4e96-918e-98f8d0dbbcb6
Diffstat (limited to 'src/itdb.h')
-rw-r--r--src/itdb.h18
1 files changed, 1 insertions, 17 deletions
diff --git a/src/itdb.h b/src/itdb.h
index d0fa65e..c7ec9c6 100644
--- a/src/itdb.h
+++ b/src/itdb.h
@@ -1,4 +1,4 @@
-/* Time-stamp: <2006-05-30 21:59:40 jcs>
+/* Time-stamp: <2006-06-01 23:07:57 jcs>
|
| Copyright (C) 2002-2005 Jorg Schuler <jcsjcs at users sourceforge net>
| Part of the gtkpod project.
@@ -62,7 +62,6 @@ typedef struct _SPLRule SPLRule;
typedef struct _SPLRules SPLRules;
typedef struct _Itdb_iTunesDB Itdb_iTunesDB;
typedef struct _Itdb_PhotoDB Itdb_PhotoDB;
-typedef struct _Itdb_DB Itdb_DB;
typedef struct _Itdb_Playlist Itdb_Playlist;
typedef struct _Itdb_PhotoAlbum Itdb_PhotoAlbum;
typedef struct _Itdb_Track Itdb_Track;
@@ -405,21 +404,6 @@ struct _SPLRules
/* one star is how much (track->rating) */
#define ITDB_RATING_STEP 20
-enum _DbType {
- DB_TYPE_ITUNES,
- DB_TYPE_PHOTO
-};
-
-typedef enum _DbType DbType;
-
-struct _Itdb_DB{
- DbType db_type;
- union {
- Itdb_PhotoDB *photodb;
- Itdb_iTunesDB *itdb;
- } db;
-};
-
struct _Itdb_PhotoDB
{
GList *photos;