]> git.sesse.net Git - vlc/blob - mozilla/vlcpeer.h
971434b16964fb460b3761a08104465510c23c30
[vlc] / mozilla / vlcpeer.h
1 /*****************************************************************************
2  * vlcpeer.h: a VideoLAN plugin for Mozilla
3  *****************************************************************************
4  * Copyright (C) 2002 VideoLAN
5  * $Id: vlcpeer.h,v 1.1 2002/09/17 08:18:24 sam Exp $
6  *
7  * Authors: Samuel Hocevar <sam@zoy.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., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
22  *****************************************************************************/
23
24 #include "vlcintf.h"
25 #include "classinfo.h"
26
27 #include "nsMemory.h"
28
29 class VlcPlugin;
30
31 class VlcPeer : public VlcIntf, public ClassInfo
32 {
33 public:
34     NS_DECL_ISUPPORTS
35     NS_DECL_VLCINTF
36
37     VlcPeer();
38     VlcPeer( VlcPlugin * );
39
40     void Disable() { p_plugin = NULL; }
41           
42     virtual ~VlcPeer();
43     /* additional members */
44
45 private:
46     VlcPlugin * p_plugin;
47 };
48