BEAST/BSE - Better Audio System and Sound Engine
0.8.2
|
00001 // Licensed GNU LGPL v2.1 or later: http://www.gnu.org/licenses/lgpl.html 00002 #ifndef __BST_GCONFIG_H__ 00003 #define __BST_GCONFIG_H__ 00004 00005 #include "bstutils.hh" 00006 00007 G_BEGIN_DECLS 00008 00009 /* --- BstGConfig - configurable defaults --- */ 00010 #define BST_RC_VERSION BST_GCONFIG (rc_version) 00011 #define BST_GUI_ENABLE_ERROR_BELL BST_GCONFIG (gui_enable_error_bell) 00012 #define BST_SNET_ANTI_ALIASED BST_GCONFIG (snet_anti_aliased) 00013 #define BST_SNET_EDIT_FALLBACK BST_GCONFIG (snet_edit_fallback) 00014 #define BST_SNET_SWAP_IO_CHANNELS BST_GCONFIG (snet_swap_io_channels) 00015 00016 00017 /* --- prototypes --- */ 00018 void _bst_gconfig_init (void); 00019 void bst_gconfig_set_rc_version (const gchar *rc_version); 00020 void bst_gconfig_set_rec_rc_version (SfiRec *rec, 00021 const gchar *rc_version); 00022 void bst_gconfig_apply (SfiRec *rec); 00023 GParamSpec* bst_gconfig_pspec (void); 00024 void bst_gconfig_push_updates (void); 00025 /* bstutils.hh: BstGConfig* bst_gconfig_get_global (void); */ 00026 00027 00028 /* --- rc file --- */ 00029 BseErrorType bst_rc_dump (const gchar *file_name); 00030 BseErrorType bst_rc_parse (const gchar *file_name); 00031 00032 G_END_DECLS 00033 00034 #endif /* __BST_GCONFIG_H__ */