diff options
Diffstat (limited to 'Src/playlist/PlaylistCounter.h')
-rw-r--r-- | Src/playlist/PlaylistCounter.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Src/playlist/PlaylistCounter.h b/Src/playlist/PlaylistCounter.h new file mode 100644 index 00000000..0d3fb72d --- /dev/null +++ b/Src/playlist/PlaylistCounter.h @@ -0,0 +1,21 @@ +#ifndef NULLSOFT_PLAYLIST_PLAYLISTCOUNTER_H +#define NULLSOFT_PLAYLIST_PLAYLISTCOUNTER_H + +#include "ifc_playlistloadercallback.h" + +class PlaylistCounter : public ifc_playlistloadercallback +{ +public: + PlaylistCounter() {} + + int OnFile( const wchar_t *filename, const wchar_t *title, int lengthInMS, ifc_plentryinfo *info ); + + size_t count = 0; + uint64_t length = 0; + +protected: + RECVS_DISPATCH; + +}; + +#endif
\ No newline at end of file |