ocarina/include/libsaria/model.h
Bryan Schumaker 136f12bc7c libsaria: Created a SourceModel class
The source model class is used to more tightly control how songs are
inserted into the UI.  I provide an insert() function that the library's
for_each() function can take advantage of.  This allows me to directly
insert songs into the UI rather than having to use a static function as
the "middle man"
2011-10-29 15:19:45 -04:00

20 lines
261 B
C++

#ifndef LIBSARIA_SOURCE_H
#define LIBSARIA_SOURCE_H
#include <libsaria/track.h>
namespace libsaria
{
class SourceModel
{
public:
SourceModel();
virtual ~SourceModel() = 0;
virtual void insert(Track &) = 0;
};
}
#endif /* LIBSARIA_SOURCE_H */