#ifndef __FLSearch__H
#define __FLSearch__H

#include <stdbool.h>
#include "FLTrack.h"

typedef unsigned int (*FLSearch_GetTrackCount)(const void* pView);
typedef FLTrack* (*FLSearch_GetTrack)(const void* pView, unsigned int index);
typedef unsigned int (*FLSearch_GetState)(const void* pView, const FLTrack* pTrack);
typedef void (*FLSearch_SetState)(void* pView, const FLTrack* pTrack, unsigned int state, unsigned int mask);
typedef void (*FLSearch_ShowTrack)(void* pView, const FLTrack* pTrack);

void FLSearch_Open(void* pView
		, FLSearch_GetTrackCount
		, FLSearch_GetTrack
		, FLSearch_GetState
		, FLSearch_SetState
		, FLSearch_ShowTrack
		);
void FLSearch_Close(void* pView);
void FLSearch_NotFLSearch(void);

#endif
