TTKMusicPlayer  4.2.0.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
Public Member Functions | Protected Attributes | List of all members
MusicLrcFromInterface Class Referenceabstract

The class of the base lrc interface. More...

#include <musiclrcparser.h>

+ Inheritance diagram for MusicLrcFromInterface:

Public Member Functions

virtual ~MusicLrcFromInterface ()=default
 
virtual bool decode (const QString &input)=0
 
const QByteArray & data () const noexcept
 

Protected Attributes

QByteArray m_data
 

Detailed Description

The class of the base lrc interface.

Author
Greedysky greed.nosp@m.ysky.nosp@m.@163..nosp@m.com

Definition at line 27 of file musiclrcparser.h.

Constructor & Destructor Documentation

virtual MusicLrcFromInterface::~MusicLrcFromInterface ( )
virtualdefault

Object destructor.

Member Function Documentation

const QByteArray & MusicLrcFromInterface::data ( ) const
noexcept

Get decode string.

Definition at line 10 of file musiclrcparser.cpp.

References m_data.

Referenced by MusicLrcFromQrc::decode(), MusicLrcFromTrc::decode(), MusicLrcFromYrc::decode(), and MusicLrcAnalysis::loadFromFile().

virtual bool MusicLrcFromInterface::decode ( const QString &  input)
pure virtual

Decode file to lrc by input file.

Implemented in MusicLrcFromYrc, MusicLrcFromTrc, MusicLrcFromQrc, MusicLrcFromKrc, and MusicLrcFromPlain.

Member Data Documentation

QByteArray MusicLrcFromInterface::m_data
protected

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