00001 /***************************************************************************** 00002 * intf.h: send info to intf. 00003 ***************************************************************************** 00004 * Copyright (C) 2001 the VideoLAN team 00005 * $Id: intf.h 11664 2005-07-09 06:17:09Z courmisch $ 00006 * 00007 * Author: Stéphane Borel <[email protected]> 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., 59 Temple Place - Suite 330, Boston, MA 02111, USA. 00022 *****************************************************************************/ 00023 00024 /***************************************************************************** 00025 * intf_sys_t: description and status of interface 00026 *****************************************************************************/ 00027 struct intf_sys_t 00028 { 00029 input_thread_t *p_input; 00030 vcdplayer_t *p_vcdplayer; 00031 00032 vlc_bool_t b_still; /* True if we are in a still frame */ 00033 vlc_bool_t b_infinite_still; /* True if still wait time is infinite */ 00034 mtime_t m_still_time; /* Time in microseconds remaining 00035 to wait in still frame. 00036 */ 00037 #if FINISHED 00038 vcdplay_ctrl_t control; 00039 #else 00040 int control; 00041 #endif 00042 vlc_bool_t b_click, b_move, b_key_pressed; 00043 }; 00044 00045 int vcdIntfStillTime( struct intf_thread_t * p_intf, uint8_t wait_time); 00046 int vcdIntfResetStillTime( intf_thread_t *p_intf ); 00047