X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=parser%2Fparse.h;h=28af64bc8797b7eca61d491aa5b1ab1d2fb9fb36;hb=ac6cd2344f2afda023ac08017e0d2b19b0f66df8;hp=d2a6606ba16808140afdcbd9cbb90b143c50cf38;hpb=ec304c9e433e4b1cedf924ca64d783f05db7d42d;p=chaz%2Fopenbox diff --git a/parser/parse.h b/parser/parse.h index d2a6606b..28af64bc 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 + @param file The path of the config to try load. NULL to load from the + default path + */ +gboolean parse_load_rc(const gchar *file, 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);