forked from len0rd/rockbox
* xDuoo X3 fix some warnings due to an incorrect #ifdef * stub storage_removeable() and storage_present() for non-HOTSWAP builds * sim_trigger_external() is gated by HOTSWAP, not MULTIDRIVE Change-Id: I38f14fdfeba13957899c378051d49afc2e8245e5
36 lines
1.3 KiB
C
36 lines
1.3 KiB
C
/***************************************************************************
|
|
* __________ __ ___.
|
|
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
|
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
|
|
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
|
* Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
|
* \/ \/ \/ \/ \/
|
|
* $Id$
|
|
*
|
|
* Copyright (C) 2009 by Jens Arnold
|
|
*
|
|
* Rockbox simulator specific tasks
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License
|
|
* as published by the Free Software Foundation; either version 2
|
|
* of the License, or (at your option) any later version.
|
|
*
|
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
|
* KIND, either express or implied.
|
|
*
|
|
****************************************************************************/
|
|
|
|
|
|
#ifndef __SIM_TASKS_H__
|
|
#define __SIM_TASKS_H__
|
|
|
|
void sim_tasks_init(void);
|
|
void sim_trigger_screendump(void);
|
|
void sim_trigger_usb(bool inserted);
|
|
#ifdef HAVE_HOTSWAP
|
|
void sim_trigger_external(bool inserted);
|
|
#endif
|
|
void sim_trigger_hp(bool inserted);
|
|
void sim_trigger_lo(bool inserted);
|
|
#endif
|