LeechCraft Azoth  0.6.70-15082-g543737046d
Modular multiprotocol IM plugin for LeechCraft
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::~ILastActivityProvider
virtual ~ILastActivityProvider()
Definition: ilastactivityprovider.h:44
LC
Definition: activityinfo.h:13
LC::Azoth::ILastActivityProvider::GetInactiveSeconds
virtual int GetInactiveSeconds()=0
Number of seconds of inactivity.
LC::Azoth::ILastActivityProvider
Interface for plugins providing last activity info.
Definition: ilastactivityprovider.h:35