• Davis King's avatar
    Moved the htmlify tool into the tools folder. · 8529d70f
    Davis King authored
    --HG--
    rename : docs/htmlify/CMakeLists.txt => tools/htmlify/CMakeLists.txt
    rename : docs/htmlify/htmlify.cpp => tools/htmlify/htmlify.cpp
    rename : docs/htmlify/to_xml.cpp => tools/htmlify/to_xml.cpp
    rename : docs/htmlify/to_xml.h => tools/htmlify/to_xml.h
    rename : docs/htmlify/to_xml_example/bigminus.gif => tools/htmlify/to_xml_example/bigminus.gif
    rename : docs/htmlify/to_xml_example/bigplus.gif => tools/htmlify/to_xml_example/bigplus.gif
    rename : docs/htmlify/to_xml_example/example.xml => tools/htmlify/to_xml_example/example.xml
    rename : docs/htmlify/to_xml_example/minus.gif => tools/htmlify/to_xml_example/minus.gif
    rename : docs/htmlify/to_xml_example/output.xml => tools/htmlify/to_xml_example/output.xml
    rename : docs/htmlify/to_xml_example/plus.gif => tools/htmlify/to_xml_example/plus.gif
    rename : docs/htmlify/to_xml_example/stylesheet.xsl => tools/htmlify/to_xml_example/stylesheet.xsl
    rename : docs/htmlify/to_xml_example/test.cpp => tools/htmlify/to_xml_example/test.cpp
    extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404104
    8529d70f
to_xml.h 640 Bytes
#ifndef DLIB_HTMLIFY_TO_XmL_H__
#define DLIB_HTMLIFY_TO_XmL_H__

#include "dlib/cmd_line_parser.h"
#include <string>

void generate_xml_markup(
    const dlib::cmd_line_parser<char>::check_1a_c& parser, 
    const std::string& filter, 
    const unsigned long search_depth,
    const unsigned long expand_tabs 
);
/*!
    ensures
        - reads all the files indicated by the parser arguments and converts them
          to XML.  The output will be stored in the output.xml file.
        - if (expand_tabs != 0) then
            - tabs will be replaced with expand_tabs spaces inside comment blocks
!*/

#endif // DLIB_HTMLIFY_TO_XmL_H__