X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fgui%2Fwxwidgets%2Fwxwidgets.h;h=4956e0a25467ebfc61d4f58d80a9319fdff9750e;hb=5ad1cce82415be11966290cca9dc3b4257ec915f;hp=e97463f85da3fcef4d111cd37356f031fd550094;hpb=67e19f8ad7e7a600d697e155f58cfe7784657060;p=vlc diff --git a/modules/gui/wxwidgets/wxwidgets.h b/modules/gui/wxwidgets/wxwidgets.h index e97463f85d..4956e0a254 100644 --- a/modules/gui/wxwidgets/wxwidgets.h +++ b/modules/gui/wxwidgets/wxwidgets.h @@ -1060,67 +1060,6 @@ private: }; -/* Update VLC */ -class UpdateVLC: public wxFrame -{ -public: - /* Constructor */ - UpdateVLC( intf_thread_t *p_intf, wxWindow *p_parent ); - virtual ~UpdateVLC(); - -private: - void OnButtonClose( wxCommandEvent& event ); - void OnClose( wxCloseEvent& WXUNUSED(event) ); - void GetData(); - void OnCheckForUpdate( wxCommandEvent& event ); - void OnMirrorChoice( wxCommandEvent& event ); - void UpdateUpdatesTree(); - void UpdateMirrorsChoice(); - void OnUpdatesTreeActivate( wxTreeEvent& event ); - void DownloadFile( wxString url, wxString dst ); - - DECLARE_EVENT_TABLE(); - - intf_thread_t *p_intf; - wxTreeCtrl *updates_tree; - wxTreeItemId updates_root; - - wxChoice *mirrors_choice; - - wxString release_type; /* could be "stable", "test", "nightly" ... */ - - struct update_file_t - { - wxString type; - wxString md5; - wxString size; - wxString url; - wxString description; - }; - - struct update_version_t - { - wxString type; - wxString major; - wxString minor; - wxString revision; - wxString extra; - std::list m_files; - }; - - std::list m_versions; - - struct update_mirror_t - { - wxString name; - wxString location; - wxString type; - wxString base_url; - }; - - std::list m_mirrors; -}; - #if wxUSE_DRAG_AND_DROP /* Drag and Drop class */ class DragAndDrop: public wxFileDropTarget