diff options
author | Quentin Glidic <sardemff7+git@sardemff7.net> | 2017-03-28 22:56:33 +0200 |
---|---|---|
committer | Quentin Glidic <sardemff7+git@sardemff7.net> | 2017-03-28 22:56:33 +0200 |
commit | b25439c63390850c5a756dafe00015f46a05cbe2 (patch) | |
tree | d52825d89e3c94e447bffe8e18f576119cadc22d /include/xrmoptions.h | |
parent | c5b49407036986e526c594792e1b64809cd0ce29 (diff) | |
parent | e45f0194d116a69abe77d74116eb5f1cf50e76ed (diff) |
Merge branch 'master' into wip/wayland
Diffstat (limited to 'include/xrmoptions.h')
-rw-r--r-- | include/xrmoptions.h | 34 |
1 files changed, 9 insertions, 25 deletions
diff --git a/include/xrmoptions.h b/include/xrmoptions.h index 3938c82b..6ce9a6fb 100644 --- a/include/xrmoptions.h +++ b/include/xrmoptions.h @@ -1,8 +1,8 @@ #ifndef ROFI_XRMOPTIONS_H #define ROFI_XRMOPTIONS_H +#include "theme.h" // Big thanks to Sean Pringle for this code. -// FIXME: for real typedef void xcb_stuff; /** @@ -79,30 +79,6 @@ void config_parse_xresource_options_file ( const char *filename ); void config_parse_cmd_options ( void ); /** - * Parse dynamic commandline options. - * @ingroup CONFCommandline - */ -void config_parse_cmd_options_dynamic ( void ); - -/** - * @param xcb Handler object that holds connection to X11 server to fetch the settings from. - * - * Parse the rofi related X resource options of the - * connected X server. - * - * @ingroup CONFXServer - */ -void config_parse_xresource_options_dynamic ( xcb_stuff *xcb ); - -/** - * @param filename The xresources file to parse - * - * Parses filename and updates the config. For dynamic options. - * @ingroup CONFFile - */ -void config_parse_xresource_options_dynamic_file ( const char *filename ); - -/** * Free any allocated memory. * * @ingroup CONFXResources @@ -160,5 +136,13 @@ void print_help_msg ( const char *option, const char *type, const char*text, con */ char ** config_parser_return_display_help ( unsigned int *length ); +/** + * @brief Set config option. + * + * Sets both the static as dynamic config option. + * + * @param p Property to set + */ +void config_parse_set_property ( const Property *p ); /* @}*/ #endif |