]> git.sesse.net Git - vlc/blob - plugins/glide/glide.c
Some heavy changes today:
[vlc] / plugins / glide / glide.c
1 /*****************************************************************************
2  * glide.c : 3dfx Glide plugin for vlc
3  *****************************************************************************
4  * Copyright (C) 2000, 2001 VideoLAN
5  * $Id: glide.c,v 1.9 2001/12/30 07:09:55 sam Exp $
6  *
7  * Authors: Samuel Hocevar <sam@zoy.org>
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 /*****************************************************************************
25  * Preamble
26  *****************************************************************************/
27 #include <stdlib.h>                                      /* malloc(), free() */
28 #include <string.h>
29
30 #include <videolan/vlc.h>
31
32 #include "video.h"
33 #include "video_output.h"
34
35 /*****************************************************************************
36  * Capabilities defined in the other files.
37  *****************************************************************************/
38 void _M( vout_getfunctions )( function_list_t * p_function_list );
39
40 /*****************************************************************************
41  * Building configuration tree
42  *****************************************************************************/
43 MODULE_CONFIG_START
44 ADD_WINDOW( "Configuration for Glide module" )
45     ADD_COMMENT( "For now, the Glide module cannot be configured" )
46 MODULE_CONFIG_STOP
47
48 MODULE_INIT_START
49     p_module->i_capabilities = MODULE_CAPABILITY_NULL
50                                 | MODULE_CAPABILITY_VOUT;
51     p_module->psz_longname = "3dfx Glide module";
52 MODULE_INIT_STOP
53
54 MODULE_ACTIVATE_START
55     _M( vout_getfunctions )( &p_module->p_functions->vout );
56 MODULE_ACTIVATE_STOP
57
58 MODULE_DEACTIVATE_START
59 MODULE_DEACTIVATE_STOP
60