Download this file

utf8fn.h    17 lines (11 with data), 381 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
#ifndef _UTF8FN_H_
#define _UTF8FN_H_
#include <string>
class RclConfig;
// Translate file name/path to utf8 for indexing.
//
// @param simple If true we extract and process only the simple file name
// (ignore the path)
std::string compute_utf8fn(const RclConfig *config, const std::string& ifn,
bool simple);
#endif // _UTF8FN_H_