1 /***************************************************************************
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
9 * File: autodetection.h
11 * Copyright (C) 2008 Dominik Wenger
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.
16 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
17 * KIND, either express or implied.
19 ****************************************************************************/
21 #ifndef AUTODETECTION_H_INCLUDED
22 #define AUTODETECTION_H_INCLUDED
25 /**************************************
26 * General code for USB Device detection
27 ***************************************/
30 #define TOMANYDEVICES 2
42 bool detectDevices(UsbDeviceInfo
* tempdevice
);
44 wxArrayString
getPossibleMountPoints(); /* this funktion has to be implemented for every OS */
47 /********************************
48 * Windows header for USB Device detection and information
49 **************************************/
51 #if defined( __WXMSW__ )
57 /************************************************************************+
58 *Linux header for autodetection
59 **************************************************************************/
62 #if !(defined( __WXMSW__ ) || defined( __DARWIN__))
64 wxString
resolve_mount_point( const wxString device
);
67 #endif /* Linux Code */
72 /************************************************************************+
73 *MAc header for autodetection
74 **************************************************************************/
77 #if defined( __DARWIN__)