MythTV  master
Public Slots | Public Member Functions | Private Attributes | List of all members
ScriptableContent Class Reference

#include <content.h>

Inheritance diagram for ScriptableContent:
Inheritance graph
[legend]
Collaboration diagram for ScriptableContent:
Collaboration graph
[legend]

Public Slots

QObject * GetRecordingArtworkList (int RecordedId)
 
QObject * GetProgramArtworkList (const QString &Inetref, int Season)
 
QString GetHash (const QString &StorageGroup, const QString &FileName)
 
QObject * AddLiveStream (const QString &StorageGroup, const QString &FileName, const QString &HostName, int MaxSegments, int Width, int Height, int Bitrate, int AudioBitrate, int SampleRate)
 
QObject * AddRecordingLiveStream (int RecordedId, int MaxSegments, int Width, int Height, int Bitrate, int AudioBitrate, int SampleRate)
 
QObject * AddVideoLiveStream (int Id, int MaxSegments, int Width, int Height, int Bitrate, int AudioBitrate, int SampleRate)
 
QObject * GetLiveStream (int Id)
 
QObject * GetLiveStreamList (const QString &FileName)
 
QObject * StopLiveStream (int Id)
 
bool RemoveLiveStream (int Id)
 

Public Member Functions

Q_INVOKABLE ScriptableContent (QScriptEngine *pEngine, QObject *parent=nullptr)
 

Private Attributes

Content m_obj
 
QScriptEngine * m_pEngine
 

Detailed Description

Definition at line 145 of file content.h.

Constructor & Destructor Documentation

◆ ScriptableContent()

Q_INVOKABLE ScriptableContent::ScriptableContent ( QScriptEngine *  pEngine,
QObject *  parent = nullptr 
)
inline

Definition at line 156 of file content.h.

Member Function Documentation

◆ GetRecordingArtworkList

QObject* ScriptableContent::GetRecordingArtworkList ( int  RecordedId)
inlineslot

Definition at line 163 of file content.h.

◆ GetProgramArtworkList

QObject* ScriptableContent::GetProgramArtworkList ( const QString &  Inetref,
int  Season 
)
inlineslot

Definition at line 170 of file content.h.

◆ GetHash

QString ScriptableContent::GetHash ( const QString &  StorageGroup,
const QString &  FileName 
)
inlineslot

Definition at line 178 of file content.h.

◆ AddLiveStream

QObject* ScriptableContent::AddLiveStream ( const QString &  StorageGroup,
const QString &  FileName,
const QString &  HostName,
int  MaxSegments,
int  Width,
int  Height,
int  Bitrate,
int  AudioBitrate,
int  SampleRate 
)
inlineslot

Definition at line 187 of file content.h.

◆ AddRecordingLiveStream

QObject* ScriptableContent::AddRecordingLiveStream ( int  RecordedId,
int  MaxSegments,
int  Width,
int  Height,
int  Bitrate,
int  AudioBitrate,
int  SampleRate 
)
inlineslot

Definition at line 204 of file content.h.

◆ AddVideoLiveStream

QObject* ScriptableContent::AddVideoLiveStream ( int  Id,
int  MaxSegments,
int  Width,
int  Height,
int  Bitrate,
int  AudioBitrate,
int  SampleRate 
)
inlineslot

Definition at line 220 of file content.h.

◆ GetLiveStream

QObject* ScriptableContent::GetLiveStream ( int  Id)
inlineslot

Definition at line 234 of file content.h.

◆ GetLiveStreamList

QObject* ScriptableContent::GetLiveStreamList ( const QString &  FileName)
inlineslot

Definition at line 241 of file content.h.

◆ StopLiveStream

QObject* ScriptableContent::StopLiveStream ( int  Id)
inlineslot

Definition at line 248 of file content.h.

◆ RemoveLiveStream

bool ScriptableContent::RemoveLiveStream ( int  Id)
inlineslot

Definition at line 255 of file content.h.

Member Data Documentation

◆ m_obj

Content ScriptableContent::m_obj
private

◆ m_pEngine

QScriptEngine* ScriptableContent::m_pEngine
private

Definition at line 152 of file content.h.

Referenced by ScriptableContent().


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