LeechCraft Azoth 0.6.70-17609-g3dde4097dd
Modular multiprotocol IM plugin for LeechCraft
Loading...
Searching...
No Matches
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
13namespace LC
14{
15namespace Azoth
16{
17 struct ActivityInfo;
18
31 {
32 public:
33 virtual ~ISupportActivity () {}
34
39 virtual void SetActivity (const ActivityInfo& info) = 0;
40 };
41}
42}
43
44Q_DECLARE_INTERFACE (LC::Azoth::ISupportActivity,
45 "org.Deviant.LeechCraft.Azoth.ISupportActivity/1.0")
Interface for accounts supporting user activity.
virtual void SetActivity(const ActivityInfo &info)=0
Publishes the current user activity.
Describes contact activity information.