summaryrefslogtreecommitdiff
path: root/rbutil/rbutilqt/autodetection.h
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/rbutilqt/autodetection.h')
-rw-r--r--rbutil/rbutilqt/autodetection.h47
1 files changed, 47 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/autodetection.h b/rbutil/rbutilqt/autodetection.h
new file mode 100644
index 0000000000..0a941a0d5d
--- /dev/null
+++ b/rbutil/rbutilqt/autodetection.h
@@ -0,0 +1,47 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 *
9 * Copyright (C) 2007 by Dominik Wenger
10 * $Id: autodetection.h 14027 2007-07-27 17:42:49Z domonoky $
11 *
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.
14 *
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
17 *
18 ****************************************************************************/
19
20
21#ifndef AUTODETECTION_H_
22#define AUTODETECTION_H_
23
24#include <QtGui>
25
26class Autodetection :public QObject
27{
28 Q_OBJECT
29
30public:
31 Autodetection(QObject* parent=0);
32
33 bool detect();
34
35 QString getDevice() {return m_device;}
36 QString getMountPoint() {return m_mountpoint;}
37
38private:
39 QStringList getMountpoints();
40
41 QString m_device;
42 QString m_mountpoint;
43
44};
45
46
47#endif /*AUTODETECTION_H_*/