Overte C++ Documentation
SandboxUtils.h
1 //
2 // SandboxUtils.h
3 // libraries/networking/src
4 //
5 // Created by Brad Hefta-Gaub on 2016-10-15.
6 // Copyright 2016 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 #ifndef hifi_SandboxUtils_h
13 #define hifi_SandboxUtils_h
14 
15 #include <QtCore/QString>
16 
17 class QNetworkReply;
18 
19 namespace SandboxUtils {
20  const QString SANDBOX_STATUS_URL = "http://localhost:60332/status";
21 
22  QNetworkReply* getStatus();
23  bool readStatus(QByteArray statusData);
24  void runLocalSandbox(QString contentPath, bool autoShutdown, bool noUpdater);
25 };
26 
27 #endif // hifi_SandboxUtils_h