]> git.sesse.net Git - vlc/blob - include/modules_config.h
Fixed solaris libraries
[vlc] / include / modules_config.h
1 /*****************************************************************************
2  * modules_config.h : Module configuration tools.
3  *****************************************************************************
4  * Copyright (C) 2001 VideoLAN
5  *
6  * Authors: Samuel Hocevar <sam@zoy.org>
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  * Module capabilities.
25  *****************************************************************************/
26 #define MODULE_CAPABILITY_NULL     0       /* The Module can't do anything */
27 #define MODULE_CAPABILITY_INTF     1<<0    /* Interface */
28 #define MODULE_CAPABILITY_INPUT    1<<1    /* Input */
29 #define MODULE_CAPABILITY_DECAPS   1<<2    /* Decaps */
30 #define MODULE_CAPABILITY_ADEC     1<<3    /* Audio decoder */
31 #define MODULE_CAPABILITY_VDEC     1<<4    /* Video decoder */
32 #define MODULE_CAPABILITY_AOUT     1<<5    /* Audio output */
33 #define MODULE_CAPABILITY_VOUT     1<<6    /* Video output */
34 #define MODULE_CAPABILITY_YUV      1<<7    /* YUV colorspace conversion */
35 #define MODULE_CAPABILITY_AFX      1<<8    /* Audio effects */
36 #define MODULE_CAPABILITY_VFX      1<<9    /* Video effects */
37
38 /*****************************************************************************
39  * Macros used to build the configuration structure.
40  *****************************************************************************/
41
42 /* Mandatory first and last parts of the structure */
43 #define MODULE_CONFIG_ITEM_START       0x01    /* The main window */
44 #define MODULE_CONFIG_ITEM_END         0x00    /* End of the window */
45
46 /* Configuration widgets */
47 #define MODULE_CONFIG_ITEM_PANE        0x02    /* A notebook pane */
48 #define MODULE_CONFIG_ITEM_FRAME       0x03    /* A frame */
49 #define MODULE_CONFIG_ITEM_COMMENT     0x04    /* A comment text */
50 #define MODULE_CONFIG_ITEM_STRING      0x05    /* A string */
51 #define MODULE_CONFIG_ITEM_FILE        0x06    /* A file selector */
52 #define MODULE_CONFIG_ITEM_CHECK       0x07    /* A checkbox */
53 #define MODULE_CONFIG_ITEM_CHOOSE      0x08    /* A choose box */
54 #define MODULE_CONFIG_ITEM_RADIO       0x09    /* A radio box */
55 #define MODULE_CONFIG_ITEM_SCALE       0x0a    /* A horizontal ruler */
56 #define MODULE_CONFIG_ITEM_SPIN        0x0b    /* A numerical selector */
57