summaryrefslogtreecommitdiffstats
path: root/include/xrmoptions.h
diff options
context:
space:
mode:
authorQuentin Glidic <sardemff7+git@sardemff7.net>2017-03-28 22:56:33 +0200
committerQuentin Glidic <sardemff7+git@sardemff7.net>2017-03-28 22:56:33 +0200
commitb25439c63390850c5a756dafe00015f46a05cbe2 (patch)
treed52825d89e3c94e447bffe8e18f576119cadc22d /include/xrmoptions.h
parentc5b49407036986e526c594792e1b64809cd0ce29 (diff)
parente45f0194d116a69abe77d74116eb5f1cf50e76ed (diff)
Merge branch 'master' into wip/wayland
Diffstat (limited to 'include/xrmoptions.h')
-rw-r--r--include/xrmoptions.h34
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