]> git.sesse.net Git - vlc/blob - plugins/win32/win32.cpp
* ./plugins/win32/win32.cpp: fixed `--intf intfwin' which wasn't working.
[vlc] / plugins / win32 / win32.cpp
1 /*****************************************************************************
2  * win32.cpp : Win32 interface plugin for vlc
3  *****************************************************************************
4  * Copyright (C) 2002 VideoLAN
5  *
6  * Authors: Olivier Teulière <ipkiss@via.ecp.fr> 
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; either version 2 of the License, or
11  * (at your option) any later version.
12  * 
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program; if not, write to the Free Software
20  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
21  *****************************************************************************/
22
23 /*****************************************************************************
24  * Preamble
25  *****************************************************************************/
26 #include <stdlib.h>                                      /* malloc(), free() */
27 #include <string.h>
28
29 #include <videolan/vlc.h>
30
31 #include "win32.h"                                       /* Borland specific */
32
33 /*****************************************************************************
34  * Capabilities defined in the other files.
35  *****************************************************************************/
36 void _M( intf_getfunctions ) ( function_list_t * p_function_list );
37
38 /*****************************************************************************
39  * Build configuration tree.
40  *****************************************************************************/
41 MODULE_CONFIG_START
42 MODULE_CONFIG_STOP
43
44 MODULE_INIT_START
45     SET_DESCRIPTION( "Win32 interface module" )
46     ADD_CAPABILITY( INTF, 100 )
47     ADD_SHORTCUT( "win" )
48     ADD_SHORTCUT( "win32" )
49     ADD_SHORTCUT( "intfwin" )
50 MODULE_INIT_STOP
51
52 MODULE_ACTIVATE_START
53     _M( intf_getfunctions )( &p_module->p_functions->intf );
54 MODULE_ACTIVATE_STOP
55
56 MODULE_DEACTIVATE_START
57 MODULE_DEACTIVATE_STOP
58