| 1 | // For license of this file, see <project-root-folder>/LICENSE.md.cxx . . $ `<file>/src/librssguard/network-web/webengine/networkurlinterceptor.h`/ |
| 2 | |
| 3 | // |
| 4 | // Copyright (C) 2011-2017 by Martin Rotter <[email protected]> |
| 5 | // Copyright (C) 2010-2014 by David Rosca <[email protected]> |
| 6 | // |
| 7 | // RSS Guard is free software: you can redistribute it and/or modify |
| 8 | // it under the terms of the GNU General Public License as published by |
| 9 | // the Free Software Foundation, either version 3 of the License, or |
| 10 | // (at your option) any later version. |
| 11 | // |
| 12 | // RSS Guard is distributed in the hope that it will be useful, |
| 13 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 | // GNU General Public License for more details. |
| 16 | // |
| 17 | // You should have received a copy of the GNU General Public License |
| 18 | // along with RSS Guard. If not, see <http://www.gnu.org/licenses/>. |
| 19 | |
| 20 | #ifndef NETWORKURLINTERCEPTOR_H |
| 21 | #define NETWORKURLINTERCEPTOR_Hcxx . . $ `src/librssguard/network-web/webengine/networkurlinterceptor.h:21:9`! |
| 22 | |
| 23 | #include <QWebEngineUrlRequestInterceptor> |
| 24 | |
| 25 | class UrlInterceptorcxx . . $ UrlInterceptor#; |
| 26 | |
| 27 | class NetworkUrlInterceptorcxx . . $ NetworkUrlInterceptor# : public QWebEngineUrlRequestInterceptorcxx . . $ QWebEngineUrlRequestInterceptor# { |
| 28 | Q_OBJECTcxx . . $ QMetaObject#Call# |
| 29 | |
| 30 | public: |
| 31 | explicit NetworkUrlInterceptorcxx . . $ NetworkUrlInterceptor#NetworkUrlInterceptor(749de1b6ae65bddd).(QObjectcxx . . $ QObject#* parent = nullptr); |
| 32 | |
| 33 | void interceptRequestcxx . . $ NetworkUrlInterceptor#interceptRequest(d18ab7b3f646b68e).(QWebEngineUrlRequestInfocxx . . $ QWebEngineUrlRequestInfo#& info) Q_DECL_OVERRIDEcxx . . $ `<external>/13147557517174114922/qcompilerdetection.h:954:10`!; |
| 34 | |
| 35 | void installUrlInterceptorcxx . . $ NetworkUrlInterceptor#installUrlInterceptor(449ab0fa279ef918).(UrlInterceptorcxx . . $ UrlInterceptor#* interceptor); |
| 36 | void removeUrlInterceptorcxx . . $ NetworkUrlInterceptor#removeUrlInterceptor(449ab0fa279ef918).(UrlInterceptorcxx . . $ UrlInterceptor#* interceptor); |
| 37 | |
| 38 | void loadcxx . . $ NetworkUrlInterceptor#load(49f6e7a06ebc5aa8).(); |
| 39 | |
| 40 | private: |
| 41 | QListcxx . . $ QList#<UrlInterceptorcxx . . $ UrlInterceptor#*> m_interceptorscxx . . $ NetworkUrlInterceptor#m_interceptors.; |
| 42 | bool m_sendDntcxx . . $ NetworkUrlInterceptor#m_sendDnt.; |
| 43 | }; |
| 44 | |
| 45 | #endif // NETWORKURLINTERCEPTOR_H |