ocarina/include/tabs.h

26 lines
441 B
C++

/*
* Copyright 2014 (c) Anna Schumaker.
*/
#ifndef OCARINA_TABS_H
#define OCARINA_TABS_H
#include <sstream>
struct TabFuncs {
void (*init_late)();
void (*cleanup)();
bool (*has_queue)(Playqueue *);
void (*track_added)(Playqueue *, unsigned int);
void (*track_deleted)(Playqueue *, unsigned int);
};
static inline std::string itoa(unsigned int i)
{
std::stringstream ss;
ss << i;
return ss.str();
}
#endif /* OCARINA_TABS_H */