Switch to unified view

a/src/internfile/mimehandler.h b/src/internfile/mimehandler.h
...
...
53
    virtual bool set_document_uri(const std::string &) {return false;}
53
    virtual bool set_document_uri(const std::string &) {return false;}
54
54
55
    /// This does nothing right now but should be called from the
55
    /// This does nothing right now but should be called from the
56
    /// subclass method in case we need some common processing one day
56
    /// subclass method in case we need some common processing one day
57
    /// (was used for xattrs at some point).
57
    /// (was used for xattrs at some point).
58
    virtual bool set_document_file(const string &file_path) {return true;}
58
    virtual bool set_document_file(const string & /*file_path*/) {return true;}
59
59
60
    // Default implementations
60
    // Default implementations
61
    virtual bool set_document_string(const std::string &) {return false;}
61
    virtual bool set_document_string(const std::string &) {return false;}
62
    virtual bool set_document_data(const char *cp, unsigned int sz) {
62
    virtual bool set_document_data(const char *cp, unsigned int sz) {
63
    return set_document_string(string(cp, sz));
63
    return set_document_string(string(cp, sz));