Switch to unified view

a/src/internfile/internfile.h b/src/internfile/internfile.h
...
...
193
    {
193
    {
194
    return m_ok;
194
    return m_ok;
195
    }
195
    }
196
196
197
    /**
197
    /**
198
     * Get immediate parent for document. 
198
     * Get UDI for immediate parent for document. 
199
     *
199
     *
200
     * This is not in general the same as the "parent" document used 
200
     * This is not in general the same as the "parent" document used 
201
     * with Rcl::Db::addOrUpdate(). The latter is the enclosing file,
201
     * with Rcl::Db::addOrUpdate(). The latter is the enclosing file,
202
     * this would be for exemple the email containing the attachment.
202
     * this would be for exemple the email containing the attachment.
203
     * This is in internfile because of the ipath computation.
203
     */
204
     */
204
    static bool getEnclosing(const string &url, const string &ipath,
205
    static bool getEnclosingUDI(const Rcl::Doc &doc, string& udi);
205
               string &eurl, string &eipath, string& udi);
206
206
207
    /** Return last element in ipath, like basename */
207
    /** Return last element in ipath, like basename */
208
    static std::string getLastIpathElt(const std::string& ipath);
208
    static std::string getLastIpathElt(const std::string& ipath);
209
209
210
    /** 
210
    /**