LeechCraft Azoth 0.6.70-17609-g3dde4097dd
Modular multiprotocol IM plugin for LeechCraft
Loading...
Searching...
No Matches
ihaveentitytime.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
11namespace LC
12{
13namespace Azoth
14{
18 {
19 public:
20 virtual ~IHaveEntityTime () {}
21
24 virtual void UpdateEntityTime () = 0;
25 protected:
35 virtual void entityTimeUpdated () = 0;
36 };
37}
38}
39
40Q_DECLARE_INTERFACE (LC::Azoth::IHaveEntityTime,
41 "org.Deviant.LeechCraft.Azoth.IHaveEntityTime/1.0")
Interface for entries that can report their local time.
virtual void UpdateEntityTime()=0
Requests updating the entry's local time.
virtual void entityTimeUpdated()=0
Notifies that the entry local time is now known or has changed.