X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=parser%2Fparse.h;h=4a8ec9a7ae0f2993cbfd5ab6452a265fb34291d0;hb=5074d902aa215a2a656980d31b19574a5db1f795;hp=d2a6606ba16808140afdcbd9cbb90b143c50cf38;hpb=ec304c9e433e4b1cedf924ca64d783f05db7d42d;p=chaz%2Fopenbox diff --git a/parser/parse.h b/parser/parse.h index d2a6606b..4a8ec9a7 100644 --- a/parser/parse.h +++ b/parser/parse.h @@ -1,7 +1,7 @@ /* -*- indent-tabs-mode: nil; tab-width: 4; c-basic-offset: 4; -*- parse.h for the Openbox window manager - Copyright (c) 2003 Ben Jansens + Copyright (c) 2003-2007 Dana Jansens This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -34,11 +34,14 @@ 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(xmlDocPtr *doc, xmlNodePtr *root); +/*! 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 */ +/* Loads an Openbox theme, from the normal paths */ gboolean parse_load_theme(const gchar *name, xmlDocPtr *doc, xmlNodePtr *root, gchar **path);