Overte C++ Documentation
RequestFilters.h
1
//
2
// RequestFilters.h
3
// interface/src/networking
4
//
5
// Created by Kunal Gosar on 2017-03-10.
6
// Copyright 2017 High Fidelity, Inc.
7
//
8
// Distributed under the Apache License, Version 2.0.
9
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
10
//
11
12
#pragma once
13
14
#ifndef hifi_RequestFilters_h
15
#define hifi_RequestFilters_h
16
17
#include <QtCore/QtGlobal>
18
19
#if !defined(Q_OS_ANDROID)
20
#include <QObject>
21
#include <QWebEngineUrlRequestInfo>
22
23
class
QQmlContext;
24
25
class
RequestFilters :
public
QObject {
26
public
:
27
static
void
interceptHFWebEngineRequest(QWebEngineUrlRequestInfo& info,
bool
restricted);
28
static
void
interceptFileType(QWebEngineUrlRequestInfo& info);
29
};
30
#endif
31
32
#endif
// hifi_RequestFilters_h
libraries
ui
src
ui
types
RequestFilters.h
Generated by
1.9.1