]> git.sesse.net Git - vlc/blobdiff - modules/misc/playlist/export.c
vlc_plugin: fix non-LGPL plugins meta infos
[vlc] / modules / misc / playlist / export.c
index e553d85f9c885b717cf7dd65db7ea34b66ed8979..2aa57f0b7a9c85355f5344b7a0fa1d7447b0d6a1 100644 (file)
@@ -1,7 +1,7 @@
 /*****************************************************************************
  * export.c :  Playlist export module
  *****************************************************************************
- * Copyright (C) 2004 the VideoLAN team
+ * Copyright (C) 2004-2009 the VideoLAN team
  * $Id$
  *
  * Authors: ClĂ©ment Stenac <zorglub@videolan.org>
 # include "config.h"
 #endif
 
-#include <vlc/vlc.h>
+#define VLC_MODULE_LICENSE VLC_LICENSE_GPL_2_PLUS
+#include <vlc_common.h>
 #include <vlc_plugin.h>
 
 /***************************************************************************
  * Prototypes
  ***************************************************************************/
 int Export_M3U    ( vlc_object_t *p_intf );
-int Export_Old    ( vlc_object_t *p_intf );
+int Export_M3U8   ( vlc_object_t *p_intf );
+int Export_HTML   ( vlc_object_t *p_intf );
 int xspf_export_playlist( vlc_object_t *p_intf );
 
 /*****************************************************************************
  * Module descriptor
  *****************************************************************************/
-vlc_module_begin();
+vlc_module_begin ()
 
-    set_category( CAT_PLAYLIST );
-    set_subcategory( SUBCAT_PLAYLIST_EXPORT );
-    add_submodule();
-        set_description( N_("M3U playlist exporter") );
-        add_shortcut( "export-m3u" );
-        set_capability( "playlist export" , 0);
-        set_callbacks( Export_M3U , NULL );
+    set_category( CAT_PLAYLIST )
+    set_subcategory( SUBCAT_PLAYLIST_EXPORT )
+    add_submodule ()
+        set_description( N_("M3U playlist export") )
+        add_shortcut( "export-m3u" )
+        set_capability( "playlist export" , 0 )
+        set_callbacks( Export_M3U , NULL )
 
-    add_submodule();
-        set_description( N_("Old playlist exporter") );
-        add_shortcut( "export-old" );
-        set_capability( "playlist export" , 0);
-        set_callbacks( Export_Old , NULL );
+    add_submodule ()
+        set_description( N_("M3U8 playlist export") )
+        add_shortcut( "export-m3u8" )
+        set_capability( "playlist export" , 0 )
+        set_callbacks( Export_M3U8, NULL )
 
-    add_submodule();
-        set_description( N_("XSPF playlist export") );
-        add_shortcut( "export-xspf" );
-        set_capability( "playlist export" , 0);
-        set_callbacks( xspf_export_playlist , NULL );
+    add_submodule ()
+        set_description( N_("XSPF playlist export") )
+        add_shortcut( "export-xspf" )
+        set_capability( "playlist export" , 0 )
+        set_callbacks( xspf_export_playlist , NULL )
 
-vlc_module_end();
+    add_submodule ()
+        set_description( N_("HTML playlist export") )
+        add_shortcut( "export-html" )
+        set_capability( "playlist export", 0 )
+        set_callbacks( Export_HTML, NULL )
+
+vlc_module_end ()