BEAST - Free Software Audio Synthesizer and Tracker  0.10.0
bstgconfig.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_GCONFIG_H__
3 #define __BST_GCONFIG_H__
4 
5 #include "bstutils.hh"
6 
7 G_BEGIN_DECLS
8 
9 /* --- BstGConfig - configurable defaults --- */
10 #define BST_RC_VERSION BST_GCONFIG (rc_version)
11 #define BST_GUI_ENABLE_ERROR_BELL BST_GCONFIG (gui_enable_error_bell)
12 #define BST_SNET_ANTI_ALIASED BST_GCONFIG (snet_anti_aliased)
13 #define BST_SNET_EDIT_FALLBACK BST_GCONFIG (snet_edit_fallback)
14 #define BST_SNET_SWAP_IO_CHANNELS BST_GCONFIG (snet_swap_io_channels)
15 
16 
17 /* --- prototypes --- */
18 void _bst_gconfig_init (void);
19 void bst_gconfig_set_rc_version (const gchar *rc_version);
20 void bst_gconfig_set_rec_rc_version (SfiRec *rec,
21  const gchar *rc_version);
22 void bst_gconfig_apply (SfiRec *rec);
23 GParamSpec* bst_gconfig_pspec (void);
24 void bst_gconfig_push_updates (void);
25 /* bstutils.hh: BstGConfig* bst_gconfig_get_global (void); */
26 
27 
28 /* --- rc file --- */
29 Bse::Error bst_rc_dump (const gchar *file_name);
30 Bse::Error bst_rc_parse (const gchar *file_name);
31 
32 G_END_DECLS
33 
34 #endif /* __BST_GCONFIG_H__ */