Beast - Music Synthesizer and Composer  0.11.1+10.g2da35
bstwaveview.hh
Go to the documentation of this file.
1  // Licensed GNU LGPL v2.1 or later: http://www.gnu.org/licenses/lgpl.html
2 #ifndef __BST_WAVE_VIEW_H__
3 #define __BST_WAVE_VIEW_H__
4 
5 #include "bstitemview.hh"
6 
7 
8 /* --- Gtk+ type macros --- */
9 #define BST_TYPE_WAVE_VIEW (bst_wave_view_get_type ())
10 #define BST_WAVE_VIEW(object) (GTK_CHECK_CAST ((object), BST_TYPE_WAVE_VIEW, BstWaveView))
11 #define BST_WAVE_VIEW_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), BST_TYPE_WAVE_VIEW, BstWaveViewClass))
12 #define BST_IS_WAVE_VIEW(object) (GTK_CHECK_TYPE ((object), BST_TYPE_WAVE_VIEW))
13 #define BST_IS_WAVE_VIEW_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), BST_TYPE_WAVE_VIEW))
14 #define BST_WAVE_VIEW_GET_CLASS(obj) (GTK_CHECK_GET_CLASS ((obj), BST_TYPE_WAVE_VIEW, BstWaveViewClass))
15 
16 
17 /* --- structures & typedefs --- */
18 typedef struct _BstWaveView BstWaveView;
19 typedef struct _BstWaveViewClass BstWaveViewClass;
21 {
22  BstItemView parent_object;
23  guint editable : 1;
24 };
26 {
27  BstItemViewClass parent_class;
28 };
29 
30 
31 /* --- prototypes --- */
32 GType bst_wave_view_get_type (void);
33 GtkWidget* bst_wave_view_new (SfiProxy wrepo);
34 void bst_wave_view_set_editable (BstWaveView *self,
35  gboolean enabled);
36 
37 #endif /* __BST_WAVE_VIEW_H__ */
Definition: bstwaveview.hh:25
Definition: bstwaveview.hh:20