VLC
2.1.0-git
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
src
input
event.h
Go to the documentation of this file.
1
/*****************************************************************************
2
* event.h: Input event functions
3
*****************************************************************************
4
* Copyright (C) 2008 Laurent Aimar
5
* $Id: c8f1071bbb34a99394dd573da4f1d677a9d7cfa9 $
6
*
7
* Authors: Laurent Aimar <fenrir _AT_ videolan _DOT_ fr>
8
*
9
* This program is free software; you can redistribute it and/or modify it
10
* under the terms of the GNU Lesser General Public License as published by
11
* the Free Software Foundation; either version 2.1 of the License, or
12
* (at your option) any later version.
13
*
14
* This program is distributed in the hope that it will be useful,
15
* but WITHOUT ANY WARRANTY; without even the implied warranty of
16
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
* GNU Lesser General Public License for more details.
18
*
19
* You should have received a copy of the GNU Lesser General Public License
20
* along with this program; if not, write to the Free Software Foundation,
21
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
22
*****************************************************************************/
23
24
#ifndef LIBVLC_INPUT_EVENT_H
25
#define LIBVLC_INPUT_EVENT_H 1
26
27
#include <
vlc_common.h
>
28
29
/*****************************************************************************
30
* Event for input.c
31
*****************************************************************************/
32
void
input_SendEventDead
(
input_thread_t
*p_input );
33
void
input_SendEventAbort
(
input_thread_t
*p_input );
34
void
input_SendEventPosition
(
input_thread_t
*p_input,
double
f_position,
mtime_t
i_time );
35
void
input_SendEventLength
(
input_thread_t
*p_input,
mtime_t
i_length );
36
void
input_SendEventStatistics
(
input_thread_t
*p_input );
37
void
input_SendEventRate
(
input_thread_t
*p_input,
int
i_rate );
38
void
input_SendEventAudioDelay
(
input_thread_t
*p_input,
mtime_t
i_delay );
39
void
input_SendEventSubtitleDelay
(
input_thread_t
*p_input,
mtime_t
i_delay );
40
void
input_SendEventRecord
(
input_thread_t
*p_input,
bool
b_recording );
41
void
input_SendEventTitle
(
input_thread_t
*p_input,
int
i_title );
42
void
input_SendEventSeekpoint
(
input_thread_t
*p_input,
int
i_title,
int
i_seekpoint );
43
void
input_SendEventSignal
(
input_thread_t
*p_input,
double
f_quality,
double
f_strength );
44
void
input_SendEventState
(
input_thread_t
*p_input,
int
i_state );
45
void
input_SendEventCache
(
input_thread_t
*p_input,
double
f_level );
46
47
/* TODO rename Item* */
48
void
input_SendEventMeta
(
input_thread_t
*p_input );
49
void
input_SendEventMetaInfo
(
input_thread_t
*p_input );
50
void
input_SendEventMetaName
(
input_thread_t
*p_input,
const
char
*
psz_name
);
51
void
input_SendEventMetaEpg
(
input_thread_t
*p_input );
52
53
/*****************************************************************************
54
* Event for es_out.c
55
*****************************************************************************/
56
void
input_SendEventProgramAdd
(
input_thread_t
*p_input,
57
int
i_program,
const
char
*psz_text );
58
void
input_SendEventProgramDel
(
input_thread_t
*p_input,
int
i_program );
59
void
input_SendEventProgramSelect
(
input_thread_t
*p_input,
int
i_program );
60
void
input_SendEventProgramScrambled
(
input_thread_t
*p_input,
int
i_group,
bool
b_scrambled );
61
62
void
input_SendEventEsDel
(
input_thread_t
*p_input,
int
i_cat,
int
i_id );
63
void
input_SendEventEsAdd
(
input_thread_t
*p_input,
int
i_cat,
int
i_id,
const
char
*psz_text );
64
void
input_SendEventEsSelect
(
input_thread_t
*p_input,
int
i_cat,
int
i_id );
/* i_id == -1 will unselect */
65
66
void
input_SendEventTeletextAdd
(
input_thread_t
*p_input,
67
int
i_teletext,
const
char
*psz_text );
68
void
input_SendEventTeletextDel
(
input_thread_t
*p_input,
int
i_teletext );
69
void
input_SendEventTeletextSelect
(
input_thread_t
*p_input,
int
i_teletext );
70
71
/*****************************************************************************
72
* Event for decoder.c
73
*****************************************************************************/
74
void
input_SendEventVout
(
input_thread_t
*p_input );
75
void
input_SendEventAout
(
input_thread_t
*p_input );
76
77
/*****************************************************************************
78
* Event for control.c/input.c
79
*****************************************************************************/
80
void
input_SendEventBookmark
(
input_thread_t
*p_input );
81
82
#endif
Generated by
1.8.1.2