aboutsummaryrefslogtreecommitdiff
path: root/Src/Wasabi/api/syscb/callbacks/playlistcb.h
blob: e0f261c80093d2ad090342f3d54c2c026ebc9b0d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef NULLSOFT_AGAVE_PLAYLISTCB_H
#define NULLSOFT_AGAVE_PLAYLISTCB_H

#include "../playlist/api_playlists.h"

#include "api/syscb/callbacks/syscbi.h"


#define PLAYLISTCALLBACKI_PARENT SysCallbackI
class PlaylistCallbackI : public PLAYLISTCALLBACKI_PARENT
{
public:
	virtual FOURCC syscb_getEventType()                               { return api_playlists::SYSCALLBACK; }

protected:
	// override these
	virtual int playlistcb_added( size_t index )                      { return 0; }
	virtual int playlistcb_saved( size_t index )                      { return 0; }

private:
	virtual int syscb_notify( int msg, intptr_t param1 = 0, intptr_t param2 = 0 );
};



#endif