1 /*****************************************************************************
2 * win32.cpp : Win32 interface plugin for vlc
3 *****************************************************************************
4 * Copyright (C) 2002 VideoLAN
6 * Authors: Olivier Teulière <ipkiss@via.ecp.fr>
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.
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.
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 *****************************************************************************/
23 /*****************************************************************************
25 *****************************************************************************/
26 #include <stdlib.h> /* malloc(), free() */
31 #include "win32.h" /* Borland specific */
33 /*****************************************************************************
34 * Capabilities defined in the other files.
35 *****************************************************************************/
36 void _M( intf_getfunctions ) ( function_list_t * p_function_list );
38 /*****************************************************************************
39 * Build configuration tree.
40 *****************************************************************************/
42 #define MAX_LINES_TEXT N_("maximum number of lines in the log window")
43 #define MAX_LINES_LONGTEXT N_( \
44 "You can set the maximum number of lines that the log window will display."\
45 " Enter -1 if you want to keep all messages." )
48 ADD_CATEGORY_HINT( N_("Miscellaneous"), NULL )
49 ADD_INTEGER( "intfwin-max-lines", 500, NULL, MAX_LINES_TEXT, MAX_LINES_LONGTEXT )
53 SET_DESCRIPTION( _("Win32 interface module") )
54 ADD_CAPABILITY( INTF, 100 )
56 ADD_SHORTCUT( "win32" )
60 _M( intf_getfunctions )( &p_module->p_functions->intf );
63 MODULE_DEACTIVATE_START
64 MODULE_DEACTIVATE_STOP