aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Include/hardware.php
diff options
context:
space:
mode:
Diffstat (limited to 'h-source/Application/Include/hardware.php')
-rw-r--r--h-source/Application/Include/hardware.php15
1 files changed, 12 insertions, 3 deletions
diff --git a/h-source/Application/Include/hardware.php b/h-source/Application/Include/hardware.php
index 91a66be..8248316 100644
--- a/h-source/Application/Include/hardware.php
+++ b/h-source/Application/Include/hardware.php
@@ -42,8 +42,6 @@ class Hardware
return $string;
}
- public static $controllers = array('notebooks','wifi','videocards','printers','scanners','threegcards','soundcards','webcams','bluetooth','acquisitioncards','fingerprintreaders','ethernetcards','sdcardreaders'); //used by UsersController::login()
-
//classId => controller
public static $deviceClasses = array(
'0403' => 'soundcards',
@@ -69,7 +67,8 @@ class Hardware
'acquisition-card' => 'Crystal/cam_mount-22.png',
'fingerprint-reader' => 'fingerprint_icon-22.png',
'ethernet-card' => 'H2O/network-wired_22.png',
- 'sd-card-reader' => 'H2O/media-flash-sd-mmc_22.png',
+ 'sd-card-reader' => 'H2O/media-flash-sd-mmc_22.png',
+ 'modem' => 'Crystal/modem_22.png',
);
public static $typeToController = array(
@@ -86,6 +85,7 @@ class Hardware
'fingerprint-reader' => 'fingerprintreaders',
'ethernet-card' => 'ethernetcards',
'sd-card-reader' => 'sdcardreaders',
+ 'modem' => 'modems',
);
public static function getTypes()
@@ -427,4 +427,13 @@ class Sdcardreaders extends Hardware
public static $interface = "not-specified,USB,PCI,PCI-E,mini-PCI,mini-PCI-E,ExpressCard,PC-Card,Firewire,Parallel,Serial";
+}
+
+class Modems extends Hardware
+{
+
+ public static $select = 'yes,no';
+
+ public static $interface = "not-specified,USB,PCI,PCI-E,mini-PCI,mini-PCI-E,ExpressCard,PC-Card,Firewire,Parallel,Serial";
+
} \ No newline at end of file