diff options
| author | 2010-06-13 15:21:29 +0000 | |
|---|---|---|
| committer | 2010-06-13 15:21:29 +0000 | |
| commit | cfcfaded711c1a51ddc160b02c377b3fc65456cb (patch) | |
| tree | c51cf57dca6665b8966c281f4a7be58250d73a6b /src/modules/mediaplayer/mp_interface.h | |
| parent | Fix for a crash in the objects module (diff) | |
| download | KVIrc-cfcfaded711c1a51ddc160b02c377b3fc65456cb.tar.gz KVIrc-cfcfaded711c1a51ddc160b02c377b3fc65456cb.tar.bz2 KVIrc-cfcfaded711c1a51ddc160b02c377b3fc65456cb.zip | |
Make the KVS parameter specification a bit more typesafe. Fix some mismatched types detected with the new method.
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@4457 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/mediaplayer/mp_interface.h')
| -rw-r--r-- | src/modules/mediaplayer/mp_interface.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/mediaplayer/mp_interface.h b/src/modules/mediaplayer/mp_interface.h index c26b5d0ee..f095dab59 100644 --- a/src/modules/mediaplayer/mp_interface.h +++ b/src/modules/mediaplayer/mp_interface.h @@ -117,7 +117,7 @@ public: // 0 if the player isn't playing anyting and -1 if unknown (e.g. a stream) virtual int length(); // jump to position - virtual bool jumpTo(int &iPos); + virtual bool jumpTo(kvs_int_t &iPos); // interface with a default implementation for certain types of media (read for mp3) // reimplement only if the player knows better @@ -156,13 +156,13 @@ public: // get the position in the playlist virtual int getPlayListPos(); // set the position in the playlist - virtual bool setPlayListPos(int &iPos); + virtual bool setPlayListPos(kvs_int_t &iPos); // return the list's length virtual int getListLength(); // return the Eq(number) value - virtual int getEqData(int &i_val); + virtual int getEqData(kvs_int_t &i_val); // set the Eq(iPos) to Eq(iVal) value - virtual bool setEqData(int &iPos, int &iVal); + virtual bool setEqData(kvs_int_t &iPos, kvs_int_t &iVal); // get the Repeat bool value virtual bool getRepeat(); // get the shuffle bool value |
