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.php12
1 files changed, 11 insertions, 1 deletions
diff --git a/h-source/Application/Include/hardware.php b/h-source/Application/Include/hardware.php
index 2e5cb0e..e919326 100644
--- a/h-source/Application/Include/hardware.php
+++ b/h-source/Application/Include/hardware.php
@@ -42,7 +42,7 @@ class Hardware
return $string;
}
- public static $controllers = array('notebooks','wifi','videocards','printers','scanners','threegcards','soundcards','webcams','bluetooth','acquisitioncards','fingerprintreaders','ethernetcards'); //used by UsersController::login()
+ 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(
@@ -68,6 +68,7 @@ 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',
);
public static $typeToController = array(
@@ -83,6 +84,7 @@ class Hardware
'acquisition-card' => 'acquisitioncards',
'fingerprint-reader' => 'fingerprintreaders',
'ethernet-card' => 'ethernetcards',
+ 'sd-card-reader' => 'sdcardreaders',
);
public static function getTypes()
@@ -411,5 +413,13 @@ class Ethernetcards 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";
+}
+
+class Sdcardreaders 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