summaryrefslogtreecommitdiff
path: root/src/wx/standard_controls.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-11-23 10:44:39 +0100
committerCarl Hetherington <cth@carlh.net>2020-01-08 21:56:47 +0100
commit1d796edf59da644e91bd443505fb76e0397a1439 (patch)
treef66ea71a218dc9b0392bc4d7e164760c76097fe2 /src/wx/standard_controls.h
parent89e92b3e7effafd2ca3aa1e9300777f2d2fb6183 (diff)
Basic stress-test function for player.
Diffstat (limited to 'src/wx/standard_controls.h')
-rw-r--r--src/wx/standard_controls.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/wx/standard_controls.h b/src/wx/standard_controls.h
index b485c48cc..f79e4a178 100644
--- a/src/wx/standard_controls.h
+++ b/src/wx/standard_controls.h
@@ -25,6 +25,11 @@ class StandardControls : public Controls
public:
StandardControls (wxWindow* parent, boost::shared_ptr<FilmViewer> viewer, bool editor_controls);
+#ifdef DCPOMATIC_PLAYER_STRESS_TEST
+ void play ();
+ void stop ();
+#endif
+
private:
void check_play_state ();
void play_clicked ();