diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-05-05 23:54:04 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-05-05 23:54:04 +0000 |
| commit | a6aaabe62c3651169dda9a1a34bcec64dad4ee92 (patch) | |
| tree | 4e9c69a4d52180f7623fae71324645b014c97481 /parser/parse.h | |
| parent | 37875f091d8a19818b6325923a57f6f7f3cd820c (diff) | |
change the --config-file to --config, which works differently..
change the _OPENBOX_RC root property to _OPENBOX_CONFIG which is also different.
Diffstat (limited to 'parser/parse.h')
| -rw-r--r-- | parser/parse.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/parser/parse.h b/parser/parse.h index 7aba2e45..7f273398 100644 --- a/parser/parse.h +++ b/parser/parse.h @@ -34,9 +34,11 @@ typedef void (*ParseCallback)(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node, ObParseInst* parse_startup(); void parse_shutdown(ObParseInst *inst); -/* Loads Openbox's rc, from the normal paths */ -gboolean parse_load_rc(const gchar *file, xmlDocPtr *doc, xmlNodePtr *root, - gchar **fileused); +/*! Loads Openbox's rc, from the normal paths + @type The configuration type to load, or NULL to use the default. + e.g. "gnome" would load rc-gnome.xml. + */ +gboolean parse_load_rc(const gchar *type, xmlDocPtr *doc, xmlNodePtr *root); /* Loads an Openbox menu, from the normal paths */ gboolean parse_load_menu(const gchar *file, xmlDocPtr *doc, xmlNodePtr *root); /* Loads an Openbox menu, from the normal paths */ |
