]> git.sesse.net Git - vlc/blobdiff - src/input/event.h
libvlc: do not depend on input thread to obtain the aout
[vlc] / src / input / event.h
index 1116c5c116e440b1fe553889f891cdf251a667df..c8f1071bbb34a99394dd573da4f1d677a9d7cfa9 100644 (file)
@@ -6,27 +6,23 @@
  *
  * Authors: Laurent Aimar <fenrir _AT_ videolan _DOT_ fr>
  *
- * 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
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation; either version 2.1 of the License, or
  * (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License for more details.
  *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
-#if defined(__PLUGIN__) || defined(__BUILTIN__) || !defined(__LIBVLC__)
-# error This header file can only be included from LibVLC.
-#endif
-
-#ifndef _INPUT_EVENT_H
-#define _INPUT_EVENT_H 1
+#ifndef LIBVLC_INPUT_EVENT_H
+#define LIBVLC_INPUT_EVENT_H 1
 
 #include <vlc_common.h>
 
@@ -34,7 +30,9 @@
  * Event for input.c
  *****************************************************************************/
 void input_SendEventDead( input_thread_t *p_input );
-void input_SendEventTimes( input_thread_t *p_input, double f_position, mtime_t i_time, mtime_t i_length );
+void input_SendEventAbort( input_thread_t *p_input );
+void input_SendEventPosition( input_thread_t *p_input, double f_position, mtime_t i_time );
+void input_SendEventLength( input_thread_t *p_input, mtime_t i_length );
 void input_SendEventStatistics( input_thread_t *p_input );
 void input_SendEventRate( input_thread_t *p_input, int i_rate );
 void input_SendEventAudioDelay( input_thread_t *p_input, mtime_t i_delay );
@@ -50,6 +48,7 @@ void input_SendEventCache( input_thread_t *p_input, double f_level );
 void input_SendEventMeta( input_thread_t *p_input );
 void input_SendEventMetaInfo( input_thread_t *p_input );
 void input_SendEventMetaName( input_thread_t *p_input, const char *psz_name );
+void input_SendEventMetaEpg( input_thread_t *p_input );
 
 /*****************************************************************************
  * Event for es_out.c
@@ -80,6 +79,4 @@ void input_SendEventAout( input_thread_t *p_input );
  *****************************************************************************/
 void input_SendEventBookmark( input_thread_t *p_input );
 
-
 #endif
-