LeechCraft Azoth 0.6.70-16373-g319c272718
Modular multiprotocol IM plugin for LeechCraft
Loading...
Searching...
No Matches
LC::Azoth::ISupportTune Class Referenceabstract

Interface for publishing user tunes. More...

#include "isupporttune.h"

Public Member Functions

virtual ~ISupportTune ()
 
virtual void PublishTune (const QMap< QString, QVariant > &tuneData)=0
 Publishes the currently listening music information.
 

Detailed Description

Interface for publishing user tunes.

This interface can be implemented by account objects (those that implement IAccount) to advertise the support for publishing currently playing tune information.

See also
IAccount

Definition at line 26 of file isupporttune.h.

Constructor & Destructor Documentation

◆ ~ISupportTune()

virtual LC::Azoth::ISupportTune::~ISupportTune ( )
inlinevirtual

Definition at line 29 of file isupporttune.h.

Member Function Documentation

◆ PublishTune()

virtual void LC::Azoth::ISupportTune::PublishTune ( const QMap< QString, QVariant > & tuneData)
pure virtual

Publishes the currently listening music information.

The tuneData parameter is the map containing the following keys:

  • "artist" of type QString.
  • "title" of type QString.
  • "source" of type QString.
  • "length" of type QString.
  • "track" of type int.

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