summaryrefslogtreecommitdiff
path: root/rbutil/autodetection.h
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/autodetection.h')
-rw-r--r--rbutil/autodetection.h90
1 files changed, 0 insertions, 90 deletions
diff --git a/rbutil/autodetection.h b/rbutil/autodetection.h
deleted file mode 100644
index cfd0dbab96..0000000000
--- a/rbutil/autodetection.h
+++ /dev/null
@@ -1,90 +0,0 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * Module: rbutil
9 * File: autodetection.h
10 *
11 * Copyright (C) 2008 Dominik Wenger
12 *
13 * All files in this archive are subject to the GNU General Public License.
14 * See the file COPYING in the source tree root for full license agreement.
15 *
16 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
17 * KIND, either express or implied.
18 *
19 ****************************************************************************/
20
21#ifndef AUTODETECTION_H_INCLUDED
22#define AUTODETECTION_H_INCLUDED
23
24
25/**************************************
26* General code for USB Device detection
27***************************************/
28#include "rbutil.h"
29
30#define TOMANYDEVICES 2
31#define NODEVICE 1
32#define DEVICEFOUND 0
33
34struct UsbDeviceInfo
35{
36 int device_index;
37 wxString path;
38 int status;
39};
40
41
42bool detectDevices(UsbDeviceInfo* tempdevice);
43
44wxArrayString getPossibleMountPoints(); /* this funktion has to be implemented for every OS */
45
46
47/********************************
48* Windows header for USB Device detection and information
49**************************************/
50
51#if defined( __WXMSW__ )
52
53
54#endif /*__WXMSW__ */
55
56
57/************************************************************************+
58*Linux header for autodetection
59**************************************************************************/
60
61
62#if !(defined( __WXMSW__ ) || defined( __DARWIN__))
63
64wxString resolve_mount_point( const wxString device );
65
66
67#endif /* Linux Code */
68
69
70
71
72/************************************************************************+
73*MAc header for autodetection
74**************************************************************************/
75
76
77#if defined( __DARWIN__)
78
79
80
81#endif /* MAc Code */
82
83
84
85
86
87
88
89
90#endif