Changeset 7d55c3814aad3df9872b212d4e3273d8e54f609d

Show
Ignore:
Timestamp:
04/07/08 22:41:06 (5 months ago)
Author:
Rémi Duraffort <ivoire@videolan.org>
git-committer:
Rémi Duraffort <ivoire@videolan.org> 1207600866 +0200
git-parent:

[6e6ca951d8cf832752158ada95caae3dda20c264]

git-author:
Rémi Duraffort <ivoire@videolan.org> 1207598070 +0200
Message:

We don't need the update system with the rc interface.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/control/rc.c

    r1a74e0b r7d55c38  
    4141#include <vlc_osd.h> 
    4242#include <vlc_playlist.h> 
    43 #include <vlc_update.h> 
    4443 
    4544#ifdef HAVE_UNISTD_H 
     
    104103 
    105104static int updateStatistics( intf_thread_t *, input_item_t *); 
    106 #if 0 && defined( UPDATE_CHECK ) 
    107 static void checkUpdates( intf_thread_t *p_intf ); 
    108 #endif 
    109105 
    110106/* Status Callbacks */ 
     
    759755            Help( p_intf, b_longhelp ); 
    760756        } 
    761 #if 0 && defined( UPDATE_CHECK ) 
    762         else if( !strcmp( psz_cmd, "check-updates" ) ) 
    763         { 
    764             checkUpdates( p_intf ); 
    765         } 
    766 #endif 
    767757        else if( !strcmp( psz_cmd, "key" ) || !strcmp( psz_cmd, "hotkey" ) ) 
    768758        { 
     
    934924        msg_rc(_("| @name mosaic-order id(,id)* . . . . order of pictures ")); 
    935925        msg_rc(_("| @name mosaic-keep-aspect-ratio {0,1} . . .aspect ratio")); 
    936 #if 0 && defined( UPDATE_CHECK ) 
    937         msg_rc(  "| "); 
    938         msg_rc(_("| check-updates [newer] [equal] [older]\n" 
    939                  "|               [undef] [info] [source] [binary] [plugin]")); 
    940 #endif 
    941926        msg_rc(  "| "); 
    942927    } 
     
    22202205    return p_item; 
    22212206} 
    2222  
    2223 /***************************************************************************** 
    2224  * checkUpdates : check for updates 
    2225  ****************************************************************************/ 
    2226 #if 0 && defined( UPDATE_CHECK ) 
    2227 static void checkUpdates( intf_thread_t *p_intf ) 
    2228 { 
    2229     /*TODO: - modify this to delete p_update to avoid a memory leak ! 
    2230             - complete the function wich is not working obiously ! 
    2231     update_t *p_u = update_New( p_intf ); 
    2232     var_AddCallback( p_intf->p_libvlc, "update-notify", updatesCallback, p_intf ); 
    2233  
    2234     msg_rc( "\nChecking for updates" ); 
    2235     update_Check( p_u );*/ 
    2236 } 
    2237 #endif