[vlc-devel] commit: Cosmetics. (Laurent Aimar )

git version control git at videolan.org
Mon Aug 25 18:43:49 CEST 2008


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Mon Aug 25 18:46:17 2008 +0200| [97449032319760973ad961690c9f52af2005360a] | committer: Laurent Aimar 

Cosmetics.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=97449032319760973ad961690c9f52af2005360a
---

 modules/services_discovery/upnp_intel.cpp |   33 ++++++++++++++++------------
 1 files changed, 19 insertions(+), 14 deletions(-)

diff --git a/modules/services_discovery/upnp_intel.cpp b/modules/services_discovery/upnp_intel.cpp
index bb23092..b05eef5 100644
--- a/modules/services_discovery/upnp_intel.cpp
+++ b/modules/services_discovery/upnp_intel.cpp
@@ -46,6 +46,25 @@
 #include <vlc_plugin.h>
 #include <vlc_playlist.h>
 
+/*****************************************************************************
+ * Module descriptor
+ *****************************************************************************/
+static int Open( vlc_object_t* );
+static void Close( vlc_object_t* );
+
+vlc_module_begin();
+    set_shortname( "UPnP" );
+    set_description( N_( "Universal Plug'n'Play discovery ( Intel SDK )" ) );
+    set_category( CAT_PLAYLIST );
+    set_subcategory( SUBCAT_PLAYLIST_SD );
+    set_capability( "services_discovery", 0 );
+    set_callbacks( Open, Close );
+vlc_module_end();
+
+
+/*****************************************************************************
+ * Local prototypes
+ *****************************************************************************/
 
 // VLC handle
 
@@ -254,26 +273,12 @@ private:
 
 // VLC callback prototypes
 
-static int Open( vlc_object_t* );
-static void Close( vlc_object_t* );
 static void Run( services_discovery_t *p_sd );
 static playlist_t *pl_Get( services_discovery_t *p_sd )
 {
     return p_sd->p_sys->p_playlist;
 }
 
-// Module descriptor
-
-vlc_module_begin();
-set_shortname( "UPnP" );
-set_description( N_( "Universal Plug'n'Play discovery ( Intel SDK )" ) );
-set_category( CAT_PLAYLIST );
-set_subcategory( SUBCAT_PLAYLIST_SD );
-set_capability( "services_discovery", 0 );
-set_callbacks( Open, Close );
-vlc_module_end();
-
-
 // More prototypes...
 
 static int Callback( Upnp_EventType eventType, void* event, void* pCookie );




More information about the vlc-devel mailing list