aboutsummaryrefslogtreecommitdiff
path: root/Src/playlist/PlaylistCounter.h
blob: 0d3fb72dedc01e4bf18980072bd5ae9be5266a15 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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