blob: fbf5821cc2ff57350c4fc7fe8ed674c4821c20de (
plain)
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
|
// SPDX-License-Identifier: GPL-2.0-or-later
#ifndef FQTERM_PATH_H
#define FQTERM_PATH_H
class QString;
class QStringList;
class FQTermConfig;
class FQTermParam;
namespace FQTerm {
extern QString *local_shell_bin;
enum PathCategory {RESOURCE, USER_CONFIG};
const QString &getPath(PathCategory category);
bool iniSettings();
void checkHelpExists(FQTermConfig*);
void loadNameList(FQTermConfig *, QStringList &);
bool loadAddress(FQTermConfig *, int, FQTermParam &);
void saveAddress(FQTermConfig *, int, const FQTermParam &);
void clearDir(const QString &path);
} // namespace FQTerm
#endif // FQTERM_PATH_H
|