MythTV  master
Public Slots | Public Member Functions | Private Member Functions | List of all members
ContentServices Class Referenceabstract

#include <contentServices.h>

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

Public Slots

virtual QFileInfo GetFile (const QString &StorageGroup, const QString &FileName)=0
 
virtual QFileInfo GetImageFile (const QString &StorageGroup, const QString &FileName, int Width, int Height)=0
 
virtual QStringList GetFileList (const QString &StorageGroup)=0
 
virtual QStringList GetDirList (const QString &StorageGroup)=0
 
virtual QFileInfo GetRecordingArtwork (const QString &Type, const QString &Inetref, int Season, int Width, int Height)=0
 
virtual DTC::ArtworkInfoListGetRecordingArtworkList (int RecordedId, int ChanId, const QDateTime &StartTime)=0
 
virtual DTC::ArtworkInfoListGetProgramArtworkList (const QString &Inetref, int Season)=0
 
virtual QFileInfo GetVideoArtwork (const QString &Type, int Id, int Width, int Height)=0
 
virtual QFileInfo GetAlbumArt (int Id, int Width, int Height)=0
 
virtual QFileInfo GetPreviewImage (int RecordedId, int ChanId, const QDateTime &StartTime, int Width, int Height, int SecsIn, const QString &Format)=0
 
virtual QFileInfo GetRecording (int RecordedId, int ChanId, const QDateTime &StartTime)=0
 
virtual QFileInfo GetMusic (int Id)=0
 
virtual QFileInfo GetVideo (int Id)=0
 
virtual QString GetHash (const QString &StorageGroup, const QString &FileName)=0
 
virtual bool DownloadFile (const QString &URL, const QString &StorageGroup)=0
 
virtual DTC::LiveStreamInfoAddLiveStream (const QString &StorageGroup, const QString &FileName, const QString &HostName, int MaxSegments, int Width, int Height, int Bitrate, int AudioBitrate, int SampleRate)=0
 
virtual DTC::LiveStreamInfoAddRecordingLiveStream (int RecordedId, int ChanId, const QDateTime &StartTime, int MaxSegments, int Width, int Height, int Bitrate, int AudioBitrate, int SampleRate)=0
 
virtual DTC::LiveStreamInfoAddVideoLiveStream (int Id, int MaxSegments, int Width, int Height, int Bitrate, int AudioBitrate, int SampleRate)=0
 
virtual DTC::LiveStreamInfoGetLiveStream (int Id)=0
 
virtual DTC::LiveStreamInfoListGetLiveStreamList (const QString &FileName)=0
 
virtual DTC::LiveStreamInfoStopLiveStream (int Id)=0
 
virtual bool RemoveLiveStream (int Id)=0
 

Public Member Functions

 ContentServices (QObject *parent=nullptr)
 
- Public Member Functions inherited from Service
 Service (QObject *parent=nullptr)
 
virtual QVariant ConvertToVariant (int nType, void *pValue)
 
virtual void * ConvertToParameterPtr (int nTypeId, const QString &sParamType, void *pParam, const QString &sValue)
 

Private Member Functions

 Q_CLASSINFO ("version", "2.0")
 

Additional Inherited Members

- Static Public Member Functions inherited from Service
static bool ToBool (const QString &sVal)
 
- Public Attributes inherited from Service
QList< QString > m_parsedParams
 

Detailed Description

Definition at line 39 of file contentServices.h.

Constructor & Destructor Documentation

◆ ContentServices()

ContentServices::ContentServices ( QObject *  parent = nullptr)
inline

Definition at line 50 of file contentServices.h.

Member Function Documentation

◆ Q_CLASSINFO()

ContentServices::Q_CLASSINFO ( "version"  ,
"2.0"   
)
private

◆ GetFile

virtual QFileInfo ContentServices::GetFile ( const QString &  StorageGroup,
const QString &  FileName 
)
pure virtualslot

Implemented in Content.

◆ GetImageFile

virtual QFileInfo ContentServices::GetImageFile ( const QString &  StorageGroup,
const QString &  FileName,
int  Width,
int  Height 
)
pure virtualslot

Implemented in Content.

◆ GetFileList

virtual QStringList ContentServices::GetFileList ( const QString &  StorageGroup)
pure virtualslot

Implemented in Content.

◆ GetDirList

virtual QStringList ContentServices::GetDirList ( const QString &  StorageGroup)
pure virtualslot

Implemented in Content.

◆ GetRecordingArtwork

virtual QFileInfo ContentServices::GetRecordingArtwork ( const QString &  Type,
const QString &  Inetref,
int  Season,
int  Width,
int  Height 
)
pure virtualslot

Implemented in Content.

◆ GetRecordingArtworkList

virtual DTC::ArtworkInfoList* ContentServices::GetRecordingArtworkList ( int  RecordedId,
int  ChanId,
const QDateTime &  StartTime 
)
pure virtualslot

Implemented in Content.

◆ GetProgramArtworkList

virtual DTC::ArtworkInfoList* ContentServices::GetProgramArtworkList ( const QString &  Inetref,
int  Season 
)
pure virtualslot

Implemented in Content.

◆ GetVideoArtwork

virtual QFileInfo ContentServices::GetVideoArtwork ( const QString &  Type,
int  Id,
int  Width,
int  Height 
)
pure virtualslot

Implemented in Content.

◆ GetAlbumArt

virtual QFileInfo ContentServices::GetAlbumArt ( int  Id,
int  Width,
int  Height 
)
pure virtualslot

Implemented in Content.

◆ GetPreviewImage

virtual QFileInfo ContentServices::GetPreviewImage ( int  RecordedId,
int  ChanId,
const QDateTime &  StartTime,
int  Width,
int  Height,
int  SecsIn,
const QString &  Format 
)
pure virtualslot

Implemented in Content.

◆ GetRecording

virtual QFileInfo ContentServices::GetRecording ( int  RecordedId,
int  ChanId,
const QDateTime &  StartTime 
)
pure virtualslot

Implemented in Content.

◆ GetMusic

virtual QFileInfo ContentServices::GetMusic ( int  Id)
pure virtualslot

Implemented in Content.

◆ GetVideo

virtual QFileInfo ContentServices::GetVideo ( int  Id)
pure virtualslot

Implemented in Content.

◆ GetHash

virtual QString ContentServices::GetHash ( const QString &  StorageGroup,
const QString &  FileName 
)
pure virtualslot

Implemented in Content.

◆ DownloadFile

virtual bool ContentServices::DownloadFile ( const QString &  URL,
const QString &  StorageGroup 
)
pure virtualslot

Implemented in Content.

◆ AddLiveStream

virtual DTC::LiveStreamInfo* ContentServices::AddLiveStream ( const QString &  StorageGroup,
const QString &  FileName,
const QString &  HostName,
int  MaxSegments,
int  Width,
int  Height,
int  Bitrate,
int  AudioBitrate,
int  SampleRate 
)
pure virtualslot

Implemented in Content.

◆ AddRecordingLiveStream

virtual DTC::LiveStreamInfo* ContentServices::AddRecordingLiveStream ( int  RecordedId,
int  ChanId,
const QDateTime &  StartTime,
int  MaxSegments,
int  Width,
int  Height,
int  Bitrate,
int  AudioBitrate,
int  SampleRate 
)
pure virtualslot

Implemented in Content.

◆ AddVideoLiveStream

virtual DTC::LiveStreamInfo* ContentServices::AddVideoLiveStream ( int  Id,
int  MaxSegments,
int  Width,
int  Height,
int  Bitrate,
int  AudioBitrate,
int  SampleRate 
)
pure virtualslot

Implemented in Content.

◆ GetLiveStream

virtual DTC::LiveStreamInfo* ContentServices::GetLiveStream ( int  Id)
pure virtualslot

Implemented in Content.

◆ GetLiveStreamList

virtual DTC::LiveStreamInfoList* ContentServices::GetLiveStreamList ( const QString &  FileName)
pure virtualslot

Implemented in Content.

◆ StopLiveStream

virtual DTC::LiveStreamInfo* ContentServices::StopLiveStream ( int  Id)
pure virtualslot

Implemented in Content.

◆ RemoveLiveStream

virtual bool ContentServices::RemoveLiveStream ( int  Id)
pure virtualslot

Implemented in Content.


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