1 /*****************************************************************************
2 * vlm_wrapper.hpp: Wrapper for VLM
3 *****************************************************************************
4 * Copyright (C) 1999-2005 the VideoLAN team
7 * Authors: Clément Stenac <zorglub@videolan.org>
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.
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.
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., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
22 *****************************************************************************/
24 /* This is not WX-specific */
29 #include "dialogs/vlm/vlm_stream.hpp"
38 VLMWrapper( intf_thread_t * );
39 virtual ~VLMWrapper();
41 vlc_bool_t AttachVLM();
45 void AddBroadcast( const char*, const char*, const char*,
46 vlc_bool_t b_enabled = VLC_TRUE,
47 vlc_bool_t b_loop = VLC_TRUE );
48 void EditBroadcast( const char*, const char*, const char*,
49 vlc_bool_t b_enabled = VLC_TRUE,
50 vlc_bool_t b_loop = VLC_TRUE );
51 void AddVod( const char*, const char*, const char*,
52 vlc_bool_t b_enabled = VLC_TRUE,
53 vlc_bool_t b_loop = VLC_TRUE );
54 void EditVod( const char*, const char*, const char*,
55 vlc_bool_t b_enabled = VLC_TRUE,
56 vlc_bool_t b_loop = VLC_TRUE );
58 unsigned int NbMedia() { if( p_vlm ) return p_vlm->i_media; return 0; }
59 vlm_media_t *GetMedia( int i )
60 { if( p_vlm ) return p_vlm->media[i]; return NULL; }
62 vlm_t* GetVLM() { return p_vlm; }
68 intf_thread_t *p_intf;