Ardour  9.0-pre0-582-g084a23a80d
pixbufformat.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 // Generated by gmmproc 2.45.3 -- DO NOT MODIFY!
3 #ifndef _GDKMM_PIXBUFFORMAT_H
4 #define _GDKMM_PIXBUFFORMAT_H
5 
6 
7 #include <glibmm/ustring.h>
8 #include <sigc++/sigc++.h>
9 
10 /* $Id: pixbufformat.hg,v 1.4 2005/01/05 17:30:16 murrayc Exp $ */
11 
12 /* Copyright (C) 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 Lesser General Public
16  * License as published by the Free Software Foundation; either
17  * version 2.1 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  * Lesser General Public License for more details.
23  *
24  * You should have received a copy of the GNU Lesser 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 
30 #include <gdkmmconfig.h>
31 #include <glibmm/arrayhandle.h>
32 
33 #ifndef DOXYGEN_SHOULD_SKIP_THIS
34 extern "C" { typedef struct _GdkPixbufFormat GdkPixbufFormat; }
35 #endif
36 
37 namespace Gdk
38 {
39 
41 {
42  public:
43 #ifndef DOXYGEN_SHOULD_SKIP_THIS
44  typedef PixbufFormat CppObjectType;
45  typedef GdkPixbufFormat BaseObjectType;
46 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
47 
48 private:
49 
50 
51 public:
53  explicit PixbufFormat(const GdkPixbufFormat* gobject);
54  virtual ~PixbufFormat();
55 
58 
59 
60  Glib::ustring get_name() const;
61 
62  Glib::ustring get_description() const;
63 
64  Glib::StringArrayHandle get_mime_types() const;
65 
66  Glib::StringArrayHandle get_extensions() const;
67 
68  bool is_writable() const;
69 
70 
71  bool is_scalable() const;
72 
73  bool is_disabled() const;
74 
75  void set_disabled(bool disabled = true);
76 
77  Glib::ustring get_license() const;
78 
80  GdkPixbufFormat* gobj() { return const_cast<GdkPixbufFormat*>(gobject_); }
82  const GdkPixbufFormat* gobj() const { return gobject_; }
83 
84 protected:
85  const GdkPixbufFormat* gobject_;
86 
87 
88 };
89 
90 } // namespace Gdk
91 
92 
93 #endif /* _GDKMM_PIXBUFFORMAT_H */
94 
bool is_writable() const
Glib::StringArrayHandle get_mime_types() const
virtual ~PixbufFormat()
Glib::StringArrayHandle get_extensions() const
void set_disabled(bool disabled=true)
Glib::ustring get_name() const
bool is_scalable() const
const GdkPixbufFormat * gobject_
Definition: pixbufformat.h:85
const GdkPixbufFormat * gobj() const
Provides access to the underlying C GObject.
Definition: pixbufformat.h:82
PixbufFormat(const GdkPixbufFormat *gobject)
Glib::ustring get_license() const
PixbufFormat & operator=(const PixbufFormat &src)
Glib::ustring get_description() const
bool is_disabled() const
PixbufFormat(const PixbufFormat &src)
GdkPixbufFormat * gobj()
Provides access to the underlying C GObject.
Definition: pixbufformat.h:80