1 /* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 #ifndef __GNOME_RECENT_MODEL_H__
3 #define __GNOME_RECENT_MODEL_H__
5 #include <libbonoboui.h>
9 #define GNOME_RECENT_MODEL(obj) G_TYPE_CHECK_INSTANCE_CAST (obj, gnome_recent_model_get_type (), GnomeRecentModel)
10 #define GNOME_RECENT_MODEL_CLASS(klass) G_TYPE_CHECK_CLASS_CAST (klass, gnome_recent_model_get_type (), GnomeRecentModelClass)
11 #define GNOME_IS_RECENT_MODEL(obj) G_TYPE_CHECK_INSTANCE_TYPE (obj, gnome_recent_model_get_type ())
13 typedef struct _GnomeRecentModel GnomeRecentModel;
15 typedef struct _GnomeRecentModelClass GnomeRecentModelClass;
17 GType gnome_recent_model_get_type (void);
20 GnomeRecentModel * gnome_recent_model_new (const gchar *appname,
22 GnomeRecentModel * gnome_recent_model_new_global (void);
27 gboolean gnome_recent_model_add (GnomeRecentModel *recent,
29 gboolean gnome_recent_model_delete (GnomeRecentModel *recent,
31 void gnome_recent_model_clear (GnomeRecentModel *recent);
32 GSList * gnome_recent_model_get_list (GnomeRecentModel *recent);
33 void gnome_recent_model_set_limit (GnomeRecentModel *recent,
35 gint gnome_recent_model_get_limit (GnomeRecentModel *recent);
36 gchar *gnome_recent_model_get_appname (GnomeRecentModel *recent);
40 #endif /* __GNOME_RECENT_MODEL_H__ */