LeechCraft Azoth
0.6.70-17609-g3dde4097dd
Modular multiprotocol IM plugin for LeechCraft
Loading...
Searching...
No Matches
ilastactivityprovider.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_ILASTACTIVITYPROVIDER_H
10
#define PLUGINS_AZOTH_INTERFACES_ILASTACTIVITYPROVIDER_H
11
#include <QMetaType>
12
13
namespace
LC
14
{
15
namespace
Azoth
16
{
23
class
ILastActivityProvider
24
{
25
public
:
26
virtual
~ILastActivityProvider
() {}
27
35
virtual
int
GetInactiveSeconds
() = 0;
36
};
37
}
38
}
39
40
Q_DECLARE_INTERFACE (
LC::Azoth::ILastActivityProvider
,
41
"org.Deviant.LeechCraft.Azoth.ILastActivityProvider/1.0"
)
42
43
#endif
LC::Azoth::ILastActivityProvider
Interface for plugins providing last activity info.
Definition
ilastactivityprovider.h:24
LC::Azoth::ILastActivityProvider::GetInactiveSeconds
virtual int GetInactiveSeconds()=0
Number of seconds of inactivity.
LC::Azoth::ILastActivityProvider::~ILastActivityProvider
virtual ~ILastActivityProvider()
Definition
ilastactivityprovider.h:26
LC::Azoth
Definition
activityinfo.h:16
LC
Definition
activityinfo.h:14
src
plugins
azoth
interfaces
azoth
ilastactivityprovider.h
Generated by
1.14.0