1 /***************************************************************************
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
9 * Copyright (C) 2007 by Dominik Wenger
12 * All files in this archive are subject to the GNU General Public License.
13 * See the file COPYING in the source tree root for full license agreement.
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
18 ****************************************************************************/
21 #ifndef AUTODETECTION_H_
22 #define AUTODETECTION_H_
25 #include "rbsettings.h"
27 #include "../ipodpatcher/ipodpatcher.h"
28 #include "../sansapatcher/sansapatcher.h"
30 class Autodetection
:public QObject
35 Autodetection(QObject
* parent
=0);
37 void setSettings(RbSettings
* sett
) {settings
= sett
;}
41 QString
getDevice() {return m_device
;}
42 QString
getMountPoint() {return m_mountpoint
;}
43 QString
errdev(void) { return m_errdev
; }
44 QString
incompatdev(void) { return m_incompat
; }
47 QStringList
getMountpoints(void);
48 QString
resolveMountPoint(QString
);
50 bool detectAjbrec(QString
);
56 QList
<int> m_usbconid
;
61 #endif /*AUTODETECTION_H_*/