X-Git-Url: http://git.draconx.ca/gitweb/upkg.git/blobdiff_plain/82202f3afe5b662d6896e91903e491630c1ec7dd..1906020cf2abc26cf8317a5a754dca7318802250:/src/uobject.h diff --git a/src/uobject.h b/src/uobject.h index dc8e088..efbe28d 100644 --- a/src/uobject.h +++ b/src/uobject.h @@ -22,7 +22,6 @@ #include #include "upkg.h" -#include "avl.h" #define U_OBJECT_TYPE u_object_get_type() #define U_OBJECT(obj) \ @@ -41,6 +40,10 @@ typedef struct UObjectClass UObjectClass; struct UObject { GObject parent; + + struct upkg *pkg; + struct upkg_file *pkg_file; + unsigned long pkg_idx; }; struct UObjectClass { @@ -54,6 +57,6 @@ GType u_object_get_type(void); const GValue *u_object_get_property(UObject *obj, const char *name); void u_object_set_property(UObject *obj, const char *name, const GValue *val); -int u_object_deserialize(GObject *obj, struct upkg_file *f); +int u_object_deserialize(GObject *obj, struct upkg *pkg, unsigned long idx); #endif