diff options
Diffstat (limited to 'src/protocol/ArgParser.hxx')
-rw-r--r-- | src/protocol/ArgParser.hxx | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/protocol/ArgParser.hxx b/src/protocol/ArgParser.hxx index ea28de79e..0f79e7ab2 100644 --- a/src/protocol/ArgParser.hxx +++ b/src/protocol/ArgParser.hxx @@ -1,5 +1,5 @@ /* - * Copyright (C) 2003-2013 The Music Player Daemon Project + * Copyright (C) 2003-2014 The Music Player Daemon Project * http://www.musicpd.org * * This program is free software; you can redistribute it and/or modify @@ -25,6 +25,8 @@ #include <stdint.h> class Client; +class SongTime; +class SignedSongTime; bool check_uint32(Client &client, uint32_t *dst, const char *s); @@ -45,4 +47,10 @@ check_bool(Client &client, bool *value_r, const char *s); bool check_float(Client &client, float *value_r, const char *s); +bool +ParseCommandArg(Client &client, SongTime &value_r, const char *s); + +bool +ParseCommandArg(Client &client, SignedSongTime &value_r, const char *s); + #endif |