LeechCraft Azoth  0.6.70-6645-gcd10d7e
Modular multiprotocol IM plugin for LeechCraft
LeechCraft::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 47 of file isupporttune.h.

Constructor & Destructor Documentation

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

Definition at line 50 of file isupporttune.h.

References PublishTune(), and Q_DECLARE_INTERFACE().

+ Here is the call graph for this function:

Member Function Documentation

virtual void LeechCraft::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.

Referenced by ~ISupportTune().

+ Here is the caller graph for this function:


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