Merged revisions 6293,6296-6306,6308 via svnmerge from
[ardour.git] / libs / gtkmm2 / gtk / src / filechooserdialog.hg
1 /* $Id: filechooserdialog.hg,v 1.4 2005/01/09 12:42:07 murrayc Exp $ */
2
3 /* filechooserdialog.h
4  *
5  * Copyright (C) 1998-2002 The gtkmm Development Team
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 Free
19  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20  */
21
22 #include <gtkmm/dialog.h>
23 #include <gtkmm/filechooser.h>
24
25 _DEFS(gtkmm,gtk)
26 _PINCLUDE(gtkmm/private/dialog_p.h)
27
28 namespace Gtk
29 {
30
31 /** Convenient file chooser window.
32  *
33  * @ingroup Dialogs
34  */
35 class FileChooserDialog
36   : public Dialog,
37     public FileChooser
38 {
39   _CLASS_GTKOBJECT(FileChooserDialog, GtkFileChooserDialog, GTK_FILE_CHOOSER_DIALOG, Gtk::Dialog, GtkDialog)
40   _IMPLEMENTS_INTERFACE(FileChooser)
41   _UNMANAGEABLE
42 public:
43   _IGNORE(gtk_file_chooser_dialog_new)
44   explicit FileChooserDialog(Gtk::Window& parent, const Glib::ustring& title, FileChooserAction action = FILE_CHOOSER_ACTION_OPEN);
45   explicit FileChooserDialog(const Glib::ustring& title, FileChooserAction action = FILE_CHOOSER_ACTION_OPEN);
46
47   _IGNORE(gtk_file_chooser_dialog_new_with_backend)
48   explicit FileChooserDialog(Gtk::Window& parent, const Glib::ustring& title, FileChooserAction action, const Glib::ustring& backend);
49   explicit FileChooserDialog(const Glib::ustring& title, FileChooserAction action, const Glib::ustring& backend);
50 };
51
52 } // namespace Gtk
53