Guitarix
knob.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 // Generated by gtkmmproc -- DO NOT MODIFY!
3 #ifndef _GXWMM_KNOB_H
4 #define _GXWMM_KNOB_H
5 
6 
7 #include <glibmm/ustring.h>
8 #include <sigc++/sigc++.h>
9 
10 /*
11  * Copyright (C) 2009, 2010 Hermann Meyer, James Warden, Andreas Degert
12  *
13  * This program is free software; you can redistribute it and/or modify
14  * it under the terms of the GNU General Public License as published by
15  * the Free Software Foundation; either version 2 of the License, or
16  * (at your option) any later version.
17  *
18  * This program 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
21  * GNU General Public License for more details.
22  *
23  * You should have received a copy of the GNU General Public License
24  * along with this program; if not, write to the Free Software
25  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
26  */
27 
28 #include <gxwmm/regler.h>
29 
30 
31 #ifndef DOXYGEN_SHOULD_SKIP_THIS
32 typedef struct _GxKnob GxKnob;
33 typedef struct _GxKnobClass GxKnobClass;
34 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
35 
36 
37 namespace Gxw
38 { class Knob_Class; } // namespace Gxw
39 namespace Gxw {
40 
41 
42 class Knob: public Gxw::Regler {
43  public:
44 #ifndef DOXYGEN_SHOULD_SKIP_THIS
49 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
50 
51  virtual ~Knob();
52 
53 #ifndef DOXYGEN_SHOULD_SKIP_THIS
54 
55 private:
56  friend class Knob_Class;
57  static CppClassType knob_class_;
58 
59  // noncopyable
60  Knob(const Knob&);
61  Knob& operator=(const Knob&);
62 
63 protected:
64  explicit Knob(const Glib::ConstructParams& construct_params);
65  explicit Knob(GxKnob* castitem);
66 
67 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
68 
69 public:
70 #ifndef DOXYGEN_SHOULD_SKIP_THIS
71  static GType get_type() G_GNUC_CONST;
72 
73 
74  static GType get_base_type() G_GNUC_CONST;
75 #endif
76 
78  GxKnob* gobj() { return reinterpret_cast<GxKnob*>(gobject_); }
79 
81  const GxKnob* gobj() const { return reinterpret_cast<GxKnob*>(gobject_); }
82 
83 
84 public:
85  //C++ methods used to invoke GTK+ virtual functions:
86 
87 protected:
88  //GTK+ Virtual Functions (override these to change behaviour):
89 
90  //Default Signal Handlers::
91 
92 
93 private:
94 
95  protected:
96  Knob();
97 
98 
99 };
100 
101 
102 } // namespace Gxw
103 
104 
105 namespace Glib
106 {
115  Gxw::Knob* wrap(GxKnob* object, bool take_copy = false);
116 } //namespace Glib
117 
118 
119 #endif /* _GXWMM_KNOB_H */
120 
Glib
Definition: bigknob.cc:41
Gxw::ControlParameter::CppClassType
ControlParameter_Class CppClassType
Definition: controlparameter.h:55
Gxw::Knob::get_type
static GType get_type() G_GNUC_CONST
Definition: knob.cc:110
GxKnob
struct _GxKnob GxKnob
Definition: knob.h:32
GxKnobClass
struct _GxKnobClass GxKnobClass
Definition: knob.h:33
Gxw::Knob::gobj
const GxKnob * gobj() const
Provides access to the underlying C GtkObject.
Definition: knob.h:81
Gxw::Knob::Knob
Knob()
Definition: knob.cc:122
Gxw::Knob::~Knob
virtual ~Knob()
Definition: knob.cc:103
Gxw
Definition: bigknob.cc:51
Glib::wrap
Gxw::BigKnob * wrap(GxBigKnob *object, bool take_copy)
Definition: bigknob.cc:44
Gxw::Knob::BaseObjectType
GxKnob BaseObjectType
Definition: knob.h:47
Gxw::Knob::gobj
GxKnob * gobj()
Provides access to the underlying C GtkObject.
Definition: knob.h:78
Gxw::Knob::CppClassType
Knob_Class CppClassType
Definition: knob.h:46
Gxw::Knob_Class
Definition: wrap_init.cc:91
Gxw::Knob
Definition: knob.h:42
Gxw::Regler
Definition: regler.h:45
G_GNUC_CONST
#define G_GNUC_CONST
Definition: wrap_init.cc:8
Gxw::Knob::get_base_type
static GType get_base_type() G_GNUC_CONST
Definition: knob.cc:116
Gxw::Knob::CppObjectType
Knob CppObjectType
Definition: knob.h:45
Gxw::Knob::BaseClassType
GxKnobClass BaseClassType
Definition: knob.h:48