aboutsummaryrefslogtreecommitdiff
path: root/src/PlayerControl.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-04 22:45:14 +0100
committerMax Kellermann <max@duempel.org>2013-01-04 22:45:14 +0100
commit2a9d933a81a6192f4d30cbf68253727f92f9bdac (patch)
treea61d258c61cd25efaa500a516b8df8b094ffa88e /src/PlayerControl.hxx
parent81f3d893d9e41120d76a3e710db77ccd829cbf42 (diff)
PlayerControl: add constructor and destructor
Diffstat (limited to 'src/PlayerControl.hxx')
-rw-r--r--src/PlayerControl.hxx10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/PlayerControl.hxx b/src/PlayerControl.hxx
index 3b536b8b..1a050320 100644
--- a/src/PlayerControl.hxx
+++ b/src/PlayerControl.hxx
@@ -146,13 +146,11 @@ struct player_control {
* time.
*/
bool border_pause;
-};
-
-struct player_control *
-pc_new(unsigned buffer_chunks, unsigned buffered_before_play);
-void
-pc_free(struct player_control *pc);
+ player_control(unsigned buffer_chunks,
+ unsigned buffered_before_play);
+ ~player_control();
+};
/**
* Locks the #player_control object.