NaCl Player API
NaCl Player API Documentation
subtitle_listener.h
Go to the documentation of this file.
1
// Copyright (c) 2016 Samsung Electronics. All rights reserved.
2
// Use of this source code is governed by a BSD-style license that can be
3
// found in the LICENSE file.
4
5
#ifndef NACL_PLAYER_SUBTITLE_LISTENER_H_
6
#define NACL_PLAYER_SUBTITLE_LISTENER_H_
7
8
#include "nacl_player/common.h"
9
14
namespace
Samsung
{
15
namespace
NaClPlayer {
16
21
class
SubtitleListener
{
22
public
:
23
virtual
~
SubtitleListener
();
24
31
virtual
void
OnShowSubtitle
(
TimeDelta
duration,
const
char
* text) = 0;
32
33
protected
:
36
SubtitleListener
();
37
};
38
39
}
// namespace NaClPlayer
40
}
// namespace Samsung
41
42
#endif // NACL_PLAYER_SUBTITLE_LISTENER_H_
Samsung::NaClPlayer::SubtitleListener::SubtitleListener
SubtitleListener()
Samsung
Definition:
buffering_listener.h:13
Samsung::NaClPlayer::SubtitleListener::OnShowSubtitle
virtual void OnShowSubtitle(TimeDelta duration, const char *text)=0
Samsung::NaClPlayer::TimeDelta
double TimeDelta
difference of two timestamps in seconds
Definition:
common.h:20
Samsung::NaClPlayer::SubtitleListener
Definition:
subtitle_listener.h:21
include
subtitle_listener.h
Generated by
1.8.13