LeechCraft Azoth
0.6.70-18450-gabe19ee3b0
Modular multiprotocol IM plugin for LeechCraft
Toggle main menu visibility
Loading...
Searching...
No Matches
isupportgeolocation.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_ISUPPORTGEOLOCATION_H
10
#define PLUGINS_AZOTH_INTERFACES_ISUPPORTGEOLOCATION_H
11
#include <QtPlugin>
12
#include <QMap>
13
#include <QVariant>
14
15
namespace
LC
16
{
17
namespace
Azoth
18
{
72
typedef
QMap<QString, QVariant>
GeolocationInfo_t
;
73
85
class
ISupportGeolocation
86
{
87
public
:
88
virtual
~ISupportGeolocation
() {}
89
97
virtual
void
SetGeolocationInfo
(
const
GeolocationInfo_t
& info) = 0;
98
115
virtual
GeolocationInfo_t
GetUserGeolocationInfo
(QObject *entry,
116
const
QString& variant)
const
= 0;
117
132
virtual
void
geolocationInfoChanged
(
const
QString& variant, QObject *entry) = 0;
133
};
134
}
135
}
136
137
Q_DECLARE_INTERFACE (
LC::Azoth::ISupportGeolocation
,
138
"org.Deviant.LeechCraft.Azoth.ISupportGeolocation/1.0"
)
139
140
#endif
LC::Azoth::ISupportGeolocation
Interface for accounts supporting geolocation data.
Definition
isupportgeolocation.h:86
LC::Azoth::ISupportGeolocation::geolocationInfoChanged
virtual void geolocationInfoChanged(const QString &variant, QObject *entry)=0
Notifies about info change of another entry.
LC::Azoth::ISupportGeolocation::GetUserGeolocationInfo
virtual GeolocationInfo_t GetUserGeolocationInfo(QObject *entry, const QString &variant) const =0
Returns info for the given entry and variant.
LC::Azoth::ISupportGeolocation::SetGeolocationInfo
virtual void SetGeolocationInfo(const GeolocationInfo_t &info)=0
Publishes the given geolocation info.
LC::Azoth::ISupportGeolocation::~ISupportGeolocation
virtual ~ISupportGeolocation()
Definition
isupportgeolocation.h:88
LC::Azoth
Definition
activityinfo.h:16
LC::Azoth::GeolocationInfo_t
QMap< QString, QVariant > GeolocationInfo_t
Geolocation data.
Definition
isupportgeolocation.h:72
LC
Definition
activityinfo.h:14
src
plugins
azoth
interfaces
azoth
isupportgeolocation.h
Generated by
1.17.0