-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
file.h
41 lines (35 loc) · 1.02 KB
/
file.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#ifndef FILE_H
#define FILE_H
#include<iostream>
#include<string>
#include<io.h>
#include <QString>
#include <QStringList>
#include <QFile>
using namespace std;
class file
{
};
void file_search(QString path,
QStringList &fileList
);
QString getTempPath(QString path);
bool createFolderSlot(QString path);
void saveResourecFile(QString resProfiex,
QString resFileName,
QString destFullPathFileName
);
QString readTXT(QString Path);
void writeTXT(QString* data,QString Path,QString fileName);
QStringList getUptater(QStringList localFilePath,
QStringList localFileMD5,
QStringList newFilePath,
QStringList newFileMD5,
QString lworkPath
);
bool moveFile(QString oldPath,
QString newPath
);
bool fileIsOpen(QString filePath);
QString dp0();
#endif // FILE_H