/***************************************************************************
 *             __________               __   ___.
 *   Open      \______   \ ____   ____ |  | _\_ |__   _______  ___
 *   Source     |       _//  _ \_/ ___\|  |/ /| __ \ /  _ \  \/  /
 *   Jukebox    |    |   (  <_> )  \___|    < | \_\ (  <_> > <  <
 *   Firmware   |____|_  /\____/ \___  >__|_ \|___  /\____/__/\_ \
 *                     \/            \/     \/    \/            \/
 * $Id: $
 *
 * Copyright (C) 2002 Philipp Pertermann
 *
 * All files in this archive are subject to the GNU General Public License.
 * See the file COPYING in the source tree root for full license agreement.
 *
 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
 * KIND, either express or implied. 
 *
 ****************************************************************************/
#ifndef __COMMANDS_H__
#define __COMMANDS_H__

/* this file should be generated during the build process similar to 
 * the lang.h file
  * In the source a file for that all available commands must be registered.
 * From the description of the command an automatic reference manual could
 * be generated. The source file could have the following format:
 *
 * id: SPLIT_X
 * desc: Specifies the position of the cursor in 
 *       the split editor. The values are screen coordinates
 *       and range from 0 <= value < LCD_WIDTH.
 * action: NULL
 * set_value: set_split_x
 * get_value: get_split_x
 * get_text: NULL
 * set_text: NULL
 *
 */
enum {
    SPLIT_X        ,
    SPLIT_ZOOM_IN  ,
    SPLIT_ZOOM_OUT ,
    SPLIT_LOOP_MODE,
    MPEG_PAUSE     ,
    MPEG_RESUME    ,
    MPEG_SET_PITCH ,
    SPLIT_QUIT     ,
};

extern void init_commands(void) ;

#endif /* __COMMANDS_H__ */


