1 /*****************************************************************************
2 * macros.h : Macros mapping for the HTTP interface
3 *****************************************************************************
4 * Copyright (C) 2001-2005 the VideoLAN team
7 * Authors: Gildas Bazin <gbazin@netcourrier.com>
8 * Laurent Aimar <fenrir@via.ecp.fr>
9 * Christophe Massiot <massiot@via.ecp.fr>
11 * This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation; either version 2 of the License, or
14 * (at your option) any later version.
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
21 * You should have received a copy of the GNU General Public License
22 * along with this program; if not, write to the Free Software
23 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
24 *****************************************************************************/
76 /* Static mapping of macros type to macro strings */
82 StrToMacroTypeTab [] =
84 { "control", MVLC_CONTROL },
86 { "play", MVLC_PLAY },
87 { "stop", MVLC_STOP },
88 { "pause", MVLC_PAUSE },
89 { "next", MVLC_NEXT },
90 { "previous", MVLC_PREVIOUS },
91 { "seek", MVLC_SEEK },
92 { "keep", MVLC_KEEP },
93 { "fullscreen", MVLC_FULLSCREEN },
94 { "volume", MVLC_VOLUME },
96 /* playlist management */
98 { "delete", MVLC_DEL },
99 { "empty", MVLC_EMPTY },
100 { "sort", MVLC_SORT },
101 { "move", MVLC_MOVE },
104 { "close", MVLC_CLOSE },
105 { "shutdown", MVLC_SHUTDOWN },
108 { "vlm_new", MVLC_VLM_NEW },
109 { "vlm_setup", MVLC_VLM_SETUP },
110 { "vlm_del", MVLC_VLM_DEL },
111 { "vlm_play", MVLC_VLM_PLAY },
112 { "vlm_pause", MVLC_VLM_PAUSE },
113 { "vlm_stop", MVLC_VLM_STOP },
114 { "vlm_seek", MVLC_VLM_SEEK },
115 { "vlm_load", MVLC_VLM_LOAD },
116 { "vlm_save", MVLC_VLM_SAVE },
119 { "stack", MVLC_STACK },
121 { "include", MVLC_INCLUDE },
122 { "foreach", MVLC_FOREACH },
123 { "value", MVLC_VALUE },
126 { "else", MVLC_ELSE },
131 { "float", MVLC_FLOAT },
132 { "string", MVLC_STRING },
135 { NULL, MVLC_UNKNOWN }