]> Pileus Git - ~andy/gtk/blob - gtk/gtkrecentchooserprivate.h
Move filtering of the recent files list into the shared implementation; do
[~andy/gtk] / gtk / gtkrecentchooserprivate.h
1 /* gtkrecentprivatechooser.h - Interface definitions for recent selectors UI
2  *
3  * Copyright (C) 2006 Emmanuele Bassi
4  *
5  * All rights reserved
6  *
7  * This library is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU Library General Public
9  * License as published by the Free Software Foundation; either
10  * version 2 of the License, or (at your option) any later version.
11  *
12  * This library is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15  * Library General Public License for more details.
16  *
17  * You should have received a copy of the GNU Library General Public
18  * License along with this library; if not, write to the
19  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
20  * Boston, MA 02111-1307, USA.
21  */
22  
23 #ifndef __GTK_RECENT_CHOOSER_PRIVATE_H__
24 #define __GTK_RECENT_CHOOSER_PRIVATE_H__
25
26 #include <glib-object.h>
27
28 #include "gtkrecentmanager.h"
29 #include "gtkrecentchooser.h"
30
31 G_BEGIN_DECLS
32
33 GtkRecentManager *_gtk_recent_chooser_get_recent_manager (GtkRecentChooser  *chooser);
34 GList *           _gtk_recent_chooser_get_items          (GtkRecentChooser  *chooser,
35                                                           GtkRecentFilter   *filter,
36                                                           GtkRecentSortFunc  func,
37                                                           gpointer           data);
38
39 void              _gtk_recent_chooser_item_activated     (GtkRecentChooser  *chooser);
40 void              _gtk_recent_chooser_selection_changed  (GtkRecentChooser  *chooser);
41
42 G_END_DECLS
43  
44 #endif /* ! __GTK_RECENT_CHOOSER_PRIVATE_H__ */