Commit 51cbd955 authored by jan.koester's avatar jan.koester
Browse files

removed deprecated method

parent 3afbb069
Loading
Loading
Loading
Loading
+0 −8
Changes for src/html.cpp: 0 added lines, 8 removed lines.
Original line number Diff line number Diff line
@@ -481,14 +481,6 @@ libhtmlpp::HtmlPage::HtmlPage(){
libhtmlpp::HtmlPage::~HtmlPage(){
}

void libhtmlpp::HtmlPage::printHtml(std::string &html){
    html.clear();
    Element *root;
    root=_Page.parse();
    print(root,nullptr,html);
    delete root;
}

libhtmlpp::HtmlString *libhtmlpp::HtmlPage::loadFile(const char* path){
    char tmp[HTML_BLOCKSIZE];
    std::ifstream fs;
+0 −2
Changes for src/html.h: 0 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -177,8 +177,6 @@ namespace libhtmlpp {
        void        saveFile(const char* path);
        HtmlString *loadString(const std::string src);
        HtmlString *loadString(HtmlString node);

        void printHtml(std::string &html);
    private:
        HtmlString _Page;
    };