~ubuntu-branches/ubuntu/maverick/vlc/maverick

« back to all changes in this revision

Viewing changes to modules/gui/wxwidgets/dialogs/vlm/vlm_wrapper.hpp

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2008-09-17 21:56:14 UTC
  • mfrom: (1.1.17 upstream)
  • Revision ID: james.westby@ubuntu.com-20080917215614-tj0vx8xzd57e52t8
Tags: 0.9.2-1ubuntu1
* New Upstream Release, exception granted by
    - dktrkranz, norsetto, Hobbsee (via irc). LP: #270404

Changes done in ubuntu:

* add libxul-dev to build-depends
* make sure that vlc is build against libxul in configure. This doesn't
  change anything in the package, but makes it more robust if building
  in an 'unclean' chroot or when modifying the package.
* debian/control: make Vcs-* fields point to the motumedia branch
* add libx264-dev and libass-dev to build-depends
  LP: #210354, #199870
* actually enable libass support by passing --enable-libass to configure
* enable libdca: add libdca-dev to build depends and --enable-libdca
* install the x264 plugin.

Changes already in the pkg-multimedia branch in debian:

* don't install usr/share/vlc/mozilla in debian/mozilla-plugin-vlc.install  
* new upstream .desktop file now registers flash video mimetype LP: #261567
* add Xb-Npp-Applications to mozilla-plugin-vlc
* remove duplicate entries in debian/vlc-nox.install

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*****************************************************************************
2
 
 * vlm_wrapper.hpp: Wrapper for VLM
3
 
 *****************************************************************************
4
 
 * Copyright (C) 1999-2005 the VideoLAN team
5
 
 * $Id: 828f2cb911a9cb041b4e08b3127d9ce4b74109cd $
6
 
 *
7
 
 * Authors: Clément Stenac <zorglub@videolan.org>
8
 
 *
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.
13
 
 *
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.
18
 
 *
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
 
 *****************************************************************************/
23
 
 
24
 
/* This is not WX-specific */
25
 
 
26
 
#include <vlc/vlc.h>
27
 
#include <vlc/intf.h>
28
 
#include <vlc_vlm.h>
29
 
#include "dialogs/vlm/vlm_stream.hpp"
30
 
 
31
 
#include <vector>
32
 
#include <string>
33
 
using namespace std;
34
 
 
35
 
class VLMWrapper
36
 
{
37
 
public:
38
 
    VLMWrapper( intf_thread_t * );
39
 
    virtual ~VLMWrapper();
40
 
 
41
 
    vlc_bool_t AttachVLM();
42
 
    void LockVLM();
43
 
    void UnlockVLM();
44
 
 
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 );
57
 
 
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; }
61
 
 
62
 
    vlm_t* GetVLM() { return p_vlm; }
63
 
 
64
 
protected:
65
 
 
66
 
private:
67
 
    vlm_t *p_vlm;
68
 
    intf_thread_t *p_intf;
69
 
 
70
 
};