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_SKIN_CONFIG_H__ 00003 #define __BST_SKIN_CONFIG_H__ 00004 00005 #include "bstutils.hh" 00006 00007 G_BEGIN_DECLS 00008 00009 /* --- access skin config --- */ 00010 #define BST_SKIN_CONFIG(field) (* bst_skin_config_get_global ()) . field 00011 #define BST_SKIN_CONFIG_STRDUP_PATH(field) sfi_path_get_filename (BST_SKIN_CONFIG (field), bst_skin_config_dirname()) 00012 00013 /* --- prototypes --- */ 00014 void _bst_skin_config_init (void); 00015 void bst_skin_config_apply (SfiRec *rec, 00016 const gchar *skin_file); 00017 GParamSpec* bst_skin_config_pspec (void); 00018 BstSkinConfig* bst_skin_config_get_global (void); 00019 typedef void (*BstSkinConfigNotify) (gpointer data); 00020 void bst_skin_config_notify (void); 00021 void bst_skin_config_add_notify (BstSkinConfigNotify func, 00022 gpointer data); 00023 00024 00025 /* --- skin file --- */ 00026 void bst_skin_config_set_rcfile (const gchar *file_name); 00027 const gchar* bst_skin_config_rcfile (void); 00028 const gchar* bst_skin_config_dirname (void); 00029 BseErrorType bst_skin_dump (const gchar *file_name); 00030 BseErrorType bst_skin_parse (const gchar *file_name); 00031 00032 00033 G_END_DECLS 00034 00035 #endif /* __BST_SKIN_CONFIG_H__ */