Move _state_timer into VideoView.
[dcpomatic.git] / src / wx / film_viewer.h
index c6fbd66e45a3c31bb3cb0f2c8fb2370f0097a767..0699b12ae787ec4e1f1f42443b60bf438bf972c7 100644 (file)
@@ -107,18 +107,14 @@ public:
        }
 #endif
 
-       StateTimer const & state_timer () const {
-               return _state_timer;
-       }
-
-       StateTimer& state_timer () {
-               return _state_timer;
-       }
-
        int gets () const {
                return _gets;
        }
 
+       StateTimer const & state_timer () const {
+               return _video_view->state_timer ();
+       }
+
        /* Some accessors and utility methods that VideoView classes need */
        dcp::Size out_size () const {
                return _out_size;
@@ -207,7 +203,6 @@ private:
        bool _background_image;
 #endif
 
-       StateTimer _state_timer;
        int _gets;
 
        /** true if an get() is required next time we are idle */