BEAST/BSE - Better Audio System and Sound Engine  0.8.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
bstwaveview.hh
Go to the documentation of this file.
00001  // Licensed GNU LGPL v2.1 or later: http://www.gnu.org/licenses/lgpl.html
00002 #ifndef __BST_WAVE_VIEW_H__
00003 #define __BST_WAVE_VIEW_H__
00004 
00005 #include        "bstitemview.hh"
00006 
00007 G_BEGIN_DECLS
00008 
00009 
00010 /* --- Gtk+ type macros --- */
00011 #define BST_TYPE_WAVE_VIEW            (bst_wave_view_get_type ())
00012 #define BST_WAVE_VIEW(object)         (GTK_CHECK_CAST ((object), BST_TYPE_WAVE_VIEW, BstWaveView))
00013 #define BST_WAVE_VIEW_CLASS(klass)    (GTK_CHECK_CLASS_CAST ((klass), BST_TYPE_WAVE_VIEW, BstWaveViewClass))
00014 #define BST_IS_WAVE_VIEW(object)      (GTK_CHECK_TYPE ((object), BST_TYPE_WAVE_VIEW))
00015 #define BST_IS_WAVE_VIEW_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), BST_TYPE_WAVE_VIEW))
00016 #define BST_WAVE_VIEW_GET_CLASS(obj)  (GTK_CHECK_GET_CLASS ((obj), BST_TYPE_WAVE_VIEW, BstWaveViewClass))
00017 
00018 
00019 /* --- structures & typedefs --- */
00020 typedef struct  _BstWaveView            BstWaveView;
00021 typedef struct  _BstWaveViewClass       BstWaveViewClass;
00022 struct _BstWaveView
00023 {
00024   BstItemView    parent_object;
00025   guint          editable : 1;
00026 };
00027 struct _BstWaveViewClass
00028 {
00029   BstItemViewClass parent_class;
00030 };
00031 
00032 
00033 /* --- prototypes --- */
00034 GType           bst_wave_view_get_type          (void);
00035 GtkWidget*      bst_wave_view_new               (SfiProxy     wrepo);
00036 void            bst_wave_view_set_editable      (BstWaveView *self,
00037                                                  gboolean     enabled);
00038 
00039 G_END_DECLS
00040 
00041 #endif /* __BST_WAVE_VIEW_H__ */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines