Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
CDVDSubtitleTagSami Class Reference

#include <DVDSubtitleTagSami.h>

Classes

struct  SLangclass
 

Public Member Functions

 CDVDSubtitleTagSami ()
 
virtual ~CDVDSubtitleTagSami ()
 
bool Init ()
 
void ConvertLine (std::string &strUTF8, const char *langClassID=NULL)
 Convert a subtitle text line.
 
void CloseTag (std::string &text)
 
void LoadHead (CDVDSubtitleStream *samiStream)
 

Public Attributes

std::vector< SLangclassm_Langclass
 

Constructor & Destructor Documentation

◆ CDVDSubtitleTagSami()

CDVDSubtitleTagSami::CDVDSubtitleTagSami ( )
inline

◆ ~CDVDSubtitleTagSami()

CDVDSubtitleTagSami::~CDVDSubtitleTagSami ( )
virtual

Member Function Documentation

◆ CloseTag()

void CDVDSubtitleTagSami::CloseTag ( std::string & text)

◆ ConvertLine()

void CDVDSubtitleTagSami::ConvertLine ( std::string & strUTF8,
const char * langClassID = NULL )

Convert a subtitle text line.

Parameters
lineThe text line
lenThe line length
langClassIDThe SAMI Class ID language (keep the language lines with this ID and ignore all others)

◆ Init()

bool CDVDSubtitleTagSami::Init ( )

◆ LoadHead()

void CDVDSubtitleTagSami::LoadHead ( CDVDSubtitleStream * samiStream)

Member Data Documentation

◆ m_Langclass

std::vector<SLangclass> CDVDSubtitleTagSami::m_Langclass

The documentation for this class was generated from the following files: