1/*
2 * Copyright 2010, Stephan Aßmus <superstippi@gmx.de>. All rights reserved.
3 * Distributed under the terms of the MIT License.
4 */
5#ifndef SUB_TITLES_H
6#define SUB_TITLES_H
7
8
9#include <Point.h>
10#include <String.h>
11
12
13class BFile;
14
15
16struct SubTitle {
17	BString		text;
18	BPoint		placement;
19	bigtime_t	startTime;
20	bigtime_t	duration;
21};
22
23
24class SubTitles {
25public:
26								SubTitles();
27	virtual						~SubTitles();
28
29	virtual	const char*			Name() const = 0;
30	virtual	const SubTitle*		SubTitleAt(bigtime_t time) const = 0;
31};
32
33
34#endif //SUB_TITLES_H
35