Changeset View
Changeset View
Standalone View
Standalone View
ksysguardd/modules.h
Show First 20 Lines • Show All 118 Lines • ▼ Show 20 Line(s) | |||||
119 | * 2. initCommand - The function that will be called once when ksysguardd is started | 119 | * 2. initCommand - The function that will be called once when ksysguardd is started | ||
120 | * 3. extiCommand - The function that will be called once when ksysguardd is closed, if it's closed nicely | 120 | * 3. extiCommand - The function that will be called once when ksysguardd is closed, if it's closed nicely | ||
121 | * 4. updateCommand - The function that will be called when any of the functions for that module are called | 121 | * 4. updateCommand - The function that will be called when any of the functions for that module are called | ||
122 | * 5. checkCommand - The function that will be called periodically after 5 seconds, when any next command is issued | 122 | * 5. checkCommand - The function that will be called periodically after 5 seconds, when any next command is issued | ||
123 | * 6. available - Used internally - set to 0 here | 123 | * 6. available - Used internally - set to 0 here | ||
124 | * 7. timeCentiSeconds - Used internally - set to NULLTIME here */ | 124 | * 7. timeCentiSeconds - Used internally - set to NULLTIME here */ | ||
125 | struct SensorModul SensorModulList[] = { | 125 | struct SensorModul SensorModulList[] = { | ||
126 | #ifdef OSTYPE_Linux | 126 | #ifdef OSTYPE_Linux | ||
127 | { "Acpi", initAcpi, exitAcpi, updateAcpi, NULLVVFUNC, 0, NULLTIME }, | 127 | { "Acpi", initAcpi, exitAcpi, NULLIVFUNC, NULLVVFUNC, 0, NULLTIME }, | ||
128 | { "Apm", initApm, exitApm, updateApm, NULLVVFUNC, 0, NULLTIME }, | 128 | { "Apm", initApm, exitApm, updateApm, NULLVVFUNC, 0, NULLTIME }, | ||
129 | { "CpuInfo", initCpuInfo, exitCpuInfo, updateCpuInfo, NULLVVFUNC, 0, NULLTIME }, | 129 | { "CpuInfo", initCpuInfo, exitCpuInfo, updateCpuInfo, NULLVVFUNC, 0, NULLTIME }, | ||
130 | { "DellLaptop", initI8k, exitI8k, updateI8k, NULLVVFUNC, 0, NULLTIME }, | 130 | { "DellLaptop", initI8k, exitI8k, updateI8k, NULLVVFUNC, 0, NULLTIME }, | ||
131 | { "DiskStat", initDiskStat, exitDiskStat, updateDiskStat, checkDiskStat, 0, NULLTIME }, | 131 | { "DiskStat", initDiskStat, exitDiskStat, updateDiskStat, checkDiskStat, 0, NULLTIME }, | ||
132 | { "DiskStats", initDiskstats, exitDiskstats, updateDiskstats, NULLVVFUNC, 0, NULLTIME }, | 132 | { "DiskStats", initDiskstats, exitDiskstats, updateDiskstats, NULLVVFUNC, 0, NULLTIME }, | ||
133 | #ifdef HAVE_LMSENSORS | 133 | #ifdef HAVE_LMSENSORS | ||
134 | { "LmSensors", initLmSensors, exitLmSensors, NULLIVFUNC, NULLVVFUNC, 0, NULLTIME }, | 134 | { "LmSensors", initLmSensors, exitLmSensors, NULLIVFUNC, NULLVVFUNC, 0, NULLTIME }, | ||
135 | #endif | 135 | #endif | ||
▲ Show 20 Lines • Show All 73 Lines • Show Last 20 Lines |