-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathiisEnvironment.h
executable file
·40 lines (32 loc) · 1.08 KB
/
iisEnvironment.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
/*
* iisEnvironment.h
*
* Created on: 07.08.2008
*
* Industrial Infosystems (c) 2008
* www.ii-system.com
*
* This component is freeware and could be used while building any applications.
* Removal/modification of this information not permitted.
*/
#ifndef IISENVIRONMENT_H_
#define IISENVIRONMENT_H_
#include <QtCore>
/**
* \class iisEnvironment
* \brief This class encapsulates functionality for easier access to the system variables.
*/
class iisEnvironment
{
public:
iisEnvironment();
virtual ~iisEnvironment();
static QString systemVariable(const QString &varname);
static QStringList systemPath();
static QStringList availableInPath(const QString &filename, bool expandSymLinks = true);
static QStringList availableInPath(const QString &filename, const QStringList &pathlist, bool expandSymLinks = true);
static QString applicationsPath();
static void openFileDir(const QString &name);
static QStringList matchInPath(const QString &baseDir, const QString &filter);
};
#endif /* IISENVIRONMENT_H_ */