mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-07-31 01:30:13 +02:00
29 lines
675 B
C++
29 lines
675 B
C++
//
|
|
// ResourceRequestObserver.h
|
|
// libraries/shared/src
|
|
//
|
|
// Created by Kerry Ivan Kurian on 9/27/18.
|
|
// Copyright 2018 High Fidelity, Inc.
|
|
//
|
|
// Distributed under the Apache License, Version 2.0.
|
|
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
|
//
|
|
|
|
|
|
#include <QJsonObject>
|
|
#include <QString>
|
|
#include <QNetworkRequest>
|
|
|
|
#include "DependencyManager.h"
|
|
|
|
|
|
class ResourceRequestObserver : public QObject, public Dependency {
|
|
Q_OBJECT
|
|
SINGLETON_DEPENDENCY
|
|
|
|
public:
|
|
void update(const QUrl& requestUrl, const qint64 callerId = -1, const QString& extra = "");
|
|
|
|
signals:
|
|
void resourceRequestEvent(QVariantMap result);
|
|
};
|