Ignore:
Timestamp:
Nov 9, 2010, 10:56:41 PM (13 years ago)
Author:
Torben Dannhauer
Message:

Silverlining, Distortion now uses XMl configuration file for configuration.

Todo: vista2D and the whole dataIO tree.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • osgVisual/include/util/visual_util.h

    r151 r152  
    239239         * @param moduleName : Module name to search for.
    240240         * @param doc : xmlDoc to use. Must be created outside that the caller can clean it up.
     241         * @param disabled : Contains after return if the module was disabled. Only true if valid configuration and definitely disabled.
    241242         * @return : NULL on error, otherwise pointer to the xmlNode of the queried module.
    242243         */
    243         static xmlNode* getModuleXMLConfig(std::string configFilename, std::string moduleName, xmlDoc*& doc);
     244        static xmlNode* getModuleXMLConfig(std::string configFilename, std::string moduleName, xmlDoc*& doc, bool& disabled);
    244245
    245246        /**
     
    260261         * @param node : Node to search in
    261262         * @param moduleName :Module name to search for.
     263         * @param disabled : Contains after return if the module was disabled. Only true if valid configuration and definitely disabled.
    262264         * @return : NULL if the module configuration was not found, otherwise pointer to the XML Node with the configuration for the specified module.
    263265         */
    264         static xmlNode* checkXMLNodeChildrenForModule(xmlNode* node, std::string moduleName);
     266        static xmlNode* checkXMLNodeChildrenForModule(xmlNode* node, std::string moduleName, bool& disabled);
    265267
    266268        /**
Note: See TracChangeset for help on using the changeset viewer.