1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2025-02-10 15:44:41 -05:00

Some comments

This commit is contained in:
Dave Davenport 2016-10-16 19:38:33 +02:00
parent 703426716a
commit 313dffa28d

View file

@ -44,12 +44,14 @@
#include "settings.h" #include "settings.h"
#include "helper.h" #include "helper.h"
/** Different sources of configuration. */
const char * const ConfigSourceStr[] = { const char * const ConfigSourceStr[] = {
"Default", "Default",
"XResources", "XResources",
"File", "File",
"Commandline", "Commandline",
}; };
/** Enumerator of different sources of configuration. */
enum ConfigSource enum ConfigSource
{ {
CONFIG_DEFAULT = 0, CONFIG_DEFAULT = 0,
@ -194,8 +196,9 @@ static XrmOption xrmOptions[] = {
"Click outside the window to exit", CONFIG_DEFAULT }, "Click outside the window to exit", CONFIG_DEFAULT },
}; };
// Dynamic options. /** Dynamic array of extra options */
XrmOption *extra_options = NULL; XrmOption *extra_options = NULL;
/** Number of entries in extra options array */
unsigned int num_extra_options = 0; unsigned int num_extra_options = 0;
void config_parser_add_option ( XrmOptionType type, const char *key, void **value, const char *comment ) void config_parser_add_option ( XrmOptionType type, const char *key, void **value, const char *comment )