]> git.sesse.net Git - vlc/blob - include/vlc/mediacontrol_structures.h
Merge 0.8.5-api changes
[vlc] / include / vlc / mediacontrol_structures.h
1 /*****************************************************************************
2  * control_structures.h: global header for mediacontrol
3  *****************************************************************************
4  * Copyright (C) 2005 the VideoLAN team
5  * $Id$
6  *
7  * Authors: Olivier Aubert <olivier.aubert@liris.univ-lyon1.fr>
8  *
9  * This program is free software; you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License as published by
11  * the Free Software Foundation; either version 2 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 General Public License for more details.
18  *
19  * You should have received a copy of the GNU General Public License
20  * along with this program; if not, write to the Free Software
21  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
22  *****************************************************************************/
23
24 #ifndef _VLC_CONTROL_STRUCTURES_H
25 #define _VLC_CONTROL_STRUCTURES_H 1
26
27 # ifdef __cplusplus
28 extern "C" {
29 # endif
30
31 typedef enum  {
32     mediacontrol_AbsolutePosition,
33     mediacontrol_RelativePosition,
34     mediacontrol_ModuloPosition
35 } mediacontrol_PositionOrigin;
36
37 typedef enum {
38     mediacontrol_ByteCount,
39     mediacontrol_SampleCount,
40     mediacontrol_MediaTime
41 } mediacontrol_PositionKey;
42
43 typedef struct {
44     mediacontrol_PositionOrigin origin;
45     mediacontrol_PositionKey key;
46     long value;
47 } mediacontrol_Position;
48
49 # ifdef __cplusplus
50 }
51 # endif
52
53 #endif