AlsaPlayer
0.99.81
Main Page
Data Structures
Files
File List
Globals
alsaplayer
interface_plugin.h
Go to the documentation of this file.
1
/* interface_plugin.h
2
* Copyright (C) 2001-2002 Andy Lo A Foe <andy@alsaplayer.org>
3
*
4
* This file is part of AlsaPlayer.
5
*
6
* AlsaPlayer is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation; either version 3 of the License, or
9
* (at your option) any later version.
10
*
11
* AlsaPlayer is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
15
*
16
* You should have received a copy of the GNU General Public License
17
* along with this program; if not, see <http://www.gnu.org/licenses/>.
18
*
19
* $Id: interface_plugin.h 1344 2010-11-07 20:38:05Z dominique_libre $
20
*
21
*/
22
23
#ifndef __interface_plugin_h__
24
#define __interface_plugin_h__
25
26
#include "CorePlayer.h"
27
#include "Playlist.h"
28
29
/*
30
* Format of version number is 0x1000 + version
31
* So 0x1001 is *binary* format version 1
32
* THE VERSION NUMBER IS *NOT* A USER SERVICABLE PART!
33
*/
34
35
#define INTERFACE_PLUGIN_BASE_VERSION 0x1000
36
#define INTERFACE_PLUGIN_VERSION (INTERFACE_PLUGIN_BASE_VERSION + 4)
37
38
typedef
int
interface_version_type
;
39
typedef
int(*
interface_init_type
)();
40
typedef
int(*
interface_start_type
)(Playlist *, int,
char
**);
41
typedef
int(*
interface_running_type
)();
42
typedef
int(*
interface_stop_type
)();
43
typedef
void(*
interface_close_type
)();
44
45
typedef
struct
_interface_plugin
46
{
47
interface_version_type
version
;
48
const
char
*
name
;
49
const
char
*
author
;
50
void
*
handle
;
51
interface_init_type
init
;
52
interface_start_type
start
;
53
interface_running_type
running
;
54
interface_stop_type
stop
;
55
interface_close_type
close
;
56
}
interface_plugin
;
57
58
typedef
interface_plugin
*(*interface_plugin_info_type)();
59
60
#endif
Generated by
1.8.3.1