LeechCraft Azoth
0.6.70-15082-g543737046d
Modular multiprotocol IM plugin for LeechCraft
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
16
namespace
LC
17
{
18
namespace
Azoth
19
{
20
class
IMetaInfoEntry
21
{
22
public
:
23
enum class
DataField
24
{
25
BirthDate
26
};
27
28
virtual
~IMetaInfoEntry
() {}
29
30
virtual
QVariant
GetMetaInfo
(
DataField
)
const
= 0;
31
32
virtual
QList<QPair<QString, QVariant>
>
GetVCardRepresentation
()
const
= 0;
33
protected
:
34
virtual
void
vcardUpdated
() = 0;
35
};
36
}
37
}
38
39
Q_DECLARE_INTERFACE (
LC::Azoth::IMetaInfoEntry
,
"org.Deviant.LeechCraft.Azoth.IMetaInfoEntry/1.0"
)
LC::Azoth::IMetaInfoEntry::DataField
DataField
Definition:
imetainfoentry.h:41
QList
Definition:
iaccountactionsprovider.h:16
LC::Azoth::IMetaInfoEntry::GetMetaInfo
virtual QVariant GetMetaInfo(DataField) const =0
LC::Azoth::IMetaInfoEntry::GetVCardRepresentation
virtual QList< QPair< QString, QVariant > > GetVCardRepresentation() const =0
LC::Azoth::IMetaInfoEntry::vcardUpdated
virtual void vcardUpdated()=0
LC::Azoth::IMetaInfoEntry::DataField::BirthDate
@ BirthDate
LC::Azoth::IMetaInfoEntry::~IMetaInfoEntry
virtual ~IMetaInfoEntry()
Definition:
imetainfoentry.h:46
LC
Definition:
activityinfo.h:13
LC::Azoth::IMetaInfoEntry
Definition:
imetainfoentry.h:32
src
plugins
azoth
interfaces
azoth
imetainfoentry.h
Generated by
1.8.17