BEAST - Free Software Audio Synthesizer and Tracker  0.9.2
bstplaylist.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_PLAY_LIST_H__
3 #define __BST_PLAY_LIST_H__
4 
5 #include "bstutils.hh"
6 
7 #ifdef __cplusplus
8 extern "C" {
9 #endif /* __cplusplus */
10 
11 
12 /* --- Gtk+ type macros --- */
13 #define BST_TYPE_PLAY_LIST (bst_play_list_get_type ())
14 #define BST_PLAY_LIST(object) (GTK_CHECK_CAST ((object), BST_TYPE_PLAY_LIST, BstPlayList))
15 #define BST_PLAY_LIST_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), BST_TYPE_PLAY_LIST, BstPlayListClass))
16 #define BST_IS_PLAY_LIST(object) (GTK_CHECK_TYPE ((object), BST_TYPE_PLAY_LIST))
17 #define BST_IS_PLAY_LIST_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), BST_TYPE_PLAY_LIST))
18 #define BST_PLAY_LIST_GET_CLASS(obj) (GTK_CHECK_GET_CLASS ((obj), BST_TYPE_PLAY_LIST, BstPlayListClass))
19 
20 
21 /* --- structures & typedefs --- */
22 typedef struct _BstPlayList BstPlayList;
23 typedef struct _BstPlayListClass BstPlayListClass;
25 {
26  GtkVPaned parent_object;
27 
28  BseSong *song;
29 
30  GtkWidget *pattern_list;
31  GtkWidget *group_list;
32  GtkSizeGroup *size_group;
33 };
35 {
36  GtkVPanedClass parent_class;
37 };
38 
39 
40 /* --- prototypes --- */
41 GtkType bst_play_list_get_type (void);
42 GtkWidget* bst_play_list_new (BseSong *song);
43 void bst_play_list_set_song (BstPlayList *plist,
44  BseSong *song);
45 void bst_play_list_rebuild (BstPlayList *plist);
46 
47 
48 
49 #ifdef __cplusplus
50 }
51 #endif /* __cplusplus */
52 
53 #endif /* __BST_PLAY_LIST_H__ */
Definition: bstplaylist.hh:34
Definition: bstplaylist.hh:24
Definition: bsesong.hh:25