/*****************************************************************************
* vlcplugin.h: a VLC plugin for Mozilla
*****************************************************************************
- * Copyright (C) 2002-2005 VideoLAN
+ * Copyright (C) 2002-2005 the VideoLAN team
* $Id$
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
/*******************************************************************************
* Instance state information about the plugin.
******************************************************************************/
+#ifndef __VLCPLUGIN_H__
+#define __VLCPLUGIN_H__
+
+#include "vlcpeer.h"
+
+#if !defined(XP_MACOSX) && !defined(XP_UNIX) && !defined(XP_WIN)
+#define XP_UNIX 1
+#elif defined(XP_MACOSX)
+#undef XP_UNIX
+#endif
+
+#ifdef XP_WIN
+ /* Windows stuff */
+#endif
+
+#ifdef XP_MACOSX
+ /* Mac OS X stuff */
+# include <Quickdraw.h>
+#endif
+
+#ifdef XP_UNIX
+ /* X11 stuff */
+# include <X11/Xlib.h>
+# include <X11/Intrinsic.h>
+# include <X11/StringDefs.h>
+#endif
class VlcPlugin
{
NPP GetInstance();
VlcIntf* GetPeer();
- void SetFileName( const char* );
-
/* Window settings */
NPWindow* p_npwin;
uint16 i_npmode;
"video/quicktime:mov,qt:QuickTime video;" \
/* Ogg */ \
"application/x-ogg:ogg:Ogg stream;" \
+ "application/ogg:ogg:Ogg stream;" \
/* explicit plugin call */ \
"application/x-vlc-plugin::VLC plugin;" \
/* windows media */ \
"video/x-ms-wmv:wmv:Windows Media;" \
/* Google VLC mime */ \
"application/x-google-vlc-plugin::Google VLC plugin" \
+ /* Misc */ \
+ "audio/wav::WAV audio" \
+ "audio/x-wav::WAV audio" \
+#endif