2003-03-12 20:21:30 +00:00
|
|
|
/***************************************************************************
|
|
|
|
* __________ __ ___.
|
|
|
|
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
|
|
|
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
|
|
|
|
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
|
|
|
* Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
|
|
|
* \/ \/ \/ \/ \/
|
|
|
|
* $Id$
|
|
|
|
*
|
2008-05-05 10:32:46 +00:00
|
|
|
* Copyright (C) 2002 Björn Stenberg
|
2003-03-12 20:21:30 +00:00
|
|
|
*
|
2008-06-28 18:10:04 +00:00
|
|
|
* 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.
|
2003-03-12 20:21:30 +00:00
|
|
|
*
|
|
|
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
|
|
|
* KIND, either express or implied.
|
|
|
|
*
|
|
|
|
****************************************************************************/
|
|
|
|
#ifndef _ONPLAY_H_
|
|
|
|
#define _ONPLAY_H_
|
|
|
|
|
2010-04-01 03:14:44 +00:00
|
|
|
int onplay(char* file, int attr, int from_screen, bool hotkey);
|
2003-03-12 20:21:30 +00:00
|
|
|
|
2003-07-01 21:05:43 +00:00
|
|
|
enum {
|
2007-03-01 11:14:46 +00:00
|
|
|
ONPLAY_MAINMENU = -1,
|
|
|
|
ONPLAY_OK = 0,
|
2003-07-01 21:05:43 +00:00
|
|
|
ONPLAY_RELOAD_DIR,
|
2010-02-20 19:06:39 +00:00
|
|
|
ONPLAY_START_PLAY,
|
|
|
|
ONPLAY_PLAYLIST,
|
2003-07-01 21:05:43 +00:00
|
|
|
};
|
|
|
|
|
2010-04-08 01:43:50 +00:00
|
|
|
#ifdef HAVE_HOTKEY
|
|
|
|
int get_hotkey_desc_id(int hk_func);
|
|
|
|
#endif
|
|
|
|
|
2003-03-12 20:21:30 +00:00
|
|
|
#endif
|