]> git.sesse.net Git - vlc/blobdiff - mozilla/vlcplugin.h
Add a category to the showintf control interface, so that it gets displayed in the...
[vlc] / mozilla / vlcplugin.h
index 6611e5f12e5b6c3e9e08ba739f28e38fa0595f50..0348298a4cb432a6999e5ca52dd4da5d9c2d9e0b 100644 (file)
@@ -1,8 +1,8 @@
 /*****************************************************************************
- * vlcplugin.h: a VideoLAN plugin for Mozilla
+ * vlcplugin.h: a VLC plugin for Mozilla
  *****************************************************************************
  * Copyright (C) 2002 VideoLAN
- * $Id: vlcplugin.h,v 1.9 2002/11/28 23:53:03 sigmunau Exp $
+ * $Id$
  *
  * Authors: Samuel Hocevar <sam@zoy.org>
  *
@@ -24,6 +24,7 @@
 /*******************************************************************************
  * Instance state information about the plugin.
  ******************************************************************************/
+
 class VlcPlugin
 {
 public:
@@ -53,6 +54,12 @@ public:
     Display *p_display;
 #endif
 
+#ifdef XP_MACOSX
+    /* MACOS data members */
+    NPWindow *window;
+#endif
+
+
     /* vlc data members */
     int      i_vlc;
     int      b_stream;
@@ -67,9 +74,9 @@ private:
 /*******************************************************************************
  * Plugin properties.
  ******************************************************************************/
-#define PLUGIN_NAME         "VideoLAN Client Plugin"
+#define PLUGIN_NAME         "VLC multimedia plugin"
 #define PLUGIN_DESCRIPTION \
-    "VideoLAN Client Multimedia Player Plugin <br>" \
+    "VLC multimedia plugin <br>" \
     " <br>" \
     "version %s <br>" \
     "VideoLAN WWW: <a href=\"http://www.videolan.org/\">http://www.videolan.org/</a>"
@@ -95,6 +102,9 @@ private:
     "application/x-ogg:ogg:Ogg stream;" \
     /* explicit plugin call */ \
     "application/x-vlc-plugin::VLC plugin;" \
+    /* windows media */ \
     "video/x-ms-asf-plugin:asf,asx:Windows Media Video;" \
-    "application/x-mplayer2::Windows Media"
+    "video/x-ms-asf:asf,asx:Windows Media Video;" \
+    "application/x-mplayer2::Windows Media;" \
+    "video/x-ms-wmv:wmv:Windows Media" \