3
Copyright 2010 Nicolas Ternisien <nicolas.ternisien@gmail.com>
5
This library is free software; you can redistribute it and/or
6
modify it under the terms of the GNU Lesser General Public
7
License as published by the Free Software Foundation; either
8
version 2.1 of the License, or (at your option) version 3, or any
9
later version accepted by the membership of KDE e.V. (or its
10
successor approved by the membership of KDE e.V.), which shall
11
act as a proxy defined in Section 6 of version 3 of the license.
13
This library is distributed in the hope that it will be useful,
14
but WITHOUT ANY WARRANTY; without even the implied warranty of
15
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16
Lesser General Public License for more details.
18
You should have received a copy of the GNU Lesser General Public
19
License along with this library. If not, see <http://www.gnu.org/licenses/>.
28
/* function call-back-prototypes... */
30
bool GetInfo_IRQ(QTreeWidget* tree);
31
bool GetInfo_DMA(QTreeWidget* tree);
32
bool GetInfo_PCI(QTreeWidget* tree);
33
bool GetInfo_IO_Ports(QTreeWidget* tree);
34
bool GetInfo_SCSI(QTreeWidget* tree);
35
bool GetInfo_XServer_and_Video(QTreeWidget* tree);
40
#define INFO_IRQ_AVAILABLE
41
#define INFO_DMA_AVAILABLE
42
#define INFO_IOPORTS_AVAILABLE
43
#define INFO_SCSI_AVAILABLE
44
#define INFO_XSERVER_AVAILABLE
46
/* i18n("Maybe the proc-filesystem is not enabled in Linux-Kernel.") */
47
#define DEFAULT_ERRORSTRING QString()
50
#elif defined(sgi) && sgi
52
#define INFO_IRQ_AVAILABLE
53
#define INFO_DMA_AVAILABLE
54
#define INFO_IOPORTS_AVAILABLE
55
#define INFO_SCSI_AVAILABLE
56
#define INFO_XSERVER_AVAILABLE
58
#define DEFAULT_ERRORSTRING i18n("This system may not be completely supported yet.")
60
#elif defined(__FreeBSD__) || defined(__DragonFly__)
62
#define INFO_IRQ_AVAILABLE
63
#define INFO_DMA_AVAILABLE
64
#define INFO_IOPORTS_AVAILABLE
65
#define INFO_SCSI_AVAILABLE
66
#define INFO_XSERVER_AVAILABLE
68
#define DEFAULT_ERRORSTRING i18n("This system may not be completely supported yet.")
72
#define INFO_IRQ_AVAILABLE
73
#define INFO_DMA_AVAILABLE
74
#define INFO_IOPORTS_AVAILABLE
76
#define INFO_SCSI_AVAILABLE
78
#define INFO_XSERVER_AVAILABLE
80
#define DEFAULT_ERRORSTRING QString()
82
#elif defined(__NetBSD__)
84
#define INFO_IRQ_AVAILABLE
85
#define INFO_DMA_AVAILABLE
86
#define INFO_IOPORTS_AVAILABLE
87
#define INFO_SCSI_AVAILABLE
88
#define INFO_XSERVER_AVAILABLE
90
#define DEFAULT_ERRORSTRING i18n("This system may not be completely supported yet.")
92
#elif defined(__OpenBSD__)
94
#define INFO_IRQ_AVAILABLE
95
#define INFO_DMA_AVAILABLE
96
#define INFO_IOPORTS_AVAILABLE
97
#define INFO_SCSI_AVAILABLE
98
#define INFO_XSERVER_AVAILABLE
100
#define DEFAULT_ERRORSTRING i18n("This system may not be completely supported yet.")
102
#elif defined(__svr4__) && defined(sun)
104
#define INFO_IRQ_AVAILABLE
105
#define INFO_DMA_AVAILABLE
106
#define INFO_IOPORTS_AVAILABLE
107
#define INFO_SCSI_AVAILABLE
108
#define INFO_XSERVER_AVAILABLE
110
#define DEFAULT_ERRORSTRING i18n("This system may not be completely supported yet.")
114
#define INFO_SCSI_AVAILABLE
116
#define INFO_IRQ_AVAILABLE
117
#define INFO_DMA_AVAILABLE
118
#define INFO_IOPORTS_AVAILABLE
119
#define INFO_XSERVER_AVAILABLE
121
#define DEFAULT_ERRORSTRING i18n("This system may not be completely supported yet.")
123
#elif defined(__APPLE__)
125
//#define INFO_IRQ_AVAILABLE
126
//#define INFO_DMA_AVAILABLE
127
//#define INFO_IOPORTS_AVAILABLE
128
#define INFO_SCSI_AVAILABLE
129
#define INFO_XSERVER_AVAILABLE
131
#define DEFAULT_ERRORSTRING i18n("This system may not be completely supported yet.")
135
#define INFO_IRQ_AVAILABLE
136
#define INFO_DMA_AVAILABLE
137
#define INFO_IOPORTS_AVAILABLE
138
#define INFO_SCSI_AVAILABLE
139
#define INFO_XSERVER_AVAILABLE
141
#define DEFAULT_ERRORSTRING i18n("This system may not be completely supported yet.")
145
#endif /*OS_CURRENT_H_*/