LeechCraft Azoth  0.6.70-15082-g543737046d
Modular multiprotocol IM plugin for LeechCraft
isupporttune.h
Go to the documentation of this file.
1 /**********************************************************************
2  * LeechCraft - modular cross-platform feature rich internet client.
3  * Copyright (C) 2006-2014 Georg Rudoy
4  *
5  * Distributed under the Boost Software License, Version 1.0.
6  * (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE_1_0.txt)
7  **********************************************************************/
8 
9 #ifndef PLUGINS_AZOTH_INTERFACES_ISUPPORTTUNE_H
10 #define PLUGINS_AZOTH_INTERFACES_ISUPPORTTUNE_H
11 #include <QtGlobal>
12 #include <QMap>
13 
14 namespace LC
15 {
16 namespace Azoth
17 {
26  class ISupportTune
27  {
28  public:
29  virtual ~ISupportTune () {}
30 
41  virtual void PublishTune (const QMap<QString, QVariant>& tuneData) = 0;
42  };
43 }
44 }
45 
46 Q_DECLARE_INTERFACE (LC::Azoth::ISupportTune,
47  "org.Deviant.LeechCraft.Azoth.ISupportTune/1.0")
48 
49 #endif
LC::Azoth::ISupportTune::~ISupportTune
virtual ~ISupportTune()
Definition: isupporttune.h:47
LC::Azoth::ISupportTune::PublishTune
virtual void PublishTune(const QMap< QString, QVariant > &tuneData)=0
Publishes the currently listening music information.
LC::Azoth::ISupportTune
Interface for publishing user tunes.
Definition: isupporttune.h:38
LC
Definition: activityinfo.h:13