BEAST - Free Software Audio Synthesizer and Tracker  0.9.2
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 G_BEGIN_DECLS
8 
9 
10 /* --- Gtk+ type macros --- */
11 #define BST_TYPE_WAVE_VIEW (bst_wave_view_get_type ())
12 #define BST_WAVE_VIEW(object) (GTK_CHECK_CAST ((object), BST_TYPE_WAVE_VIEW, BstWaveView))
13 #define BST_WAVE_VIEW_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), BST_TYPE_WAVE_VIEW, BstWaveViewClass))
14 #define BST_IS_WAVE_VIEW(object) (GTK_CHECK_TYPE ((object), BST_TYPE_WAVE_VIEW))
15 #define BST_IS_WAVE_VIEW_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), BST_TYPE_WAVE_VIEW))
16 #define BST_WAVE_VIEW_GET_CLASS(obj) (GTK_CHECK_GET_CLASS ((obj), BST_TYPE_WAVE_VIEW, BstWaveViewClass))
17 
18 
19 /* --- structures & typedefs --- */
20 typedef struct _BstWaveView BstWaveView;
21 typedef struct _BstWaveViewClass BstWaveViewClass;
23 {
24  BstItemView parent_object;
25  guint editable : 1;
26 };
28 {
29  BstItemViewClass parent_class;
30 };
31 
32 
33 /* --- prototypes --- */
34 GType bst_wave_view_get_type (void);
35 GtkWidget* bst_wave_view_new (SfiProxy wrepo);
36 void bst_wave_view_set_editable (BstWaveView *self,
37  gboolean enabled);
38 
39 G_END_DECLS
40 
41 #endif /* __BST_WAVE_VIEW_H__ */
Definition: bstwaveview.hh:27
Definition: bstwaveview.hh:22