#ifndef __carousel_h
#define __carousel_h
#include <time.h>

#include "kernel.h"
#include "pinboard.h"

_kernel_oserror *carousel_start(_backdrop_state *state, char *path);
void carousel_stop(_backdrop_state *state);
int carousel_next(_backdrop_state *state);
int carousel_get_interval(void);
void carousel_set_interval(int);
void carousel_update_offsets(int offset,int delta);
void carousel_check_update(_backdrop_state *state, char *fs, char *path);
extern unsigned int carousel_last_change;

extern char *carousel_path;

#endif
