/*
* upkg: tool for manipulating Unreal Tournament packages.
- * Copyright (C) 2009 Nick Bowler
+ * Copyright © 2009-2011 Nick Bowler
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
struct UObjectClass {
GObjectClass parent;
- int (*deserialize)(UObject *obj, struct upkg_file *f);
+ int (*deserialize)(UObject *obj);
};
GType u_object_get_type(void);
int u_object_deserialize(GObject *obj, struct upkg *pkg, unsigned long idx);
+GObject *u_object_new_from_package(struct upkg *pkg, unsigned long idx);
+
#endif