diff options
author | Søren Sandmann Pedersen <ssp@src.gnome.org> | 2004-11-12 15:21:07 +0000 |
---|---|---|
committer | Søren Sandmann Pedersen <ssp@src.gnome.org> | 2004-11-12 15:21:07 +0000 |
commit | 17e3ce236bc8cd7af0e9094686125278b4285a94 (patch) | |
tree | 59f47ee3214896d8b61139dbdc3f40e490257c3d /profile.h | |
parent | 5136a4049c449d1ef7a17abc6146bc4ecd12a352 (diff) |
various small fixes
Diffstat (limited to 'profile.h')
-rw-r--r-- | profile.h | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -49,12 +49,6 @@ struct ProfileDescendant int marked_total; }; -struct Profile -{ - gint profile_size; - GList * objects; -}; - struct ProfileCaller { ProfileObject * object; /* can be NULL */ @@ -66,9 +60,16 @@ struct ProfileCaller Profile * profile_new (StackStash *stash); void profile_free (Profile *profile); +gint profile_get_size (Profile *profile); +GList * profile_get_objects (Profile *profile); ProfileDescendant *profile_create_descendants (Profile *prf, ProfileObject *object); ProfileCaller * profile_list_callers (Profile *profile, ProfileObject *callee); void profile_caller_free (ProfileCaller *caller); void profile_descendant_free (ProfileDescendant *descendant); +gboolean profile_save (Profile *profile, + const char *file_name, + GError **err); +Profile * profile_load (const char *filename, + GError **err); |