LeechCraft Azoth
0.6.70-16373-g319c272718
Modular multiprotocol IM plugin for LeechCraft
Loading...
Searching...
No Matches
isupportmediacalls.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
13
namespace
LC
14
{
15
namespace
Azoth
16
{
26
class
ISupportMediaCalls
27
{
28
public
:
29
virtual
~ISupportMediaCalls
() {}
30
33
enum
MediaCallFeature
34
{
37
MCFNoFeatures
,
38
41
MCFSupportsAudioCalls
= 0x01,
42
45
MCFSupportsVideoCalls
= 0x02
46
};
47
48
Q_DECLARE_FLAGS (MediaCallFeatures,
MediaCallFeature
)
49
50
54
virtual MediaCallFeatures
GetMediaCallFeatures
() const = 0;
55
77
virtual QObject*
Call
(const QString&
id
, const QString& variant) = 0;
78
protected:
90
virtual
void
called
(QObject *callObj) = 0;
91
};
92
}
93
}
94
95
Q_DECLARE_INTERFACE (
LC
::
Azoth
::
ISupportMediaCalls
,
96
"org.Deviant.LeechCraft.Azoth.ISupportMediaCalls/1.0"
)
LC::Azoth::ISupportMediaCalls
Interface for accounts supporting audio/video calls.
Definition
isupportmediacalls.h:27
LC::Azoth::ISupportMediaCalls::called
virtual void called(QObject *callObj)=0
Emitted when a new call is established.
LC::Azoth::ISupportMediaCalls::MediaCallFeature
MediaCallFeature
Describes supported media call features.
Definition
isupportmediacalls.h:34
LC::Azoth::ISupportMediaCalls::MCFSupportsAudioCalls
@ MCFSupportsAudioCalls
The account supports audio calls.
Definition
isupportmediacalls.h:41
LC::Azoth::ISupportMediaCalls::MCFNoFeatures
@ MCFNoFeatures
No particular features.
Definition
isupportmediacalls.h:37
LC::Azoth::ISupportMediaCalls::MCFSupportsVideoCalls
@ MCFSupportsVideoCalls
The accounts supports video calls.
Definition
isupportmediacalls.h:45
LC::Azoth::ISupportMediaCalls::Call
virtual QObject * Call(const QString &id, const QString &variant)=0
Tries to call a contact list entry.
LC::Azoth::ISupportMediaCalls::GetMediaCallFeatures
virtual MediaCallFeatures GetMediaCallFeatures() const =0
Returns the media features supported by this account.
LC::Azoth::ISupportMediaCalls::~ISupportMediaCalls
virtual ~ISupportMediaCalls()
Definition
isupportmediacalls.h:29
LC::Azoth
Definition
activityinfo.h:16
LC
Definition
activityinfo.h:14
src
plugins
azoth
interfaces
azoth
isupportmediacalls.h
Generated by
1.13.2