LeechCraft Azoth  0.6.70-14771-g9d21b0f8ad
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 {
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
Interface for publishing user tunes.
Definition: isupporttune.h:27
virtual void PublishTune(const QMap< QString, QVariant > &tuneData)=0
Publishes the currently listening music information.