blob: 77065876e6b4d01c6735e094478903bb757c33da (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#ifndef FILE_UTILS_H
#define FILE_UTILS_H
#include "ValuesFile.h"
#include "Configuration.h"
#include <string>
#include <cstdio>
using namespace std;
string translated_file_name(const string& file, const string& locale);
ValuesFile* get_values_file(const string& filename, const Configuration& configuration,
int version, const string& versionString, bool printOnFailure);
ValuesFile* get_local_values_file(const string& filename, const Configuration& configuration,
int version, const string& versionString, bool printOnFailure);
void print_file_status(size_t j, size_t J, const string& message = "Reading");
int write_to_file(const string& filename, const string& text);
#endif // FILE_UTILS_H
|