LeechCraft Azoth
0.6.70-18450-gabe19ee3b0
Modular multiprotocol IM plugin for LeechCraft
Toggle main menu visibility
Loading...
Searching...
No Matches
iauthable.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_IAUTHABLE_H
10
#define PLUGINS_AZOTH_INTERFACES_IAUTHABLE_H
11
#include <QString>
12
#include "
azothcommon.h
"
13
14
namespace
LC
15
{
16
namespace
Azoth
17
{
20
class
IAuthable
21
{
22
public
:
23
virtual
~IAuthable
() {}
24
30
virtual
AuthStatus
GetAuthStatus
()
const
= 0;
31
36
virtual
void
ResendAuth
(
const
QString& reason = QString ()) = 0;
37
42
virtual
void
RevokeAuth
(
const
QString& reason = QString ()) = 0;
43
48
virtual
void
Unsubscribe
(
const
QString& reason = QString ()) = 0;
49
54
virtual
void
RerequestAuth
(
const
QString& reason = QString ()) = 0;
55
};
56
}
57
}
58
59
Q_DECLARE_INTERFACE (
LC::Azoth::IAuthable
,
60
"org.Deviant.LeechCraft.Azoth.IAuthable/1.0"
)
61
62
#endif
azothcommon.h
LC::Azoth::IAuthable
Represents an entry that supports authorizations.
Definition
iauthable.h:21
LC::Azoth::IAuthable::RerequestAuth
virtual void RerequestAuth(const QString &reason=QString())=0
Rerequest authorization.
LC::Azoth::IAuthable::GetAuthStatus
virtual AuthStatus GetAuthStatus() const =0
Returns the AuthStatus between our user and this remote.
LC::Azoth::IAuthable::Unsubscribe
virtual void Unsubscribe(const QString &reason=QString())=0
Unsubscribes ourselves from the contact.
LC::Azoth::IAuthable::RevokeAuth
virtual void RevokeAuth(const QString &reason=QString())=0
Revokes authorization from the entry.
LC::Azoth::IAuthable::ResendAuth
virtual void ResendAuth(const QString &reason=QString())=0
Resends authorization to the entry.
LC::Azoth::IAuthable::~IAuthable
virtual ~IAuthable()
Definition
iauthable.h:23
LC::Azoth
Definition
activityinfo.h:16
LC::Azoth::AuthStatus
AuthStatus
Definition
azothcommon.h:70
LC
Definition
activityinfo.h:14
src
plugins
azoth
interfaces
azoth
iauthable.h
Generated by
1.17.0