LeechCraft Azoth 0.6.70-16373-g319c272718
Modular multiprotocol IM plugin for LeechCraft
Loading...
Searching...
No Matches
imetainfoentry.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
11#include <QtPlugin>
12#include <QList>
13#include <QPair>
14#include <QVariant>
15
16namespace LC
17{
18namespace Azoth
19{
21 {
22 public:
23 enum class DataField
24 {
26 };
27
28 virtual ~IMetaInfoEntry () {}
29
30 virtual QVariant GetMetaInfo (DataField) const = 0;
31
33 protected:
34 virtual void vcardUpdated () = 0;
35 };
36}
37}
38
39Q_DECLARE_INTERFACE (LC::Azoth::IMetaInfoEntry, "org.Deviant.LeechCraft.Azoth.IMetaInfoEntry/1.0")
virtual ~IMetaInfoEntry()
virtual void vcardUpdated()=0
virtual QVariant GetMetaInfo(DataField) const =0
virtual QList< QPair< QString, QVariant > > GetVCardRepresentation() const =0
DataField
@ BirthDate