Commit b9836886 authored by Christophe Mutricy's avatar Christophe Mutricy

fileinfo.*: I should lean C++

parent a80da5c3
...@@ -58,7 +58,7 @@ FileInfo::FileInfo( intf_thread_t *_p_intf, wxWindow *p_parent ): ...@@ -58,7 +58,7 @@ FileInfo::FileInfo( intf_thread_t *_p_intf, wxWindow *p_parent ):
playlist_t *p_playlist = (playlist_t *)vlc_object_find( p_intf, playlist_t *p_playlist = (playlist_t *)vlc_object_find( p_intf,
VLC_OBJECT_PLAYLIST, VLC_OBJECT_PLAYLIST,
FIND_ANYWHERE ); FIND_ANYWHERE );
bool b_stats = config_GetInt(p_intf, "stats"); b_stats = config_GetInt(p_intf, "stats");
/* Initializations */ /* Initializations */
SetIcon( *p_intf->p_sys->p_icon ); SetIcon( *p_intf->p_sys->p_icon );
SetAutoLayout( TRUE ); SetAutoLayout( TRUE );
...@@ -104,7 +104,6 @@ FileInfo::FileInfo( intf_thread_t *_p_intf, wxWindow *p_parent ): ...@@ -104,7 +104,6 @@ FileInfo::FileInfo( intf_thread_t *_p_intf, wxWindow *p_parent ):
void FileInfo::Update() void FileInfo::Update()
{ {
if( mdate() - last_update < 400000L ) return; if( mdate() - last_update < 400000L ) return;
last_update = mdate(); last_update = mdate();
......
...@@ -42,7 +42,6 @@ namespace wxvlc ...@@ -42,7 +42,6 @@ namespace wxvlc
void Update(); void Update();
vlc_bool_t b_need_update; vlc_bool_t b_need_update;
bool b_stats;
private: private:
void OnButtonClose( wxCommandEvent& event ); void OnButtonClose( wxCommandEvent& event );
...@@ -59,6 +58,8 @@ namespace wxvlc ...@@ -59,6 +58,8 @@ namespace wxvlc
InputStatsInfoPanel *stats_info; InputStatsInfoPanel *stats_info;
wxBoxSizer *panel_sizer; wxBoxSizer *panel_sizer;
bool b_stats;
}; };
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment