LeechCraft Azoth  0.6.70-15082-g543737046d
Modular multiprotocol IM plugin for LeechCraft
imucprotocol.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 <QVariantMap>
12 
13 class QWidget;
14 
15 namespace LC
16 {
17 namespace Azoth
18 {
25  {
26  public:
27  virtual ~IMUCProtocol () {};
28 
45  virtual QWidget* GetMUCJoinWidget () = 0;
46 
72  virtual QVariantMap TryGuessMUCIdentifyingData (const QString& input, QObject *entryObj)
73  {
74  Q_UNUSED (input);
75  Q_UNUSED (entryObj);
76  return {};
77  }
78  };
79 }
80 }
81 
82 Q_DECLARE_INTERFACE (LC::Azoth::IMUCProtocol,
83  "org.Deviant.LeechCraft.Azoth.IMUCProtocol/1.0")
LC::Azoth::IMUCProtocol
Interface for protocols supporting multiuser chat rooms.
Definition: imucprotocol.h:24
LC::Azoth::IMUCProtocol::GetMUCJoinWidget
virtual QWidget * GetMUCJoinWidget()=0
Returns the widget used to set up the MUC join options.
LC::Azoth::IMUCProtocol::~IMUCProtocol
virtual ~IMUCProtocol()
Definition: imucprotocol.h:27
LC
Definition: activityinfo.h:13
LC::Azoth::IMUCProtocol::TryGuessMUCIdentifyingData
virtual QVariantMap TryGuessMUCIdentifyingData(const QString &input, QObject *entryObj)
Tries to guess MUC identifying data from user input.
Definition: imucprotocol.h:72