Switch to unified view

a/src/internfile/internfile.h b/src/internfile/internfile.h
...
...
14
 *   Free Software Foundation, Inc.,
14
 *   Free Software Foundation, Inc.,
15
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
15
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
16
 */
16
 */
17
#ifndef _INTERNFILE_H_INCLUDED_
17
#ifndef _INTERNFILE_H_INCLUDED_
18
#define _INTERNFILE_H_INCLUDED_
18
#define _INTERNFILE_H_INCLUDED_
19
/* @(#$Id: internfile.h,v 1.9 2006-12-16 15:39:54 dockes Exp $  (C) 2004 J.F.Dockes */
19
/* @(#$Id: internfile.h,v 1.10 2006-12-19 08:40:50 dockes Exp $  (C) 2004 J.F.Dockes */
20
20
21
#include <string>
21
#include <string>
22
#include <vector>
22
#include <vector>
23
using std::string;
23
using std::string;
24
using std::vector;
24
using std::vector;
...
...
28
28
29
class RclConfig;
29
class RclConfig;
30
namespace Rcl {
30
namespace Rcl {
31
class Doc;
31
class Doc;
32
}
32
}
33
34
struct stat;
33
35
34
/** 
36
/** 
35
 * A class to convert a file into possibly multiple documents in internal 
37
 * A class to convert a file into possibly multiple documents in internal 
36
 * representation.
38
 * representation.
37
 */
39
 */
...
...
50
     *            decompression needed.
52
     *            decompression needed.
51
     * @param mtype mime type if known. For a compressed file this is the 
53
     * @param mtype mime type if known. For a compressed file this is the 
52
     *   mime type for the uncompressed version. This currently doubles up 
54
     *   mime type for the uncompressed version. This currently doubles up 
53
     *   to indicate that this object is for previewing (not indexing).
55
     *   to indicate that this object is for previewing (not indexing).
54
     */
56
     */
55
    FileInterner(const string &fn, RclConfig *cnf, const string& td,
57
    FileInterner(const string &fn, const struct stat *stp, 
58
       RclConfig *cnf, const string& td,
56
         const string *mtype = 0);
59
         const string *mtype = 0);
57
60
58
    ~FileInterner();
61
    ~FileInterner();
59
62
60
    /// Return values for internfile()
63
    /// Return values for internfile()