Install ardour as a binary, a script and a set of shared
[ardour.git] / libs / gtkmm2 / gtk / gtkmm / filechooserdialog.h
1 // -*- c++ -*-
2 // Generated by gtkmmproc -- DO NOT MODIFY!
3 #ifndef _GTKMM_FILECHOOSERDIALOG_H
4 #define _GTKMM_FILECHOOSERDIALOG_H
5
6 #include <glibmm.h>
7
8 /* $Id$ */
9
10 /* filechooserdialog.h
11  *
12  * Copyright (C) 1998-2002 The gtkmm Development Team
13  *
14  * This library is free software; you can redistribute it and/or
15  * modify it under the terms of the GNU Library General Public
16  * License as published by the Free Software Foundation; either
17  * version 2 of the License, or (at your option) any later version.
18  *
19  * This library is distributed in the hope that it will be useful,
20  * but WITHOUT ANY WARRANTY; without even the implied warranty of
21  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
22  * Library General Public License for more details.
23  *
24  * You should have received a copy of the GNU Library General Public
25  * License along with this library; if not, write to the Free
26  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
27  */
28
29 #include <gtkmm/dialog.h>
30 #include <gtkmm/filechooser.h>
31
32
33 #ifndef DOXYGEN_SHOULD_SKIP_THIS
34 typedef struct _GtkFileChooserDialog GtkFileChooserDialog;
35 typedef struct _GtkFileChooserDialogClass GtkFileChooserDialogClass;
36 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
37
38
39 namespace Gtk
40 { class FileChooserDialog_Class; } // namespace Gtk
41 namespace Gtk
42 {
43
44 /** Convenient file chooser window.
45  *
46  * @ingroup Dialogs
47  */
48
49 class FileChooserDialog
50   : public Dialog,
51     public FileChooser
52 {
53   public:
54 #ifndef DOXYGEN_SHOULD_SKIP_THIS
55   typedef FileChooserDialog CppObjectType;
56   typedef FileChooserDialog_Class CppClassType;
57   typedef GtkFileChooserDialog BaseObjectType;
58   typedef GtkFileChooserDialogClass BaseClassType;
59 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
60
61   virtual ~FileChooserDialog();
62
63 #ifndef DOXYGEN_SHOULD_SKIP_THIS
64
65 private:
66   friend class FileChooserDialog_Class;
67   static CppClassType filechooserdialog_class_;
68
69   // noncopyable
70   FileChooserDialog(const FileChooserDialog&);
71   FileChooserDialog& operator=(const FileChooserDialog&);
72
73 protected:
74   explicit FileChooserDialog(const Glib::ConstructParams& construct_params);
75   explicit FileChooserDialog(GtkFileChooserDialog* castitem);
76
77 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
78
79 public:
80 #ifndef DOXYGEN_SHOULD_SKIP_THIS
81   static GType get_type()      G_GNUC_CONST;
82   static GType get_base_type() G_GNUC_CONST;
83 #endif
84
85   ///Provides access to the underlying C GtkObject.
86   GtkFileChooserDialog*       gobj()       { return reinterpret_cast<GtkFileChooserDialog*>(gobject_); }
87
88   ///Provides access to the underlying C GtkObject.
89   const GtkFileChooserDialog* gobj() const { return reinterpret_cast<GtkFileChooserDialog*>(gobject_); }
90
91
92 public:
93   //C++ methods used to invoke GTK+ virtual functions:
94
95 protected:
96   //GTK+ Virtual Functions (override these to change behaviour):
97
98   //Default Signal Handlers::
99
100
101 private:
102
103   
104 public:
105   
106   explicit FileChooserDialog(Gtk::Window& parent, const Glib::ustring& title, FileChooserAction action = FILE_CHOOSER_ACTION_OPEN);
107   explicit FileChooserDialog(const Glib::ustring& title, FileChooserAction action = FILE_CHOOSER_ACTION_OPEN);
108
109   
110   explicit FileChooserDialog(Gtk::Window& parent, const Glib::ustring& title, FileChooserAction action, const Glib::ustring& backend);
111   explicit FileChooserDialog(const Glib::ustring& title, FileChooserAction action, const Glib::ustring& backend);
112
113
114 };
115
116 } // namespace Gtk
117
118
119 namespace Glib
120 {
121   /** @relates Gtk::FileChooserDialog
122    * @param object The C instance
123    * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
124    * @result A C++ instance that wraps this C instance.
125    */
126   Gtk::FileChooserDialog* wrap(GtkFileChooserDialog* object, bool take_copy = false);
127 }
128 #endif /* _GTKMM_FILECHOOSERDIALOG_H */
129