LeechCraft Azoth 0.6.70-17609-g3dde4097dd
Modular multiprotocol IM plugin for LeechCraft
Loading...
Searching...
No Matches
iadvancedmessage.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_IADVANCEDMESSAGE_H
10#define PLUGINS_AZOTH_INTERFACES_IADVANCEDMESSAGE_H
11#include <QtPlugin>
12
13namespace LC
14{
15namespace Azoth
16{
26 {
27 public:
28 virtual ~IAdvancedMessage () {}
29
39 virtual bool IsDelivered () const = 0;
40 protected:
49 virtual void messageDelivered () = 0;
50 };
51}
52}
53
54Q_DECLARE_INTERFACE (LC::Azoth::IAdvancedMessage,
55 "org.Deviant.LeechCraft.Azoth.IAdvancedMessage/1.0")
56
57#endif
virtual void messageDelivered()=0
Notifies that the message has been delivered.
virtual bool IsDelivered() const =0
Queries message delivery status.