rbutil: move some detecting code, to make detecing things nicer

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17813 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dominik Wenger 2008-06-27 21:53:22 +00:00
parent 3867cf9181
commit 7fb11a82a1
8 changed files with 31 additions and 367 deletions

View file

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