diff options
Diffstat (limited to 'src/client/QXmppInternalClientExtension.cpp')
| -rw-r--r-- | src/client/QXmppInternalClientExtension.cpp | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/src/client/QXmppInternalClientExtension.cpp b/src/client/QXmppInternalClientExtension.cpp new file mode 100644 index 00000000..c36666fb --- /dev/null +++ b/src/client/QXmppInternalClientExtension.cpp @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2008-2020 The QXmpp developers + * + * Author: + * Linus Jahn + * + * Source: + * https://github.com/qxmpp-project/qxmpp + * + * This file is a part of QXmpp library. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + */ + +#include "QXmppInternalClientExtension_p.h" + +#include "QXmppClient.h" +#include "QXmppClient_p.h" + +/// \cond +QXmppInternalClientExtension::QXmppInternalClientExtension() + : QXmppClientExtension() +{ +} + +QXmppOutgoingClient *QXmppInternalClientExtension::clientStream() +{ + return client()->d->stream; +} +/// \endcond |
