projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improve OpenFileError so that it doesn't say "opening for read"
[dcpomatic.git]
/
src
/
wx
/
player_information.h
diff --git
a/src/wx/player_information.h
b/src/wx/player_information.h
index af18cfb76dc8646dccae7f559fee48832d585591..b932281746b0fe37c2e00c4860f3ce8d58935404 100644
(file)
--- a/
src/wx/player_information.h
+++ b/
src/wx/player_information.h
@@
-19,21
+19,26
@@
*/
#include <wx/wx.h>
*/
#include <wx/wx.h>
+#include <boost/scoped_ptr.hpp>
+#include <boost/weak_ptr.hpp>
class FilmViewer;
class PlayerInformation : public wxPanel
{
public:
class FilmViewer;
class PlayerInformation : public wxPanel
{
public:
- PlayerInformation (wxWindow* parent,
FilmViewer*
viewer);
+ PlayerInformation (wxWindow* parent,
boost::weak_ptr<FilmViewer>
viewer);
- void update ();
+ void
triggered_
update ();
private:
private:
- FilmViewer* _viewer;
+ void periodic_update ();
+
+ boost::weak_ptr<FilmViewer> _viewer;
wxSizer* _sizer;
wxSizer* _sizer;
- wxStaticText* _cpl_name;
- wxStaticText* _size;
- wxStaticText* _length;
+ wxStaticText** _dcp;
+ wxStaticText* _dropped;
+ wxStaticText* _decode_resolution;
+ boost::scoped_ptr<wxTimer> _timer;
};
};