repo.or.cz
/
haiku.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
vfs: check userland buffers before reading them.
[haiku.git]
/
src
/
apps
/
mediaplayer
/
supplier
/
SubTitles.h
blob
dd6acc059c9bc88df7294572eac4d0aede34435e
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
13
class
BFile
;
14
15
16
struct
SubTitle
{
17
BString text
;
18
BPoint placement
;
19
bigtime_t startTime
;
20
bigtime_t duration
;
21
};
22
23
24
class
SubTitles
{
25
public
:
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