Root/
Source at commit 1406 created 12 years 10 months ago. By meklort, Revert drivers.c so that kexts are only loaded when OSBundleRequired is set and that value is not safe mode. Added some comments about it too. | |
---|---|
1 | #ifndef INPUT_H␊ |
2 | #define INPUT_H␊ |
3 | ␊ |
4 | #include <QVariant>␊ |
5 | ␊ |
6 | class QTextStream;␊ |
7 | class QTextCodec;␊ |
8 | ␊ |
9 | class Input␊ |
10 | {␊ |
11 | public:␊ |
12 | enum Kind␊ |
13 | {␊ |
14 | Bool,␊ |
15 | Int,␊ |
16 | String,␊ |
17 | StrList,␊ |
18 | Obsolete␊ |
19 | };␊ |
20 | virtual ~Input() {}␊ |
21 | virtual QVariant &value() = 0;␊ |
22 | virtual void update() = 0;␊ |
23 | virtual Kind kind() const = 0;␊ |
24 | virtual QString docs() const = 0;␊ |
25 | virtual QString id() const = 0;␊ |
26 | virtual void addDependency(Input *option) = 0;␊ |
27 | virtual void setEnabled(bool) = 0;␊ |
28 | virtual void updateDependencies() = 0;␊ |
29 | virtual void reset() = 0;␊ |
30 | virtual void writeValue(QTextStream &t,QTextCodec *codec) = 0;␊ |
31 | };␊ |
32 | ␊ |
33 | ␊ |
34 | #endif␊ |
35 |