LeechCraft Azoth 0.6.70-17335-ge406ffdcaf
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
13namespace LC
14{
15namespace Azoth
16{
24 {
25 public:
27
35 virtual int GetInactiveSeconds () = 0;
36 };
37}
38}
39
40Q_DECLARE_INTERFACE (LC::Azoth::ILastActivityProvider,
41 "org.Deviant.LeechCraft.Azoth.ILastActivityProvider/1.0")
42
43#endif
Interface for plugins providing last activity info.
virtual int GetInactiveSeconds()=0
Number of seconds of inactivity.