LeechCraft Azoth  0.6.70-15082-g543737046d
Modular multiprotocol IM plugin for LeechCraft
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. More...
 

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 38 of file isupporttune.h.

Constructor & Destructor Documentation

◆ ~ISupportTune()

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

Definition at line 47 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: