1 /* gtkrecentchooserutils.h - Private utility functions for implementing a
2 * GtkRecentChooser interface
4 * Copyright (C) 2006 Emmanuele Bassi
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either
11 * version 2 of the License, or (at your option) any later version.
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Library General Public License for more details.
18 * You should have received a copy of the GNU Library General Public
19 * License along with this library; if not, write to the
20 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
21 * Boston, MA 02111-1307, USA.
23 * Based on gtkfilechooserutils.h:
24 * Copyright (C) 2003 Red Hat, Inc.
27 #ifndef __GTK_RECENT_CHOOSER_UTILS_H__
28 #define __GTK_RECENT_CHOOSER_UTILS_H__
30 #include "gtkrecentchooserprivate.h"
35 #define GTK_RECENT_CHOOSER_DELEGATE_QUARK (_gtk_recent_chooser_delegate_get_quark ())
38 GTK_RECENT_CHOOSER_PROP_FIRST = 0x3000,
39 GTK_RECENT_CHOOSER_PROP_RECENT_MANAGER,
40 GTK_RECENT_CHOOSER_PROP_SHOW_PRIVATE,
41 GTK_RECENT_CHOOSER_PROP_SHOW_NOT_FOUND,
42 GTK_RECENT_CHOOSER_PROP_SHOW_TIPS,
43 GTK_RECENT_CHOOSER_PROP_SHOW_ICONS,
44 GTK_RECENT_CHOOSER_PROP_SELECT_MULTIPLE,
45 GTK_RECENT_CHOOSER_PROP_LIMIT,
46 GTK_RECENT_CHOOSER_PROP_LOCAL_ONLY,
47 GTK_RECENT_CHOOSER_PROP_SORT_TYPE,
48 GTK_RECENT_CHOOSER_PROP_FILTER,
49 GTK_RECENT_CHOOSER_PROP_LAST
50 } GtkRecentChooserProp;
52 void _gtk_recent_chooser_install_properties (GObjectClass *klass);
54 void _gtk_recent_chooser_delegate_iface_init (GtkRecentChooserIface *iface);
55 void _gtk_recent_chooser_set_delegate (GtkRecentChooser *receiver,
56 GtkRecentChooser *delegate);
58 GQuark _gtk_recent_chooser_delegate_get_quark (void) G_GNUC_CONST;
62 #endif /* __GTK_RECENT_CHOOSER_UTILS_H__ */