mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-24 13:08:49 -05:00
Only set CEF settings to OpenSpaceTest if OpenSpace is compiled with tests (closes #778)
Do not disable RTTI on CEF targets Do not for Unicode on CEF targets More graceful handling of torrent classes in Sync module
This commit is contained in:
@@ -27,7 +27,9 @@
|
||||
|
||||
#include <openspace/util/openspacemodule.h>
|
||||
|
||||
#ifdef SYNC_USE_LIBTORRENT
|
||||
#include <modules/sync/torrentclient.h>
|
||||
#endif // SYNC_USE_LIBTORRENT
|
||||
|
||||
namespace openspace {
|
||||
|
||||
@@ -42,7 +44,9 @@ public:
|
||||
void addHttpSynchronizationRepository(std::string repository);
|
||||
std::vector<std::string> httpSynchronizationRepositories() const;
|
||||
|
||||
#ifdef SYNC_USE_LIBTORRENT
|
||||
TorrentClient& torrentClient();
|
||||
#endif // SYNC_USE_LIBTORRENT
|
||||
|
||||
std::vector<documentation::Documentation> documentations() const override;
|
||||
|
||||
@@ -51,7 +55,9 @@ protected:
|
||||
void internalDeinitialize() override;
|
||||
|
||||
private:
|
||||
#ifdef SYNC_USE_LIBTORRENT
|
||||
TorrentClient _torrentClient;
|
||||
#endif // SYNC_USE_LIBTORRENT
|
||||
std::vector<std::string> _synchronizationRepositories;
|
||||
std::string _synchronizationRoot;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user