]> git.sesse.net Git - vlc/commitdiff
* modules/gui/skins/src/*: forgot a few references to the channels server.
authorGildas Bazin <gbazin@videolan.org>
Mon, 5 May 2003 16:29:57 +0000 (16:29 +0000)
committerGildas Bazin <gbazin@videolan.org>
Mon, 5 May 2003 16:29:57 +0000 (16:29 +0000)
modules/gui/skins/src/event.cpp
modules/gui/skins/src/vlcproc.cpp
modules/gui/skins/src/vlcproc.h

index e70ef2404d0a9524c352c026b516ccafc0aada5c..ad36ad9ac0d97fb87828037df351ea2ea3c1b194 100644 (file)
@@ -2,7 +2,7 @@
  * event.cpp: Event class
  *****************************************************************************
  * Copyright (C) 2003 VideoLAN
- * $Id: event.cpp,v 1.14 2003/05/05 16:09:40 gbazin Exp $
+ * $Id: event.cpp,v 1.15 2003/05/05 16:29:57 gbazin Exp $
  *
  * Authors: Olivier Teulière <ipkiss@via.ecp.fr>
  *          Emmanuel Puig    <karibu@via.ecp.fr>
@@ -240,9 +240,6 @@ void Event::CreateEvent()
     char *para2 = new char[MAX_PARAM_SIZE];
     char *para3 = new char[MAX_PARAM_SIZE];
 
-    // Buffer to create strings
-    char *buf;
-
     // Scan the event
     int scan = sscanf( EventDesc.c_str(),
         "%[^(](%[^,)],%[^,)],%[^,)])", msg, para1, para2, para3 );
index e6a817c12caedf3ca994ec8f4cd5d7e6e26800a0..701045c1068e996669303fdd89db1bb2a8783595 100644 (file)
@@ -2,7 +2,7 @@
  * vlcproc.cpp: VlcProc class
  *****************************************************************************
  * Copyright (C) 2003 VideoLAN
- * $Id: vlcproc.cpp,v 1.20 2003/05/05 16:09:40 gbazin Exp $
+ * $Id: vlcproc.cpp,v 1.21 2003/05/05 16:29:57 gbazin Exp $
  *
  * Authors: Olivier Teulière <ipkiss@via.ecp.fr>
  *          Emmanuel Puig    <karibu@via.ecp.fr>
@@ -593,8 +593,6 @@ void VlcProc::ChangeVolume( unsigned int msg, long param )
 //---------------------------------------------------------------------------
 void VlcProc::AddNetworkUDP( int port )
 {
-    config_PutInt( p_intf, "network-channel", VLC_FALSE );
-
     // Build source name
     char *s_port = new char[5];
     sprintf( s_port, "%i", port );
@@ -610,31 +608,4 @@ void VlcProc::AddNetworkUDP( int port )
     InterfaceRefresh();
 }
 //---------------------------------------------------------------------------
-void VlcProc::AddNetworkChannelServer( char *server )
-{
-    char *name = new char[MAX_PARAM_SIZE];
-    int  port = 0;
-
-    // Scan the server address
-    int scan = sscanf( server, "%[^:]:%i", name, &port );
-
-    if( scan != 2)
-    {
-        msg_Err( p_intf, "Invalid channel server: %s", server );
-        delete[] name;
-        return;
-    }
-
-    config_PutInt( p_intf, "network-channel", VLC_TRUE );
-    config_PutPsz( p_intf, "channel-server", name );
-    config_PutInt( p_intf, "channel-port", port );
-
-    if( p_intf->p_vlc->p_channel == NULL )
-    {
-        network_ChannelCreate( p_intf );
-    }
-
-    delete[] name;
-}
-//---------------------------------------------------------------------------
 
index 7277e202e4b925464d5a765ad2716456297c4489..96c6c3474d976957dfdc3ebcf4c7dc84f0075c24 100644 (file)
@@ -2,7 +2,7 @@
  * vlcproc.h: VlcProc class
  *****************************************************************************
  * Copyright (C) 2003 VideoLAN
- * $Id: vlcproc.h,v 1.4 2003/04/15 20:33:58 karibu Exp $
+ * $Id: vlcproc.h,v 1.5 2003/05/05 16:29:57 gbazin Exp $
  *
  * Authors: Olivier Teulière <ipkiss@via.ecp.fr>
  *          Emmanuel Puig    <karibu@via.ecp.fr>
@@ -53,7 +53,6 @@ class VlcProc
         void FullScreen();
         void ChangeVolume( unsigned int msg, long param );
         void AddNetworkUDP( int port );
-        void AddNetworkChannelServer( char *server );
 
         void InterfaceRefresh( bool All = false );
         void EnabledEvent( string type, bool state );