Sophie

Sophie

distrib > Mandriva > 10.2 > i586 > media > contrib > by-pkgid > cd2667db9dd0e54dd9cc3719d6459ef1 > files > 38

libalsaplayer0-devel-0.99.76-5mdk.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>AlsaPlayer: interface_plugin.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3.9.1 -->
<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a></div>
<div class="nav">
<a class="el" href="dir_000000.html">alsaplayer</a></div>
<h1>interface_plugin.h</h1><a href="interface__plugin_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment">00001 <span class="comment">/*  interface_plugin.h</span>
00002 <span class="comment"> *  Copyright (C) 2001-2002 Andy Lo A Foe &lt;andy@alsaplayer.org&gt;</span>
00003 <span class="comment"> *</span>
00004 <span class="comment"> *  This program is free software; you can redistribute it and/or modify</span>
00005 <span class="comment"> *  it under the terms of the GNU General Public License as published by</span>
00006 <span class="comment"> *  the Free Software Foundation; either version 2 of the License, or</span>
00007 <span class="comment"> *  (at your option) any later version.</span>
00008 <span class="comment"> *</span>
00009 <span class="comment"> *  This program is distributed in the hope that it will be useful,</span>
00010 <span class="comment"> *  but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
00011 <span class="comment"> *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the</span>
00012 <span class="comment"> *  GNU General Public License for more details.</span>
00013 <span class="comment"> *</span>
00014 <span class="comment"> *  You should have received a copy of the GNU General Public License</span>
00015 <span class="comment"> *  along with this program; if not, write to the Free Software</span>
00016 <span class="comment"> *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.</span>
00017 <span class="comment"> *</span>
00018 <span class="comment"> *</span>
00019 <span class="comment"> *</span>
00020 <span class="comment"> * $Id: interface_plugin.h,v 1.2 2002/04/10 15:30:04 adnans Exp $</span>
00021 <span class="comment"> * </span>
00022 <span class="comment"> */</span> 
00023 
00024 <span class="preprocessor">#ifndef __interface_plugin_h__</span>
00025 <span class="preprocessor"></span><span class="preprocessor">#define __interface_plugin_h__</span>
00026 <span class="preprocessor"></span>
00027 <span class="preprocessor">#include "CorePlayer.h"</span>
00028 <span class="preprocessor">#include "Playlist.h"</span>
00029 
00030 <span class="comment">/*</span>
00031 <span class="comment"> * Format of version number is 0x1000 + version</span>
00032 <span class="comment"> * So 0x1001 is *binary* format version 1</span>
00033 <span class="comment"> * THE VERSION NUMBER IS *NOT* A USER SERVICABLE PART!</span>
00034 <span class="comment"> */</span>
00035 
<a name="l00036"></a><a class="code" href="interface__plugin_8h.html#a0">00036</a> <span class="preprocessor">#define INTERFACE_PLUGIN_BASE_VERSION   0x1000</span>
<a name="l00037"></a><a class="code" href="interface__plugin_8h.html#a1">00037</a> <span class="preprocessor"></span><span class="preprocessor">#define INTERFACE_PLUGIN_VERSION        (INTERFACE_PLUGIN_BASE_VERSION + 4)</span>
00038 <span class="preprocessor"></span>
<a name="l00039"></a><a class="code" href="interface__plugin_8h.html#a2">00039</a> <span class="keyword">typedef</span> <span class="keywordtype">int</span> interface_version_type;
<a name="l00040"></a><a class="code" href="interface__plugin_8h.html#a3">00040</a> <span class="keyword">typedef</span> int(*interface_init_type)();
<a name="l00041"></a><a class="code" href="interface__plugin_8h.html#a4">00041</a> <span class="keyword">typedef</span> int(*interface_start_type)(Playlist *, int,  <span class="keywordtype">char</span> **);
<a name="l00042"></a><a class="code" href="interface__plugin_8h.html#a5">00042</a> <span class="keyword">typedef</span> int(*interface_running_type)();
<a name="l00043"></a><a class="code" href="interface__plugin_8h.html#a6">00043</a> <span class="keyword">typedef</span> int(*interface_stop_type)();
<a name="l00044"></a><a class="code" href="interface__plugin_8h.html#a7">00044</a> <span class="keyword">typedef</span> void(*interface_close_type)();
00045 
<a name="l00046"></a><a class="code" href="struct__interface__plugin.html">00046</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="struct__interface__plugin.html">_interface_plugin</a>
00047 {
<a name="l00048"></a><a class="code" href="struct__interface__plugin.html#o0">00048</a>         <a class="code" href="interface__plugin_8h.html#a2">interface_version_type</a> version;         
<a name="l00049"></a><a class="code" href="struct__interface__plugin.html#o1">00049</a>         <span class="keywordtype">char</span> *name;
<a name="l00050"></a><a class="code" href="struct__interface__plugin.html#o2">00050</a>         <span class="keywordtype">char</span> *author;
<a name="l00051"></a><a class="code" href="struct__interface__plugin.html#o3">00051</a>         <span class="keywordtype">void</span> *handle;
<a name="l00052"></a><a class="code" href="struct__interface__plugin.html#o4">00052</a>         <a class="code" href="interface__plugin_8h.html#a3">interface_init_type</a> init;
<a name="l00053"></a><a class="code" href="struct__interface__plugin.html#o5">00053</a>         <a class="code" href="interface__plugin_8h.html#a4">interface_start_type</a> start;
<a name="l00054"></a><a class="code" href="struct__interface__plugin.html#o6">00054</a>         <a class="code" href="interface__plugin_8h.html#a5">interface_running_type</a> running;
<a name="l00055"></a><a class="code" href="struct__interface__plugin.html#o7">00055</a>         <a class="code" href="interface__plugin_8h.html#a6">interface_stop_type</a> stop;
<a name="l00056"></a><a class="code" href="struct__interface__plugin.html#o8">00056</a>         <a class="code" href="interface__plugin_8h.html#a7">interface_close_type</a> close;
00057 } <a class="code" href="struct__interface__plugin.html">interface_plugin</a>;
00058 
<a name="l00059"></a><a class="code" href="interface__plugin_8h.html#a9">00059</a> <span class="keyword">typedef</span> <a class="code" href="struct__interface__plugin.html">interface_plugin</a>*(*interface_plugin_info_type)();
00060 
00061 <span class="preprocessor">#endif</span>
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Mar 31 10:58:47 2005 for AlsaPlayer by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.3.9.1 </small></address>
</body>
</html>