Commit 409a7769 authored by Laurent Montel's avatar Laurent Montel 😁

Add a manager

parent 4b55a8d1
......@@ -84,6 +84,7 @@ if (QTWEBENGINE_EXPERIMENTAL_OPTION)
viewer/webengine/mailnetworkpluginulrinterceptorinterface.cpp
viewer/webengine/mailnetworkulrinterceptorpluginmanager.cpp
viewer/webengine/mailnetworkpluginulrinterceptor.cpp
viewer/webengine/mailnetworkurlinterceptormanager.cpp
${libmessageviewer_mailviewer_SRCS}
findbar/findbarwebengineview.cpp
)
......
/*
Copyright (c) 2016 Montel Laurent <montel@kde.org>
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License, version 2, as
published by the Free Software Foundation.
This program 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
General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "mailnetworkurlinterceptormanager.h"
using namespace MessageViewer;
class MessageViewer::MailNetworkUrlInterceptorManagerPrivate
{
public:
MailNetworkUrlInterceptorManagerPrivate()
{
}
};
MailNetworkUrlInterceptorManager::MailNetworkUrlInterceptorManager(QObject *parent)
: QObject(parent),
d(new MailNetworkUrlInterceptorManagerPrivate)
{
}
MailNetworkUrlInterceptorManager::~MailNetworkUrlInterceptorManager()
{
delete d;
}
/*
Copyright (c) 2016 Montel Laurent <montel@kde.org>
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License, version 2, as
published by the Free Software Foundation.
This program 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
General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef MAILNETWORKURLINTERCEPTORMANAGER_H
#define MAILNETWORKURLINTERCEPTORMANAGER_H
#include <QObject>
namespace MessageViewer
{
class MailNetworkUrlInterceptorManagerPrivate;
class MailNetworkUrlInterceptorManager : public QObject
{
Q_OBJECT
public:
explicit MailNetworkUrlInterceptorManager(QObject *parent = Q_NULLPTR);
~MailNetworkUrlInterceptorManager();
private:
MailNetworkUrlInterceptorManagerPrivate *const d;
};
}
#endif // MAILNETWORKURLINTERCEPTORMANAGER_H
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment