LeechCraft Azoth  0.6.70-15082-g543737046d
Modular multiprotocol IM plugin for LeechCraft
isupportactivity.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 #pragma once
10 
11 #include <QtGlobal>
12 
13 namespace LC
14 {
15 namespace Azoth
16 {
17  struct ActivityInfo;
18 
30  class ISupportActivity
31  {
32  public:
33  virtual ~ISupportActivity () {}
34 
39  virtual void SetActivity (const ActivityInfo& info) = 0;
40  };
41 }
42 }
43 
44 Q_DECLARE_INTERFACE (LC::Azoth::ISupportActivity,
45  "org.Deviant.LeechCraft.Azoth.ISupportActivity/1.0")
LC::Azoth::ISupportActivity::SetActivity
virtual void SetActivity(const ActivityInfo &info)=0
Publishes the current user activity.
LC::Azoth::ISupportActivity
Interface for accounts supporting user activity.
Definition: isupportactivity.h:42
LC
Definition: activityinfo.h:13
LC::Azoth::ISupportActivity::~ISupportActivity
virtual ~ISupportActivity()
Definition: isupportactivity.h:45