Changeset 7d55c3814aad3df9872b212d4e3273d8e54f609d
- 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
| r1a74e0b |
r7d55c38 |
|
| 41 | 41 | #include <vlc_osd.h> |
|---|
| 42 | 42 | #include <vlc_playlist.h> |
|---|
| 43 | | #include <vlc_update.h> |
|---|
| 44 | 43 | |
|---|
| 45 | 44 | #ifdef HAVE_UNISTD_H |
|---|
| … | … | |
| 104 | 103 | |
|---|
| 105 | 104 | static 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 |
|---|
| 109 | 105 | |
|---|
| 110 | 106 | /* Status Callbacks */ |
|---|
| … | … | |
| 759 | 755 | Help( p_intf, b_longhelp ); |
|---|
| 760 | 756 | } |
|---|
| 761 | | #if 0 && defined( UPDATE_CHECK ) |
|---|
| 762 | | else if( !strcmp( psz_cmd, "check-updates" ) ) |
|---|
| 763 | | { |
|---|
| 764 | | checkUpdates( p_intf ); |
|---|
| 765 | | } |
|---|
| 766 | | #endif |
|---|
| 767 | 757 | else if( !strcmp( psz_cmd, "key" ) || !strcmp( psz_cmd, "hotkey" ) ) |
|---|
| 768 | 758 | { |
|---|
| … | … | |
| 934 | 924 | msg_rc(_("| @name mosaic-order id(,id)* . . . . order of pictures ")); |
|---|
| 935 | 925 | 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 |
|---|
| 941 | 926 | msg_rc( "| "); |
|---|
| 942 | 927 | } |
|---|
| … | … | |
| 2220 | 2205 | return p_item; |
|---|
| 2221 | 2206 | } |
|---|
| 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 |
|---|