1
0
Fork 0
forked from len0rd/rockbox

Clean up and rename Detect class.

Move check() function out of the Detect class and place it into utils.cpp for now. Rename Detect class to System, as it now only retrieves data about the underlying system and doesn't detect anything anymore. Cleans up with the confusion between Detect and Autodetection.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22238 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dominik Riebeling 2009-08-10 19:46:51 +00:00
parent 84ced00bbd
commit e2f5086916
10 changed files with 77 additions and 75 deletions

View file

@ -52,7 +52,7 @@
#include <sys/mount.h>
#endif
#include "detect.h"
#include "system.h"
#include "utils.h"
Autodetection::Autodetection(QObject* parent): QObject(parent)
@ -404,7 +404,7 @@ bool Autodetection::detectUsb()
// usb pid detection
QList<uint32_t> attached;
attached = Detect::listUsbIds();
attached = System::listUsbIds();
int i = attached.size();
while(i--) {