Parent: [548a4c] (diff)

Child: [3872f8] (diff)

Download this file

mimetype.h    18 lines (12 with data), 454 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
#ifndef _MIMETYPE_H_INCLUDED_
#define _MIMETYPE_H_INCLUDED_
/* @(#$Id: mimetype.h,v 1.4 2005-11-21 14:31:24 dockes Exp $ (C) 2004 J.F.Dockes */
#include <string>
class RclConfig;
/**
* Try to determine a mime type for filename.
* This may imply more than matching the suffix, the name must be usable
* to actually access file data.
*/
string mimetype(const std::string &filename, RclConfig *cfg, bool usfc);
#endif /* _MIMETYPE_H_INCLUDED_ */