Remove ancient/unused flowcanvas and libglademm from repository.
[ardour.git] / libs / gtkmm2 / gtk / gtkmm / recentchooserdialog.h
1 // -*- c++ -*-
2 // Generated by gtkmmproc -- DO NOT MODIFY!
3 #ifndef _GTKMM_RECENTCHOOSERDIALOG_H
4 #define _GTKMM_RECENTCHOOSERDIALOG_H
5
6
7 #include <glibmm.h>
8
9 /* recentchooserdialog.h
10  *
11  * Copyright (C) 2006 The gtkmm Development Team
12  *
13  * This library is free software; you can redistribute it and/or
14  * modify it under the terms of the GNU Library General Public
15  * License as published by the Free Software Foundation; either
16  * version 2 of the License, or (at your option) any later version.
17  *
18  * This library is distributed in the hope that it will be useful,
19  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
21  * Library General Public License for more details.
22  *
23  * You should have received a copy of the GNU Library General Public
24  * License along with this library; if not, write to the Free
25  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
26  */
27
28 #include <gtkmm/dialog.h>
29 #include <gtkmm/recentchooser.h>
30
31
32 #ifndef DOXYGEN_SHOULD_SKIP_THIS
33 typedef struct _GtkRecentChooserDialog GtkRecentChooserDialog;
34 typedef struct _GtkRecentChooserDialogClass GtkRecentChooserDialogClass;
35 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
36
37
38 namespace Gtk
39 { class RecentChooserDialog_Class; } // namespace Gtk
40 namespace Gtk
41 {
42
43 /** RecentChooserDialog is a dialog box suitable for displaying the recently
44  * used documents. This widget works by putting a RecentChooserWidget inside
45  * a Dialog. It exposes the RecentChooser interface, so you can use
46  * all the RecentChooser functions on the recent chooser dialog as well as
47  * those for Dialog.
48  *
49  * Note that RecentChooserDialog does not have any methods of its own.
50  * Instead, you should use the functions that work on a RecentChooser.
51  *
52  * @newin2p10
53  *
54  * @ingroup RecentFiles
55  */
56
57 class RecentChooserDialog
58   : public Dialog,
59     public RecentChooser
60 {
61   public:
62 #ifndef DOXYGEN_SHOULD_SKIP_THIS
63   typedef RecentChooserDialog CppObjectType;
64   typedef RecentChooserDialog_Class CppClassType;
65   typedef GtkRecentChooserDialog BaseObjectType;
66   typedef GtkRecentChooserDialogClass BaseClassType;
67 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
68
69   virtual ~RecentChooserDialog();
70
71 #ifndef DOXYGEN_SHOULD_SKIP_THIS
72
73 private:
74   friend class RecentChooserDialog_Class;
75   static CppClassType recentchooserdialog_class_;
76
77   // noncopyable
78   RecentChooserDialog(const RecentChooserDialog&);
79   RecentChooserDialog& operator=(const RecentChooserDialog&);
80
81 protected:
82   explicit RecentChooserDialog(const Glib::ConstructParams& construct_params);
83   explicit RecentChooserDialog(GtkRecentChooserDialog* castitem);
84
85 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
86
87 public:
88 #ifndef DOXYGEN_SHOULD_SKIP_THIS
89   static GType get_type()      G_GNUC_CONST;
90   static GType get_base_type() G_GNUC_CONST;
91 #endif
92
93   ///Provides access to the underlying C GtkObject.
94   GtkRecentChooserDialog*       gobj()       { return reinterpret_cast<GtkRecentChooserDialog*>(gobject_); }
95
96   ///Provides access to the underlying C GtkObject.
97   const GtkRecentChooserDialog* gobj() const { return reinterpret_cast<GtkRecentChooserDialog*>(gobject_); }
98
99
100 public:
101   //C++ methods used to invoke GTK+ virtual functions:
102 #ifdef GLIBMM_VFUNCS_ENABLED
103 #endif //GLIBMM_VFUNCS_ENABLED
104
105 protected:
106   //GTK+ Virtual Functions (override these to change behaviour):
107 #ifdef GLIBMM_VFUNCS_ENABLED
108 #endif //GLIBMM_VFUNCS_ENABLED
109
110   //Default Signal Handlers::
111 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
112 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
113
114
115 private:
116
117   
118 public:
119   
120   explicit RecentChooserDialog(Gtk::Window& parent, const Glib::ustring& title);
121   explicit RecentChooserDialog(const Glib::ustring& title);
122
123   
124   explicit RecentChooserDialog(Gtk::Window& parent, const Glib::ustring& title, const Glib::RefPtr<RecentManager>& recent_manager);
125   explicit RecentChooserDialog(const Glib::ustring& title, const Glib::RefPtr<RecentManager>& recent_manager);
126
127
128 };
129
130 } // namespace Gtk
131
132
133 namespace Glib
134 {
135   /** A Glib::wrap() method for this object.
136    * 
137    * @param object The C instance.
138    * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
139    * @result A C++ instance that wraps this C instance.
140    *
141    * @relates Gtk::RecentChooserDialog
142    */
143   Gtk::RecentChooserDialog* wrap(GtkRecentChooserDialog* object, bool take_copy = false);
144 } //namespace Glib
145
146
147 #endif /* _GTKMM_RECENTCHOOSERDIALOG_H */
148