BEAST/BSE - Better Audio System and Sound Engine  0.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
bstmsgabsorb.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_MSG_ABSORB_H__
3 #define __BST_MSG_ABSORB_H__
4 
5 #include "bstutils.hh"
6 
7 G_BEGIN_DECLS
8 
9 /* --- access config file --- */
10 #define BST_STRDUP_ABSORBRC_FILE() (g_strconcat (g_get_home_dir (), "/.beast/absorbrc", NULL))
11 
12 /* --- prototypes --- */
13 void _bst_msg_absorb_config_init (void);
14 void bst_msg_absorb_config_apply (SfiSeq *seq);
15 GParamSpec* bst_msg_absorb_config_pspec (void);
16 BstMsgAbsorbStringSeq* bst_msg_absorb_config_get_global (void);
17 gboolean bst_msg_absorb_config_adjust (const gchar *config_blurb,
18  gboolean enabled,
19  gboolean update_version);
20 gboolean bst_msg_absorb_config_match (const gchar *config_blurb);
21 void bst_msg_absorb_config_update (const gchar *config_blurb);
22 GtkWidget* bst_msg_absorb_config_box (void);
23 void bst_msg_absorb_config_box_set (GtkWidget *box,
24  BstMsgAbsorbStringSeq *mass);
25 BstMsgAbsorbStringSeq* bst_msg_absorb_config_box_get (GtkWidget *box);
26 
27 /* --- config file --- */
28 void bst_msg_absorb_config_save (void);
29 void bst_msg_absorb_config_load (void);
30 
31 G_END_DECLS
32 
33 #endif /* __BST_MSG_ABSORB_H__ */