diff src/audacious/tuple.h @ 3498:9fcb90613e4f trunk

Added types to base tuples.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 07 Sep 2007 06:42:00 +0300
parents 6f34cc4217b9
children 6b0be1d088e6
line wrap: on
line diff
--- a/src/audacious/tuple.h	Wed Sep 05 10:09:11 2007 +0300
+++ b/src/audacious/tuple.h	Fri Sep 07 06:42:00 2007 +0300
@@ -54,8 +54,6 @@
     FIELD_LAST
 };
 
-extern const gchar *tuple_fields[FIELD_LAST];
-
 typedef enum {
     TUPLE_STRING,
     TUPLE_INT,
@@ -63,6 +61,13 @@
 } TupleValueType;
 
 typedef struct {
+    gchar *name;
+    TupleValueType type;
+} TupleBasicType;
+
+extern const TupleBasicType tuple_fields[FIELD_LAST];
+
+typedef struct {
     TupleValueType type;
     union {
         gchar *string;