00001 /***************************************************************************** 00002 * parser.c : OSD import module 00003 ***************************************************************************** 00004 * Copyright (C) 2007 M2X 00005 * $Id: 1505fb356f06c1ec0fd28fd40e3076bdf229a2fd $ 00006 * 00007 * Authors: Jean-Paul Saman 00008 * 00009 * This program is free software; you can redistribute it and/or modify 00010 * it under the terms of the GNU General Public License as published by 00011 * the Free Software Foundation; either version 2 of the License, or 00012 * (at your option) any later version. 00013 * 00014 * This program is distributed in the hope that it will be useful, 00015 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00017 * GNU General Public License for more details. 00018 * 00019 * You should have received a copy of the GNU General Public License 00020 * along with this program; if not, write to the Free Software 00021 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. 00022 *****************************************************************************/ 00023 00024 #ifndef _OSD_MENU_PARSER_H_ 00025 #define _OSD_MENU_PARSER_H_ 00026 00027 extern const char * const ppsz_button_states[3]; 00028 00029 /* OSD Menu structure support routines for internal use by 00030 * OSD Menu configuration file parsers only. 00031 */ 00032 osd_menu_t *osd_MenuNew( osd_menu_t *, const char *, int, int ); 00033 osd_button_t *osd_ButtonNew( const char *, int, int ); 00034 osd_state_t *osd_StateNew( osd_menu_t *, const char *, const char * ); 00035 00036 void osd_MenuFree ( osd_menu_t * ); 00037 void osd_ButtonFree( osd_menu_t *, osd_button_t * ); 00038 void osd_StatesFree( osd_menu_t *, osd_state_t * ); 00039 00040 #endif
1.5.6