mirror of
https://github.com/overte-org/overte.git
synced 2025-07-15 06:56:39 +02:00
24 lines
No EOL
615 B
C++
24 lines
No EOL
615 B
C++
//
|
|
// NetworkAccessManager.h
|
|
//
|
|
//
|
|
// Created by Clement on 7/1/14.
|
|
// Copyright 2014 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
|
|
//
|
|
|
|
#ifndef hifi_NetworkAccessManager_h
|
|
#define hifi_NetworkAccessManager_h
|
|
|
|
#include <QtNetwork/qnetworkaccessmanager.h>
|
|
|
|
/// Wrapper around QNetworkAccessManager to restrict at one instance by thread
|
|
class NetworkAccessManager : public QObject {
|
|
Q_OBJECT
|
|
public:
|
|
static QNetworkAccessManager& getInstance();
|
|
};
|
|
|
|
#endif // hifi_NetworkAccessManager_h
|