LeechCraft Azoth 0.6.70-17335-ge406ffdcaf
Modular multiprotocol IM plugin for LeechCraft
Loading...
Searching...
No Matches
ihavequeriableversion.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
11class QString;
12class QObject;
13
14namespace LC
15{
16namespace Azoth
17{
19 {
20 public:
22 protected:
23 virtual void versionReceived () = 0;
24 };
25
27 {
28 public:
30
31 virtual QObject* QueryVersion (const QString& variant) = 0;
32 };
33}
34}
35
36Q_DECLARE_INTERFACE (LC::Azoth::IPendingVersionQuery,
37 "org.LeechCraft.Azoth.IPendingVersionQuery/1.0")
38Q_DECLARE_INTERFACE (LC::Azoth::IHaveQueriableVersion,
39 "org.LeechCraft.Azoth.IHaveQueriableVersion/1.0")
virtual QObject * QueryVersion(const QString &variant)=0
virtual void versionReceived()=0