repository_infos: Enable automatic updates on the main Haiku repostiory.
[haiku.git] / src / apps / mediaplayer / supplier / SubTitles.h
blobdd6acc059c9bc88df7294572eac4d0aede34435e
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
9 #include <Point.h>
10 #include <String.h>
13 class BFile;
16 struct SubTitle {
17 BString text;
18 BPoint placement;
19 bigtime_t startTime;
20 bigtime_t duration;
24 class SubTitles {
25 public:
26 SubTitles();
27 virtual ~SubTitles();
29 virtual const char* Name() const = 0;
30 virtual const SubTitle* SubTitleAt(bigtime_t time) const = 0;
34 #endif //SUB_TITLES_H