diff --git a/code/framework/CMakeLists.txt b/code/framework/CMakeLists.txt index a3af6b5c5..08d54bd25 100644 --- a/code/framework/CMakeLists.txt +++ b/code/framework/CMakeLists.txt @@ -19,8 +19,6 @@ set(FRAMEWORK_SRC src/utils/states/machine.cpp src/external/sentry/wrapper.cpp - src/external/firebase/wrapper.cpp - src/external/optick/wrapper.cpp src/world/engine.cpp src/world/server.cpp @@ -136,7 +134,7 @@ macro(link_shared_deps target_name) endif() # Global libraries - target_link_libraries(${target_name} slikenet glm spdlog cppfs nlohmann_json Sentry httplib ${OPENSSL_LIBRARIES} Firebase Curl OptickCore flecs_static semver) + target_link_libraries(${target_name} slikenet glm spdlog cppfs nlohmann_json Sentry httplib ${OPENSSL_LIBRARIES} Curl flecs_static semver) # Required libraries for windows if(WIN32) @@ -161,7 +159,7 @@ if(WIN32) target_link_libraries(FrameworkClient DiscordSDK DearImGUI SDL UltralightSDK) - set(CLIENT_SHARED_LIBS minhook GalaxySDK SteamSDK udis86) + set(CLIENT_SHARED_LIBS minhook SteamSDK udis86) target_link_libraries(FrameworkClient ${CLIENT_SHARED_LIBS} ${FREETYPE_LIBRARY}) link_shared_deps(FrameworkLoader) diff --git a/code/framework/src/external/firebase/errors.h b/code/framework/src/external/firebase/errors.h deleted file mode 100644 index 2ec1bbac9..000000000 --- a/code/framework/src/external/firebase/errors.h +++ /dev/null @@ -1,17 +0,0 @@ -/* - * MafiaHub OSS license - * Copyright (c) 2021-2023, MafiaHub. All rights reserved. - * - * This file comes from MafiaHub, hosted at https://github.com/MafiaHub/Framework. - * See LICENSE file in the source repository for information regarding licensing. - */ - -#pragma once - -namespace Framework::External::Firebase { - enum class FirebaseError { - FIREBASE_NONE, - FIREBASE_INITIALIZE_FAILED, - FIREBASE_AUTH_FAILED - }; -} // namespace Framework::External::Firebase diff --git a/code/framework/src/external/firebase/wrapper.cpp b/code/framework/src/external/firebase/wrapper.cpp deleted file mode 100644 index b57618232..000000000 --- a/code/framework/src/external/firebase/wrapper.cpp +++ /dev/null @@ -1,131 +0,0 @@ -/* - * MafiaHub OSS license - * Copyright (c) 2021-2023, MafiaHub. All rights reserved. - * - * This file comes from MafiaHub, hosted at https://github.com/MafiaHub/Framework. - * See LICENSE file in the source repository for information regarding licensing. - */ - -#include "wrapper.h" - -#include - -namespace Framework::External::Firebase { - FirebaseError Wrapper::Init(const std::string &projectId, const std::string &appId, const std::string &apiKey) { - return FirebaseError::FIREBASE_NONE; - // Init the firebase options - firebase::AppOptions opts; - opts.set_api_key(apiKey.c_str()); - opts.set_project_id(projectId.c_str()); - opts.set_app_id(appId.c_str()); - - // Create the application - _app = firebase::App::Create(opts); - - // Create the initializer and initialize - firebase::ModuleInitializer initializer; - initializer.Initialize(_app, nullptr, [](firebase::App *app, void *) -> firebase::InitResult { - // Initialize the components that we are going to use later on - firebase::analytics::Initialize(*app); - - firebase::InitResult authRes; - firebase::auth::Auth::GetAuth(app, &authRes); - return authRes; - }); - - // Since it's an async initializer, we got to wait for it to complete - while (initializer.InitializeLastResult().status() != firebase::kFutureStatusComplete) {} - - // Was everything correctly initialized? - if (initializer.InitializeLastResult().error() != 0) { - Logging::GetInstance()->Get(FRAMEWORK_INNER_INTEGRATIONS)->debug("[Firebase] FAILED TO INITIALIZE: {}", initializer.InitializeLastResult().error_message()); - return FirebaseError::FIREBASE_INITIALIZE_FAILED; - } - - // Mark the current class as an auth state listener - auto auth = GetAuth(); - auth->AddAuthStateListener(this); - - // Configure the analytics - firebase::analytics::SetAnalyticsCollectionEnabled(true); - firebase::analytics::SetSessionTimeoutDuration(1000 * 60 * 30); - - Logging::GetInstance()->Get(FRAMEWORK_INNER_INTEGRATIONS)->debug("[Firebase] Initialize complete"); - return FirebaseError::FIREBASE_NONE; - } - - FirebaseError Wrapper::SignInWithCustomToken(const std::string &token) const { - const auto auth = GetAuth(); - const firebase::Future result = auth->SignInWithCustomToken(token.c_str()); - while (result.status() != firebase::kFutureStatusComplete) {} - if (result.error() == firebase::auth::kAuthErrorNone) { - return FirebaseError::FIREBASE_NONE; - } - return FirebaseError::FIREBASE_AUTH_FAILED; - } - - FirebaseError Wrapper::SignInWithEmailPassword(const std::string &email, const std::string &password) const { - const auto auth = GetAuth(); - const firebase::Future result = auth->SignInWithEmailAndPassword(email.c_str(), password.c_str()); - while (result.status() != firebase::kFutureStatusComplete) {} - if (result.error() == firebase::auth::kAuthErrorNone) { - return FirebaseError::FIREBASE_NONE; - } - return FirebaseError::FIREBASE_AUTH_FAILED; - } - - FirebaseError Wrapper::SignUpWithEmailPassword(const std::string &email, const std::string &password) const { - const auto auth = GetAuth(); - const firebase::Future result = auth->CreateUserWithEmailAndPassword(email.c_str(), password.c_str()); - while (result.status() != firebase::kFutureStatusComplete) {} - if (result.error() == firebase::auth::kAuthErrorNone) { - return FirebaseError::FIREBASE_NONE; - } - return FirebaseError::FIREBASE_AUTH_FAILED; - } - - FirebaseError Wrapper::SignInAnonymously() const { - const auto auth = GetAuth(); - const firebase::Future result = auth->SignInAnonymously(); - while (result.status() != firebase::kFutureStatusComplete) {} - if (result.error() == firebase::auth::kAuthErrorNone) { - return FirebaseError::FIREBASE_NONE; - } - return FirebaseError::FIREBASE_AUTH_FAILED; - } - - FirebaseError Wrapper::SignOut() const { - const auto auth = GetAuth(); - auth->SignOut(); - return FirebaseError::FIREBASE_NONE; - } - - void Wrapper::SetUserProperty(const std::string &name, const std::string &property) { - firebase::analytics::SetUserProperty(name.c_str(), property.c_str()); - } - - void Wrapper::LogEvent(const std::string &name, const std::string ¶mName, const std::string ¶mValue) { - firebase::analytics::LogEvent(name.c_str(), paramName.c_str(), paramValue.c_str()); - } - - void Wrapper::LogEvent(const std::string &name, const std::string ¶mName, const double paramValue) { - firebase::analytics::LogEvent(name.c_str(), paramName.c_str(), paramValue); - } - - void Wrapper::LogEvent(const std::string &name) { - firebase::analytics::LogEvent(name.c_str()); - } - - void Wrapper::OnAuthStateChanged(firebase::auth::Auth *auth) { - _user = auth->current_user(); - if (!_user) { - firebase::analytics::SetUserId(nullptr); - Logging::GetInstance()->Get(FRAMEWORK_INNER_INTEGRATIONS)->debug("[Firebase] AuthStateChanged: user null"); - return; - } - - firebase::analytics::SetUserId(_user->uid().c_str()); - - Logging::GetInstance()->Get(FRAMEWORK_INNER_INTEGRATIONS)->debug("[Firebase] AuthStateChanged: user active {}", _user->uid().c_str()); - } -} // namespace Framework::External::Firebase diff --git a/code/framework/src/external/firebase/wrapper.h b/code/framework/src/external/firebase/wrapper.h deleted file mode 100644 index 7bcc027fd..000000000 --- a/code/framework/src/external/firebase/wrapper.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * MafiaHub OSS license - * Copyright (c) 2021-2023, MafiaHub. All rights reserved. - * - * This file comes from MafiaHub, hosted at https://github.com/MafiaHub/Framework. - * See LICENSE file in the source repository for information regarding licensing. - */ - -#pragma once - -#include "errors.h" - -#include -#include -#include -#include -#include -#include -#include -#include - -namespace Framework::External::Firebase { - class Wrapper final: public firebase::auth::AuthStateListener { - private: - firebase::App *_app = nullptr; - firebase::auth::User *_user = nullptr; - - bool _valid = false; - - private: - void OnAuthStateChanged(firebase::auth::Auth *) override; - - public: - FirebaseError Init(const std::string &projectId, const std::string &appId, const std::string &apiKey); - - FirebaseError SignInWithCustomToken(const std::string &) const; - FirebaseError SignInWithEmailPassword(const std::string &, const std::string &) const; - FirebaseError SignUpWithEmailPassword(const std::string &, const std::string &) const; - FirebaseError SignInAnonymously() const; - FirebaseError SignOut() const; - - static void LogEvent(const std::string &name, const std::string ¶mName, const std::string ¶mValue); - static void LogEvent(const std::string &name, const std::string ¶mName, double paramValue); - static void LogEvent(const std::string &name); - static void SetUserProperty(const std::string &, const std::string &); - - bool IsValid() const { - return _valid; - } - - firebase::auth::Auth *GetAuth() const { - return firebase::auth::Auth::GetAuth(_app); - } - - firebase::auth::User *GetCurrentUser() const { - return _user; - } - - firebase::App *GetApp() const { - return _app; - } - }; -} // namespace Framework::External::Firebase diff --git a/code/framework/src/external/imgui/widgets/console.cpp b/code/framework/src/external/imgui/widgets/console.cpp index 0edf05876..6f7bfa366 100644 --- a/code/framework/src/external/imgui/widgets/console.cpp +++ b/code/framework/src/external/imgui/widgets/console.cpp @@ -9,7 +9,6 @@ #include "console.h" #include -#include #include #include @@ -38,8 +37,6 @@ namespace Framework::External::ImGUI::Widgets { } bool Console::Update() { - OPTICK_EVENT(); - if (!_isOpen) { return _isOpen; } diff --git a/code/framework/src/external/imgui/wrapper.cpp b/code/framework/src/external/imgui/wrapper.cpp index f368d54b7..9721d0402 100644 --- a/code/framework/src/external/imgui/wrapper.cpp +++ b/code/framework/src/external/imgui/wrapper.cpp @@ -16,8 +16,6 @@ #include #include -#include - extern IMGUI_IMPL_API LRESULT ImGui_ImplWin32_WndProcHandler(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam); namespace Framework::External::ImGUI { @@ -110,7 +108,6 @@ namespace Framework::External::ImGUI { Error Wrapper::Update() { std::lock_guard _lock(_renderMtx); - OPTICK_EVENT(); switch (_config.renderBackend) { case Graphics::RendererBackend::BACKEND_D3D_9: { diff --git a/code/framework/src/external/optick/wrapper.cpp b/code/framework/src/external/optick/wrapper.cpp deleted file mode 100644 index ef4bea76c..000000000 --- a/code/framework/src/external/optick/wrapper.cpp +++ /dev/null @@ -1,39 +0,0 @@ -/* - * MafiaHub OSS license - * Copyright (c) 2021-2023, MafiaHub. All rights reserved. - * - * This file comes from MafiaHub, hosted at https://github.com/MafiaHub/Framework. - * See LICENSE file in the source repository for information regarding licensing. - */ - -#include "wrapper.h" - -namespace Framework::External::Optick { - void Wrapper::StartCapture() { - OPTICK_START_CAPTURE(); - } - - void Wrapper::StopCapture() { - OPTICK_STOP_CAPTURE(); - } - - void Wrapper::Dump(const char *path) { - OPTICK_SAVE_CAPTURE(path); - } - - void Wrapper::Update() { - OPTICK_UPDATE(); - } - - void Wrapper::Shutdown() { - OPTICK_SHUTDOWN(); - } - - void Wrapper::SetAllocator(::Optick::AllocateFn allocateFn, ::Optick::DeallocateFn deallocateFn, ::Optick::InitThreadCb initThreadCb) { - OPTICK_SET_MEMORY_ALLOCATOR(allocateFn, deallocateFn, initThreadCb); - } - - void Wrapper::SetStateChangedCallback(::Optick::StateCallback stateCallback) { - OPTICK_SET_STATE_CHANGED_CALLBACK(stateCallback); - } -} // namespace Framework::External::Optick diff --git a/code/framework/src/external/optick/wrapper.h b/code/framework/src/external/optick/wrapper.h deleted file mode 100644 index 8b48d1b39..000000000 --- a/code/framework/src/external/optick/wrapper.h +++ /dev/null @@ -1,37 +0,0 @@ -/* - * MafiaHub OSS license - * Copyright (c) 2021-2023, MafiaHub. All rights reserved. - * - * This file comes from MafiaHub, hosted at https://github.com/MafiaHub/Framework. - * See LICENSE file in the source repository for information regarding licensing. - */ - -#pragma once - -#include - -namespace Framework::External::Optick { - class Wrapper final { - public: - /** - * Automated profiling - */ - static void StartCapture(); - - static void StopCapture(); - - static void Dump(const char *path); - - /** - * Advanced controls - */ - - static void Update(); - - static void Shutdown(); - - static void SetAllocator(::Optick::AllocateFn allocateFn, ::Optick::DeallocateFn deallocateFn, ::Optick::InitThreadCb initThreadCb); - - static void SetStateChangedCallback(::Optick::StateCallback stateCallback); - }; -} // namespace Framework::External::Optick diff --git a/code/framework/src/external/sdl2/wrapper.cpp b/code/framework/src/external/sdl2/wrapper.cpp index c0632bf3f..726a2d8ac 100644 --- a/code/framework/src/external/sdl2/wrapper.cpp +++ b/code/framework/src/external/sdl2/wrapper.cpp @@ -8,8 +8,6 @@ #include "wrapper.h" -#include - namespace Framework::External::SDL2 { Error Wrapper::Init(HWND windowHandle) { if (!windowHandle) { @@ -38,7 +36,6 @@ namespace Framework::External::SDL2 { } SDL_Event Wrapper::PollEvent() { - OPTICK_EVENT(); SDL_Event event; SDL_PollEvent(&event); return event; diff --git a/code/framework/src/graphics/renderer.cpp b/code/framework/src/graphics/renderer.cpp index 17adb8b01..aab99b633 100644 --- a/code/framework/src/graphics/renderer.cpp +++ b/code/framework/src/graphics/renderer.cpp @@ -8,8 +8,6 @@ #include "renderer.h" -#include - namespace Framework::Graphics { RendererError Renderer::Init(RendererConfiguration config) { if (_initialized) { @@ -52,7 +50,6 @@ namespace Framework::Graphics { } void Renderer::Update() const { - OPTICK_EVENT(); if (_d3d11Backend) { _d3d11Backend->Update(); } diff --git a/code/framework/src/http/webserver.cpp b/code/framework/src/http/webserver.cpp index b712c2004..07d961d9a 100644 --- a/code/framework/src/http/webserver.cpp +++ b/code/framework/src/http/webserver.cpp @@ -9,7 +9,6 @@ #include "webserver.h" #include -#include namespace Framework::HTTP { Webserver::Webserver() { diff --git a/code/framework/src/integrations/client/instance.cpp b/code/framework/src/integrations/client/instance.cpp index ebfd4575d..780bec5ad 100644 --- a/code/framework/src/integrations/client/instance.cpp +++ b/code/framework/src/integrations/client/instance.cpp @@ -21,13 +21,10 @@ #include "utils/version.h" -#include - #include "core_modules.h" namespace Framework::Integrations::Client { Instance::Instance() { - OPTICK_START_CAPTURE(); _networkingEngine = std::make_unique(); _presence = std::make_unique(); _imguiApp = std::make_unique(); @@ -39,7 +36,6 @@ namespace Framework::Integrations::Client { } Instance::~Instance() { - OPTICK_STOP_CAPTURE(); } ClientError Instance::Init(InstanceOptions &opts) { @@ -170,7 +166,6 @@ namespace Framework::Integrations::Client { } void Instance::Update() { - OPTICK_EVENT(); if (_presence && _presence->IsInitialized()) { _presence->Update(); } @@ -195,7 +190,6 @@ namespace Framework::Integrations::Client { } void Instance::Render() { - OPTICK_EVENT(); if (_renderer && _renderer->IsInitialized()) { _renderer->Update(); } diff --git a/code/framework/src/integrations/server/instance.cpp b/code/framework/src/integrations/server/instance.cpp index 7e3648cac..776dc9cdb 100644 --- a/code/framework/src/integrations/server/instance.cpp +++ b/code/framework/src/integrations/server/instance.cpp @@ -21,7 +21,6 @@ #include "utils/version.h" #include "cxxopts.hpp" -#include "optick.h" #include "scripting/builtins/node/entity.h" @@ -33,11 +32,9 @@ namespace Framework::Integrations::Server { Instance::Instance(): _alive(false), _shuttingDown(false) { - OPTICK_START_CAPTURE(); _networkingEngine = std::make_shared(); _webServer = std::make_shared(); _fileConfig = std::make_unique(); - _firebaseWrapper = std::make_unique(); _worldEngine = std::make_shared(); _scriptingEngine = std::make_shared(_worldEngine); _playerFactory = std::make_shared(); @@ -47,7 +44,6 @@ namespace Framework::Integrations::Server { Instance::~Instance() { sig_detach(this); - OPTICK_STOP_CAPTURE(); } ServerError Instance::Init(InstanceOptions &opts) { @@ -148,11 +144,6 @@ namespace Framework::Integrations::Server { return ServerError::SERVER_SCRIPTING_INIT_FAILED; } - if (_opts.firebaseEnabled && _firebaseWrapper->Init(_opts.firebaseProjectId, _opts.firebaseAppId, _opts.firebaseApiKey) != External::Firebase::FirebaseError::FIREBASE_NONE) { - Logging::GetLogger(FRAMEWORK_INNER_SERVER)->critical("Failed to initialize the firebase wrapper"); - return ServerError::SERVER_FIREBASE_WRAPPER_INIT_FAILED; - } - // Load the gamemode _scriptingEngine->GetServerEngine()->LoadScript(); @@ -364,7 +355,6 @@ namespace Framework::Integrations::Server { void Instance::Update() { const auto start = std::chrono::high_resolution_clock::now(); if (_nextTick <= start) { - OPTICK_EVENT(); if (_networkingEngine) { _networkingEngine->Update(); } diff --git a/code/framework/src/integrations/server/instance.h b/code/framework/src/integrations/server/instance.h index daa54ecb3..41e595fad 100644 --- a/code/framework/src/integrations/server/instance.h +++ b/code/framework/src/integrations/server/instance.h @@ -11,7 +11,6 @@ #include #include "errors.h" -#include "external/firebase/wrapper.h" #include "http/webserver.h" #include "logging/logger.h" #include "networking/engine.h" @@ -86,7 +85,6 @@ namespace Framework::Integrations::Server { std::shared_ptr _scriptingEngine; std::shared_ptr _networkingEngine; std::shared_ptr _webServer; - std::unique_ptr _firebaseWrapper; std::unique_ptr _fileConfig; std::shared_ptr _worldEngine; std::shared_ptr _masterlist; diff --git a/code/framework/src/networking/network_peer.cpp b/code/framework/src/networking/network_peer.cpp index fb14b4094..c56ceec25 100644 --- a/code/framework/src/networking/network_peer.cpp +++ b/code/framework/src/networking/network_peer.cpp @@ -11,7 +11,6 @@ #include "errors.h" #include -#include #include "core_modules.h" @@ -67,8 +66,6 @@ namespace Framework::Networking { } void NetworkPeer::Update() { - OPTICK_EVENT(); - if (!_peer) { return; } diff --git a/code/framework/src/utils/job_system.cpp b/code/framework/src/utils/job_system.cpp index 6200fa883..a9aebfe39 100644 --- a/code/framework/src/utils/job_system.cpp +++ b/code/framework/src/utils/job_system.cpp @@ -10,8 +10,6 @@ #include "logging/logger.h" -#include - namespace Framework::Utils { JobSystem *JobSystem::GetInstance() { static JobSystem *instance = nullptr; @@ -33,9 +31,7 @@ namespace Framework::Utils { for (size_t i = 0; i < numThreads; i++) { auto worker = std::thread([=]() { - OPTICK_THREAD("JobSystemWorker"); while (!_pendingShutdown) { - OPTICK_EVENT(); Job jobInfo {}; // Wait for a job to be available diff --git a/code/framework/src/world/client.cpp b/code/framework/src/world/client.cpp index 1fedc25d2..eac4b22c2 100644 --- a/code/framework/src/world/client.cpp +++ b/code/framework/src/world/client.cpp @@ -11,8 +11,6 @@ #include "game_rpc/set_frame.h" #include "game_rpc/set_transform.h" -#include - namespace Framework::World { EngineError ClientEngine::Init() { const auto status = Engine::Init(nullptr); // assigned by OnConnect @@ -31,7 +29,6 @@ namespace Framework::World { } void ClientEngine::Update() { - OPTICK_EVENT(); Engine::Update(); } @@ -69,7 +66,6 @@ namespace Framework::World { _networkPeer = peer; _streamEntities = _world->system("StreamEntities").kind(flecs::PostUpdate).interval(tickInterval).iter([this](flecs::iter it, Modules::Base::Transform *tr, Modules::Base::Streamable *rs) { - OPTICK_EVENT(); const auto myGUID = _networkPeer->GetPeer()->GetMyGUID(); for (size_t i = 0; i < it.count(); i++) { diff --git a/code/framework/src/world/engine.cpp b/code/framework/src/world/engine.cpp index 14bfadd57..b522b23c6 100644 --- a/code/framework/src/world/engine.cpp +++ b/code/framework/src/world/engine.cpp @@ -10,8 +10,6 @@ #include "modules/base.hpp" -#include - namespace Framework::World { EngineError Engine::Init(Networking::NetworkPeer *networkPeer) { CoreModules::SetWorldEngine(this); @@ -33,7 +31,6 @@ namespace Framework::World { } void Engine::Update() { - OPTICK_EVENT(); _world->progress(); } diff --git a/code/framework/src/world/server.cpp b/code/framework/src/world/server.cpp index 628fa6ea0..c48ef7569 100644 --- a/code/framework/src/world/server.cpp +++ b/code/framework/src/world/server.cpp @@ -10,8 +10,6 @@ #include "utils/time.h" -#include - namespace Framework::World { EngineError ServerEngine::Init(Framework::Networking::NetworkPeer *networkPeer, float tickInterval) { const auto status = Engine::Init(networkPeer); @@ -171,8 +169,6 @@ namespace Framework::World { .interval(tickInterval) .iter([this](flecs::iter it, Modules::Base::Transform *tr, Modules::Base::Streamer *s, Modules::Base::Streamable *rs) { for (size_t i = 0; i < it.count(); i++) { - OPTICK_EVENT(); - // Skip streamer entities we plan to remove. if (it.entity(i).get() != nullptr) continue; @@ -244,7 +240,6 @@ namespace Framework::World { } void ServerEngine::Update() { - OPTICK_EVENT(); Engine::Update(); } diff --git a/vendors/CMakeLists.txt b/vendors/CMakeLists.txt index 101fcd90c..b12d0c7f9 100644 --- a/vendors/CMakeLists.txt +++ b/vendors/CMakeLists.txt @@ -39,9 +39,6 @@ add_subdirectory(httplib) # Build slikenet add_subdirectory(slikenet) -# Build firebase -add_subdirectory(firebase) - # Build sentry set(CURL_STATICLIB ON) add_subdirectory(sentry) @@ -49,11 +46,6 @@ add_subdirectory(sentry) # Build curl add_subdirectory(curl) -# Build Optick -set(OPTICK_BUILD_SHARED CACHE BOOL "" OFF) -set(OPTICK_INSTALL_TARGETS CACHE BOOL "" OFF) -add_subdirectory(optick) - # Build flecs set(FLECS_SHARED_LIBS CACHE BOOL "" OFF) add_subdirectory(flecs) @@ -75,7 +67,6 @@ if (WIN32) # Build other win32 deps add_subdirectory(minhook) add_subdirectory(steamworks) - add_subdirectory(galaxy) add_subdirectory(udis86) add_subdirectory(ntdll) add_subdirectory(imgui) diff --git a/vendors/firebase/CMakeLists.txt b/vendors/firebase/CMakeLists.txt deleted file mode 100644 index c41dc9d75..000000000 --- a/vendors/firebase/CMakeLists.txt +++ /dev/null @@ -1,14 +0,0 @@ -add_library(Firebase INTERFACE) -set(FIREBASE_LIBS firebase_analytics firebase_auth firebase_app firebase_functions) -if (CMAKE_CL_64) - target_link_directories(Firebase INTERFACE "lib/win_64/Release") -elseif (WIN32) - target_link_directories(Firebase INTERFACE "lib/win_32/Release") -elseif (APPLE) - target_link_directories(Firebase INTERFACE "lib/darwin") -else () - target_link_directories(Firebase INTERFACE "lib/linux_64") -endif () - -target_link_libraries(Firebase INTERFACE ${FIREBASE_LIBS}) -target_include_directories(Firebase INTERFACE "include") diff --git a/vendors/firebase/include/firebase/admob.h b/vendors/firebase/include/firebase/admob.h deleted file mode 100644 index 957c86b7e..000000000 --- a/vendors/firebase/include/firebase/admob.h +++ /dev/null @@ -1,215 +0,0 @@ -/* - * Copyright 2016 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef FIREBASE_ADMOB_SRC_INCLUDE_FIREBASE_ADMOB_H_ -#define FIREBASE_ADMOB_SRC_INCLUDE_FIREBASE_ADMOB_H_ - -#include "firebase/internal/platform.h" - -#if FIREBASE_PLATFORM_ANDROID -#include -#endif // FIREBASE_PLATFORM_ANDROID - -#include "firebase/admob/banner_view.h" -#include "firebase/admob/interstitial_ad.h" -#include "firebase/admob/rewarded_video.h" -#include "firebase/admob/types.h" -#include "firebase/app.h" -#include "firebase/internal/common.h" - -#if !defined(DOXYGEN) && !defined(SWIG) -FIREBASE_APP_REGISTER_CALLBACKS_REFERENCE(admob) -#endif // !defined(DOXYGEN) && !defined(SWIG) - -namespace firebase { - -/// @deprecated The functionality in the firebase::admob namespace -/// has been replaced by the Google Mobile Ads SDK in the -/// firebase::gma namespace. Learn how to transition to the new -/// SDK in our migration guide. -/// -/// @brief API for AdMob with Firebase. -/// -/// The AdMob API allows you to load and display mobile ads using the Google -/// Mobile Ads SDK. Each ad format has its own header file. -namespace admob { - -/// @deprecated -/// @brief Initializes AdMob via Firebase. -/// -/// The functionality in the firebase::admob namespace has -/// been replaced by the Google Mobile Ads SDK in the -/// firebase::gma namespace. Learn how to transition to the -/// new SDK in our migration -/// guide. -/// -/// @param app The Firebase app for which to initialize mobile ads. -/// -/// @return kInitResultSuccess if initialization succeeded, or -/// kInitResultFailedMissingDependency on Android if Google Play services is not -/// available on the current device and the Google Mobile Ads SDK requires -/// Google Play services (for example, when using 'play-services-ads-lite'). -FIREBASE_DEPRECATED InitResult Initialize(const ::firebase::App& app); - -/// @deprecated -/// @brief Initializes AdMob via Firebase with the publisher's AdMob app ID. -/// -/// The functionality in the firebase::admob namespace has -/// been replaced by the Google Mobile Ads SDK in the -/// firebase::gma namespace. Learn how to transition to the -/// new SDK in our migration -/// guide. -/// -/// Initializing the Google Mobile Ads SDK with the AdMob app ID at app launch -/// allows the SDK to fetch app-level settings and perform configuration tasks -/// as early as possible. This can help reduce latency for the initial ad -/// request. AdMob app IDs are unique identifiers given to mobile apps when -/// they're registered in the AdMob console. To find your app ID in the AdMob -/// console, click the App management (https://apps.admob.com/#account/appmgmt:) -/// option under the settings dropdown (located in the upper right-hand corner). -/// App IDs have the form ca-app-pub-XXXXXXXXXXXXXXXX~NNNNNNNNNN. -/// -/// @param[in] app The Firebase app for which to initialize mobile ads. -/// @param[in] admob_app_id The publisher's AdMob app ID. -/// -/// @return kInitResultSuccess if initialization succeeded, or -/// kInitResultFailedMissingDependency on Android if Google Play services is not -/// available on the current device and the Google Mobile Ads SDK requires -/// Google Play services (for example, when using 'play-services-ads-lite'). -FIREBASE_DEPRECATED InitResult Initialize(const ::firebase::App& app, - const char* admob_app_id); - -#if FIREBASE_PLATFORM_ANDROID || defined(DOXYGEN) -/// @deprecated -/// @brief Initializes AdMob without Firebase for Android. -/// -/// The functionality in the firebase::admob namespace has -/// been replaced by the Google Mobile Ads SDK in the -/// firebase::gma namespace. Learn how to transition to the -/// new SDK in our migration -/// guide. -/// -/// The arguments to @ref Initialize are platform-specific so the caller must do -/// something like this: -/// @code -/// #if defined(__ANDROID__) -/// firebase::admob::Initialize(jni_env, activity); -/// #else -/// firebase::admob::Initialize(); -/// #endif -/// @endcode -/// -/// @param[in] jni_env JNIEnv pointer. -/// @param[in] activity Activity used to start the application. -/// -/// @return kInitResultSuccess if initialization succeeded, or -/// kInitResultFailedMissingDependency on Android if Google Play services is not -/// available on the current device and the AdMob SDK requires -/// Google Play services (for example when using 'play-services-ads-lite'). -FIREBASE_DEPRECATED InitResult Initialize(JNIEnv* jni_env, jobject activity); - -/// @deprecated -/// @brief Initializes AdMob via Firebase with the publisher's AdMob app ID. -/// -/// The functionality in the firebase::admob namespace has -/// been replaced by the Google Mobile Ads SDK in the -/// firebase::gma namespace. Learn how to transition to the -/// new SDK in our migration -/// guide. -/// -/// Initializing the Google Mobile Ads SDK with the AdMob app ID at app launch -/// allows the SDK to fetch app-level settings and perform configuration tasks -/// as early as possible. This can help reduce latency for the initial ad -/// request. AdMob app IDs are unique identifiers given to mobile apps when -/// they're registered in the AdMob console. To find your app ID in the AdMob -/// console, click the App management (https://apps.admob.com/#account/appmgmt:) -/// option under the settings dropdown (located in the upper right-hand corner). -/// App IDs have the form ca-app-pub-XXXXXXXXXXXXXXXX~NNNNNNNNNN. -/// -/// The arguments to @ref Initialize are platform-specific so the caller must do -/// something like this: -/// @code -/// #if defined(__ANDROID__) -/// firebase::admob::Initialize(jni_env, activity, admob_app_id); -/// #else -/// firebase::admob::Initialize(admob_app_id); -/// #endif -/// @endcode -/// -/// @param[in] jni_env JNIEnv pointer. -/// @param[in] activity Activity used to start the application. -/// @param[in] admob_app_id The publisher's AdMob app ID. -/// -/// @return kInitResultSuccess if initialization succeeded, or -/// kInitResultFailedMissingDependency on Android if Google Play services is not -/// available on the current device and the AdMob SDK requires -/// Google Play services (for example when using 'play-services-ads-lite'). -FIREBASE_DEPRECATED InitResult Initialize(JNIEnv* jni_env, jobject activity, - const char* admob_app_id); -#endif // defined(__ANDROID__) || defined(DOXYGEN) -#if !FIREBASE_PLATFORM_ANDROID || defined(DOXYGEN) -/// @deprecated -/// @brief Initializes AdMob without Firebase for iOS. -/// -/// The functionality in the firebase::admob namespace has -/// been replaced by the Google Mobile Ads SDK in the -/// firebase::gma namespace. Learn how to transition to the -/// new SDK in our migration -/// guide. -FIREBASE_DEPRECATED InitResult Initialize(); - -/// @deprecated -/// @brief Initializes AdMob with the publisher's AdMob app ID and without -/// Firebase for iOS. -/// -/// The functionality in the firebase::admob namespace has -/// been replaced by the Google Mobile Ads SDK in the -/// firebase::gma namespace. Learn how to transition to the -/// new SDK in our migration -/// guide. -/// -/// Initializing the Google Mobile Ads SDK with the AdMob app ID at app launch -/// allows the SDK to fetch app-level settings and perform configuration tasks -/// as early as possible. This can help reduce latency for the initial ad -/// request. AdMob app IDs are unique identifiers given to mobile apps when -/// they're registered in the AdMob console. To find your app ID in the AdMob -/// console, click the App management (https://apps.admob.com/#account/appmgmt:) -/// option under the settings dropdown (located in the upper right-hand corner). -/// App IDs have the form ca-app-pub-XXXXXXXXXXXXXXXX~NNNNNNNNNN. -/// -/// @param[in] admob_app_id The publisher's AdMob app ID. -/// -/// @return kInitResultSuccess if initialization succeeded -FIREBASE_DEPRECATED InitResult Initialize(const char* admob_app_id); -#endif // !defined(__ANDROID__) || defined(DOXYGEN) - -/// @deprecated -/// @brief Terminate AdMob. -/// -/// The functionality in the firebase::admob namespace has -/// been replaced by the Google Mobile Ads SDK in the -/// firebase::gma namespace. Learn how to transition to the -/// new SDK in our migration -/// guide. -/// -/// Frees resources associated with AdMob that were allocated during -/// @ref firebase::admob::Initialize(). -FIREBASE_DEPRECATED void Terminate(); - -} // namespace admob -} // namespace firebase - -#endif // FIREBASE_ADMOB_SRC_INCLUDE_FIREBASE_ADMOB_H_ diff --git a/vendors/firebase/include/firebase/admob/banner_view.h b/vendors/firebase/include/firebase/admob/banner_view.h deleted file mode 100644 index 2d691f2d3..000000000 --- a/vendors/firebase/include/firebase/admob/banner_view.h +++ /dev/null @@ -1,427 +0,0 @@ -/* - * Copyright 2016 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef FIREBASE_ADMOB_SRC_INCLUDE_FIREBASE_ADMOB_BANNER_VIEW_H_ -#define FIREBASE_ADMOB_SRC_INCLUDE_FIREBASE_ADMOB_BANNER_VIEW_H_ - -#include "firebase/admob/types.h" -#include "firebase/future.h" -#include "firebase/internal/common.h" - -namespace firebase { -namespace admob { - -namespace internal { -// Forward declaration for platform-specific data, implemented in each library. -class BannerViewInternal; -} // namespace internal - -/// @deprecated The functionality in the firebase::admob namespace -/// has been replaced by the Google Mobile Ads SDK in the -/// firebase::gma namespace. Learn how to transition to the new -/// SDK in our migration guide. -/// -/// @brief Loads and displays AdMob banner ads. -/// -/// Each BannerView object corresponds to a single AdMob banner placement. There -/// are methods to load an ad, move it, show it and hide it, and retrieve the -/// bounds of the ad onscreen. -/// -/// BannerView objects maintain a presentation state that indicates whether -/// or not they're currently onscreen, as well as a set of bounds (stored in a -/// @ref BoundingBox struct), but otherwise provide information about -/// their current state through Futures. Methods like @ref Initialize, -/// @ref LoadAd, and @ref Hide each have a corresponding @ref Future from which -/// the result of the last call can be determined. The two variants of -/// @ref MoveTo share a single result @ref Future, since they're essentially the -/// same action. -/// -/// In addition, applications can create their own subclasses of -/// @ref BannerView::Listener, pass an instance to the @ref SetListener method, -/// and receive callbacks whenever the presentation state or bounding box of the -/// ad changes. -/// -/// For example, you could initialize, load, and show a banner view while -/// checking the result of the previous action at each step as follows: -/// -/// @code -/// namespace admob = ::firebase::admob; -/// admob::BannerView* banner_view = new admob::BannerView(); -/// banner_view->Initialize(ad_parent, "YOUR_AD_UNIT_ID", desired_ad_size) -/// @endcode -/// -/// Then, later: -/// -/// @code -/// if (banner_view->InitializeLastResult().status() == -/// ::firebase::kFutureStatusComplete && -/// banner_view->InitializeLastResult().error() == -/// firebase::admob::kAdMobErrorNone) { -/// banner_view->LoadAd(your_ad_request); -/// } -/// @endcode -/// -class BannerView { - public: -#ifdef INTERNAL_EXPERIMENTAL -// LINT.IfChange -#endif // INTERNAL_EXPERIMENTAL - /// @deprecated - /// @brief The presentation state of a @ref BannerView. - /// - /// The functionality in the firebase::admob namespace has - /// been replaced by the Google Mobile Ads SDK in the - /// firebase::gma namespace. Learn how to transition to the - /// new SDK in our migration - /// guide. - enum PresentationState { - /// BannerView is currently hidden. - kPresentationStateHidden = 0, - /// BannerView is visible, but does not contain an ad. - kPresentationStateVisibleWithoutAd, - /// BannerView is visible and contains an ad. - kPresentationStateVisibleWithAd, - /// BannerView is visible and has opened a partial overlay on the screen. - kPresentationStateOpenedPartialOverlay, - /// BannerView is completely covering the screen or has caused focus to - /// leave the application (for example, when opening an external browser - /// during a clickthrough). - kPresentationStateCoveringUI, - }; -#ifdef INTERNAL_EXPERIMENTAL -// LINT.ThenChange(//depot_firebase_cpp/admob/client/cpp/src_java/com/google/firebase/admob/internal/cpp/ConstantsHelper.java) -#endif // INTERNAL_EXPERIMENTAL - -#ifdef INTERNAL_EXPERIMENTAL -// LINT.IfChange -#endif // INTERNAL_EXPERIMENTAL - /// @deprecated - /// @brief The possible screen positions for a @ref BannerView. - /// - /// The functionality in the firebase::admob namespace has - /// been replaced by the Google Mobile Ads SDK in the - /// firebase::gma namespace. Learn how to transition to the - /// new SDK in our migration - /// guide. - enum Position { - /// Top of the screen, horizontally centered. - kPositionTop = 0, - /// Bottom of the screen, horizontally centered. - kPositionBottom, - /// Top-left corner of the screen. - kPositionTopLeft, - /// Top-right corner of the screen. - kPositionTopRight, - /// Bottom-left corner of the screen. - kPositionBottomLeft, - /// Bottom-right corner of the screen. - kPositionBottomRight, - }; -#ifdef INTERNAL_EXPERIMENTAL -// LINT.ThenChange(//depot_firebase_cpp/admob/client/cpp/src_java/com/google/firebase/admob/internal/cpp/ConstantsHelper.java) -#endif // INTERNAL_EXPERIMENTAL - - /// @deprecated - /// @brief A listener class that developers can extend and pass to a @ref - /// BannerView object's @ref SetListener method to be notified of changes to - /// the presentation state and bounding box. - /// - /// The functionality in the firebase::admob namespace has - /// been replaced by the Google Mobile Ads SDK in the - /// firebase::gma namespace. Learn how to transition to the - /// new SDK in our migration - /// guide. - class Listener { - public: - /// @deprecated - /// @brief This method is called when the @ref BannerView object's - /// presentation state changes. - /// - /// The functionality in the firebase::admob namespace has - /// been replaced by the Google Mobile Ads SDK in the - /// firebase::gma namespace. Learn how to transition to the - /// new SDK in our migration - /// guide. - /// @param[in] banner_view The banner view whose presentation state changed. - /// @param[in] state The new presentation state. - virtual void OnPresentationStateChanged(BannerView* banner_view, - PresentationState state) = 0; - /// @deprecated - /// @brief This method is called when the @ref BannerView object's bounding - /// box changes. - /// - /// The functionality in the firebase::admob namespace has - /// been replaced by the Google Mobile Ads SDK in the - /// firebase::gma namespace. Learn how to transition to the - /// new SDK in our migration - /// guide. - /// @param[in] banner_view The banner view whose bounding box changed. - /// @param[in] box The new bounding box. - virtual void OnBoundingBoxChanged(BannerView* banner_view, - BoundingBox box) = 0; - virtual ~Listener(); - }; - - /// @deprecated - /// @brief Creates an uninitialized @ref BannerView object. - /// - /// The functionality in the firebase::admob namespace has - /// been replaced by the Google Mobile Ads SDK in the - /// firebase::gma namespace. Learn how to transition to the - /// new SDK in our migration - /// guide. - /// - /// @ref Initialize must be called before the object is used. - FIREBASE_DEPRECATED BannerView(); - - ~BannerView(); - - /// @deprecated - /// @brief Initializes the @ref BannerView object. - /// - /// The functionality in the firebase::admob namespace has - /// been replaced by the Google Mobile Ads SDK in the - /// firebase::gma namespace. Learn how to transition to the - /// new SDK in our migration - /// guide. - /// @param[in] parent The platform-specific UI element that will host the ad. - /// @param[in] ad_unit_id The ad unit ID to use when requesting ads. - /// @param[in] size The desired ad size for the banner. - FIREBASE_DEPRECATED Future Initialize(AdParent parent, - const char* ad_unit_id, - AdSize size); - - /// @deprecated - /// @brief Returns a @ref Future that has the status of the last call to - /// @ref Initialize. - /// - /// The functionality in the firebase::admob namespace has - /// been replaced by the Google Mobile Ads SDK in the - /// firebase::gma namespace. Learn how to transition to the - /// new SDK in our migration - /// guide. - FIREBASE_DEPRECATED Future InitializeLastResult() const; - - /// @deprecated - /// @brief Begins an asynchronous request for an ad. If successful, the ad - /// will automatically be displayed in the BannerView. - /// - /// The functionality in the firebase::admob namespace has - /// been replaced by the Google Mobile Ads SDK in the - /// firebase::gma namespace. Learn how to transition to the - /// new SDK in our migration - /// guide. - /// @param[in] request An AdRequest struct with information about the request - /// to be made (such as targeting info). - FIREBASE_DEPRECATED Future LoadAd(const AdRequest& request); - - /// @deprecated - /// @brief Returns a @ref Future containing the status of the last call to - /// @ref LoadAd. - /// - /// The functionality in the firebase::admob namespace has - /// been replaced by the Google Mobile Ads SDK in the - /// firebase::gma namespace. Learn how to transition to the - /// new SDK in our migration - /// guide. - FIREBASE_DEPRECATED Future LoadAdLastResult() const; - - /// @deprecated - /// @brief Hides the BannerView. - /// - /// The functionality in the firebase::admob namespace has - /// been replaced by the Google Mobile Ads SDK in the - /// firebase::gma namespace. Learn how to transition to the - /// new SDK in our migration - /// guide. - FIREBASE_DEPRECATED Future Hide(); - - /// @deprecated - /// @brief Returns a @ref Future containing the status of the last call to - /// @ref Hide. - /// - /// The functionality in the firebase::admob namespace has - /// been replaced by the Google Mobile Ads SDK in the - /// firebase::gma namespace. Learn how to transition to the - /// new SDK in our migration - /// guide. - FIREBASE_DEPRECATED Future HideLastResult() const; - - /// @deprecated - /// @brief Shows the @ref BannerView. - /// - /// The functionality in the firebase::admob namespace has - /// been replaced by the Google Mobile Ads SDK in the - /// firebase::gma namespace. Learn how to transition to the - /// new SDK in our migration - /// guide. - FIREBASE_DEPRECATED Future Show(); - - /// @deprecated - /// @brief Returns a @ref Future containing the status of the last call to - /// @ref Show. - /// - /// The functionality in the firebase::admob namespace has - /// been replaced by the Google Mobile Ads SDK in the - /// firebase::gma namespace. Learn how to transition to the - /// new SDK in our migration - /// guide. - FIREBASE_DEPRECATED Future ShowLastResult() const; - - /// @deprecated - /// @brief Pauses the @ref BannerView. Should be called whenever the C++ - /// engine pauses or the application loses focus. - /// - /// The functionality in the firebase::admob namespace has - /// been replaced by the Google Mobile Ads SDK in the - /// firebase::gma namespace. Learn how to transition to the - /// new SDK in our migration - /// guide. - FIREBASE_DEPRECATED Future Pause(); - - /// @deprecated - /// @brief Returns a @ref Future containing the status of the last call to - /// @ref Pause. - /// - /// The functionality in the firebase::admob namespace has - /// been replaced by the Google Mobile Ads SDK in the - /// firebase::gma namespace. Learn how to transition to the - /// new SDK in our migration - /// guide. - FIREBASE_DEPRECATED Future PauseLastResult() const; - - /// @deprecated - /// @brief Resumes the @ref BannerView after pausing. - /// - /// The functionality in the firebase::admob namespace has - /// been replaced by the Google Mobile Ads SDK in the - /// firebase::gma namespace. Learn how to transition to the - /// new SDK in our migration - /// guide. - FIREBASE_DEPRECATED Future Resume(); - - /// @deprecated - /// @brief Returns a @ref Future containing the status of the last call to - /// @ref Resume. - /// - /// The functionality in the firebase::admob namespace has - /// been replaced by the Google Mobile Ads SDK in the - /// firebase::gma namespace. Learn how to transition to the - /// new SDK in our migration - /// guide. - FIREBASE_DEPRECATED Future ResumeLastResult() const; - - /// @deprecated - /// @brief Cleans up and deallocates any resources used by the @ref - /// BannerView. - /// - /// The functionality in the firebase::admob namespace has - /// been replaced by the Google Mobile Ads SDK in the - /// firebase::gma namespace. Learn how to transition to the - /// new SDK in our migration - /// guide. - FIREBASE_DEPRECATED Future Destroy(); - - /// @deprecated - /// @brief Returns a @ref Future containing the status of the last call to - /// @ref Destroy. - /// - /// The functionality in the firebase::admob namespace has - /// been replaced by the Google Mobile Ads SDK in the - /// firebase::gma namespace. Learn how to transition to the - /// new SDK in our migration - /// guide. - FIREBASE_DEPRECATED Future DestroyLastResult() const; - - /// @deprecated - /// @brief Moves the @ref BannerView so that its top-left corner is located at - /// (x, y). Coordinates are in pixels from the top-left corner of the screen. - /// - /// The functionality in the firebase::admob namespace has - /// been replaced by the Google Mobile Ads SDK in the - /// firebase::gma namespace. Learn how to transition to the - /// new SDK in our migration - /// guide. - /// @param[in] x The desired horizontal coordinate. - /// @param[in] y The desired vertical coordinate. - FIREBASE_DEPRECATED Future MoveTo(int x, int y); - - /// @deprecated - /// @brief Moves the @ref BannerView so that it's located at the given - /// pre-defined position. - /// - /// The functionality in the firebase::admob namespace has - /// been replaced by the Google Mobile Ads SDK in the - /// firebase::gma namespace. Learn how to transition to the - /// new SDK in our migration - /// guide. - /// @param[in] position The pre-defined position to which to move the - /// @ref BannerView. - FIREBASE_DEPRECATED Future MoveTo(Position position); - - /// @deprecated - /// @brief Returns a @ref Future containing the status of the last call to - /// either version of @ref MoveTo. - /// - /// The functionality in the firebase::admob namespace has - /// been replaced by the Google Mobile Ads SDK in the - /// firebase::gma namespace. Learn how to transition to the - /// new SDK in our migration - /// guide. - FIREBASE_DEPRECATED Future MoveToLastResult() const; - - /// @deprecated - /// @brief Returns the current presentation state of the @ref BannerView. - /// - /// The functionality in the firebase::admob namespace has - /// been replaced by the Google Mobile Ads SDK in the - /// firebase::gma namespace. Learn how to transition to the - /// new SDK in our migration - /// guide. - /// @return The current presentation state. - FIREBASE_DEPRECATED PresentationState presentation_state() const; - - /// @deprecated - /// @brief Retrieves the @ref BannerView's current onscreen size and location. - /// - /// The functionality in the firebase::admob namespace has - /// been replaced by the Google Mobile Ads SDK in the - /// firebase::gma namespace. Learn how to transition to the - /// new SDK in our migration - /// guide. - FIREBASE_DEPRECATED BoundingBox bounding_box() const; - - /// @deprecated - /// @brief Sets the @ref Listener for this object. - /// - /// The functionality in the firebase::admob namespace has - /// been replaced by the Google Mobile Ads SDK in the - /// firebase::gma namespace. Learn how to transition to the - /// new SDK in our migration - /// guide. - /// @param[in] listener A valid BannerView::Listener to receive callbacks. - FIREBASE_DEPRECATED void SetListener(Listener* listener); - - private: - // An internal, platform-specific implementation object that this class uses - // to interact with the Google Mobile Ads SDKs for iOS and Android. - internal::BannerViewInternal* internal_; -}; - -} // namespace admob -} // namespace firebase - -#endif // FIREBASE_ADMOB_SRC_INCLUDE_FIREBASE_ADMOB_BANNER_VIEW_H_ diff --git a/vendors/firebase/include/firebase/admob/interstitial_ad.h b/vendors/firebase/include/firebase/admob/interstitial_ad.h deleted file mode 100644 index b201ab7c3..000000000 --- a/vendors/firebase/include/firebase/admob/interstitial_ad.h +++ /dev/null @@ -1,259 +0,0 @@ -/* - * Copyright 2016 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef FIREBASE_ADMOB_SRC_INCLUDE_FIREBASE_ADMOB_INTERSTITIAL_AD_H_ -#define FIREBASE_ADMOB_SRC_INCLUDE_FIREBASE_ADMOB_INTERSTITIAL_AD_H_ - -#include "firebase/admob/types.h" -#include "firebase/future.h" -#include "firebase/internal/common.h" - -namespace firebase { -namespace admob { - -namespace internal { -// Forward declaration for platform-specific data, implemented in each library. -class InterstitialAdInternal; -} // namespace internal - -/// @deprecated The functionality in the firebase::admob namespace -/// has been replaced by the Google Mobile Ads SDK in the -/// firebase::gma namespace. Learn how to transition to the new -/// SDK in our migration guide. -/// -/// @brief Loads and displays AdMob interstitial ads. -/// -/// @ref InterstitialAd is a single-use object that can load and show a -/// single AdMob interstitial ad. -/// -/// InterstitialAd objects maintain a presentation state that indicates whether -/// or not they're currently onscreen, but otherwise provide information about -/// their current state through Futures. @ref Initialize, @ref LoadAd, and -/// @ref Show each have a corresponding @ref Future from which you can determine -/// result of the previous call. -/// -/// In addition, applications can create their own subclasses of -/// @ref InterstitialAd::Listener, pass an instance to the @ref SetListener -/// method, and receive callbacks whenever the presentation state changes. -/// -/// Here's how one might initialize, load, and show an interstitial ad while -/// checking against the result of the previous action at each step: -/// -/// @code -/// namespace admob = ::firebase::admob; -/// admob::InterstitialAd* interstitial = new admob::InterstitialAd(); -/// interstitial->Initialize(ad_parent, "YOUR_AD_UNIT_ID") -/// @endcode -/// -/// Then, later: -/// -/// @code -/// if (interstitial->InitializeLastResult().status() == -/// ::firebase::kFutureStatusComplete && -/// interstitial->InitializeLastResult().error() == -/// firebase::admob::kAdMobErrorNone) { -/// interstitial->LoadAd(my_ad_request); -/// } -/// @endcode -/// -/// And after that: -/// -/// @code -/// if (interstitial->LoadAdLastResult().status() == -/// ::firebase::kFutureStatusComplete && -/// interstitial->LoadAdLastResult().error() == -/// firebase::admob::kAdMobErrorNone)) { -/// interstitial->Show(); -/// } -/// @endcode -/// -class InterstitialAd { - public: -#ifdef INTERNAL_EXPERIMENTAL -// LINT.IfChange -#endif // INTERNAL_EXPERIMENTAL - /// @deprecated - /// @brief The presentation states of an @ref InterstitialAd. - /// - /// The functionality in the firebase::admob namespace has - /// been replaced by the Google Mobile Ads SDK in the - /// firebase::gma namespace. Learn how to transition to the - /// new SDK in our migration - /// guide. - enum PresentationState { - /// InterstitialAd is not currently being shown. - kPresentationStateHidden = 0, - /// InterstitialAd is being shown or has caused focus to leave the - /// application (for example, when opening an external browser during a - /// clickthrough). - kPresentationStateCoveringUI, - }; -#ifdef INTERNAL_EXPERIMENTAL -// LINT.ThenChange(//depot_firebase_cpp/admob/client/cpp/src_java/com/google/firebase/admob/internal/cpp/InterstitialAdHelper.java) -#endif // INTERNAL_EXPERIMENTAL - - /// @deprecated - /// @brief A listener class that developers can extend and pass to an - /// @ref InterstitialAd object's @ref SetListener method to be notified of - /// presentation state changes. - /// - /// The functionality in the firebase::admob namespace has - /// been replaced by the Google Mobile Ads SDK in the - /// firebase::gma namespace. Learn how to transition to the - /// new SDK in our migration - /// guide. - /// @param[in] interstitial_ad The interstitial ad whose presentation state - /// changed. - /// @param[in] state The new presentation state. - virtual void OnPresentationStateChanged(InterstitialAd* interstitial_ad, - PresentationState state) = 0; - virtual ~Listener(); - }; - - /// @deprecated - /// @brief Creates an uninitialized @ref InterstitialAd object. - /// @ref Initialize must be called before the object is used. - /// - /// The functionality in the firebase::admob namespace has - /// been replaced by the Google Mobile Ads SDK in the - /// firebase::gma namespace. Learn how to transition to the - /// new SDK in our migration - /// guide. - FIREBASE_DEPRECATED InterstitialAd(); - - ~InterstitialAd(); - - /// @deprecated - /// @brief Initialize the @ref InterstitialAd object. - /// - /// The functionality in the firebase::admob namespace has - /// been replaced by the Google Mobile Ads SDK in the - /// firebase::gma namespace. Learn how to transition to the - /// new SDK in our migration - /// guide. - /// @param[in] parent The platform-specific UI element that will host the ad. - /// @param[in] ad_unit_id The ad unit ID to use in loading the ad. - FIREBASE_DEPRECATED Future Initialize(AdParent parent, - const char* ad_unit_id); - - /// @deprecated - /// @brief Returns a @ref Future containing the status of the last call to - /// @ref Initialize. - /// - /// The functionality in the firebase::admob namespace has - /// been replaced by the Google Mobile Ads SDK in the - /// firebase::gma namespace. Learn how to transition to the - /// new SDK in our migration - /// guide. - FIREBASE_DEPRECATED Future InitializeLastResult() const; - - /// @deprecated - /// @brief Begins an asynchronous request for an ad. - /// - /// The @ref InterstitialAd::presentation_state method can be used to track - /// the progress of the request. - /// - /// The functionality in the firebase::admob namespace has - /// been replaced by the Google Mobile Ads SDK in the - /// firebase::gma namespace. Learn how to transition to the - /// new SDK in our migration - /// guide. - /// @param[in] request An AdRequest struct with information about the request - /// to be made (such as targeting info). - FIREBASE_DEPRECATED Future LoadAd(const AdRequest& request); - - /// @deprecated - /// @brief Returns a @ref Future containing the status of the last call to - /// @ref LoadAd. - /// - /// The functionality in the firebase::admob namespace has - /// been replaced by the Google Mobile Ads SDK in the - /// firebase::gma namespace. Learn how to transition to the - /// new SDK in our migration - /// guide. - FIREBASE_DEPRECATED Future LoadAdLastResult() const; - - /// @deprecated - /// @brief Shows the @ref InterstitialAd. This should not be called unless an - /// ad has already been loaded. - /// - /// The functionality in the firebase::admob namespace has - /// been replaced by the Google Mobile Ads SDK in the - /// firebase::gma namespace. Learn how to transition to the - /// new SDK in our migration - /// guide. - FIREBASE_DEPRECATED Future Show(); - - /// @deprecated - /// @brief Returns a @ref Future containing the status of the last call to - /// @ref Show. - /// - /// The functionality in the firebase::admob namespace has - /// been replaced by the Google Mobile Ads SDK in the - /// firebase::gma namespace. Learn how to transition to the - /// new SDK in our migration - /// guide. - FIREBASE_DEPRECATED Future ShowLastResult() const; - - /// @deprecated - /// @brief Returns the current presentation state of the @ref InterstitialAd. - /// - /// The functionality in the firebase::admob namespace has - /// been replaced by the Google Mobile Ads SDK in the - /// firebase::gma namespace. Learn how to transition to the - /// new SDK in our migration - /// guide. - /// @return The current presentation state. - FIREBASE_DEPRECATED PresentationState presentation_state() const; - - /// @deprecated - /// @brief Sets the @ref Listener for this @ref InterstitialAd. - /// - /// The functionality in the firebase::admob namespace has - /// been replaced by the Google Mobile Ads SDK in the - /// firebase::gma namespace. Learn how to transition to the - /// new SDK in our migration - /// guide. - /// @param[in] listener A valid InterstititalAd::Listener to receive - /// callbacks. - FIREBASE_DEPRECATED void SetListener(Listener* listener); - - private: - // An internal, platform-specific implementation object that this class uses - // to interact with the Google Mobile Ads SDKs for iOS and Android. - internal::InterstitialAdInternal* internal_; -}; - -} // namespace admob -} // namespace firebase - -#endif // FIREBASE_ADMOB_SRC_INCLUDE_FIREBASE_ADMOB_INTERSTITIAL_AD_H_ diff --git a/vendors/firebase/include/firebase/admob/native_express_ad_view.h b/vendors/firebase/include/firebase/admob/native_express_ad_view.h deleted file mode 100644 index 7e5719678..000000000 --- a/vendors/firebase/include/firebase/admob/native_express_ad_view.h +++ /dev/null @@ -1,446 +0,0 @@ -/* - * Copyright 2016 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef FIREBASE_ADMOB_SRC_INCLUDE_FIREBASE_ADMOB_NATIVE_EXPRESS_AD_VIEW_H_ -#define FIREBASE_ADMOB_SRC_INCLUDE_FIREBASE_ADMOB_NATIVE_EXPRESS_AD_VIEW_H_ - -#include "firebase/admob/types.h" -#include "firebase/future.h" -#include "firebase/internal/common.h" - -namespace firebase { -namespace admob { - -namespace internal { -// Forward declaration for platform-specific data, implemented in each library. -class NativeExpressAdViewInternal; -} // namespace internal - -/// @deprecated The functionality in the firebase::admob namespace -/// has been replaced by the Google Mobile Ads SDK in the -/// firebase::gma namespace. Learn how to transition to the new -/// SDK in our migration guide. -/// Native Express Ads has been discontinued, and are no longer served. -/// -/// @brief Loads and displays ads from AdMob Native Ads Express. -/// -/// Each NativeExpressAdView object corresponds to a single AdMob Native Express -/// ad placement. There are methods to load an ad, move it, show it and hide it, -/// and retrieve the bounds of the ad onscreen. -/// -/// NativeExpressAdView objects maintain a presentation state that indicates -/// whether or not they're currently onscreen, as well as a set of bounds -/// (stored in a @ref BoundingBox struct), but otherwise provide information -/// about their current state through Futures. Methods like @ref Initialize, -/// @ref LoadAd, and @ref Hide each have a corresponding @ref Future from which -/// the result of the last call can be determined. The two variants of -/// @ref MoveTo share a single result @ref Future, since they're essentially the -/// same action. -/// -/// In addition, applications can create their own subclasses of -/// @ref NativeExpressAdView::Listener, pass an instance to the @ref SetListener -/// method, and receive callbacks whenever the presentation state or bounding -/// box of the ad changes. -/// -/// For example, you could initialize, load, and show a native express ad view -/// while checking the result of the previous action at each step as follows: -/// -/// @code -/// namespace admob = ::firebase::admob; -/// admob::NativeExpressAdView* ad_view = new admob::NativeExpressAdView(); -/// ad_view->Initialize(ad_parent, "YOUR_AD_UNIT_ID", desired_ad_size) -/// @endcode -/// -/// Then, later: -/// -/// @code -/// if (ad_view->InitializeLastResult().Status() == -/// ::firebase::kFutureStatusComplete && -/// ad_view->InitializeLastResult().Error() == -/// firebase::admob::kAdMobErrorNone) { -/// ad_view->LoadAd(your_ad_request); -/// } -/// @endcode -class NativeExpressAdView { - public: -#ifdef INTERNAL_EXPERIMENTAL -// LINT.IfChange -#endif // INTERNAL_EXPERIMENTAL - /// @deprecated - /// @brief The presentation state of a @ref NativeExpressAdView. - /// - /// The functionality in the firebase::admob namespace has - /// been replaced by the Google Mobile Ads SDK in the - /// firebase::gma namespace. Learn how to transition to the - /// new SDK in our migration - /// guide. - enum PresentationState { - /// NativeExpressAdView is currently hidden. - kPresentationStateHidden = 0, - /// NativeExpressAdView is visible, but does not contain an ad. - kPresentationStateVisibleWithoutAd, - /// NativeExpressAdView is visible and contains an ad. - kPresentationStateVisibleWithAd, - /// NativeExpressAdView is visible and has opened a partial overlay on the - /// screen. - kPresentationStateOpenedPartialOverlay, - /// NativeExpressAdView is completely covering the screen or has caused - /// focus to leave the application (for example, when opening an external - /// browser during a clickthrough). - kPresentationStateCoveringUI, - }; -#ifdef INTERNAL_EXPERIMENTAL -// LINT.ThenChange(//depot_firebase_cpp/admob/client/cpp/src_java/com/google/firebase/admob/internal/cpp/ConstantsHelper.java) -#endif // INTERNAL_EXPERIMENTAL - -#ifdef INTERNAL_EXPERIMENTAL -// LINT.IfChange -#endif // INTERNAL_EXPERIMENTAL - /// @deprecated - /// @brief The possible screen positions for a @ref NativeExpressAdView. - /// - /// The functionality in the firebase::admob namespace has - /// been replaced by the Google Mobile Ads SDK in the - /// firebase::gma namespace. Learn how to transition to the - /// new SDK in our migration - /// guide. - enum Position { - /// Top of the screen, horizontally centered. - kPositionTop = 0, - /// Bottom of the screen, horizontally centered. - kPositionBottom, - /// Top-left corner of the screen. - kPositionTopLeft, - /// Top-right corner of the screen. - kPositionTopRight, - /// Bottom-left corner of the screen. - kPositionBottomLeft, - /// Bottom-right corner of the screen. - kPositionBottomRight, - }; -#ifdef INTERNAL_EXPERIMENTAL -// LINT.ThenChange(//depot_firebase_cpp/admob/client/cpp/src_java/com/google/firebase/admob/internal/cpp/ConstantsHelper.java) -#endif // INTERNAL_EXPERIMENTAL - - /// @deprecated - /// @brief A listener class that developers can extend and pass to a - /// @ref NativeExpressAdView object's @ref SetListener method to be notified - /// of changes to the presentation state and bounding box. - /// - /// The functionality in the firebase::admob namespace has - /// been replaced by the Google Mobile Ads SDK in the - /// firebase::gma namespace. Learn how to transition to the - /// new SDK in our migration - /// guide. - class Listener { - public: - /// @deprecated - /// @brief This method is called when the @ref NativeExpressAdView object's - /// presentation state changes. - /// - /// The functionality in the firebase::admob namespace has - /// been replaced by the Google Mobile Ads SDK in the - /// firebase::gma namespace. Learn how to transition to the - /// new SDK in our migration - /// guide. - /// @param[in] ad_view The native express ad view whose presentation state - /// changed. - /// @param[in] state The new presentation state. - FIREBASE_DEPRECATED virtual void OnPresentationStateChanged( - NativeExpressAdView* ad_view, PresentationState state) = 0; - - /// @deprecated - /// @brief This method is called when the @ref NativeExpressAdView object's - /// bounding box changes. - /// - /// The functionality in the firebase::admob namespace has - /// been replaced by the Google Mobile Ads SDK in the - /// firebase::gma namespace. Learn how to transition to the - /// new SDK in our migration - /// guide. - /// - /// @ref Initialize must be called before the object is used. - FIREBASE_DEPRECATED NativeExpressAdView(); - - ~NativeExpressAdView(); - - /// @deprecated - /// @brief Initializes the @ref NativeExpressAdView object. - /// - /// The functionality in the firebase::admob namespace has - /// been replaced by the Google Mobile Ads SDK in the - /// firebase::gma namespace. Learn how to transition to the - /// new SDK in our migration - /// guide. - /// @param[in] parent The platform-specific UI element that will host the ad. - /// @param[in] ad_unit_id The ad unit ID to use when requesting ads. - /// @param[in] size The desired ad size for the native express ad. - FIREBASE_DEPRECATED Future Initialize(AdParent parent, - const char* ad_unit_id, - AdSize size); - - /// @deprecated - /// @brief Returns a @ref Future that has the status of the last call to - /// @ref Initialize. - /// - /// The functionality in the firebase::admob namespace has - /// been replaced by the Google Mobile Ads SDK in the - /// firebase::gma namespace. Learn how to transition to the - /// new SDK in our migration - /// guide. - FIREBASE_DEPRECATED Future InitializeLastResult() const; - - /// @deprecated - /// @brief Begins an asynchronous request for an ad. If successful, the ad - /// will automatically be displayed in the NativeExpressAdView. - /// - /// The functionality in the firebase::admob namespace has - /// been replaced by the Google Mobile Ads SDK in the - /// firebase::gma namespace. Learn how to transition to the - /// new SDK in our migration - /// guide. - /// @param[in] request An AdRequest struct with information about the request - /// to be made (such as targeting info). - FIREBASE_DEPRECATED Future LoadAd(const AdRequest& request); - - /// @deprecated - /// @brief Returns a @ref Future containing the status of the last call to - /// @ref LoadAd. - /// - /// The functionality in the firebase::admob namespace has - /// been replaced by the Google Mobile Ads SDK in the - /// firebase::gma namespace. Learn how to transition to the - /// new SDK in our migration - /// guide. - FIREBASE_DEPRECATED Future LoadAdLastResult() const; - - /// @deprecated - /// @brief Hides the NativeExpressAdView. - /// - /// The functionality in the firebase::admob namespace has - /// been replaced by the Google Mobile Ads SDK in the - /// firebase::gma namespace. Learn how to transition to the - /// new SDK in our migration - /// guide. - FIREBASE_DEPRECATED Future Hide(); - - /// @deprecated - /// @brief Returns a @ref Future containing the status of the last call to - /// @ref Hide. - /// - /// The functionality in the firebase::admob namespace has - /// been replaced by the Google Mobile Ads SDK in the - /// firebase::gma namespace. Learn how to transition to the - /// new SDK in our migration - /// guide. - FIREBASE_DEPRECATED Future HideLastResult() const; - - /// @deprecated - /// @brief Shows the @ref NativeExpressAdView. - /// - /// The functionality in the firebase::admob namespace has - /// been replaced by the Google Mobile Ads SDK in the - /// firebase::gma namespace. Learn how to transition to the - /// new SDK in our migration - /// guide. - FIREBASE_DEPRECATED Future Show(); - - /// @deprecated - /// @brief Returns a @ref Future containing the status of the last call to - /// @ref Show. - /// - /// The functionality in the firebase::admob namespace has - /// been replaced by the Google Mobile Ads SDK in the - /// firebase::gma namespace. Learn how to transition to the - /// new SDK in our migration - /// guide. - FIREBASE_DEPRECATED Future ShowLastResult() const; - - /// @deprecated - /// @brief Pauses the @ref NativeExpressAdView. - /// - /// The functionality in the firebase::admob namespace has - /// been replaced by the Google Mobile Ads SDK in the - /// firebase::gma namespace. Learn how to transition to the - /// new SDK in our migration - /// guide. - /// - /// Should be called whenever the C++ engine pauses or the application loses - /// focus. - FIREBASE_DEPRECATED Future Pause(); - - /// @deprecated - /// @brief Returns a @ref Future containing the status of the last call to - /// @ref Pause. - /// - /// The functionality in the firebase::admob namespace has - /// been replaced by the Google Mobile Ads SDK in the - /// firebase::gma namespace. Learn how to transition to the - /// new SDK in our migration - /// guide. - FIREBASE_DEPRECATED Future PauseLastResult() const; - - /// @deprecated - /// @brief Resumes the @ref NativeExpressAdView after pausing. - /// - /// The functionality in the firebase::admob namespace has - /// been replaced by the Google Mobile Ads SDK in the - /// firebase::gma namespace. Learn how to transition to the - /// new SDK in our migration - /// guide. - FIREBASE_DEPRECATED Future Resume(); - - /// @deprecated - /// @brief Returns a @ref Future containing the status of the last call to - /// @ref Resume. - /// - /// The functionality in the firebase::admob namespace has - /// been replaced by the Google Mobile Ads SDK in the - /// firebase::gma namespace. Learn how to transition to the - /// new SDK in our migration - /// guide. - FIREBASE_DEPRECATED Future ResumeLastResult() const; - - /// @deprecated - /// @brief Cleans up and deallocates any resources used by the - /// @ref NativeExpressAdView. - /// - /// The functionality in the firebase::admob namespace has - /// been replaced by the Google Mobile Ads SDK in the - /// firebase::gma namespace. Learn how to transition to the - /// new SDK in our migration - /// guide. - FIREBASE_DEPRECATED Future Destroy(); - - /// @deprecated - /// @brief Returns a @ref Future containing the status of the last call to - /// @ref Destroy. - /// - /// The functionality in the firebase::admob namespace has - /// been replaced by the Google Mobile Ads SDK in the - /// firebase::gma namespace. Learn how to transition to the - /// new SDK in our migration - /// guide. - FIREBASE_DEPRECATED Future DestroyLastResult() const; - - /// @deprecated - /// @brief Moves the @ref NativeExpressAdView so that its top-left corner is - /// located at (x, y). Coordinates are in pixels from the top-left corner of - /// the screen. - /// - /// The functionality in the firebase::admob namespace has - /// been replaced by the Google Mobile Ads SDK in the - /// firebase::gma namespace. Learn how to transition to the - /// new SDK in our migration - /// guide. - /// - /// When built for Android, the library will not display an ad on top of or - /// beneath an Activity's status bar. If a call to MoveTo would result in an - /// overlap, the @ref NativeExpressAdView is placed just below the status bar, - /// so no overlap occurs. - /// @param[in] x The desired horizontal coordinate. - /// @param[in] y The desired vertical coordinate. - FIREBASE_DEPRECATED Future MoveTo(int x, int y); - - /// @deprecated - /// @brief Moves the @ref NativeExpressAdView so that it's located at the - /// given pre-defined position. - /// - /// The functionality in the firebase::admob namespace has - /// been replaced by the Google Mobile Ads SDK in the - /// firebase::gma namespace. Learn how to transition to the - /// new SDK in our migration - /// guide. - /// @param[in] position The pre-defined position to which to move the - /// @ref NativeExpressAdView. - FIREBASE_DEPRECATED Future MoveTo(Position position); - - /// @deprecated - /// @brief Returns a @ref Future containing the status of the last call to - /// either version of @ref MoveTo. - /// - /// The functionality in the firebase::admob namespace has - /// been replaced by the Google Mobile Ads SDK in the - /// firebase::gma namespace. Learn how to transition to the - /// new SDK in our migration - /// guide. - FIREBASE_DEPRECATED Future MoveToLastResult() const; - - /// @deprecated - /// @brief Returns the current presentation state of the - /// @ref NativeExpressAdView. - /// - /// The functionality in the firebase::admob namespace has - /// been replaced by the Google Mobile Ads SDK in the - /// firebase::gma namespace. Learn how to transition to the - /// new SDK in our migration - /// guide. - /// @return The current presentation state. - FIREBASE_DEPRECATED PresentationState GetPresentationState() const; - - /// @deprecated - /// @brief Retrieves the @ref NativeExpressAdView's current onscreen size and - /// location. - /// - /// The functionality in the firebase::admob namespace has - /// been replaced by the Google Mobile Ads SDK in the - /// firebase::gma namespace. Learn how to transition to the - /// new SDK in our migration - /// guide. - /// @return The current size and location. Values are in pixels, and location - /// coordinates originate from the top-left corner of the screen. - FIREBASE_DEPRECATED BoundingBox GetBoundingBox() const; - - /// @deprecated - /// @brief Sets the @ref Listener for this object. - /// - /// The functionality in the firebase::admob namespace has - /// been replaced by the Google Mobile Ads SDK in the - /// firebase::gma namespace. Learn how to transition to the - /// new SDK in our migration - /// guide. - /// @param[in] listener A valid NativeExpressAdView::Listener to receive - /// callbacks. - FIREBASE_DEPRECATED void SetListener(Listener* listener); - - private: - // An internal, platform-specific implementation object that this class uses - // to interact with the Google Mobile Ads SDKs for iOS and Android. - internal::NativeExpressAdViewInternal* internal_; -}; - -} // namespace admob -} // namespace firebase - -#endif // FIREBASE_ADMOB_SRC_INCLUDE_FIREBASE_ADMOB_NATIVE_EXPRESS_AD_VIEW_H_ diff --git a/vendors/firebase/include/firebase/admob/rewarded_video.h b/vendors/firebase/include/firebase/admob/rewarded_video.h deleted file mode 100644 index 32bea80b5..000000000 --- a/vendors/firebase/include/firebase/admob/rewarded_video.h +++ /dev/null @@ -1,407 +0,0 @@ -/* - * Copyright 2016 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef FIREBASE_ADMOB_SRC_INCLUDE_FIREBASE_ADMOB_REWARDED_VIDEO_H_ -#define FIREBASE_ADMOB_SRC_INCLUDE_FIREBASE_ADMOB_REWARDED_VIDEO_H_ - -#include -#include - -#include "firebase/admob/types.h" -#include "firebase/future.h" - -namespace firebase { - -// Forward declaration of Firebase's internal Mutex. -class Mutex; - -namespace admob { - -/// @deprecated The functionality in the firebase::admob namespace -/// has been replaced by the Google Mobile Ads SDK in the -/// firebase::gma namespace. Learn how to transition to the new -/// SDK in our migration guide. -/// -/// @brief Loads and displays rewarded video ads via AdMob mediation. -/// -/// The rewarded_video namespace contains methods to load and display rewarded -/// video ads via the Google Mobile Ads SDK. The underlying SDK objects for -/// rewarded video on Android and iOS are singletons, so there are no objects -/// to represent individual ads here. Instead, methods in the rewarded_video -/// namespace are invoked to initialize, load, and show. -/// -/// The basic steps for loading and displaying an ad are: -/// -/// 1. Call @ref Initialize to init the library and mediation adapters. -/// 2. Call @ref LoadAd to load an ad (some SDKs may have cached an ad at init -/// time). -/// 3. Call @ref Show to show the ad to the user. -/// 4. Repeat steps 2 and 3 as desired. -/// 5. Call @ref Destroy when your app is completely finished showing rewarded -/// video ads. -/// -/// Note that Initialize must be the very first thing called, and @ref Destroy -/// must be the very last. -/// -/// The library maintains a presentation state that indicates whether or not an -/// ad is currently onscreen, but otherwise provides information about its -/// current state through Futures. @ref Initialize, @ref LoadAd, and so on each -/// have a corresponding @ref Future from which apps can determine the result of -/// the previous call. -/// -/// In addition, applications can create their own subclasses of @ref Listener, -/// pass an instance to the @ref SetListener method, and receive callbacks -/// whenever the presentation state changes or an ad has been viewed in full and -/// the user is due a reward. -/// -/// Here's how one might initialize, load, and show a rewarded video ad while -/// checking against the result of the previous action at each step: -/// -/// @code -/// firebase::admob::rewarded_video::Initialize(); -/// @endcode -/// -/// Then, later: -/// -/// @code -/// if (firebase::admob::rewarded_video::InitializeLastResult().status() == -/// firebase::kFutureStatusComplete && -/// firebase::admob::rewarded_video::InitializeLastResult().error() == -/// firebase::admob::kAdMobErrorNone) { -/// firebase::admob::rewarded_video::LoadAd(my_ad_unit_str, my_ad_request); -/// } -/// @endcode -/// -/// And after that: -/// -/// @code -/// if (firebase::admob::rewarded_video::LoadAdLastResult().status() == -/// firebase::kFutureStatusComplete && -/// firebase::admob::rewarded_video::LoadAdLastResult().error() == -/// firebase::admob::kAdMobErrorNone) { -/// firebase::admob::rewarded_video::Show(my_ad_parent); -/// } -/// @endcode -namespace rewarded_video { -#ifdef INTERNAL_EXPERIMENTAL -// LINT.IfChange -#endif // INTERNAL_EXPERIMENTAL -/// @deprecated -/// @brief The possible presentation states for rewarded video. -/// -/// The functionality in the firebase::admob namespace has -/// been replaced by the Google Mobile Ads SDK in the -/// firebase::gma namespace. Learn how to transition to the -/// new SDK in our migration -/// guide. -enum PresentationState { - /// No ad is currently being shown. - kPresentationStateHidden = 0, - /// A rewarded video ad is completely covering the screen or has caused - /// focus to leave the application (for example, when opening an external - /// browser during a clickthrough), but the video associated with the ad has - /// yet to begin playing. - kPresentationStateCoveringUI, - /// All of the above conditions are true *except* that the video associated - /// with the ad began playing at some point in the past. - kPresentationStateVideoHasStarted, - /// The rewarded video has played and completed. - kPresentationStateVideoHasCompleted, -}; -#ifdef INTERNAL_EXPERIMENTAL -// LINT.ThenChange(//depot_firebase_cpp/admob/client/cpp/src_java/com/google/firebase/admob/internal/cpp/RewardedVideoHelper.java) -#endif // INTERNAL_EXPERIMENTAL - -/// @deprecated -/// @brief A reward to be given to the user in exchange for watching a rewarded -/// video ad. -/// -/// The functionality in the firebase::admob namespace has -/// been replaced by the Google Mobile Ads SDK in the -/// firebase::gma namespace. Learn how to transition to the -/// new SDK in our migration -/// guide. -struct RewardItem { - /// The reward amount. - float amount; - /// A string description of the type of reward (such as "coins" or "points"). - std::string reward_type; -}; - -/// @deprecated -/// @brief A listener class that developers can extend and pass to @ref -/// SetListener to be notified of rewards and changes to the presentation state. -/// -/// The functionality in the firebase::admob namespace has -/// been replaced by the Google Mobile Ads SDK in the -/// firebase::gma namespace. Learn how to transition to the -/// new SDK in our migration -/// guide. -class Listener { - public: - /// @deprecated - /// @brief Invoked when the user should be given a reward for watching an ad. - /// - /// The functionality in the firebase::admob namespace has - /// been replaced by the Google Mobile Ads SDK in the - /// firebase::gma namespace. Learn how to transition to the - /// new SDK in our migration - /// guide. - /// @param[in] reward The user's reward. - FIREBASE_DEPRECATED virtual void OnRewarded(RewardItem reward) = 0; - - /// @deprecated - /// @brief Invoked when the presentation state of the ad changes. - /// - /// The functionality in the firebase::admob namespace has - /// been replaced by the Google Mobile Ads SDK in the - /// firebase::gma namespace. Learn how to transition to the - /// new SDK in our migration - /// guide. - /// @param[in] state The new presentation state. - FIREBASE_DEPRECATED virtual void OnPresentationStateChanged( - PresentationState state) = 0; - - virtual ~Listener(); -}; - -/// @deprecated -/// @brief A polling-based listener that developers can instantiate and pass to -/// @ref SetListener in order to queue rewards for later retrieval. -/// -/// The functionality in the firebase::admob namespace has -/// been replaced by the Google Mobile Ads SDK in the -/// firebase::gma namespace. Learn how to transition to the -/// new SDK in our migration -/// guide. -/// -/// The @ref PollReward method should be used to retrieve awards granted by the -/// Mobile Ads SDK and queued by this class. -/// @ref rewarded_video::presentation_state can be used to poll the current -/// presentation state, so no additional method has been added for it. -class PollableRewardListener : public Listener { - public: - /// @deprecated - /// @brief Default constructor. - /// - /// The functionality in the firebase::admob namespace has - /// been replaced by the Google Mobile Ads SDK in the - /// firebase::gma namespace. Learn how to transition to the - /// new SDK in our migration - /// guide. - FIREBASE_DEPRECATED PollableRewardListener(); - ~PollableRewardListener(); - - /// @deprecated - /// @brief Invoked when the user should be given a reward for watching an ad. - /// - /// Deprecated. The functionality in the firebase::admob - /// namespace has been replaced by the Google Mobile Ads SDK in the - /// firebase::gma namespace. Learn how to transition to the new - /// SDK in our migration - /// guide. - FIREBASE_DEPRECATED void OnRewarded(RewardItem reward); - - /// @deprecated - /// @brief nvoked when the presentation state of the ad changes. - /// - /// The functionality in the firebase::admob namespace has - /// been replaced by the Google Mobile Ads SDK in the - /// firebase::gma namespace. Learn how to transition to the - /// new SDK in our migration - /// guide. - FIREBASE_DEPRECATED void OnPresentationStateChanged(PresentationState state); - - /// @deprecated - /// @brief Pop the oldest queued reward, and copy its data into the provided - /// RewardItem. - /// - /// The functionality in the firebase::admob namespace has - /// been replaced by the Google Mobile Ads SDK in the - /// firebase::gma namespace. Learn how to transition to the - /// new SDK in our migration - /// guide. - /// - /// If no reward is available, the struct is unchanged. - /// @param reward Pointer to a struct that reward data can be copied into. - /// @returns true if a reward was popped and data was copied, false otherwise. - FIREBASE_DEPRECATED bool PollReward(RewardItem* reward); - - private: - Mutex* mutex_; - - // Rewards granted by the Mobile Ads SDK. - std::queue rewards_; -}; - -/// @deprecated -/// @brief Initializes rewarded video. This must be the first method invoked in -/// this namespace. -/// -/// The functionality in the firebase::admob namespace has -/// been replaced by the Google Mobile Ads SDK in the -/// firebase::gma namespace. Learn how to transition to the -/// new SDK in our migration -/// guide. -FIREBASE_DEPRECATED Future Initialize(); - -/// @deprecated -/// @brief Returns a @ref Future that has the status of the last call to -/// @ref Initialize. -/// -/// The functionality in the firebase::admob namespace has -/// been replaced by the Google Mobile Ads SDK in the -/// firebase::gma namespace. Learn how to transition to the -/// new SDK in our migration -/// guide. -FIREBASE_DEPRECATED Future InitializeLastResult(); - -/// @deprecated -/// @brief Begins an asynchronous request for an ad. -/// -/// The functionality in the firebase::admob namespace has -/// been replaced by the Google Mobile Ads SDK in the -/// firebase::gma namespace. Learn how to transition to the -/// new SDK in our migration -/// guide. -/// @param[in] ad_unit_id The ad unit ID to use in the request. -/// @param[in] request An AdRequest struct with information about the request -/// to be made (such as targeting info). -FIREBASE_DEPRECATED Future LoadAd(const char* ad_unit_id, - const AdRequest& request); - -/// @deprecated -/// @brief Returns a @ref Future containing the status of the last call to -/// @ref LoadAd. -/// -/// The functionality in the firebase::admob namespace has -/// been replaced by the Google Mobile Ads SDK in the -/// firebase::gma namespace. Learn how to transition to the -/// new SDK in our migration -/// guide. -FIREBASE_DEPRECATED Future LoadAdLastResult(); - -/// @deprecated -/// @brief Shows an ad, assuming one has loaded. -/// -/// The functionality in the firebase::admob namespace has -/// been replaced by the Google Mobile Ads SDK in the -/// firebase::gma namespace. Learn how to transition to the -/// new SDK in our migration -/// guide. -/// -/// @ref LoadAd must be called before this method. -/// @param[in] parent An @ref AdParent that is a reference to an iOS -/// UIView or an Android Activity. -FIREBASE_DEPRECATED Future Show(AdParent parent); - -/// @deprecated -/// @brief Returns a @ref Future containing the status of the last call to -/// @ref Show. -/// -/// Deprecated. The functionality in the firebase::admob -/// namespace has been replaced by the Google Mobile Ads SDK in the -/// firebase::gma namespace. Learn how to transition to the new -/// SDK in our migration -/// guide. -FIREBASE_DEPRECATED Future ShowLastResult(); - -/// @deprecated -/// @brief Pauses any background processing associated with rewarded video. -/// -/// The functionality in the firebase::admob namespace has -/// been replaced by the Google Mobile Ads SDK in the -/// firebase::gma namespace. Learn how to transition to the -/// new SDK in our migration -/// guide. -/// -/// Should be called whenever the C++ engine pauses or the application loses -/// focus. -FIREBASE_DEPRECATED Future Pause(); - -/// @deprecated -/// @brief Returns a @ref Future containing the status of the last call to -/// @ref Pause. -/// -/// The functionality in the firebase::admob namespace has -/// been replaced by the Google Mobile Ads SDK in the -/// firebase::gma namespace. Learn how to transition to the -/// new SDK in our migration -/// guide. -FIREBASE_DEPRECATED Future PauseLastResult(); - -/// @deprecated -/// @brief Resumes the rewarded video system after pausing. -/// -/// The functionality in the firebase::admob namespace has -/// been replaced by the Google Mobile Ads SDK in the -/// firebase::gma namespace. Learn how to transition to the -/// new SDK in our migration -/// guide. -FIREBASE_DEPRECATED Future Resume(); - -/// @deprecated -/// @brief Returns a @ref Future containing the status of the last call to -/// @ref Resume. -/// -/// The functionality in the firebase::admob namespace has -/// been replaced by the Google Mobile Ads SDK in the -/// firebase::gma namespace. Learn how to transition to the -/// new SDK in our migration -/// guide. -FIREBASE_DEPRECATED Future ResumeLastResult(); - -/// @deprecated -/// @brief Cleans up and deallocates any resources used by rewarded video. -/// -/// The functionality in the firebase::admob namespace has -/// been replaced by the Google Mobile Ads SDK in the -/// firebase::gma namespace. Learn how to transition to the -/// new SDK in our migration -/// guide. -/// -/// No other methods in rewarded_video should be called once this method has -/// been invoked. The system is closed for business at that point. -FIREBASE_DEPRECATED void Destroy(); - -/// @deprecated -/// @brief Returns the current presentation state, indicating if an ad is -/// visible or if a video has started playing. -/// -/// The functionality in the firebase::admob namespace has -/// been replaced by the Google Mobile Ads SDK in the -/// firebase::gma namespace. Learn how to transition to the -/// new SDK in our migration -/// guide. -/// @return The current presentation state. -FIREBASE_DEPRECATED PresentationState presentation_state(); - -/// @deprecated -/// @brief Sets the @ref Listener that should receive callbacks. -/// -/// The functionality in the firebase::admob namespace has -/// been replaced by the Google Mobile Ads SDK in the -/// firebase::gma namespace. Learn how to transition to the -/// new SDK in our migration -/// guide. -/// @param[in] listener A valid Listener. -FIREBASE_DEPRECATED void SetListener(Listener* listener); - -} // namespace rewarded_video -} // namespace admob -} // namespace firebase - -#endif // FIREBASE_ADMOB_SRC_INCLUDE_FIREBASE_ADMOB_REWARDED_VIDEO_H_ diff --git a/vendors/firebase/include/firebase/admob/types.h b/vendors/firebase/include/firebase/admob/types.h deleted file mode 100644 index 21a8379f2..000000000 --- a/vendors/firebase/include/firebase/admob/types.h +++ /dev/null @@ -1,244 +0,0 @@ -/* - * Copyright 2016 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef FIREBASE_ADMOB_SRC_INCLUDE_FIREBASE_ADMOB_TYPES_H_ -#define FIREBASE_ADMOB_SRC_INCLUDE_FIREBASE_ADMOB_TYPES_H_ - -#include "firebase/internal/platform.h" - -#if FIREBASE_PLATFORM_ANDROID -#include -#elif FIREBASE_PLATFORM_IOS || FIREBASE_PLATFORM_TVOS -extern "C" { -#include -} // extern "C" -#endif // FIREBASE_PLATFORM_ANDROID, FIREBASE_PLATFORM_IOS, - // FIREBASE_PLATFORM_TVOS - -namespace firebase { -namespace admob { - -/// @deprecated The functionality in the firebase::admob namespace -/// has been replaced by the Google Mobile Ads SDK in the -/// firebase::gma namespace. Learn how to transition to the new -/// SDK in our migration guide. -/// -/// @brief This is a platform specific datatype that is required to create an -/// AdMob ad. -/// -/// The following defines the datatype on each platform: -///
    -///
  • Android: A `jobject` which references an Android Activity.
  • -///
  • iOS: An `id` which references an iOS UIView.
  • -///
-/// -#if FIREBASE_PLATFORM_ANDROID -/// An Android Activity from Java. -typedef jobject AdParent; -#elif FIREBASE_PLATFORM_IOS || FIREBASE_PLATFORM_TVOS -/// A pointer to an iOS UIView. -typedef id AdParent; -#else -/// A void pointer for stub classes. -typedef void *AdParent; -#endif // FIREBASE_PLATFORM_ANDROID, FIREBASE_PLATFORM_IOS, - // FIREBASE_PLATFORM_TVOS - -#ifdef INTERNAL_EXPERIMENTAL -// LINT.IfChange -#endif // INTERNAL_EXPERIMENTAL -/// @deprecated -/// @brief Error codes returned by Future::error(). -/// -/// The functionality in the firebase::admob namespace has -/// been replaced by the Google Mobile Ads SDK in the -/// firebase::gma namespace. Learn how to transition to the -/// new SDK in our migration -/// guide. -enum AdMobError { - /// Call completed successfully. - kAdMobErrorNone, - /// The ad has not been fully initialized. - kAdMobErrorUninitialized, - /// The ad is already initialized (repeat call). - kAdMobErrorAlreadyInitialized, - /// A call has failed because an ad is currently loading. - kAdMobErrorLoadInProgress, - /// A call to load an ad has failed due to an internal SDK error. - kAdMobErrorInternalError, - /// A call to load an ad has failed due to an invalid request. - kAdMobErrorInvalidRequest, - /// A call to load an ad has failed due to a network error. - kAdMobErrorNetworkError, - /// A call to load an ad has failed because no ad was available to serve. - kAdMobErrorNoFill, - /// An attempt has been made to show an ad on an Android Activity that has - /// no window token (such as one that's not done initializing). - kAdMobErrorNoWindowToken, - /// Fallback error for any unidentified cases. - kAdMobErrorUnknown, -}; -#ifdef INTERNAL_EXPERIMENTAL -// LINT.ThenChange(//depot_firebase_cpp/admob/client/cpp/src_java/com/google/firebase/admob/internal/cpp/ConstantsHelper.java) -#endif // INTERNAL_EXPERIMENTAL - -/// @deprecated -/// @brief Types of ad sizes. -/// -/// The functionality in the firebase::admob namespace has -/// been replaced by the Google Mobile Ads SDK in the -/// firebase::gma namespace. Learn how to transition to the -/// new SDK in our migration -/// guide. -enum AdSizeType { kAdSizeStandard = 0 }; - -/// @deprecated -/// @brief An ad size value to be used in requesting ads. -/// -/// The functionality in the firebase::admob namespace has -/// been replaced by the Google Mobile Ads SDK in the -/// firebase::gma namespace. Learn how to transition to the -/// new SDK in our migration -/// guide. -struct AdSize { - /// The type of ad size. - AdSizeType ad_size_type; - /// Height of the ad (in points or dp). - int height; - /// Width of the ad (in points or dp). - int width; -}; - -/// @deprecated -/// @brief Gender information used as part of the -/// @ref firebase::admob::AdRequest struct. -/// -/// The functionality in the firebase::admob namespace has -/// been replaced by the Google Mobile Ads SDK in the -/// firebase::gma namespace. Learn how to transition to the -/// new SDK in our migration -/// guide. -enum Gender { - /// The gender of the current user is unknown or unspecified by the - /// publisher. - kGenderUnknown = 0, - /// The current user is known to be male. - kGenderMale, - /// The current user is known to be female. - kGenderFemale -}; - -/// @deprecated -/// @brief Indicates whether an ad request is considered tagged for -/// child-directed treatment. -/// -/// The functionality in the firebase::admob namespace has -/// been replaced by the Google Mobile Ads SDK in the -/// firebase::gma namespace. Learn how to transition to the -/// new SDK in our migration -/// guide. -enum ChildDirectedTreatmentState { - /// The child-directed status for the request is not indicated. - kChildDirectedTreatmentStateUnknown = 0, - /// The request is tagged for child-directed treatment. - kChildDirectedTreatmentStateTagged, - /// The request is not tagged for child-directed treatment. - kChildDirectedTreatmentStateNotTagged -}; - -/// @deprecated -/// @brief Generic Key-Value container used for the "extras" values in an -/// @ref firebase::admob::AdRequest. -/// -/// The functionality in the firebase::admob namespace has -/// been replaced by the Google Mobile Ads SDK in the -/// firebase::gma namespace. Learn how to transition to the -/// new SDK in our migration -/// guide. -struct KeyValuePair { - /// The name for an "extra." - const char *key; - /// The value for an "extra." - const char *value; -}; - -/// @deprecated -/// @brief The information needed to request an ad. -/// -/// The functionality in the firebase::admob namespace has -/// been replaced by the Google Mobile Ads SDK in the -/// firebase::gma namespace. Learn how to transition to the -/// new SDK in our migration -/// guide. -struct AdRequest { - /// An array of test device IDs specifying devices that test ads will be - /// returned for. - const char **test_device_ids; - /// The number of entries in the array referenced by test_device_ids. - unsigned int test_device_id_count; - /// An array of keywords or phrases describing the current user activity, such - /// as "Sports Scores" or "Football." - const char **keywords; - /// The number of entries in the array referenced by keywords. - unsigned int keyword_count; - /// A @ref KeyValuePair specifying additional parameters accepted by an ad - /// network. - const KeyValuePair *extras; - /// The number of entries in the array referenced by extras. - unsigned int extras_count; - /// The day the user was born. Specify the user's birthday to increase ad - /// relevancy. - int birthday_day; - /// The month the user was born. Specify the user's birthday to increase ad - /// relevancy. - int birthday_month; - /// The year the user was born. Specify the user's birthday to increase ad - /// relevancy. - int birthday_year; - /// The user's @ref Gender. Specify the user's gender to increase ad - /// relevancy. - Gender gender; - /// Specifies whether the request should be considered as child-directed for - /// purposes of the Children’s Online Privacy Protection Act (COPPA). - ChildDirectedTreatmentState tagged_for_child_directed_treatment; -}; - -/// @deprecated -/// @brief The screen location and dimensions of an ad view once it has been -/// initialized. -/// -/// The functionality in the firebase::admob namespace has -/// been replaced by the Google Mobile Ads SDK in the -/// firebase::gma namespace. Learn how to transition to the -/// new SDK in our migration -/// guide. -struct BoundingBox { - /// Default constructor which initializes all member variables to 0. - BoundingBox() : height(0), width(0), x(0), y(0) {} - /// Height of the ad in pixels. - int height; - /// Width of the ad in pixels. - int width; - /// Horizontal position of the ad in pixels from the left. - int x; - /// Vertical position of the ad in pixels from the top. - int y; -}; - -} // namespace admob -} // namespace firebase - -#endif // FIREBASE_ADMOB_SRC_INCLUDE_FIREBASE_ADMOB_TYPES_H_ diff --git a/vendors/firebase/include/firebase/analytics.h b/vendors/firebase/include/firebase/analytics.h deleted file mode 100644 index 7841647b5..000000000 --- a/vendors/firebase/include/firebase/analytics.h +++ /dev/null @@ -1,533 +0,0 @@ -/* - * Copyright 2016 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef FIREBASE_ANALYTICS_SRC_INCLUDE_FIREBASE_ANALYTICS_H_ -#define FIREBASE_ANALYTICS_SRC_INCLUDE_FIREBASE_ANALYTICS_H_ - -#include -#include -#include - -#include "firebase/app.h" -#include "firebase/future.h" -#include "firebase/internal/common.h" -#include "firebase/variant.h" - -#if !defined(DOXYGEN) && !defined(SWIG) -FIREBASE_APP_REGISTER_CALLBACKS_REFERENCE(analytics) -#endif // !defined(DOXYGEN) && !defined(SWIG) - -/// @brief Namespace that encompasses all Firebase APIs. -namespace firebase { - -/// @brief Firebase Analytics API. -/// -/// See the developer guides for general -/// information on using Firebase Analytics in your apps. -namespace analytics { - -/// @brief Event parameter. -/// -/// Parameters supply information that contextualize events (see @ref LogEvent). -/// You can associate up to 25 unique Parameters with each event type (name). -/// -/// -/// @if swig_examples -/// Common event types are provided as static properties of the -/// FirebaseAnalytics class (e.g FirebaseAnalytics.EventPostScore) where -/// parameters of these events are also provided in this FirebaseAnalytics -/// class (e.g FirebaseAnalytics.ParameterScore). -/// -/// You are not limited to the set of event types and parameter names -/// suggested in FirebaseAnalytics class properties. Additional Parameters can -/// be supplied for suggested event types or custom Parameters for custom event -/// types. -/// @endif -/// -/// @if cpp_examples -/// Common event types (names) are suggested in @ref event_names -/// (%event_names.h) with parameters of common event types defined in -/// @ref parameter_names (%parameter_names.h). -/// -/// You are not limited to the set of event types and parameter names suggested -/// in @ref event_names (%event_names.h) and %parameter_names.h respectively. -/// Additional Parameters can be supplied for suggested event types or custom -/// Parameters for custom event types. -/// @endif -/// -/// Parameter names must be a combination of letters and digits -/// (matching the regular expression [a-zA-Z0-9]) between 1 and 40 characters -/// long starting with a letter [a-zA-Z] character. The "firebase_", -/// "google_" and "ga_" prefixes are reserved and should not be used. -/// -/// Parameter string values can be up to 100 characters long. -/// -/// -/// @if swig_examples -/// An array of Parameter class instances can be passed to LogEvent in order -/// to associate parameters's of an event with values where each value can be -/// a double, 64-bit integer or string. -/// @endif -/// -/// @if cpp_examples -/// An array of this structure is passed to LogEvent in order to associate -/// parameter's of an event (Parameter::name) with values (Parameter::value) -/// where each value can be a double, 64-bit integer or string. -/// @endif -/// -/// For example, a game may log an achievement event along with the -/// character the player is using and the level they're currently on: -/// -/// -/// @if swig_examples -/// @code{.cs} -/// using Firebase.Analytics; -/// -/// int currentLevel = GetCurrentLevel(); -/// Parameter[] AchievementParameters = { -/// new Parameter(FirebaseAnalytics.ParameterAchievementID, -/// "ultimate_wizard"), -/// new Parameter(FirebaseAnalytics.ParameterCharacter, "mysterion"), -/// new Parameter(FirebaseAnalytics.ParameterLevel, currentLevel), -/// }; -/// FirebaseAnalytics.LogEvent(FirebaseAnalytics.EventLevelUp, -/// AchievementParameters); -/// @endcode -/// @endif -/// -/// @if cpp_examples -/// @code{.cpp} -/// using namespace firebase::analytics; -/// int64_t current_level = GetCurrentLevel(); -/// const Parameter achievement_parameters[] = { -/// Parameter(kParameterAchievementID, "ultimate_wizard"), -/// Parameter(kParameterCharacter, "mysterion"), -/// Parameter(kParameterLevel, current_level), -/// }; -/// LogEvent(kEventUnlockAchievement, achievement_parameters, -/// sizeof(achievement_parameters) / -/// sizeof(achievement_parameters[0])); -/// @endcode -/// @endif -/// -struct Parameter { -#ifndef SWIG - /// Construct an empty parameter. - /// - /// This is provided to allow initialization after construction. - Parameter() : name(nullptr) {} -#endif // !SWIG - -// -// We don't want to pull in Variant in the C# interface. -// -#ifndef SWIG - /// Construct a parameter. - /// - /// @param parameter_name Name of the parameter (see Parameter::name). - /// @param parameter_value Value for the parameter. Variants can - /// hold numbers and strings. - Parameter(const char* parameter_name, Variant parameter_value) - : name(parameter_name) { - value = parameter_value; - } -#endif // !SWIG - - /// Construct a 64-bit integer parameter. - /// - /// @param parameter_name Name of the parameter. - /// @if cpp_examples - /// (see Parameter::name). - /// @endif - /// - /// @if swig_examples - /// Parameter names must be a combination of letters and digits - /// (matching the regular expression [a-zA-Z0-9]) between 1 and 40 characters - /// long starting with a letter [a-zA-Z] character. - /// @endif - /// - /// @param parameter_value Integer value for the parameter. - Parameter(const char* parameter_name, int parameter_value) - : name(parameter_name) { - value = parameter_value; - } - - /// Construct a 64-bit integer parameter. - /// - /// @param parameter_name Name of the parameter. - /// @if cpp_examples - /// (see Parameter::name). - /// @endif - /// - /// @if swig_examples - /// Parameter names must be a combination of letters and digits - /// (matching the regular expression [a-zA-Z0-9]) between 1 and 40 characters - /// long starting with a letter [a-zA-Z] character. - /// @endif - /// - /// @param parameter_value Integer value for the parameter. - Parameter(const char* parameter_name, int64_t parameter_value) - : name(parameter_name) { - value = parameter_value; - } - - /// Construct a floating point parameter. - /// - /// @param parameter_name Name of the parameter. - /// @if cpp_examples - /// (see Parameter::name). - /// @endif - /// - /// @if swig_examples - /// Parameter names must be a combination of letters and digits - /// (matching the regular expression [a-zA-Z0-9]) between 1 and 40 characters - /// long starting with a letter [a-zA-Z] character. - /// @endif - /// - /// @param parameter_value Floating point value for the parameter. - Parameter(const char* parameter_name, double parameter_value) - : name(parameter_name) { - value = parameter_value; - } - - /// Construct a string parameter. - /// - /// @param parameter_name Name of the parameter. - /// @if cpp_examples - /// (see Parameter::name). - /// @endif - /// - /// @if swig_examples - /// Parameter names must be a combination of letters and digits - /// (matching the regular expression [a-zA-Z0-9]) between 1 and 40 characters - /// long starting with a letter [a-zA-Z] character. - /// @endif - /// - /// @param parameter_value String value for the parameter, can be up to 100 - /// characters long. - Parameter(const char* parameter_name, const char* parameter_value) - : name(parameter_name) { - value = parameter_value; - } - -#ifndef SWIG - // - // Skipping implementation values because the C# API members are - // immutable, and there's no other need to read these values in - // C#. The class just needs to be passed to the C++ layers. - // This also avoids having to solve the nested union, which is - // unsupported in swig. - // - - /// @brief Name of the parameter. - /// - /// Parameter names must be a combination of letters and digits - /// (matching the regular expression [a-zA-Z0-9]) between 1 and 40 characters - /// long starting with a letter [a-zA-Z] character. The "firebase_", - /// "google_" and "ga_" prefixes are reserved and should not be used. - const char* name; - /// @brief Value of the parameter. - /// - /// See firebase::Variant for usage information. - /// @note String values can be up to 100 characters long. - Variant value; -#endif // SWIG -}; - -/// @brief Initialize the Analytics API. -/// -/// This must be called prior to calling any other methods in the -/// firebase::analytics namespace. -/// -/// @param[in] app Default @ref firebase::App instance. -/// -/// @see firebase::App::GetInstance(). -void Initialize(const App& app); - -/// @brief Terminate the Analytics API. -/// -/// Cleans up resources associated with the API. -void Terminate(); - -/// @brief Sets whether analytics collection is enabled for this app on this -/// device. -/// -/// This setting is persisted across app sessions. By default it is enabled. -/// -/// @param[in] enabled true to enable analytics collection, false to disable. -void SetAnalyticsCollectionEnabled(bool enabled); - -/// @brief Log an event with one string parameter. -/// -/// @param[in] name Name of the event to log. Should contain 1 to 40 -/// alphanumeric characters or underscores. The name must start with an -/// alphabetic character. Some event names are reserved. -/// -/// @if swig_examples -/// See the FirebaseAnalytics.Event properties for the list of reserved event -/// names. -/// @endif -/// -/// @if cpp_examples -/// See @ref event_names (%event_names.h) for the list of reserved event names. -/// @endif -/// The "firebase_" prefix is reserved and should not be used. Note that event -/// names are case-sensitive and that logging two events whose names differ -/// only in case will result in two distinct events. -/// @param[in] parameter_name Name of the parameter to log. -/// For more information, see @ref Parameter. -/// @param[in] parameter_value Value of the parameter to log. -/// -/// -/// @if swig_examples -/// @see LogEvent(string, Parameter[]) -/// @endif -/// -/// @if cpp_examples -/// @see LogEvent(const char*, const Parameter*, size_t) -/// @endif -void LogEvent(const char* name, const char* parameter_name, - const char* parameter_value); - -/// @brief Log an event with one float parameter. -/// -/// @param[in] name Name of the event to log. Should contain 1 to 40 -/// alphanumeric characters or underscores. The name must start with an -/// alphabetic character. Some event names are reserved. -/// -/// @if swig_examples -/// See the FirebaseAnalytics.Event properties for the list of reserved event -/// names. -/// @endif -/// -/// @if cpp_examples -/// See @ref event_names (%event_names.h) for the list of reserved event names. -/// @endif -/// The "firebase_" prefix is reserved and should not be used. Note that event -/// names are case-sensitive and that logging two events whose names differ -/// only in case will result in two distinct events. -/// @param[in] parameter_name Name of the parameter to log. -/// For more information, see @ref Parameter. -/// @param[in] parameter_value Value of the parameter to log. -/// -/// -/// @if swig_examples -/// @see LogEvent(string, Parameter[]) -/// @endif -/// -/// @if cpp_examples -/// @see LogEvent(const char*, const Parameter*, size_t) -/// @endif -void LogEvent(const char* name, const char* parameter_name, - const double parameter_value); - -/// @brief Log an event with one 64-bit integer parameter. -/// -/// @param[in] name Name of the event to log. Should contain 1 to 40 -/// alphanumeric characters or underscores. The name must start with an -/// alphabetic character. Some event names are reserved. -/// -/// @if swig_examples -/// See the FirebaseAnalytics.Event properties for the list of reserved event -/// names. -/// @endif -/// -/// @if cpp_examples -/// See @ref event_names (%event_names.h) for the list of reserved event names. -/// @endif -/// The "firebase_" prefix is reserved and should not be used. Note that event -/// names are case-sensitive and that logging two events whose names differ -/// only in case will result in two distinct events. -/// @param[in] parameter_name Name of the parameter to log. -/// For more information, see @ref Parameter. -/// @param[in] parameter_value Value of the parameter to log. -/// -/// -/// @if swig_examples -/// @see LogEvent(string, Parameter[]) -/// @endif -/// -/// @if cpp_examples -/// @see LogEvent(const char*, const Parameter*, size_t) -/// @endif -void LogEvent(const char* name, const char* parameter_name, - const int64_t parameter_value); - -/// @brief Log an event with one integer parameter -/// (stored as a 64-bit integer). -/// -/// @param[in] name Name of the event to log. Should contain 1 to 40 -/// alphanumeric characters or underscores. The name must start with an -/// alphabetic character. Some event names are reserved. -/// -/// @if swig_examples -/// See the FirebaseAnalytics.Event properties for the list of reserved event -/// names. -/// @endif -/// -/// @if cpp_examples -/// See @ref event_names (%event_names.h) for the list of reserved event names. -/// @endif -/// The "firebase_" prefix is reserved and should not be used. Note that event -/// names are case-sensitive and that logging two events whose names differ -/// only in case will result in two distinct events. -/// @param[in] parameter_name Name of the parameter to log. -/// For more information, see @ref Parameter. -/// @param[in] parameter_value Value of the parameter to log. -/// -/// -/// @if swig_examples -/// @see LogEvent(string, Parameter[]) -/// @endif -/// -/// @if cpp_examples -/// @see LogEvent(const char*, const Parameter*, size_t) -/// @endif -void LogEvent(const char* name, const char* parameter_name, - const int parameter_value); - -/// @brief Log an event with no parameters. -/// -/// @param[in] name Name of the event to log. Should contain 1 to 40 -/// alphanumeric characters or underscores. The name must start with an -/// alphabetic character. Some event names are reserved. -/// -/// @if swig_examples -/// See the FirebaseAnalytics.Event properties for the list of reserved event -/// names. -/// @endif -/// -/// @if cpp_examples -/// See @ref event_names (%event_names.h) for the list of reserved event names. -/// @endif -/// The "firebase_" prefix is reserved and should not be used. Note that event -/// names are case-sensitive and that logging two events whose names differ -/// only in case will result in two distinct events. -/// -/// -/// @if swig_examples -/// @see LogEvent(string, Parameter[]) -/// @endif -/// -/// @if cpp_examples -/// @see LogEvent(const char*, const Parameter*, size_t) -/// @endif -void LogEvent(const char* name); - -// clang-format off -#ifdef SWIG -// Modify the following overload with unsafe, so that we can do some pinning -// in the C# code. -%csmethodmodifiers LogEvent "public unsafe" -#endif // SWIG -// clang-format on - -/// @brief Log an event with associated parameters. -/// -/// An Event is an important occurrence in your app that you want to -/// measure. You can report up to 500 different types of events per app and -/// you can associate up to 25 unique parameters with each Event type. -/// -/// Some common events are documented in @ref event_names (%event_names.h), -/// but you may also choose to specify custom event types that are associated -/// with your specific app. -/// -/// @param[in] name Name of the event to log. Should contain 1 to 40 -/// alphanumeric characters or underscores. The name must start with an -/// alphabetic character. Some event names are reserved. See @ref event_names -/// (%event_names.h) for the list of reserved event names. The "firebase_" -/// prefix is reserved and should not be used. Note that event names are -/// case-sensitive and that logging two events whose names differ only in -/// case will result in two distinct events. -/// @param[in] parameters Array of Parameter structures. -/// @param[in] number_of_parameters Number of elements in the parameters -/// array. -void LogEvent(const char* name, const Parameter* parameters, - size_t number_of_parameters); - -/// Initiates on-device conversion measurement given a user email address on iOS -/// (no-op on Android). On iOS, requires dependency -/// GoogleAppMeasurementOnDeviceConversion to be linked in, otherwise it is a -/// no-op. -/// @param[in] email_address User email address. Include a domain name for all -/// email addresses (e.g. gmail.com or hotmail.co.jp). -void InitiateOnDeviceConversionMeasurementWithEmailAddress( - const char* email_address); - -/// @brief Set a user property to the given value. -/// -/// Properties associated with a user allow a developer to segment users -/// into groups that are useful to their application. Up to 25 properties -/// can be associated with a user. -/// -/// Suggested property names are listed @ref user_property_names -/// (%user_property_names.h) but you're not limited to this set. For example, -/// the "gamertype" property could be used to store the type of player where -/// a range of values could be "casual", "mid_core", or "core". -/// -/// @param[in] name Name of the user property to set. This must be a -/// combination of letters and digits (matching the regular expression -/// [a-zA-Z0-9] between 1 and 40 characters long starting with a letter -/// [a-zA-Z] character. -/// @param[in] property Value to set the user property to. Set this -/// argument to NULL or nullptr to remove the user property. The value can be -/// between 1 to 100 characters long. -void SetUserProperty(const char* name, const char* property); - -/// @brief Sets the user ID property. -/// -/// This feature must be used in accordance with -/// Google's Privacy -/// Policy -/// -/// @param[in] user_id The user ID associated with the user of this app on this -/// device. The user ID must be non-empty and no more than 256 characters long. -/// Setting user_id to NULL or nullptr removes the user ID. -void SetUserId(const char* user_id); - -/// @brief Sets the duration of inactivity that terminates the current session. -/// -/// @note The default value is 1800000 (30 minutes). -/// -/// @param milliseconds The duration of inactivity that terminates the current -/// session. -void SetSessionTimeoutDuration(int64_t milliseconds); - -/// Clears all analytics data for this app from the device and resets the app -/// instance id. -void ResetAnalyticsData(); - -/// Get the instance ID from the analytics service. -/// -/// @note This is *not* the same ID as the ID returned by -/// @if cpp_examples -/// firebase::instance_id::InstanceId. -/// @else -/// Firebase.InstanceId.FirebaseInstanceId. -/// @endif -/// -/// @returns Object which can be used to retrieve the analytics instance ID. -Future GetAnalyticsInstanceId(); - -/// Get the result of the most recent GetAnalyticsInstanceId() call. -/// -/// @returns Object which can be used to retrieve the analytics instance ID. -Future GetAnalyticsInstanceIdLastResult(); - -} // namespace analytics -} // namespace firebase - -#endif // FIREBASE_ANALYTICS_SRC_INCLUDE_FIREBASE_ANALYTICS_H_ diff --git a/vendors/firebase/include/firebase/analytics/event_names.h b/vendors/firebase/include/firebase/analytics/event_names.h deleted file mode 100644 index 796840b0e..000000000 --- a/vendors/firebase/include/firebase/analytics/event_names.h +++ /dev/null @@ -1,469 +0,0 @@ -// Copyright 2022 Google Inc. All Rights Reserved. - -#ifndef FIREBASE_ANALYTICS_CLIENT_CPP_INCLUDE_FIREBASE_ANALYTICS_EVENT_NAMES_H_ -#define FIREBASE_ANALYTICS_CLIENT_CPP_INCLUDE_FIREBASE_ANALYTICS_EVENT_NAMES_H_ - -/// @brief Namespace that encompasses all Firebase APIs. -namespace firebase { -/// @brief Firebase Analytics API. -namespace analytics { - - - -/// @defgroup event_names Analytics Events -/// -/// Predefined event names. -/// -/// An Event is an important occurrence in your app that you want to -/// measure. You can report up to 500 different types of Events per app -/// and you can associate up to 25 unique parameters with each Event type. -/// Some common events are suggested below, but you may also choose to -/// specify custom Event types that are associated with your specific app. -/// Each event type is identified by a unique name. Event names can be up -/// to 40 characters long, may only contain alphanumeric characters and -/// underscores ("_"), and must start with an alphabetic character. The -/// "firebase_", "google_", and "ga_" prefixes are reserved and should not -/// be used. -/// @{ - - -/// Ad Impression event. This event signifies when a user sees an ad -/// impression. Note: If you supply the @c AnalyticsParameterValue -/// parameter, you must also supply the @c AnalyticsParameterCurrency -/// parameter so that revenue metrics can be computed accurately. Params: -/// -///
    -///
  • @c AnalyticsParameterAdPlatform (String) (optional)
  • -///
  • @c AnalyticsParameterAdFormat (String) (optional)
  • -///
  • @c AnalyticsParameterAdSource (String) (optional)
  • -///
  • @c AnalyticsParameterAdUnitName (String) (optional)
  • -///
  • @c AnalyticsParameterCurrency (String) (optional)
  • -///
  • @c AnalyticsParameterValue (Double) (optional)
  • -///
-static const char*const kEventAdImpression = - "ad_impression"; - -/// Add Payment Info event. This event signifies that a user has submitted -/// their payment information. Note: If you supply the @c -/// AnalyticsParameterValue parameter, you must also supply the @c -/// AnalyticsParameterCurrency parameter so that revenue metrics can be -/// computed accurately. Params: -/// -///
    -///
  • @c AnalyticsParameterCoupon (String) (optional)
  • -///
  • @c AnalyticsParameterCurrency (String) (optional)
  • -///
  • @c AnalyticsParameterItems (Array>) (optional)
  • -///
  • @c AnalyticsParameterPaymentType (String) (optional)
  • -///
  • @c AnalyticsParameterValue (Double) (optional)
  • -///
-static const char*const kEventAddPaymentInfo = - "add_payment_info"; - -/// Add Shipping Info event. This event signifies that a user has -/// submitted their shipping information. Note: If you supply the @c -/// AnalyticsParameterValue parameter, you must also supply the @c -/// AnalyticsParameterCurrency parameter so that revenue metrics can be -/// computed accurately. Params: -/// -///
    -///
  • @c AnalyticsParameterCoupon (String) (optional)
  • -///
  • @c AnalyticsParameterCurrency (String) (optional)
  • -///
  • @c AnalyticsParameterItems (Array>) (optional)
  • -///
  • @c AnalyticsParameterShippingTier (String) (optional)
  • -///
  • @c AnalyticsParameterValue (Double) (optional)
  • -///
-static const char*const kEventAddShippingInfo = - "add_shipping_info"; - -/// E-Commerce Add To Cart event. This event signifies that an item(s) was -/// added to a cart for purchase. Add this event to a funnel with @c -/// AnalyticsEventPurchase to gauge the effectiveness of your -/// checParameter(kout, If you supply the @c AnalyticsParameterValue -/// parameter), you must also supply the @c AnalyticsParameterCurrency -/// parameter so that revenue metrics can be computed accurately. Params: -/// -///
    -///
  • @c AnalyticsParameterCurrency (String) (optional)
  • -///
  • @c AnalyticsParameterItems (Array>) (optional)
  • -///
  • @c AnalyticsParameterValue (Double) (optional)
  • -///
-static const char*const kEventAddToCart = "add_to_cart"; - -/// E-Commerce Add To Wishlist event. This event signifies that an item -/// was added to a wishlist. Use this event to identify popular gift -/// items. Note: If you supply the @c AnalyticsParameterValue parameter, -/// you must also supply the @c AnalyticsParameterCurrency parameter so -/// that revenue metrics can be computed accurately. Params: -/// -///
    -///
  • @c AnalyticsParameterCurrency (String) (optional)
  • -///
  • @c AnalyticsParameterItems (Array>) (optional)
  • -///
  • @c AnalyticsParameterValue (Double) (optional)
  • -///
-static const char*const kEventAddToWishlist = - "add_to_wishlist"; - -/// App Open event. By logging this event when an App becomes active, -/// developers can understand how often users leave and return during the -/// course of a Session. Although Sessions are automatically reported, -/// this event can provide further clarification around the continuous -/// engagement of app-users. -static const char*const kEventAppOpen = "app_open"; - -/// E-Commerce Begin Checkout event. This event signifies that a user has -/// begun the process of checking out. Add this event to a funnel with -/// your @c AnalyticsEventPurchase event to gauge the effectiveness of -/// your checkout process. Note: If you supply the @c -/// AnalyticsParameterValue parameter, you must also supply the @c -/// AnalyticsParameterCurrency parameter so that revenue metrics can be -/// computed accurately. Params: -/// -///
    -///
  • @c AnalyticsParameterCoupon (String) (optional)
  • -///
  • @c AnalyticsParameterCurrency (String) (optional)
  • -///
  • @c AnalyticsParameterItems (Array>) (optional)
  • -///
  • @c AnalyticsParameterValue (Double) (optional)
  • -///
-static const char*const kEventBeginCheckout = - "begin_checkout"; - -/// Campaign Detail event. Log this event to supply the referral details -/// of a re-engagement campaign. Note: you must supply at least one of the -/// required parameters AnalyticsParameterSource, AnalyticsParameterMedium -/// or AnalyticsParameterCampaign. Params: -/// -///
    -///
  • @c AnalyticsParameterSource (String)
  • -///
  • @c AnalyticsParameterMedium (String)
  • -///
  • @c AnalyticsParameterCampaign (String)
  • -///
  • @c AnalyticsParameterTerm (String) (optional)
  • -///
  • @c AnalyticsParameterContent (String) (optional)
  • -///
  • @c AnalyticsParameterAdNetworkClickID (String) (optional)
  • -///
  • @c AnalyticsParameterCP1 (String) (optional)
  • -///
  • @c AnalyticsParameterCampaignID (String) (optional)
  • -///
  • @c AnalyticsParameterCreativeFormat (String) (optional)
  • -///
  • @c AnalyticsParameterMarketingTactic (String) (optional)
  • -///
  • @c AnalyticsParameterSourcePlatform (String) (optional)
  • -///
-static const char*const kEventCampaignDetails = - "campaign_details"; - -/// Earn Virtual Currency event. This event tracks the awarding of virtual -/// currency in your app. Log this along with @c -/// AnalyticsEventSpendVirtualCurrency to better understand your virtual -/// economy. Params: -/// -///
    -///
  • @c AnalyticsParameterVirtualCurrencyName (String)
  • -///
  • @c AnalyticsParameterValue (Int or Double)
  • -///
-static const char*const kEventEarnVirtualCurrency - = "earn_virtual_currency"; - -/// Generate Lead event. Log this event when a lead has been generated in -/// the app to understand the efficacy of your install and re-engagement -/// campaigns. Note: If you supply the @c AnalyticsParameterValue -/// parameter, you must also supply the @c AnalyticsParameterCurrency -/// parameter so that revenue metrics can be computed accurately. Params: -/// -///
    -///
  • @c AnalyticsParameterCurrency (String) (optional)
  • -///
  • @c AnalyticsParameterValue (Double) (optional)
  • -///
-static const char*const kEventGenerateLead = - "generate_lead"; - -/// Join Group event. Log this event when a user joins a group such as a -/// guild, team or family. Use this event to analyze how popular certain -/// groups or social features are in your app. Params: -/// -///
    -///
  • @c AnalyticsParameterGroupID (String)
  • -///
-static const char*const kEventJoinGroup = "join_group"; - -/// Level End event. Log this event when the user finishes a level. -/// Params: -/// -///
    -///
  • @c AnalyticsParameterLevelName (String)
  • -///
  • @c AnalyticsParameterSuccess (String)
  • -///
-static const char*const kEventLevelEnd = "level_end"; - -/// Level Start event. Log this event when the user starts a new level. -/// Params: -/// -///
    -///
  • @c AnalyticsParameterLevelName (String)
  • -///
-static const char*const kEventLevelStart = "level_start"; - -/// Level Up event. This event signifies that a player has leveled up in -/// your gaming app. It can help you gauge the level distribution of your -/// userbase and help you identify certain levels that are difficult to -/// pass. Params: -/// -///
    -///
  • @c AnalyticsParameterLevel (Int)
  • -///
  • @c AnalyticsParameterCharacter (String) (optional)
  • -///
-static const char*const kEventLevelUp = "level_up"; - -/// Login event. Apps with a login feature can report this event to -/// signify that a user has logged in. -static const char*const kEventLogin = "login"; - -/// Post Score event. Log this event when the user posts a score in your -/// gaming app. This event can help you understand how users are actually -/// performing in your game and it can help you correlate high scores with -/// certain audiences or behaviors. Params: -/// -///
    -///
  • @c AnalyticsParameterScore (Int)
  • -///
  • @c AnalyticsParameterLevel (Int) (optional)
  • -///
  • @c AnalyticsParameterCharacter (String) (optional)
  • -///
-static const char*const kEventPostScore = "post_score"; - -/// E-Commerce Purchase event. This event signifies that an item(s) was -/// purchased by a user. Note: This is different from the in-app purchase -/// event, which is reported automatically for App Store-based apps. Note: -/// If you supply the @c AnalyticsParameterValue parameter, you must also -/// supply the @c AnalyticsParameterCurrency parameter so that revenue -/// metrics can be computed accurately. Params: -/// -///
    -///
  • @c AnalyticsParameterAffiliation (String) (optional)
  • -///
  • @c AnalyticsParameterCoupon (String) (optional)
  • -///
  • @c AnalyticsParameterCurrency (String) (optional)
  • -///
  • @c AnalyticsParameterItems (Array>) (optional)
  • -///
  • @c AnalyticsParameterShipping (Double) (optional)
  • -///
  • @c AnalyticsParameterTax (Double) (optional)
  • -///
  • @c AnalyticsParameterTransactionID (String) (optional)
  • -///
  • @c AnalyticsParameterValue (Double) (optional)
  • -///
-static const char*const kEventPurchase = "purchase"; - -/// E-Commerce Refund event. This event signifies that a refund was -/// issued. Note: If you supply the @c AnalyticsParameterValue parameter, -/// you must also supply the @c AnalyticsParameterCurrency parameter so -/// that revenue metrics can be computed accurately. Params: -/// -///
    -///
  • @c AnalyticsParameterAffiliation (String) (optional)
  • -///
  • @c AnalyticsParameterCoupon (String) (optional)
  • -///
  • @c AnalyticsParameterCurrency (String) (optional)
  • -///
  • @c AnalyticsParameterItems (Array>) (optional)
  • -///
  • @c AnalyticsParameterShipping (Double) (optional)
  • -///
  • @c AnalyticsParameterTax (Double) (optional)
  • -///
  • @c AnalyticsParameterTransactionID (String) (optional)
  • -///
  • @c AnalyticsParameterValue (Double) (optional)
  • -///
-static const char*const kEventRefund = "refund"; - -/// E-Commerce Remove from Cart event. This event signifies that an -/// item(s) was removed from a cart. Note: If you supply the @c -/// AnalyticsParameterValue parameter, you must also supply the @c -/// AnalyticsParameterCurrency parameter so that revenue metrics can be -/// computed accurately. Params: -/// -///
    -///
  • @c AnalyticsParameterCurrency (String) (optional)
  • -///
  • @c AnalyticsParameterItems (Array>) (optional)
  • -///
  • @c AnalyticsParameterValue (Double) (optional)
  • -///
-static const char*const kEventRemoveFromCart = - "remove_from_cart"; - -/// Screen View event. This event signifies a screen view. Use this when a -/// screen transition occurs. This event can be logged irrespective of -/// whether automatic screen tracking is enabled. Params: -/// -///
    -///
  • @c AnalyticsParameterScreenClass (String) (optional)
  • -///
  • @c AnalyticsParameterScreenName (String) (optional)
  • -///
-static const char*const kEventScreenView = "screen_view"; - -/// Search event. Apps that support search features can use this event to -/// contextualize search operations by supplying the appropriate, -/// corresponding parameters. This event can help you identify the most -/// popular content in your app. Params: -/// -///
    -///
  • @c AnalyticsParameterSearchTerm (String)
  • -///
  • @c AnalyticsParameterStartDate (String) (optional)
  • -///
  • @c AnalyticsParameterEndDate (String) (optional)
  • -///
  • @c AnalyticsParameterNumberOfNights (Int) (optional) for hotel bookings
  • -///
  • @c AnalyticsParameterNumberOfRooms (Int) (optional) for hotel bookings
  • -///
  • @c AnalyticsParameterNumberOfPassengers (Int) (optional) for travel bookings
  • -///
  • @c AnalyticsParameterOrigin (String) (optional)
  • -///
  • @c AnalyticsParameterDestination (String) (optional)
  • -///
  • @c AnalyticsParameterTravelClass (String) (optional) for travel bookings
  • -///
-static const char*const kEventSearch = "search"; - -/// Select Content event. This general purpose event signifies that a user -/// has selected some content of a certain type in an app. The content can -/// be any object in your app. This event can help you identify popular -/// content and categories of content in your app. Params: -/// -///
    -///
  • @c AnalyticsParameterContentType (String)
  • -///
  • @c AnalyticsParameterItemID (String)
  • -///
-static const char*const kEventSelectContent = - "select_content"; - -/// Select Item event. This event signifies that an item was selected by a -/// user from a list. Use the appropriate parameters to contextualize the -/// event. Use this event to discover the most popular items selected. -/// Params: -/// -///
    -///
  • @c AnalyticsParameterItems (Array>) (optional)
  • -///
  • @c AnalyticsParameterItemListID (String) (optional)
  • -///
  • @c AnalyticsParameterItemListName (String) (optional)
  • -///
-static const char*const kEventSelectItem = "select_item"; - -/// Select promotion event. This event signifies that a user has selected -/// a promotion offer. Use the appropriate parameters to contextualize the -/// event, such as the item(s) for which the promotion applies. Params: -/// -///
    -///
  • @c AnalyticsParameterCreativeName (String) (optional)
  • -///
  • @c AnalyticsParameterCreativeSlot (String) (optional)
  • -///
  • @c AnalyticsParameterItems (Array>) (optional)
  • -///
  • @c AnalyticsParameterLocationID (String) (optional)
  • -///
  • @c AnalyticsParameterPromotionID (String) (optional)
  • -///
  • @c AnalyticsParameterPromotionName (String) (optional)
  • -///
-static const char*const kEventSelectPromotion = - "select_promotion"; - -/// Share event. Apps with social features can log the Share event to -/// identify the most viral content. Params: -/// -///
    -///
  • @c AnalyticsParameterContentType (String)
  • -///
  • @c AnalyticsParameterItemID (String)
  • -///
-static const char*const kEventShare = "share"; - -/// Sign Up event. This event indicates that a user has signed up for an -/// account in your app. The parameter signifies the method by which the -/// user signed up. Use this event to understand the different behaviors -/// between logged in and logged out users. Params: -/// -///
    -///
  • @c AnalyticsParameterMethod (String)
  • -///
-static const char*const kEventSignUp = "sign_up"; - -/// Spend Virtual Currency event. This event tracks the sale of virtual -/// goods in your app and can help you identify which virtual goods are -/// the most popular objects of purchase. Params: -/// -///
    -///
  • @c AnalyticsParameterItemName (String)
  • -///
  • @c AnalyticsParameterVirtualCurrencyName (String)
  • -///
  • @c AnalyticsParameterValue (Int or Double)
  • -///
-static const char*const kEventSpendVirtualCurrency - = "spend_virtual_currency"; - -/// Tutorial Begin event. This event signifies the start of the -/// on-boarding process in your app. Use this in a funnel with @c -/// AnalyticsEventTutorialComplete to understand how many users complete -/// this process and move on to the full app experience. -static const char*const kEventTutorialBegin = - "tutorial_begin"; - -/// Tutorial End event. Use this event to signify the user's completion of -/// your app's on-boarding process. Add this to a funnel with @c -/// AnalyticsEventTutorialBegin to gauge the completion rate of your -/// on-boarding process. -static const char*const kEventTutorialComplete = - "tutorial_complete"; - -/// Unlock Achievement event. Log this event when the user has unlocked an -/// achievement in your game. Since achievements generally represent the -/// breadth of a gaming experience, this event can help you understand how -/// many users are experiencing all that your game has to offer. Params: -/// -///
    -///
  • @c AnalyticsParameterAchievementID (String)
  • -///
-static const char*const kEventUnlockAchievement = - "unlock_achievement"; - -/// E-commerce View Cart event. This event signifies that a user has -/// viewed their cart. Use this to analyze your purchase funnel. Note: If -/// you supply the @c AnalyticsParameterValue parameter, you must also -/// supply the @c AnalyticsParameterCurrency parameter so that revenue -/// metrics can be computed accurately. Params: -/// -///
    -///
  • @c AnalyticsParameterCurrency (String) (optional)
  • -///
  • @c AnalyticsParameterItems (Array>) (optional)
  • -///
  • @c AnalyticsParameterValue (Double) (optional)
  • -///
-static const char*const kEventViewCart = "view_cart"; - -/// View Item event. This event signifies that a user has viewed an item. -/// Use the appropriate parameters to contextualize the event. Use this -/// event to discover the most popular items viewed in your app. Note: If -/// you supply the @c AnalyticsParameterValue parameter, you must also -/// supply the @c AnalyticsParameterCurrency parameter so that revenue -/// metrics can be computed accurately. Params: -/// -///
    -///
  • @c AnalyticsParameterCurrency (String) (optional)
  • -///
  • @c AnalyticsParameterItems (Array>) (optional)
  • -///
  • @c AnalyticsParameterValue (Double) (optional)
  • -///
-static const char*const kEventViewItem = "view_item"; - -/// View Item List event. Log this event when a user sees a list of items -/// or offerings. Params: -/// -///
    -///
  • @c AnalyticsParameterItems (Array>) (optional)
  • -///
  • @c AnalyticsParameterItemListID (String) (optional)
  • -///
  • @c AnalyticsParameterItemListName (String) (optional)
  • -///
-static const char*const kEventViewItemList = - "view_item_list"; - -/// View Promotion event. This event signifies that a promotion was shown -/// to a user. Add this event to a funnel with the @c -/// AnalyticsEventAddToCart and @c AnalyticsEventPurchase to gauge your -/// conversion process. Params: -/// -///
    -///
  • @c AnalyticsParameterCreativeName (String) (optional)
  • -///
  • @c AnalyticsParameterCreativeSlot (String) (optional)
  • -///
  • @c AnalyticsParameterItems (Array>) (optional)
  • -///
  • @c AnalyticsParameterLocationID (String) (optional)
  • -///
  • @c AnalyticsParameterPromotionID (String) (optional)
  • -///
  • @c AnalyticsParameterPromotionName (String) (optional)
  • -///
-static const char*const kEventViewPromotion = - "view_promotion"; - -/// View Search Results event. Log this event when the user has been -/// presented with the results of a search. Params: -/// -///
    -///
  • @c AnalyticsParameterSearchTerm (String)
  • -///
-static const char*const kEventViewSearchResults = - "view_search_results"; -/// @} - -} // namespace analytics -} // namespace firebase - -#endif // FIREBASE_ANALYTICS_CLIENT_CPP_INCLUDE_FIREBASE_ANALYTICS_EVENT_NAMES_H_ diff --git a/vendors/firebase/include/firebase/analytics/parameter_names.h b/vendors/firebase/include/firebase/analytics/parameter_names.h deleted file mode 100644 index 42af1bed5..000000000 --- a/vendors/firebase/include/firebase/analytics/parameter_names.h +++ /dev/null @@ -1,754 +0,0 @@ -// Copyright 2022 Google Inc. All Rights Reserved. - -#ifndef FIREBASE_ANALYTICS_CLIENT_CPP_INCLUDE_FIREBASE_ANALYTICS_PARAMETER_NAMES_H_ -#define FIREBASE_ANALYTICS_CLIENT_CPP_INCLUDE_FIREBASE_ANALYTICS_PARAMETER_NAMES_H_ - -/// @brief Namespace that encompasses all Firebase APIs. -namespace firebase { -/// @brief Firebase Analytics API. -namespace analytics { - - - -/// @defgroup parameter_names Analytics Parameters -/// -/// Predefined event parameter names. -/// -/// Params supply information that contextualize Events. You can associate -/// up to 25 unique Params with each Event type. Some Params are suggested -/// below for certain common Events, but you are not limited to these. You -/// may supply extra Params for suggested Events or custom Params for -/// Custom events. Param names can be up to 40 characters long, may only -/// contain alphanumeric characters and underscores ("_"), and must start -/// with an alphabetic character. Param values can be up to 100 characters -/// long. The "firebase_", "google_", and "ga_" prefixes are reserved and -/// should not be used. -/// @{ - - -/// Game achievement ID (String). -/// @code -/// let params = [ -/// AnalyticsParameterAchievementID : "10_matches_won", -/// // ... -/// ] -/// @endcode -static const char*const kParameterAchievementID = - "achievement_id"; - -/// The ad format (e.g. Banner, Interstitial, Rewarded, Native, Rewarded -/// Interstitial, Instream). (String). -/// @code -/// let params = [ -/// AnalyticsParameterAdFormat : "Banner", -/// // ... -/// ] -/// @endcode -static const char*const kParameterAdFormat = - "ad_format"; - -/// Ad Network Click ID (String). Used for network-specific click IDs -/// which vary in format. -/// @code -/// let params = [ -/// AnalyticsParameterAdNetworParameter(kClickID, "1234567"), -/// // ... -/// ] -/// @endcode -static const char*const kParameterAdNetworkClickID - = "aclid"; - -/// The ad platform (e.g. MoPub, IronSource) (String). -/// @code -/// let params = [ -/// AnalyticsParameterAdPlatform : "MoPub", -/// // ... -/// ] -/// @endcode -static const char*const kParameterAdPlatform = - "ad_platform"; - -/// The ad source (e.g. AdColony) (String). -/// @code -/// let params = [ -/// AnalyticsParameterAdSource : "AdColony", -/// // ... -/// ] -/// @endcode -static const char*const kParameterAdSource = - "ad_source"; - -/// The ad unit name (e.g. Banner_03) (String). -/// @code -/// let params = [ -/// AnalyticsParameterAdUnitName : "Banner_03", -/// // ... -/// ] -/// @endcode -static const char*const kParameterAdUnitName = - "ad_unit_name"; - -/// A product affiliation to designate a supplying company or brick and -/// mortar store location -/// (String). @code -/// let params = [ -/// AnalyticsParameterAffiliation : "Google Store", -/// // ... -/// ] -/// @endcode -static const char*const kParameterAffiliation = - "affiliation"; - -/// Campaign custom parameter (String). Used as a method of capturing -/// custom data in a campaign. Use varies by network. -/// @code -/// let params = [ -/// AnalyticsParameterCP1 : "custom_data", -/// // ... -/// ] -/// @endcode -static const char*const kParameterCP1 = "cp1"; - -/// The individual campaign name, slogan, promo code, etc. Some networks -/// have pre-defined macro to capture campaign information, otherwise can -/// be populated by developer. Highly Recommended (String). -/// @code -/// let params = [ -/// AnalyticsParameterCampaign : "winter_promotion", -/// // ... -/// ] -/// @endcode -static const char*const kParameterCampaign = - "campaign"; - -/// Campaign ID (String). Used for keyword analysis to identify a specific -/// product promotion or strategic campaign. This is a required key for -/// GA4 data import. -/// @code -/// let params = [ -/// AnalyticsParameterCampaignID : "7877652710", -/// // ... -/// ] -/// @endcode -static const char*const kParameterCampaignID = - "campaign_id"; - -/// Character used in game (String). -/// @code -/// let params = [ -/// AnalyticsParameterCharacter : "beat_boss", -/// // ... -/// ] -/// @endcode -static const char*const kParameterCharacter = - "character"; - -/// Campaign content (String). -static const char*const kParameterContent = "content"; - -/// Type of content selected (String). -/// @code -/// let params = [ -/// AnalyticsParameterContentType : "news article", -/// // ... -/// ] -/// @endcode -static const char*const kParameterContentType = - "content_type"; - -/// Coupon code used for a purchase (String). -/// @code -/// let params = [ -/// AnalyticsParameterCoupon : "SUMMER_FUN", -/// // ... -/// ] -/// @endcode -static const char*const kParameterCoupon = "coupon"; - -/// Creative Format (String). Used to identify the high-level -/// classification of the type of ad served by a specific campaign. -/// @code -/// let params = [ -/// AnalyticsParameterCreativeFormat : "display", -/// // ... -/// ] -/// @endcode -static const char*const kParameterCreativeFormat = - "creative_format"; - -/// The name of a creative used in a promotional spot (String). -/// @code -/// let params = [ -/// AnalyticsParameterCreativeName : "Summer Sale", -/// // ... -/// ] -/// @endcode -static const char*const kParameterCreativeName = - "creative_name"; - -/// The name of a creative slot (String). -/// @code -/// let params = [ -/// AnalyticsParameterCreativeSlot : "summer_banner2", -/// // ... -/// ] -/// @endcode -static const char*const kParameterCreativeSlot = - "creative_slot"; - -/// Currency of the purchase or items associated with the event, in -/// 3-letter -/// ISO_4217 format (String). -/// @code -/// let params = [ -/// AnalyticsParameterCurrency : "USD", -/// // ... -/// ] -/// @endcode -static const char*const kParameterCurrency = - "currency"; - -/// Flight or Travel destination (String). -/// @code -/// let params = [ -/// AnalyticsParameterDestination : "Mountain View, CA", -/// // ... -/// ] -/// @endcode -static const char*const kParameterDestination = - "destination"; - -/// Monetary value of discount associated with a purchase (Double). -/// @code -/// let params = [ -/// AnalyticsParameterDiscount : 2.0, -/// AnalyticsParameterCurrency : "USD", // e.g. $2.00 USD -/// // ... -/// ] -/// @endcode -static const char*const kParameterDiscount = - "discount"; - -/// The arrival date, check-out date or rental end date for the item. This -/// should be in YYYY-MM-DD format (String). -/// @code -/// let params = [ -/// AnalyticsParameterEndDate : "2015-09-14", -/// // ... -/// ] -/// @endcode -static const char*const kParameterEndDate = "end_date"; - -/// Indicates that the associated event should either extend the current -/// session or start a new session if no session was active when the event -/// was logged. Specify 1 to extend the current session or to start a new -/// session; any other value will not extend or start a session. -/// @code -/// let params = [ -/// AnalyticsParameterExtendSession : 1, -/// // ... -/// ] -/// @endcode -static const char*const kParameterExtendSession = - "extend_session"; - -/// Flight number for travel events (String). -/// @code -/// let params = [ -/// AnalyticsParameterFlightNumber : "ZZ800", -/// // ... -/// ] -/// @endcode -static const char*const kParameterFlightNumber = - "flight_number"; - -/// Group/clan/guild ID (String). -/// @code -/// let params = [ -/// AnalyticsParameterGroupID : "g1", -/// // ... -/// ] -/// @endcode -static const char*const kParameterGroupID = "group_id"; - -/// The index of the item in a list (Int). -/// @code -/// let params = [ -/// AnalyticsParameterIndex : 5, -/// // ... -/// ] -/// @endcode -static const char*const kParameterIndex = "index"; - -/// Item brand (String). -/// @code -/// let params = [ -/// AnalyticsParameterItemBrand : "Google", -/// // ... -/// ] -/// @endcode -static const char*const kParameterItemBrand = - "item_brand"; - -/// Item category (context-specific) (String). -/// @code -/// let params = [ -/// AnalyticsParameterItemCategory : "pants", -/// // ... -/// ] -/// @endcode -static const char*const kParameterItemCategory = - "item_category"; - -/// Item Category (context-specific) (String). -/// @code -/// let params = [ -/// AnalyticsParameterItemCategory2 : "pants", -/// // ... -/// ] -/// @endcode -static const char*const kParameterItemCategory2 = - "item_category2"; - -/// Item Category (context-specific) (String). -/// @code -/// let params = [ -/// AnalyticsParameterItemCategory3 : "pants", -/// // ... -/// ] -/// @endcode -static const char*const kParameterItemCategory3 = - "item_category3"; - -/// Item Category (context-specific) (String). -/// @code -/// let params = [ -/// AnalyticsParameterItemCategory4 : "pants", -/// // ... -/// ] -/// @endcode -static const char*const kParameterItemCategory4 = - "item_category4"; - -/// Item Category (context-specific) (String). -/// @code -/// let params = [ -/// AnalyticsParameterItemCategory5 : "pants", -/// // ... -/// ] -/// @endcode -static const char*const kParameterItemCategory5 = - "item_category5"; - -/// Item ID (context-specific) (String). -/// @code -/// let params = [ -/// AnalyticsParameterItemID : "SKU_12345", -/// // ... -/// ] -/// @endcode -static const char*const kParameterItemID = "item_id"; - -/// The ID of the list in which the item was presented to the -/// user (String). -/// @code -/// let params = [ -/// AnalyticsParameterItemListID : "ABC123", -/// // ... -/// ] -/// @endcode -static const char*const kParameterItemListID = - "item_list_id"; - -/// The name of the list in which the item was presented to the user -/// (String). -/// @code -/// let params = [ -/// AnalyticsParameterItemListName : "Related products", -/// // ... -/// ] -/// @endcode -static const char*const kParameterItemListName = - "item_list_name"; - -/// Item Name (context-specific) (String). -/// @code -/// let params = [ -/// AnalyticsParameterItemName : "jeggings", -/// // ... -/// ] -/// @endcode -static const char*const kParameterItemName = - "item_name"; - -/// Item variant (String). -/// @code -/// let params = [ -/// AnalyticsParameterItemVariant : "Black", -/// // ... -/// ] -/// @endcode -static const char*const kParameterItemVariant = - "item_variant"; - -/// The list of items involved in the transaction. (Array>). -/// @code -/// let params = [ -/// AnalyticsParameterItems : [ -/// [AnalyticsParameterItemName : "jeggings", AnalyticsParameterItemCategory : "pants"], -/// [AnalyticsParameterItemName : "boots", AnalyticsParameterItemCategory : "shoes"], -/// ], -/// ] -/// @endcode -static const char*const kParameterItems = "items"; - -/// Level in game (Int). -/// @code -/// let params = [ -/// AnalyticsParameterLevel : 42, -/// // ... -/// ] -/// @endcode -static const char*const kParameterLevel = "level"; - -/// The name of a level in a game (String). -/// @code -/// let params = [ -/// AnalyticsParameterLevelName : "room_1", -/// // ... -/// ] -/// @endcode -static const char*const kParameterLevelName = - "level_name"; - -/// Location (String). The Google Place ID -/// that corresponds to the associated event. Alternatively, you can supply your own custom -/// Location ID. -/// @code -/// let params = [ -/// AnalyticsParameterLocation : "ChIJiyj437sx3YAR9kUWC8QkLzQ", -/// // ... -/// ] -/// @endcode -static const char*const kParameterLocation = - "location"; - -/// The location associated with the event. Preferred to be the Google -/// Place ID that corresponds to the -/// associated item but could be overridden to a custom location ID -/// string.(String). -/// @code -/// let params = [ -/// AnalyticsParameterLocationID : "ChIJiyj437sx3YAR9kUWC8QkLzQ", -/// // ... -/// ] -/// @endcode -static const char*const kParameterLocationID = - "location_id"; - -/// Marketing Tactic (String). Used to identify the targeting criteria -/// applied to a specific campaign. -/// @code -/// let params = [ -/// AnalyticsParameterMarParameter(ketingTactic, "Remarketing"), -/// // ... -/// ] -/// @endcode -static const char*const kParameterMarketingTactic - = "marketing_tactic"; - -/// The advertising or marParameter(keting, cpc, banner, email), push. -/// Highly recommended (String). -/// @code -/// let params = [ -/// AnalyticsParameterMedium : "email", -/// // ... -/// ] -/// @endcode -static const char*const kParameterMedium = "medium"; - -/// A particular approach used in an operation; for example, "facebook" or -/// "email" in the context of a sign_up or login event. (String). -/// @code -/// let params = [ -/// AnalyticsParameterMethod : "google", -/// // ... -/// ] -/// @endcode -static const char*const kParameterMethod = "method"; - -/// Number of nights staying at hotel (Int). -/// @code -/// let params = [ -/// AnalyticsParameterNumberOfNights : 3, -/// // ... -/// ] -/// @endcode -static const char*const kParameterNumberOfNights - = "number_of_nights"; - -/// Number of passengers traveling (Int). -/// @code -/// let params = [ -/// AnalyticsParameterNumberOfPassengers : 11, -/// // ... -/// ] -/// @endcode -static const char*const kParameterNumberOfPassengers - = "number_of_passengers"; - -/// Number of rooms for travel events (Int). -/// @code -/// let params = [ -/// AnalyticsParameterNumberOfRooms : 2, -/// // ... -/// ] -/// @endcode -static const char*const kParameterNumberOfRooms = - "number_of_rooms"; - -/// Flight or Travel origin (String). -/// @code -/// let params = [ -/// AnalyticsParameterOrigin : "Mountain View, CA", -/// // ... -/// ] -/// @endcode -static const char*const kParameterOrigin = "origin"; - -/// The chosen method of payment (String). -/// @code -/// let params = [ -/// AnalyticsParameterPaymentType : "Visa", -/// // ... -/// ] -/// @endcode -static const char*const kParameterPaymentType = - "payment_type"; - -/// Purchase price (Double). -/// @code -/// let params = [ -/// AnalyticsParameterPrice : 1.0, -/// AnalyticsParameterCurrency : "USD", // e.g. $1.00 USD -/// // ... -/// ] -/// @endcode -static const char*const kParameterPrice = "price"; - -/// The ID of a product promotion (String). -/// @code -/// let params = [ -/// AnalyticsParameterPromotionID : "ABC123", -/// // ... -/// ] -/// @endcode -static const char*const kParameterPromotionID = - "promotion_id"; - -/// The name of a product promotion (String). -/// @code -/// let params = [ -/// AnalyticsParameterPromotionName : "Summer Sale", -/// // ... -/// ] -/// @endcode -static const char*const kParameterPromotionName = - "promotion_name"; - -/// Purchase quantity (Int). -/// @code -/// let params = [ -/// AnalyticsParameterQuantity : 1, -/// // ... -/// ] -/// @endcode -static const char*const kParameterQuantity = - "quantity"; - -/// Score in game (Int). -/// @code -/// let params = [ -/// AnalyticsParameterScore : 4200, -/// // ... -/// ] -/// @endcode -static const char*const kParameterScore = "score"; - -/// Current screen class, such as the class name of the UIViewController, -/// logged with screen_view event and added to every event (String). -/// @code -/// let params = [ -/// AnalyticsParameterScreenClass : "LoginViewController", -/// // ... -/// ] -/// @endcode -static const char*const kParameterScreenClass = - "screen_class"; - -/// Current screen name, such as the name of the UIViewController, logged -/// with screen_view event and added to every event (String). -/// @code -/// let params = [ -/// AnalyticsParameterScreenName : "LoginView", -/// // ... -/// ] -/// @endcode -static const char*const kParameterScreenName = - "screen_name"; - -/// The search string/keywords used (String). -/// @code -/// let params = [ -/// AnalyticsParameterSearchTerm : "periodic table", -/// // ... -/// ] -/// @endcode -static const char*const kParameterSearchTerm = - "search_term"; - -/// Shipping cost associated with a transaction (Double). -/// @code -/// let params = [ -/// AnalyticsParameterShipping : 5.99, -/// AnalyticsParameterCurrency : "USD", // e.g. $5.99 USD -/// // ... -/// ] -/// @endcode -static const char*const kParameterShipping = - "shipping"; - -/// The shipping tier (e.g. Ground, Air, Next-day) selected for delivery -/// of the purchased item (String). -/// @code -/// let params = [ -/// AnalyticsParameterShippingTier : "Ground", -/// // ... -/// ] -/// @endcode -static const char*const kParameterShippingTier = - "shipping_tier"; - -/// The origin of your traffic, such as an Ad network (for example, -/// google) or partner (urban airship). Identify the advertiser, site, -/// publication, etc. that is sending traffic to your property. Highly -/// recommended (String). -/// @code -/// let params = [ -/// AnalyticsParameterSource : "InMobi", -/// // ... -/// ] -/// @endcode -static const char*const kParameterSource = "source"; - -/// Source Platform (String). Used to identify the platform responsible -/// for directing traffic to a given Analytics property (e.g., a buying -/// platform where budgets, targeting criteria, etc. are set, a platform -/// for managing organic traffic data, etc.). -/// @code -/// let params = [ -/// AnalyticsParameterSourcePlatform : "sa360", -/// // ... -/// ] -/// @endcode -static const char*const kParameterSourcePlatform = - "source_platform"; - -/// The departure date, check-in date or rental start date for the item. -/// This should be in YYYY-MM-DD format (String). -/// @code -/// let params = [ -/// AnalyticsParameterStartDate : "2015-09-14", -/// // ... -/// ] -/// @endcode -static const char*const kParameterStartDate = - "start_date"; - -/// The result of an operation. Specify 1 to indicate success and 0 to -/// indicate failure (Int). -/// @code -/// let params = [ -/// AnalyticsParameterSuccess : 1, -/// // ... -/// ] -/// @endcode -static const char*const kParameterSuccess = "success"; - -/// Tax cost associated with a transaction (Double). -/// @code -/// let params = [ -/// AnalyticsParameterTax : 2.43, -/// AnalyticsParameterCurrency : "USD", // e.g. $2.43 USD -/// // ... -/// ] -/// @endcode -static const char*const kParameterTax = "tax"; - -/// If you're manually tagging keyword campaigns, you should use utm_term -/// to specify the keyword (String). -/// @code -/// let params = [ -/// AnalyticsParameterTerm : "game", -/// // ... -/// ] -/// @endcode -static const char*const kParameterTerm = "term"; - -/// The unique identifier of a transaction (String). -/// @code -/// let params = [ -/// AnalyticsParameterTransactionID : "T12345", -/// // ... -/// ] -/// @endcode -static const char*const kParameterTransactionID = - "transaction_id"; - -/// Travel class (String). -/// @code -/// let params = [ -/// AnalyticsParameterTravelClass : "business", -/// // ... -/// ] -/// @endcode -static const char*const kParameterTravelClass = - "travel_class"; - -/// A context-specific numeric value which is accumulated automatically -/// for each event type. This is a general purpose parameter that is -/// useful for accumulating a key metric that pertains to an event. -/// Examples include revenue, distance, time and points. Value should be -/// specified as Int or Double. Notes: Values for pre-defined -/// currency-related events (such as @c AnalyticsEventAddToCart) should be -/// supplied using Double and must be accompanied by a @c -/// AnalyticsParameterCurrency parameter. The valid range of accumulated -/// values is [-9,223,372,036,854.77, 9,223,372,036,854.77]. Supplying a -/// non-numeric value, omitting the corresponding @c -/// AnalyticsParameterCurrency parameter, or supplying an invalid -/// currency code for conversion events will cause that -/// conversion to be omitted from reporting. -/// @code -/// let params = [ -/// AnalyticsParameterValue : 3.99, -/// AnalyticsParameterCurrency : "USD", // e.g. $3.99 USD -/// // ... -/// ] -/// @endcode -static const char*const kParameterValue = "value"; - -/// Name of virtual currency type (String). -/// @code -/// let params = [ -/// AnalyticsParameterVirtualCurrencyName : "virtual_currency_name", -/// // ... -/// ] -/// @endcode -static const char*const kParameterVirtualCurrencyName - = "virtual_currency_name"; -/// @} - -} // namespace analytics -} // namespace firebase - -#endif // FIREBASE_ANALYTICS_CLIENT_CPP_INCLUDE_FIREBASE_ANALYTICS_PARAMETER_NAMES_H_ diff --git a/vendors/firebase/include/firebase/analytics/user_property_names.h b/vendors/firebase/include/firebase/analytics/user_property_names.h deleted file mode 100644 index e239e1435..000000000 --- a/vendors/firebase/include/firebase/analytics/user_property_names.h +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google Inc. All Rights Reserved. - -#ifndef FIREBASE_ANALYTICS_CLIENT_CPP_INCLUDE_FIREBASE_ANALYTICS_USER_PROPERTY_NAMES_H_ -#define FIREBASE_ANALYTICS_CLIENT_CPP_INCLUDE_FIREBASE_ANALYTICS_USER_PROPERTY_NAMES_H_ - -/// @brief Namespace that encompasses all Firebase APIs. -namespace firebase { -/// @brief Firebase Analytics API. -namespace analytics { - - - -/// @defgroup user_property_names Analytics User Properties -/// -/// Predefined user property names. -/// -/// A UserProperty is an attribute that describes the app-user. By -/// supplying UserProperties, you can later analyze different behaviors of -/// various segments of your userbase. You may supply up to 25 unique -/// UserProperties per app, and you can use the name and value of your -/// choosing for each one. UserProperty names can be up to 24 characters -/// long, may only contain alphanumeric characters and underscores ("_"), -/// and must start with an alphabetic character. UserProperty values can -/// be up to 36 characters long. The "firebase_", "google_", and "ga_" -/// prefixes are reserved and should not be used. -/// @{ - - -/// Indicates whether events logged by Google Analytics can be used to -/// personalize ads for the user. Set to "YES" to enable, or "NO" to -/// disable. Default is enabled. See the -/// documentation for -/// more details and information about related settings. -/// -/// @code -/// Analytics.setUserProperty("NO", forName: AnalyticsUserPropertyAllowAdPersonalizationSignals) -/// @endcode -static const char*const kUserPropertyAllowAdPersonalizationSignals - = "allow_personalized_ads"; - -/// The method used to sign in. For example, "google", "facebook" or -/// "twitter". -static const char*const kUserPropertySignUpMethod - = "sign_up_method"; -/// @} - -} // namespace analytics -} // namespace firebase - -#endif // FIREBASE_ANALYTICS_CLIENT_CPP_INCLUDE_FIREBASE_ANALYTICS_USER_PROPERTY_NAMES_H_ diff --git a/vendors/firebase/include/firebase/app.h b/vendors/firebase/include/firebase/app.h deleted file mode 100644 index 0501f38ac..000000000 --- a/vendors/firebase/include/firebase/app.h +++ /dev/null @@ -1,787 +0,0 @@ -/* - * Copyright 2016 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef FIREBASE_APP_SRC_INCLUDE_FIREBASE_APP_H_ -#define FIREBASE_APP_SRC_INCLUDE_FIREBASE_APP_H_ - -#include "firebase/internal/platform.h" - -#if FIREBASE_PLATFORM_ANDROID -#include -#endif // FIREBASE_PLATFORM_ANDROID - -#include -#include -#include - -#if FIREBASE_PLATFORM_IOS || FIREBASE_PLATFORM_TVOS -#ifdef __OBJC__ -@class FIRApp; -#endif // __OBJC__ -#endif // FIREBASE_PLATFORM_IOS - -namespace firebase { - -#ifdef FIREBASE_LINUX_BUILD_CONFIG_STRING -// Check to see if the shared object compiler string matches the input -void CheckCompilerString(const char* input); -#endif // FIREBASE_LINUX_BUILD_CONFIG_STRING - -// Predeclarations. -#ifdef INTERNAL_EXPERIMENTAL -namespace internal { -class FunctionRegistry; -} // namespace internal -#endif // INTERNAL_EXPERIMENTAL - -#ifdef INTERNAL_EXPERIMENTAL -#if FIREBASE_PLATFORM_DESKTOP -namespace heartbeat { -class HeartbeatController; // forward declaration -} // namespace heartbeat -#endif // FIREBASE_PLATFORM_DESKTOP -#endif // INTERNAL_EXPERIMENTAL - -namespace internal { -class AppInternal; -} // namespace internal - -/// @brief Reports whether a Firebase module initialized successfully. -enum InitResult { - /// The given library was successfully initialized. - kInitResultSuccess = 0, - - /// The given library failed to initialize due to a missing dependency. - /// - /// On Android, this typically means that Google Play services is not - /// available and the library requires it. - /// @if cpp_examples - /// Use google_play_services::CheckAvailability() and - /// google_play_services::MakeAvailable() to resolve this issue. - /// @endif - /// - /// @if swig_examples - /// Use FirebaseApp.CheckDependencies() and - /// FirebaseApp.FixDependenciesAsync() to resolve this issue. - /// @endif - /// - /// - /// Also, on Android, this value can be returned if the Java dependencies of a - /// Firebase component are not included in the application, causing - /// initialization to fail. This means that the application's build - /// environment is not configured correctly. To resolve the problem, - /// see the SDK setup documentation for the set of Java dependencies (AARs) - /// required for the component that failed to initialize. - kInitResultFailedMissingDependency -}; - -/// @brief Default name for firebase::App() objects. -extern const char* const kDefaultAppName; - -/// @brief Options that control the creation of a Firebase App. -/// @if cpp_examples -/// @see firebase::App -/// @endif -/// -/// @if swig_examples -/// @see FirebaseApp -/// @endif -/// -class AppOptions { - friend class App; - - public: - /// @brief Create AppOptions. - /// - /// @if cpp_examples - /// To create a firebase::App object, the Firebase application identifier - /// and API key should be set using set_app_id() and set_api_key() - /// respectively. - /// - /// @see firebase::App::Create(). - /// @endif - /// - /// @if swig_examples - /// To create a FirebaseApp object, the Firebase application identifier - /// and API key should be set using AppId and ApiKey respectively. - /// - /// @see FirebaseApp.Create(). - /// @endif - /// - AppOptions() {} - - /// Set the Firebase app ID used to uniquely identify an instance of an app. - /// - /// This is the mobilesdk_app_id in the Android google-services.json config - /// file or GOOGLE_APP_ID in the GoogleService-Info.plist. - /// - /// This only needs to be specified if your application does not include - /// google-services.json or GoogleService-Info.plist in its resources. - void set_app_id(const char* id) { app_id_ = id; } - - /// Retrieves the app ID. - /// - /// @if cpp_examples - /// @see set_app_id(). - /// @endif - /// - /// - /// @xmlonly - /// - /// Gets or sets the App Id. - /// - /// This is the mobilesdk_app_id in the Android google-services.json config - /// file or GOOGLE_APP_ID in the GoogleService-Info.plist. - /// - /// This only needs to be specified if your application does not include - /// google-services.json or GoogleService-Info.plist in its resources. - /// - /// @endxmlonly - /// - const char* app_id() const { return app_id_.c_str(); } - - /// API key used to authenticate requests from your app. - /// - /// For example, "AIzaSyDdVgKwhZl0sTTTLZ7iTmt1r3N2cJLnaDk" used to identify - /// your app to Google servers. - /// - /// This only needs to be specified if your application does not include - /// google-services.json or GoogleService-Info.plist in its resources. - void set_api_key(const char* key) { api_key_ = key; } - - /// Get the API key. - /// - /// @if cpp_examples - /// @see set_api_key(). - /// @endif - /// - /// - /// @xmlonly - /// - /// Gets or sets the API key used to authenticate requests from your app. - /// - /// For example, \"AIzaSyDdVgKwhZl0sTTTLZ7iTmt1r3N2cJLnaDk\" used to identify - /// your app to Google servers. - /// - /// This only needs to be specified if your application does not include - /// google-services.json or GoogleService-Info.plist in its resources. - /// - /// @endxmlonly - /// - const char* api_key() const { return api_key_.c_str(); } - - /// Set the Firebase Cloud Messaging sender ID. - /// - /// For example "012345678901", used to configure Firebase Cloud Messaging. - /// - /// This only needs to be specified if your application does not include - /// google-services.json or GoogleService-Info.plist in its resources. - void set_messaging_sender_id(const char* sender_id) { - fcm_sender_id_ = sender_id; - } - - /// Get the Firebase Cloud Messaging sender ID. - /// - /// @if cpp_examples - /// @see set_messaging_sender_id(). - /// @endif - /// - /// - /// @xmlonly - /// - /// Gets or sets the messaging sender Id. - /// - /// This only needs to be specified if your application does not include - /// google-services.json or GoogleService-Info.plist in its resources. - /// - /// @endxmlonly - /// - const char* messaging_sender_id() const { return fcm_sender_id_.c_str(); } - - /// Set the database root URL, e.g. @"http://abc-xyz-123.firebaseio.com". - void set_database_url(const char* url) { database_url_ = url; } - - /// Get database root URL, e.g. @"http://abc-xyz-123.firebaseio.com". - /// - /// - /// @xmlonly - /// - /// Gets or sets the database root URL, e.g. - /// @\"http://abc-xyz-123.firebaseio.com\". - /// - /// @endxmlonly - /// - const char* database_url() const { return database_url_.c_str(); } - - /// @cond FIREBASE_APP_INTERNAL - - /// Set the tracking ID for Google Analytics, e.g. @"UA-12345678-1". - void set_ga_tracking_id(const char* id) { ga_tracking_id_ = id; } - - /// Get the tracking ID for Google Analytics, - /// - /// @if cpp_examples - /// @see set_ga_tracking_id(). - /// @endif - /// - const char* ga_tracking_id() const { return ga_tracking_id_.c_str(); } - - /// @endcond - - /// Set the Google Cloud Storage bucket name, - /// e.g. @\"abc-xyz-123.storage.firebase.com\". - void set_storage_bucket(const char* bucket) { storage_bucket_ = bucket; } - - /// Get the Google Cloud Storage bucket name, - /// @see set_storage_bucket(). - /// - /// @xmlonly - /// - /// Gets or sets the Google Cloud Storage bucket name, e.g. - /// @\"abc-xyz-123.storage.firebase.com\". - /// - /// @endxmlonly - /// - const char* storage_bucket() const { return storage_bucket_.c_str(); } - - /// Set the Google Cloud project ID. - void set_project_id(const char* project) { project_id_ = project; } - - /// Get the Google Cloud project ID. - /// - /// This is the project_id in the Android google-services.json config - /// file or PROJECT_ID in the GoogleService-Info.plist. - /// - /// @xmlonly - /// - /// Gets the Google Cloud project ID. - /// - /// This is the project_id in the Android google-services.json config - /// file or PROJECT_ID in the GoogleService-Info.plist. - /// - /// @endxmlonly - /// - const char* project_id() const { return project_id_.c_str(); } - -#ifdef INTERNAL_EXPERIMENTAL - /// @brief set the iOS client ID. - /// - /// This is the clientID in the GoogleService-Info.plist. - void set_client_id(const char* client_id) { client_id_ = client_id; } - - /// @brief Get the iOS client ID. - /// - /// This is the client_id in the GoogleService-Info.plist. - const char* client_id() const { return client_id_.c_str(); } -#endif // INTERNAL_EXPERIMENTAL - -#ifdef INTERNAL_EXPERIMENTAL - /// @brief Set the Android or iOS client project name. - /// - /// This is the project_name in the Android google-services.json config - /// file or BUNDLE_ID in the GoogleService-Info.plist. - void set_package_name(const char* package_name) { - package_name_ = package_name; - } - - /// @brief Get the Android or iOS client project name. - /// - /// This is the project_name in the Android google-services.json config - /// file or BUNDLE_ID in the GoogleService-Info.plist. - const char* package_name() const { return package_name_.c_str(); } -#endif // INTERNAL_EXPERIMENTAL - - /// @brief Load options from a config string. - /// - /// @param[in] config A JSON string that contains Firebase configuration i.e. - /// the content of the downloaded google-services.json file. - /// @param[out] options Optional: If provided, load options into it. - /// - /// @returns An instance containing the loaded options if successful. - /// If the options argument to this function is null, this method returns an - /// AppOptions instance allocated from the heap. - static AppOptions* LoadFromJsonConfig(const char* config, - AppOptions* options = nullptr); - -#if INTERNAL_EXPERIMENTAL - /// @brief Determine whether the specified options match this set of options. - /// - /// Fields of this object that are empty are ignored in the comparison. - /// - /// @param[in] options Options to compare with. - bool operator==(const AppOptions& options) const { - return (package_name_.empty() || package_name_ == options.package_name_) && - (api_key_.empty() || api_key_ == options.api_key_) && - (app_id_.empty() || app_id_ == options.app_id_) && - (database_url_.empty() || database_url_ == options.database_url_) && - (ga_tracking_id_.empty() || - ga_tracking_id_ == options.ga_tracking_id_) && - (fcm_sender_id_.empty() || - fcm_sender_id_ == options.fcm_sender_id_) && - (storage_bucket_.empty() || - storage_bucket_ == options.storage_bucket_) && - (project_id_.empty() || project_id_ == options.project_id_); - } -#endif // INTERNAL_EXPERIMENTAL - -#if INTERNAL_EXPERIMENTAL - /// @brief Determine whether the specified options don't match this set of - /// options. - /// - /// Fields of this object that are empty are ignored in the comparison. - /// - /// @param[in] options Options to compare with. - bool operator!=(const AppOptions& options) const { - return !operator==(options); - } -#endif // INTERNAL_EXPERIMENTAL - -#if INTERNAL_EXPERIMENTAL -#if FIREBASE_PLATFORM_ANDROID || defined(DOXYGEN) - /// @brief Load default options from the resource file. - /// - /// @param[in] jni_env JNI environment required to allow Firebase services - /// to interact with the Android framework. - /// @param[in] activity JNI reference to the Android activity, required to - /// allow Firebase services to interact with the Android application. - /// @param options Options to populate from a resource file. - /// - /// @return An instance containing the loaded options if successful. - /// If the options argument to this function is null, this method returns an - /// AppOptions instance allocated from the heap.. - static AppOptions* LoadDefault(AppOptions* options, JNIEnv* jni_env, - jobject activity); -#endif // FIREBASE_PLATFORM_ANDROID || defined(DOXYGEN) - -#if !FIREBASE_PLATFORM_ANDROID || defined(DOXYGEN) - /// @brief Load default options from the resource file. - /// - /// @param options Options to populate from a resource file. - /// - /// @return An instance containing the loaded options if successful. - /// If the options argument to this function is null, this method returns an - /// AppOptions instance allocated from the heap. - static AppOptions* LoadDefault(AppOptions* options); -#endif // !FIREBASE_PLATFORM_ANDROID || defined(DOXYGEN) -#endif // INTERNAL_EXPERIMENTAL - -#if INTERNAL_EXPERIMENTAL -#if FIREBASE_PLATFORM_ANDROID || defined(DOXYGEN) - /// @brief Attempt to populate required options with default values if not - /// specified. - /// - /// @param[in] jni_env JNI environment required to allow Firebase services - /// to interact with the Android framework. - /// @param[in] activity JNI reference to the Android activity, required to - /// allow Firebase services to interact with the Android application. - /// - /// @return true if successful, false otherwise. - bool PopulateRequiredWithDefaults(JNIEnv* jni_env, jobject activity); -#endif // FIREBASE_PLATFORM_ANDROID || defined(DOXYGEN) - -#if !FIREBASE_PLATFORM_ANDROID || defined(DOXYGEN) - /// @brief Attempt to populate required options with default values if not - /// specified. - /// - /// @return true if successful, false otherwise. - bool PopulateRequiredWithDefaults(); -#endif // !FIREBASE_PLATFORM_ANDROID || defined(DOXYGEN) -#endif // INTERNAL_EXPERIMENTAL - - /// @cond FIREBASE_APP_INTERNAL - private: - /// Application package name (e.g Android package name or iOS bundle ID). - std::string package_name_; - /// API key used to communicate with Google Servers. - std::string api_key_; - /// ID of the app. - std::string app_id_; - /// ClientID of the app. - std::string client_id_; - /// Database root URL. - std::string database_url_; - /// Google analytics tracking ID. - std::string ga_tracking_id_; - /// FCM sender ID. - std::string fcm_sender_id_; - /// Google Cloud Storage bucket name. - std::string storage_bucket_; - /// Google Cloud project ID. - std::string project_id_; - /// @endcond -}; - -/// @brief Firebase application object. -/// -/// @if cpp_examples -/// firebase::App acts as a conduit for communication between all Firebase -/// services used by an application. -/// -/// For example: -/// @code -/// #if defined(__ANDROID__) -/// firebase::App::Create(firebase::AppOptions(), jni_env, activity); -/// #else -/// firebase::App::Create(firebase::AppOptions()); -/// #endif // defined(__ANDROID__) -/// @endcode -/// @endif -/// -/// @if swig_examples -/// FirebaseApp acts as a conduit for communication between all Firebase -/// services used by an application. A default instance is created -/// automatically, based on settings in your Firebase configuration file, -/// and all of the Firebase APIs connect with it automatically. -/// @endif -class App { - public: - ~App(); - -#if !FIREBASE_PLATFORM_ANDROID || defined(DOXYGEN) - /// @brief Initializes the default firebase::App with default options. - /// - /// @note This method is specific to non-Android implementations. - /// - /// @return New App instance, the App should not be destroyed for the - /// lifetime of the application. If default options can't be loaded this - /// will return null. - static App* Create(); -#endif // !FIREBASE_PLATFORM_ANDROID || defined(DOXYGEN) - -#ifndef SWIG -// -// For Unity, we actually use the simpler, iOS version for both platforms -// -#if FIREBASE_PLATFORM_ANDROID || defined(DOXYGEN) - /// @brief Initializes the default firebase::App with default options. - /// - /// @note This method is specific to the Android implementation. - /// - /// @param[in] jni_env JNI environment required to allow Firebase services - /// to interact with the Android framework. - /// @param[in] activity JNI reference to the Android activity, required to - /// allow Firebase services to interact with the Android application. - /// - /// @return New App instance. The App should not be destroyed for the - /// lifetime of the application. If default options can't be loaded this - /// will return null. - static App* Create(JNIEnv* jni_env, jobject activity); -#endif // FIREBASE_PLATFORM_ANDROID || defined(DOXYGEN) -#endif // SWIG - -#if !FIREBASE_PLATFORM_ANDROID || defined(DOXYGEN) - /// @brief Initializes the default firebase::App with the given options. - /// - /// @note This method is specific to non-Android implementations. - /// - /// Options are copied at initialization time, so changes to the object are - /// ignored. - /// @param[in] options Options that control the creation of the App. - /// - /// @return New App instance, the App should not be destroyed for the - /// lifetime of the application. - static App* Create(const AppOptions& options); -#endif // !FIREBASE_PLATFORM_ANDROID || defined(DOXYGEN) - -#ifndef SWIG -// -// For Unity, we actually use the simpler, iOS version for both platforms -// -#if FIREBASE_PLATFORM_ANDROID || defined(DOXYGEN) - /// @brief Initializes the default firebase::App with the given options. - /// - /// @note This method is specific to the Android implementation. - /// - /// Options are copied at initialization time, so changes to the object are - /// ignored. - /// @param[in] options Options that control the creation of the App. - /// @param[in] jni_env JNI environment required to allow Firebase services - /// to interact with the Android framework. - /// @param[in] activity JNI reference to the Android activity, required to - /// allow Firebase services to interact with the Android application. - /// - /// @return New App instance. The App should not be destroyed for the - /// lifetime of the application. - static App* Create(const AppOptions& options, JNIEnv* jni_env, - jobject activity); -#endif // FIREBASE_PLATFORM_ANDROID || defined(DOXYGEN) -#endif // SWIG - -#if !FIREBASE_PLATFORM_ANDROID || defined(DOXYGEN) - /// @brief Initializes a firebase::App with the given options that operates - /// on the named app. - /// - /// @note This method is specific to non-Android implementations. - /// - /// Options are copied at initialization time, so changes to the object are - /// ignored. - /// @param[in] options Options that control the creation of the App. - /// @param[in] name Name of this App instance. This is only required when - /// one application uses multiple App instances. - /// - /// @return New App instance, the App should not be destroyed for the - /// lifetime of the application. - static App* Create(const AppOptions& options, const char* name); -#endif // !FIREBASE_PLATFORM_ANDROID || defined(DOXYGEN) - -#ifndef SWIG -// -// For Unity, we actually use the simpler iOS version for both platforms -// -#if FIREBASE_PLATFORM_ANDROID || defined(DOXYGEN) - /// @brief Initializes a firebase::App with the given options that operates - /// on the named app. - /// - /// @note This method is specific to the Android implementation. - /// - /// Options are copied at initialization time, so changes to the object are - /// ignored. - /// @param[in] options Options that control the creation of the App. - /// @param[in] name Name of this App instance. This is only required when - /// one application uses multiple App instances. - /// @param[in] jni_env JNI environment required to allow Firebase services - /// to interact with the Android framework. - /// @param[in] activity JNI reference to the Android activity, required to - /// allow Firebase services to interact with the Android application. - /// - /// @return New App instance. The App should not be destroyed for the - /// lifetime of the application. - static App* Create(const AppOptions& options, const char* name, - JNIEnv* jni_env, jobject activity); -#endif // FIREBASE_PLATFORM_ANDROID || defined(DOXYGEN) -#endif // SWIG - - /// Get the default App, or nullptr if none has been created. - static App* GetInstance(); - - /// Get the App with the given name, or nullptr if none have been created. - static App* GetInstance(const char* name); - -#ifndef SWIG -// -// Unity doesn't need the JNI from here, it has its method to access JNI. -// -#if FIREBASE_PLATFORM_ANDROID || defined(DOXYGEN) - /// Get Java virtual machine, retrieved from the initial JNI environment. - /// @note This method is specific to the Android implementation. - /// - /// @return JNI Java virtual machine object. - JavaVM* java_vm() const; - /// Get JNI environment, needed for performing JNI calls, set on creation. - /// This is not trivial as the correct environment needs to retrieved per - /// thread. - /// @note This method is specific to the Android implementation. - /// - /// @return JNI environment object. - JNIEnv* GetJNIEnv() const; - /// Get a global reference to the Android activity provided to the App on - /// creation. Also serves as the Context needed for Firebase calls. - /// @note This method is specific to the Android implementation. - /// - /// @return Global JNI reference to the Android activity used to create - /// the App. The reference count of the returned object is not increased. - jobject activity() const { return activity_; } -#endif // FIREBASE_PLATFORM_ANDROID || defined(DOXYGEN) -#endif // SWIG - - /// Get the name of this App instance. - /// - /// @return The name of this App instance. If a name wasn't provided via - /// Create(), this returns @ref kDefaultAppName. - /// - /// @xmlonly - /// - /// Get the name of this FirebaseApp instance. - /// If a name wasn't provided via Create(), this will match @ref DefaultName. - /// - /// @endxmlonly - /// - const char* name() const { return name_.c_str(); } - - /// Get options the App was created with. - /// - /// @return Options used to create the App. - /// - /// @xmlonly - /// - /// @brief Get the AppOptions the FirebaseApp was created with. - /// @return AppOptions used to create the FirebaseApp. - /// - /// @endxmlonly - /// - const AppOptions& options() const { return options_; } - -#ifdef INTERNAL_EXPERIMENTAL - /// Sets whether automatic data collection is enabled for all products. - /// - /// By default, automatic data collection is enabled. To disable automatic - /// data collection in your mobile app, add to your Android application's - /// manifest: - /// - /// @if NOT_DOXYGEN - /// - /// @else - /// @code - /// <meta-data android:name="firebase_data_collection_default_enabled" - /// android:value="false" /> - /// @endcode - /// @endif - /// - /// or on iOS to your Info.plist: - /// - /// @if NOT_DOXYGEN - /// FirebaseDataCollectionDefaultEnabled - /// - /// @else - /// @code - /// <key>FirebaseDataCollectionDefaultEnabled</key> - /// <false/> - /// @endcode - /// @endif - /// - /// Once your mobile app is set to disable automatic data collection, you can - /// ask users to consent to data collection, and then enable it after their - /// approval by calling this method. - /// - /// This value is persisted across runs of the app so that it can be set once - /// when users have consented to collection. - /// - /// @param enabled Whether or not to enable automatic data collection. - void SetDataCollectionDefaultEnabled(bool enabled); - - /// Gets whether automatic data collection is enabled for all - /// products. Defaults to true unless - /// "firebase_data_collection_default_enabled" is set to false in your - /// Android manifest and FirebaseDataCollectionDefaultEnabled is set to NO - /// in your iOS app's Info.plist. - /// - /// @return Whether or not automatic data collection is enabled for all - /// products. - bool IsDataCollectionDefaultEnabled() const; -#endif // INTERNAL_EXPERIMENTAL -#ifdef SWIG - void SetDataCollectionDefaultEnabled(bool enabled); - bool IsDataCollectionDefaultEnabled() const; -#endif // SWIG - -#ifdef INTERNAL_EXPERIMENTAL - // This is only visible to SWIG and internal users of firebase::App. - /// Get the initialization results of modules that were initialized when - /// creating this app. - /// - /// @return Initialization results of modules indexed by module name. - const std::map& init_results() const { - return init_results_; - } - - // Returns a pointer to the function registry, used by components to expose - // methods to one another without introducing linkage dependencies. - internal::FunctionRegistry* function_registry(); - - /// @brief Register a library which utilizes the Firebase C++ SDK. - /// - /// @param library Name of the library to register as a user of the Firebase - /// C++ SDK. - /// @param version Version of the library being registered. - static void RegisterLibrary(const char* library, const char* version); - - // Internal method to retrieve the combined string of registered libraries. - static const char* GetUserAgent(); - - // On desktop, when App.Create() is invoked without parameters, it looks for a - // file named 'google-services-desktop.json', to load parameters from. - // This function sets the location to search in. - // Note - when setting this, make sure to end the path with the appropriate - // path separator! - static void SetDefaultConfigPath(const char* path); -#endif // INTERNAL_EXPERIMENTAL - -#ifdef INTERNAL_EXPERIMENTAL -#if FIREBASE_PLATFORM_DESKTOP - // These methods are only visible to SWIG and internal users of firebase::App. - - /// Logs a heartbeat using the internal HeartbeatController. - void LogHeartbeat() const; - - /// Get a pointer to the HeartbeatController associated with this app. - std::shared_ptr GetHeartbeatController() - const; -#endif // FIREBASE_PLATFORM_DESKTOP -#endif // INTERNAL_EXPERIMENTAL - -#ifdef INTERNAL_EXPERIMENTAL -#if FIREBASE_PLATFORM_ANDROID - /// Get the platform specific app implementation referenced by this object. - /// - /// @return Global reference to the FirebaseApp. The returned reference - /// most be deleted after use. - jobject GetPlatformApp() const; -#elif FIREBASE_PLATFORM_IOS || FIREBASE_PLATFORM_TVOS -#ifdef __OBJC__ - /// Get the platform specific app implementation referenced by this object. - /// - /// @return Reference to the FIRApp object owned by this app. - FIRApp* GetPlatformApp() const; -#endif // __OBJC__ -#endif // FIREBASE_PLATFORM_ANDROID, FIREBASE_PLATFORM_IOS, - // FIREBASE_PLATFORM_TVOS -#endif // INTERNAL_EXPERIMENTAL - - private: - /// Construct the object. - App() - : -#if FIREBASE_PLATFORM_ANDROID || defined(DOXYGEN) - activity_(nullptr), -#endif - internal_(nullptr) { - Initialize(); - -#ifdef FIREBASE_LINUX_BUILD_CONFIG_STRING - CheckCompilerString(FIREBASE_LINUX_BUILD_CONFIG_STRING); -#endif // FIREBASE_LINUX_BUILD_CONFIG_STRING - } - - /// Initialize internal implementation - void Initialize(); - -#ifndef SWIG -// -// Unity doesn't need the JNI from here, it has its method to access JNI. -// -#if FIREBASE_PLATFORM_ANDROID || defined(DOXYGEN) - /// Android activity. - /// @note This is specific to Android. - jobject activity_; -#endif // FIREBASE_PLATFORM_ANDROID || defined(DOXYGEN) -#endif // SWIG - - /// Name of the App instance. - std::string name_; - /// Options used to create this App instance. - AppOptions options_; - /// Module initialization results. - std::map init_results_; - /// Pointer to other internal data used by this instance. - internal::AppInternal* internal_; - - /// @endcond -}; - -} // namespace firebase - -#endif // FIREBASE_APP_SRC_INCLUDE_FIREBASE_APP_H_ diff --git a/vendors/firebase/include/firebase/auth.h b/vendors/firebase/include/firebase/auth.h deleted file mode 100644 index 93c38f518..000000000 --- a/vendors/firebase/include/firebase/auth.h +++ /dev/null @@ -1,939 +0,0 @@ -/* - * Copyright 2016 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef FIREBASE_AUTH_SRC_INCLUDE_FIREBASE_AUTH_H_ -#define FIREBASE_AUTH_SRC_INCLUDE_FIREBASE_AUTH_H_ - -#include - -#include "firebase/app.h" -#include "firebase/auth/user.h" -#include "firebase/future.h" -#include "firebase/internal/common.h" - -#if !defined(DOXYGEN) -#ifndef SWIG -FIREBASE_APP_REGISTER_CALLBACKS_REFERENCE(auth) -#endif // SWIG -#endif // !defined(DOXYGEN) - -namespace firebase { - -/// @brief Firebase Authentication API. -/// -/// Firebase Authentication provides backend services to securely authenticate -/// users. It can authenticate users using passwords and federated identity -/// provider credentials, and it can integrate with a custom auth backend. -namespace auth { - -// Predeclarations. -struct AuthData; -class AuthStateListener; -class IdTokenListener; -class PhoneAuthProvider; -struct AuthCompletionHandle; -class FederatedAuthProvider; -class FederatedOAuthProvider; -struct SignInResult; - -/// @brief Firebase authentication object. -/// -/// -/// @if swig_examples -/// Firebase.Auth.FirebaseAuth is the gateway to the Firebase authentication -/// API. With it, you can reference @ref Firebase.Auth.FirebaseAuth objects to -/// manage user accounts and credentials. -/// -/// Each @ref Firebase.FirebaseApp has up to one Firebase.Auth.FirebaseAuth -/// class. You acquire the Firebase.Auth.FirebaseAuth class through the static -/// function @ref Firebase.Auth.FirebaseAuth.GetAuth. -/// -/// For example: -/// @code{.cs} -/// // Get the Auth class for your App. -/// Firebase.Auth.FirebaseAuth auth = Firebase.Auth.FirebaseAuth.GetAuth(app); -/// -/// // Request anonymous sign-in and wait until asynchronous call completes. -/// auth.SignInAnonymouslyAsync().ContinueWith((authTask) => { -/// // Print sign in results. -/// if (authTask.IsCanceled) { -/// DebugLog("Sign-in canceled."); -/// } else if (authTask.IsFaulted) { -/// DebugLog("Sign-in encountered an error."); -/// DebugLog(authTask.Exception.ToString()); -/// } else if (authTask.IsCompleted) { -/// Firebase.Auth.User user = authTask.Result; -/// DebugLog(String.Format("Signed in as {0} user.", -/// user.Anonymous ? "an anonymous" : "a non-anonymous")); -/// DebugLog("Signing out."); -/// auth.SignOut(); -/// }); -/// @endcode -/// @endif -/// -/// @if cpp_examples -/// -/// firebase::auth::Auth is the gateway to the Firebase authentication API. -/// With it, you can reference @ref firebase::auth::User objects to manage user -/// accounts and credentials. -/// -/// Each @ref firebase::App has up to one firebase::auth::Auth class. You -/// acquire the firebase::auth::Auth class through the static function -/// @ref firebase::auth::Auth::GetAuth. -/// -/// For example: -/// @code{.cpp} -/// -/// // Get the Auth class for your App. -/// firebase::auth::Auth* auth = firebase::auth::Auth::GetAuth(app); -/// -/// // Request anonymous sign-in and wait until asynchronous call completes. -/// firebase::Future sign_in_future = -/// auth->SignInAnonymously(); -/// while(sign_in_future.status() == firebase::kFutureStatusPending) { -/// // when polling, like this, make sure you service your platform's -/// // message loop -/// // see https://github.com/firebase/quickstart-cpp for a sample -/// ProcessEvents(300); -/// std::cout << "Signing in...\n"; -/// } -/// -/// const firebase::auth::AuthError error = -/// static_cast(sign_in_future.error()); -/// if (error != firebase::auth::kAuthErrorNone) { -/// std::cout << "Sign in failed with error '" -/// << sign_in_future.error_message() << "'\n"; -/// } else { -/// firebase::auth::User* user = *sign_in_future.result(); -/// // is_anonymous from Anonymous -/// std::cout << "Signed in as " -/// << (user->is_anonymous() ? "an anonymous" : "a non-anonymous") -/// << " user\n"; -/// } -/// @endcode -/// @endif -class Auth { - public: - /// @brief Results of calls @ref FetchProvidersForEmail. - /// - /// - /// @if swig_examples - /// @see FirebaseAuth.FetchProvidersForEmailAsync(). - /// @endif - /// - struct FetchProvidersResult { - /// The IDPs (identity providers) that can be used for `email`. - /// An array of length `num_providers` of null-terminated strings. - /// - /// The C# doc string is in the SWIG file because nested structs are - /// causing problems b/35780150 - /// - std::vector providers; - }; - - ~Auth(); - - /// Synchronously gets the cached current user, or nullptr if there is none. - /// @note This function may block and wait until the Auth instance finishes - /// loading the saved user's state. This should only happen for a short - /// period of time after the Auth instance is created. - /// - /// @xmlonly - /// - /// Synchronously gets the cached current user, or null if there is none. - /// @note This function may block and wait until the Auth instance finishes - /// loading the saved user's state. This should only happen for a short - /// period of time after the Auth instance is created. - /// - /// @endxmlonly - /// - User* current_user(); - - /// The current user language code. This can be set to the app’s current - /// language by calling set_language_code. The string must be a language code - /// that follows BCP 47. This will return an empty string if the app default - /// language code is being used. - std::string language_code() const; - - /// Sets the user-facing language code for auth operations that can be - /// internationalized, such as FirebaseUser.sendEmailVerification(). This - /// language code should follow the conventions defined by the IETF in BCP 47. - void set_language_code(const char* language_code); - - /// Sets the user-facing language code to be the default app language. This - /// uses a languge associated with the phone's locale data. On desktop - /// this will set the language code to the Firebase service's default. You - /// may subsequently customize the language code again by invoking - /// set_language_code(). - void UseAppLanguage(); - - // ----- Providers ------------------------------------------------------- - /// Asynchronously requests the IDPs (identity providers) that can be used - /// for the given email address. - /// - /// Useful for an "identifier-first" login flow. - /// - /// @if cpp_examples - /// The following sample code illustrates a possible login screen - /// that allows the user to pick an identity provider. - /// @code{.cpp} - /// // This function is called every frame to display the login screen. - /// // Returns the identity provider name, or "" if none selected. - /// const char* DisplayIdentityProviders(firebase::auth::Auth& auth, - /// const char* email) { - /// // Get results of most recent call to FetchProvidersForEmail(). - /// firebase::Future future = - /// auth.FetchProvidersForEmailLastResult(); - /// const firebase::auth::Auth::FetchProvidersResult* result = - /// future.result(); - /// - /// // Header. - /// ShowTextBox("Sign in %s", email); - /// - /// // Fetch providers from the server if we need to. - /// const bool refetch = - /// future.status() == firebase::kFutureStatusInvalid || - /// (result != nullptr && strcmp(email, result->email.c_str()) != 0); - /// if (refetch) { - /// auth.FetchProvidersForEmail(email); - /// } - /// - /// // Show a waiting icon if we're waiting for the asynchronous call to - /// // complete. - /// if (future.status() != firebase::kFutureStatusComplete) { - /// ShowImage("waiting icon"); - /// return ""; - /// } - /// - /// // Show error code if the call failed. - /// if (future.error() != firebase::auth::kAuthErrorNone) { - /// ShowTextBox("Error fetching providers: %s", future.error_message()); - /// } - /// - /// // Show a button for each provider available to this email. - /// // Return the provider for the button that's pressed. - /// for (size_t i = 0; i < result->providers.size(); ++i) { - /// const bool selected = ShowTextButton(result->providers[i].c_str()); - /// if (selected) return result->providers[i].c_str(); - /// } - /// return ""; - /// } - /// @endcode - /// @endif - Future FetchProvidersForEmail(const char* email); - - /// Get results of the most recent call to @ref FetchProvidersForEmail. - Future FetchProvidersForEmailLastResult() const; - - // ----- Sign In --------------------------------------------------------- - /// Asynchronously logs into Firebase with the given Auth token. - /// - /// An error is returned, if the token is invalid, expired or otherwise - /// not accepted by the server. - Future SignInWithCustomToken(const char* token); - - /// Get results of the most recent call to @ref SignInWithCustomToken. - Future SignInWithCustomTokenLastResult() const; - - /// Convenience method for @ref SignInAndRetrieveDataWithCredential that - /// doesn't return additional identity provider data. - Future SignInWithCredential(const Credential& credential); - - /// Get results of the most recent call to @ref SignInWithCredential. - Future SignInWithCredentialLastResult() const; - - /// Sign-in a user authenticated via a federated auth provider. - /// - /// @param[in] provider Contains information on the provider to authenticate - /// with. - /// - /// @return A Future with the result of the sign-in request. - /// - /// @note: This operation is supported only on iOS and Android platforms. On - /// non-mobile platforms this method will return a Future with a preset error - /// code: kAuthErrorUnimplemented. - Future SignInWithProvider(FederatedAuthProvider* provider); - - /// Asynchronously logs into Firebase with the given credentials. - /// - /// For example, the credential could wrap a Facebook login access token or - /// a Twitter token/token-secret pair. - /// - /// The SignInResult contains both a reference to the User (which can be null - /// if the sign in failed), and AdditionalUserInfo, which holds details - /// specific to the Identity Provider used to sign in. - /// - /// An error is returned if the token is invalid, expired, or otherwise not - /// accepted by the server. - Future SignInAndRetrieveDataWithCredential( - const Credential& credential); - - /// Get results of the most recent call to - /// @ref SignInAndRetrieveDataWithCredential. - Future SignInAndRetrieveDataWithCredentialLastResult() const; - - /// Asynchronously creates and becomes an anonymous user. - /// If there is already an anonymous user signed in, that user will be - /// returned instead. - /// If there is any other existing user, that user will be signed out. - /// - /// - /// @if swig_examples - /// @code{.cs} - /// bool SignIn(Firebase.Auth.FirebaseAuth auth) { - /// auth.SignInAnonymouslyAsync().ContinueWith((authTask) => { - /// if (authTask.IsCanceled) { - /// DebugLog("Anonymous sign in canceled."); - /// } else if (authTask.IsFaulted) { - /// DebugLog("Anonymous sign in encountered an error."); - /// DebugLog(authTask.Exception.ToString()); - /// } else if (authTask.IsCompleted) { - /// DebugLog("Anonymous sign in successful!"); - /// } - /// }); - /// } - /// @endcode - /// @endif - /// - /// @if cpp_examples - /// The following sample code illustrates the sign-in flow that might be - /// used by a game or some other program with a regular (for example, 30Hz) - /// update loop. - /// - /// The sample calls SignIn() every frame. We don’t maintain our own - /// Futures but instead call SignInAnonymouslyLastResult() to get the Future - /// of our most recent call. - /// - /// @code{.cpp} - /// // Try to ensure that we get logged in. - /// // This function is called every frame. - /// bool SignIn(firebase::auth::Auth& auth) { - /// // Grab the result of the latest sign-in attempt. - /// firebase::Future future = - /// auth.SignInAnonymouslyLastResult(); - /// - /// // If we're in a state where we can try to sign in, do so. - /// if (future.status() == firebase::kFutureStatusInvalid || - /// (future.status() == firebase::kFutureStatusComplete && - /// future.error() != firebase::auth::kAuthErrorNone)) { - /// auth.SignInAnonymously(); - /// } - /// - /// // We're signed in if the most recent result was successful. - /// return future.status() == firebase::kFutureStatusComplete && - /// future.error() == firebase::auth::kAuthErrorNone; - /// } - /// @endcode - /// @endif - Future SignInAnonymously(); - - /// Get results of the most recent call to @ref SignInAnonymously. - Future SignInAnonymouslyLastResult() const; - - /// Signs in using provided email address and password. - /// An error is returned if the password is wrong or otherwise not accepted - /// by the server. - Future SignInWithEmailAndPassword(const char* email, - const char* password); - - /// Get results of the most recent call to @ref SignInWithEmailAndPassword. - Future SignInWithEmailAndPasswordLastResult() const; - - /// Creates, and on success, logs in a user with the given email address - /// and password. - /// - /// An error is returned when account creation is unsuccessful - /// (due to another existing account, invalid password, etc.). - Future CreateUserWithEmailAndPassword(const char* email, - const char* password); - - /// Get results of the most recent call to - /// @ref CreateUserWithEmailAndPassword. - Future CreateUserWithEmailAndPasswordLastResult() const; - - /// Removes any existing authentication credentials from this client. - /// This function always succeeds. - void SignOut(); - - // ----- Password Reset ------------------------------------------------- - /// Initiates a password reset for the given email address. - /// - /// If the email address is not registered, then the returned task has a - /// status of IsFaulted. - /// - /// - /// @if swig_examples - /// @code{.cs} - /// void ResetPassword(string email) { - /// auth.SendPasswordResetEmail(email).ContinueWith((authTask) => { - /// if (authTask.IsCanceled) { - /// DebugLog("Password reset was canceled."); - /// } else if (authTask.IsFaulted) { - /// DebugLog("Password reset encountered an error."); - /// DebugLog(authTask.Exception.ToString()); - /// } else if (authTask.IsCompleted) { - /// DebugLog("Password reset successful!"); - /// } - /// }); - /// } - /// @endcode - /// @endif - /// - /// @if cpp_examples - /// The following sample code illustrating a possible password reset flow. - /// Like in the Anonymous Sign-In example above, the ResetPasswordScreen() - /// function is called once per frame (say 30 times per second). - /// - /// No state is persisted by the caller in this example. The state of the - /// most recent calls are instead accessed through calls to functions like - /// auth.SendPasswordResetEmailLastResult(). - /// @code{.cpp} - /// const char* ImageNameForStatus(const firebase::FutureBase& future) { - /// assert(future.status() != firebase::kFutureStatusInvalid); - /// return future.status() == firebase::kFutureStatusPending - /// ? "waiting icon" - /// : future.error() == firebase::auth::kAuthErrorNone - /// ? "checkmark icon" - /// : "x mark icon"; - /// } - /// - /// // This function is called once per frame. - /// void ResetPasswordScreen(firebase::auth::Auth& auth) { - /// // Gather email address. - /// // ShowInputBox() returns a value when `enter` is pressed. - /// const std::string email = ShowInputBox("Enter e-mail"); - /// if (email != "") { - /// auth.SendPasswordResetEmail(email.c_str()); - /// } - /// - /// // Show checkmark, X-mark, or waiting icon beside the - /// // email input box, to indicate if email has been sent. - /// firebase::Future send_future = - /// auth.SendPasswordResetEmailLastResult(); - /// ShowImage(ImageNameForStatus(send_future)); - /// - /// // Display error message if the e-mail could not be sent. - /// if (send_future.status() == firebase::kFutureStatusComplete && - /// send_future.error() != firebase::auth::kAuthErrorNone) { - /// ShowTextBox(send_future.error_message()); - /// } - /// } - /// @endcode - /// @endif - Future SendPasswordResetEmail(const char* email); - - /// Get results of the most recent call to @ref SendPasswordResetEmail. - Future SendPasswordResetEmailLastResult() const; - -#ifndef SWIG - /// @brief Registers a listener to changes in the authentication state. - /// - /// There can be more than one listener registered at the same time. - /// The listeners are called asynchronously, possibly on a different thread. - /// - /// Authentication state changes are: - /// - Right after the listener has been registered - /// - When a user signs in - /// - When the current user signs out - /// - When the current user changes - /// - /// It is a recommended practice to always listen to sign-out events, as you - /// may want to prompt the user to sign in again and maybe restrict the - /// information or actions they have access to. - /// - /// Use RemoveAuthStateListener to unregister a listener. - /// - /// @note The caller owns `listener` and is responsible for destroying it. - /// When `listener` is destroyed, or when @ref Auth is destroyed, - /// RemoveAuthStateListener is called automatically. - void AddAuthStateListener(AuthStateListener* listener); - - /// @brief Unregisters a listener of authentication changes. - /// - /// Listener must previously been added with AddAuthStateListener. - /// - /// Note that listeners unregister themselves automatically when they - /// are destroyed, and the Auth class unregisters its listeners when the - /// Auth class itself is destroyed, so this function does not normally need - /// to be called explicitly. - void RemoveAuthStateListener(AuthStateListener* listener); - - /// @brief Registers a listener to changes in the ID token state. - /// - /// There can be more than one listener registered at the same time. - /// The listeners are called asynchronously, possibly on a different thread. - /// - /// Authentication state changes are: - /// - Right after the listener has been registered - /// - When a user signs in - /// - When the current user signs out - /// - When the current user changes - /// - When there is a change in the current user's token - /// - /// Use RemoveIdTokenListener to unregister a listener. - /// - /// @note The caller owns `listener` and is responsible for destroying it. - /// When `listener` is destroyed, or when @ref Auth is destroyed, - /// RemoveIdTokenListener is called automatically. - void AddIdTokenListener(IdTokenListener* listener); - - /// @brief Unregisters a listener of ID token changes. - /// - /// Listener must previously been added with AddIdTokenListener. - /// - /// Note that listeners unregister themselves automatically when they - /// are destroyed, and the Auth class unregisters its listeners when the - /// Auth class itself is destroyed, so this function does not normally need - /// to be called explicitly. - void RemoveIdTokenListener(IdTokenListener* listener); -#endif // not SWIG - - /// Gets the App this auth object is connected to. - App& app(); - - /// Returns the Auth object for an App. Creates the Auth if required. - /// - /// To get the Auth object for the default app, use, - /// GetAuth(GetDefaultFirebaseApp()); - /// - /// If the library Auth fails to initialize, init_result_out will be - /// written with the result status (if a pointer is given). - /// - /// @param[in] app The App to use for the Auth object. - /// @param[out] init_result_out Optional: If provided, write the init result - /// here. Will be set to kInitResultSuccess if initialization succeeded, or - /// kInitResultFailedMissingDependency on Android if Google Play services is - /// not available on the current device. - static Auth* GetAuth(App* app, InitResult* init_result_out = nullptr); - - private: - /// @cond FIREBASE_APP_INTERNAL - friend class ::firebase::App; - friend class ::firebase::auth::PhoneAuthProvider; - friend class IdTokenRefreshListener; - friend class IdTokenRefreshThread; - friend class UserDataPersist; - friend class UserDesktopTest; - friend class AuthDesktopTest; - - friend void EnableTokenAutoRefresh(AuthData* authData); - friend void DisableTokenAutoRefresh(AuthData* authData); - friend void ResetTokenRefreshCounter(AuthData* authData); - friend void LogHeartbeat(Auth* auth); - /// @endcond - - // Find Auth instance using App. Return null if the instance does not exist. - static Auth* FindAuth(App* app); - - // Provides access to the auth token for the current user. Returns the - // current user's auth token, or an empty string, if there isn't one. - // Note that this can potentially return an expired token from the cache. - static bool GetAuthTokenForRegistry(App* app, void* /*unused*/, void* out); - - // Provides asynchronous access to the auth token for the current user. Allow - // the caller to force-refresh the token. Even without force-refresh, this - // ensure the future contain a fresh current user's auth token. This function - // returns invalid future if user data is not available. - static bool GetAuthTokenAsyncForRegistry(App* app, void* force_refresh, - void* out_future); - - // Provides access to the current user's uid, equivalent to calling - // this->current_user()->uid(). Returns the current user's uid or an empty - // string, if there isn't one. The out pointer is expected to point to an - // instance of std::string. - static bool GetCurrentUserUidForRegistry(App* app, void* /*unused*/, - void* out); - - // Starts and stops a thread to ensure that the cached auth token is never - // kept long enough for it to expire. Refcounted, so multiple classes can - // register this without causing problems. - static bool StartTokenRefreshThreadForRegistry(App* app, void* /*unused*/, - void* /*unused*/); - static bool StopTokenRefreshThreadForRegistry(App* app, void* /*unused*/, - void* /*unused*/); - - // Adds an indirect auth state listener implemented as a callback and a - // context object. - // - // @param callback a function pointer that takes a single void* argument and - // returns void (i.e. it has type void (*)(void*)). - // @param context a pointer to an arbitrary object that Auth will pass to - // the callback when the auth state changes. - static bool AddAuthStateListenerForRegistry(App* app, void* callback, - void* context); - - // Removes the indirect auth state listener that was added with the same - // arguments. - static bool RemoveAuthStateListenerForRegistry(App* app, void* callback, - void* context); - - // Init and Destroy the platform specific auth data. - void InitPlatformAuth(AuthData* const auth_data); - void DestroyPlatformAuth(AuthData* const auth_data); - - // Call GetAuth() to create an Auth object. - // Constructors and destructors don't make any external calls. - // They just initialize and deinitialize internal variables. - Auth(App* app, void* auth_impl); - - // Delete the internal AuthData object. - void DeleteInternal(); - - // This class uses the pimpl mechanism to avoid exposing platform-dependent - // implementation. - AuthData* auth_data_; -}; - -#ifndef SWIG -/// @brief Listener called when there is a change in the authentication state. -/// -/// Override base class method to handle authentication state changes. -/// Methods are invoked asynchronously and may be invoked on other threads. -class AuthStateListener { - public: - /// @note: Destruction of the listener automatically calls - /// RemoveAuthStateListener() from the Auths this listener is registered with, - /// if those Auths have not yet been destroyed. - virtual ~AuthStateListener(); - - /// Called when the authentication state of `auth` changes. - /// - Right after the listener has been registered - /// - When a user is signed in - /// - When the current user is signed out - /// - When the current user changes - /// - /// @param[in] auth Disambiguates which @ref Auth instance the event - /// corresponds to, in the case where you are using more than one at the same - /// time. - virtual void OnAuthStateChanged(Auth* auth) = 0; - - private: - /// @cond FIREBASE_APP_INTERNAL - friend class Auth; - /// @endcond - - /// The Auths with which this listener has been registered. - std::vector auths_; -}; -#endif // not SWIG - -#ifndef SWIG -/// @brief Listener called when there is a change in the ID token. -/// -/// Override base class method to handle ID token changes. -/// Methods are invoked asynchronously and may be invoked on other threads. -class IdTokenListener { - public: - /// @note: Destruction of the listener automatically calls - /// RemoveIdTokenListener() from the Auths this listener is registered with, - /// if those Auths have not yet been destroyed. - virtual ~IdTokenListener(); - - /// Called when there is a change in the current user's token. - /// - Right after the listener has been registered - /// - When a user signs in - /// - When the current user signs out - /// - When the current user changes - /// - When there is a change in the current user's token - /// - /// @param[in] auth Disambiguates which @ref Auth instance the event - /// corresponds to, in the case where you are using more than one at the same - /// time. - virtual void OnIdTokenChanged(Auth* auth) = 0; - - private: - /// @cond FIREBASE_APP_INTERNAL - friend class Auth; - /// @endcond - - /// The Auths with which this listener has been registered. - std::vector auths_; -}; - -#endif // not SWIG - -/// @brief Used to authenticate with Federated Auth Providers. -/// -/// The federated auth provider implementation may facilitate multiple provider -/// types in the future, with support for OAuth to start. -class FederatedAuthProvider { - public: -#ifdef INTERNAL_EXPERIMENTAL -#ifndef SWIG - /// @brief Contains resulting information of a user authenticated by a - /// Federated Auth Provider. This information will be used by the internal - /// implementation to construct a corresponding User object. - struct AuthenticatedUserData { - /// The unique ID identifies the IdP account. - const char* uid; - - /// [opt] The email of the account. - const char* email; - - /// Whether the sign-in email is verified. - bool is_email_verified; - - /// [opt] The display name for the account. - const char* display_name; - - /// [opt] The username for the account. - const char* user_name; - - /// [opt] The photo Url for the account, if one exists. - const char* photo_url; - - /// The linked provider ID (e.g. "google.com" for the Google provider). - const char* provider_id; - - /// A Firebase Auth ID token for the authenticated user. - const char* access_token; - - /// A Firebase Auth refresh token for the authenticated user. - const char* refresh_token; - - /// [opt] IdP user profile data corresponding to the provided credential. - std::map raw_user_info; - - /// The number of seconds in which the ID token expires. - uint64_t token_expires_in_seconds; - }; - - /// @brief Handlers for client applications to facilitate federated auth - /// requests on non-mobile systems. - template - class Handler { - public: - virtual ~Handler() {} - - /// @brief Application sign-in handler. - /// - /// The application must implement this method to handle federated auth user - /// sign-in requests on non-mobile systems. - /// - /// @param[in] provider_data Contains information on the provider to - /// authenticate with. - /// @param[in] completion_handle Internal data pertaining to this operation - /// which must be passed to SignInComplete once the handler has completed - /// the sign in operation. - /// - /// @see Auth#SignInWithProvider - /// @see SignInComplete - virtual void OnSignIn(const T& provider_data, - AuthCompletionHandle* completion_handle) = 0; - - /// Completion for OnSignIn events. - /// - /// Invoke this method once the corresponding OnSignIn has been fulfilled. - /// This method will trigger the associated Future previously - /// returned from the Auth::SignInWithProvider method. - /// - /// @param[in] completion_handle The handle provided to the application's - /// FederatedAuthProvider::Handler::OnSignIn method. - /// @param[in] user_data The application's resulting Firebase user - /// values following the authorization request. - /// @param[in] auth_error The enumerated status code of the authorization - /// request. - /// @param[in] error_message An optional error message to be set in the - /// Future. - /// - /// @see OnSignIn - /// @see Auth::SignInWithProvider - void SignInComplete(AuthCompletionHandle* completion_handle, - const AuthenticatedUserData& user_data, - AuthError auth_error, const char* error_message); - - /// @brief Application user account link handler. - /// - /// The application must implement this method to handle federated auth user - /// link requests on non-mobile systems. - /// - /// @param[in] provider_data Contains information on the provider to - /// authenticate with. - /// @param[in] completion_handle Internal data pertaining to this operation - /// which must be passed to LinkComplete once the handler has completed the - /// user link operation. - /// - /// @see User#LinkWithProvider - virtual void OnLink(const T& provider_data, - AuthCompletionHandle* completion_handle) = 0; - - /// Completion for non-mobile user authorization handlers. - /// - /// Invoke this method once the OnLine process has been fulfilled. This - /// method will trigger the associated Future previously - /// returned from an invocation of User::LinkWithProvider. - /// - /// @param[in] completion_handle The handle provided to the - /// application's FederatedAuthProvider::Handler::OnLink method. - /// @param[in] user_data The application's resulting Firebase user - /// values following the user link request. - /// @param[in] auth_error The enumerated status code of the user link - /// request. - /// @param[in] error_message An optional error message to be set in the - /// Future. - /// - /// @see OnLink - /// @see User#LinkWithProvider - void LinkComplete(AuthCompletionHandle* completion_handle, - const AuthenticatedUserData& user_data, - AuthError auth_error, const char* error_message); - - /// @brief Application user re-authentication handler. - /// - /// The application must implement this method to handle federated auth user - /// re-authentication requests on non-mobile systems. - /// - /// @param[in] provider_data Contains information on the provider to - /// authenticate with. - /// @param[in] completion_handle Internal data pertaining to this operation - /// which must be passed to ReauthenticateComplete once the handler has - /// completed the reauthentication operation. - /// - /// @see User#ReauthenticateWithProviderComplete - virtual void OnReauthenticate(const T& provider_data, - AuthCompletionHandle* completion_handle) = 0; - - /// Completion for non-mobile user authorization handlers. - /// - /// Invoke this method once the OnReauthenticate process has been - /// fulfilled. This method will trigger the associated Future - /// previously returned from an invocation of - /// User::ReauthenticateWithProvider. - /// - /// @param[in] completion_handle The handle provided to the application's - /// FederatedAuthProvider::Handler::OnReauthenticate method. - /// @param[in] user_data The application's resulting Firebase user - /// values following the user re-authentication request. - /// @param[in] auth_error The enumerated status code of the reauthentication - /// request. - /// @param[in] error_message An optional error message to be set in the - /// Future. - /// - /// @see OnReauthenticate - /// @see User#ReuthenticateWithProvider - void ReauthenticateComplete(AuthCompletionHandle* completion_handle, - const AuthenticatedUserData& user_data, - AuthError auth_error, - const char* error_message); - }; -#endif // not SWIG -#endif // INTERNAL_EXPERIMENTAL - - FederatedAuthProvider() {} - virtual ~FederatedAuthProvider() {} - - private: - friend class ::firebase::auth::Auth; - friend class ::firebase::auth::User; - virtual Future SignIn(AuthData* auth_data) = 0; - virtual Future Link(AuthData* auth_data) = 0; - virtual Future Reauthenticate(AuthData* auth_data) = 0; -}; - -/// @brief Authenticates with Federated OAuth Providers via the -/// firebase::auth::Auth and firebase::auth::User classes. -/// -/// Once configured with a provider id, and with OAuth scope and OAuth custom -/// parameters via an FedeartedOAuthProviderData structure, an object of -/// this class may be used via Auth::SignInWithProvider to sign-in users, or via -/// User::LinkWithProvider and User::ReauthenticateWithProvider for cross -/// account linking and user reauthentication, respectively. -class FederatedOAuthProvider : public FederatedAuthProvider { - public: -#ifdef INTERNAL_EXPERIMENTAL -#ifndef SWIG - /// @brief A FederatedAuthProvider typed specifically for OAuth Authentication - /// handling. - /// - /// To be used on non-mobile environments for custom OAuth implementations and - /// UI flows. - typedef FederatedAuthProvider::Handler - AuthHandler; -#endif // !SWIG -#endif // INTERNAL_EXPERIMENTAL - - /// Constructs an unconfigured provider. - FederatedOAuthProvider(); - - /// Constructs a FederatedOAuthProvider preconfigured with provider data. - /// - /// @param[in] provider_data Contains the federated provider id and OAuth - /// scopes and OAuth custom parameters required for user authentication and - /// user linking. - explicit FederatedOAuthProvider( - const FederatedOAuthProviderData& provider_data); - -#ifdef INTERNAL_EXPERIMENTAL -#ifndef SWIG - /// @brief Constructs a provider with the required information to authenticate - /// using an OAuth Provider. - /// - /// An AuthHandler is required on desktop platforms to facilitate custom - /// implementations of OAuth authentication. The AuthHandler must outlive the - /// instance of this OAuthProvider on desktop systems and is ignored on iOS - /// and Android platforms. - /// - /// @param[in] provider_data Contains information on the provider to - /// authenticate with. - /// @param[in] handler An FederatedOAuthProviderData typed - /// FederatedAuthProvider::Handler which be invoked on non-mobile systems - /// to handle authentication requests. - FederatedOAuthProvider(const FederatedOAuthProviderData& provider_data, - AuthHandler* handler); -#endif // !SWIG -#endif // INTERNAL_EXPERIMENTAL - - ~FederatedOAuthProvider() override; - - /// @brief Configures the provider with OAuth provider information. - /// - /// @param[in] provider_data Contains the federated provider id and OAuth - /// scopes and OAuth custom parameters required for user authentication and - /// user linking. - void SetProviderData(const FederatedOAuthProviderData& provider_data); - -#ifdef INTERNAL_EXPERIMENTAL -#ifndef SWIG - /// @brief Configures the use of an AuthHandler for non-mobile systems. - /// - /// The existence of a handler is required for non-mobile systems, and is - /// ignored on iOS and Android platforms. - /// - /// @param[in] handler An FederatedOAuthProviderData typed - /// FederatedAuthProvider::Handler which be invoked on non-mobile systems - /// to handle authentication requests. The handler must outlive the instance - /// of this FederatedOAuthProvider. - void SetAuthHandler(AuthHandler* handler); -#endif // !SWIG -#endif // INTERNAL_EXPERIMENTAL - - private: - friend class ::firebase::auth::Auth; - - Future SignIn(AuthData* auth_data) override; - Future Link(AuthData* auth_data) override; - Future Reauthenticate(AuthData* auth_data) override; - - FederatedOAuthProviderData provider_data_; -#ifdef INTERNAL_EXPERIMENTAL - AuthHandler* handler_; -#endif // INTERNAL_EXPERIMENTAL -}; - -} // namespace auth -} // namespace firebase - -#endif // FIREBASE_AUTH_SRC_INCLUDE_FIREBASE_AUTH_H_ diff --git a/vendors/firebase/include/firebase/auth/credential.h b/vendors/firebase/include/firebase/auth/credential.h deleted file mode 100644 index 0af31b497..000000000 --- a/vendors/firebase/include/firebase/auth/credential.h +++ /dev/null @@ -1,631 +0,0 @@ -/* - * Copyright 2016 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef FIREBASE_AUTH_SRC_INCLUDE_FIREBASE_AUTH_CREDENTIAL_H_ -#define FIREBASE_AUTH_SRC_INCLUDE_FIREBASE_AUTH_CREDENTIAL_H_ - -#include - -#include - -#include "firebase/auth/types.h" -#include "firebase/internal/common.h" - -namespace firebase { - -// Predeclarations. -class App; - -/// @cond FIREBASE_APP_INTERNAL -template -class Future; -/// @endcond - -namespace auth { - -// Predeclarations. -class Auth; -class User; - -// Opaque internal types. -struct AuthData; -class ForceResendingTokenData; -struct PhoneAuthProviderData; -struct PhoneListenerData; - -/// @brief Authentication credentials for an authentication provider. -/// -/// An authentication provider is a service that allows you to authenticate -/// a user. Firebase provides email/password authentication, but there are also -/// external authentication providers such as Facebook. -class Credential { -#ifndef SWIG - /// @cond FIREBASE_APP_INTERNAL - friend class EmailAuthProvider; - friend class FacebookAuthProvider; - friend class GameCenterAuthProvider; - friend class GitHubAuthProvider; - friend class GoogleAuthProvider; - friend class JniAuthPhoneListener; - friend class MicrosoftAuthProvider; - friend class OAuthProvider; - friend class PhoneAuthProvider; - friend class PlayGamesAuthProvider; - friend class TwitterAuthProvider; - friend class YahooAuthProvider; - friend class ServiceUpdatedCredentialProvider; - /// @endcond -#endif // !SWIG - - private: - /// Should only be created by `Provider` classes. - /// - /// @see EmailAuthProvider::GetCredential() - /// @see FacebookAuthProvider::GetCredential() - /// @see GoogleAuthProvider::GetCredential() - explicit Credential(void* impl) : impl_(impl), error_code_(kAuthErrorNone) {} - - public: - Credential() : impl_(nullptr), error_code_(kAuthErrorNone) {} - ~Credential(); - - /// Copy constructor. - Credential(const Credential& rhs); - - /// Copy a Credential. - Credential& operator=(const Credential& rhs); - - /// Gets the name of the Identification Provider (IDP) for the credential. - /// - /// - /// @xmlonly - /// - /// Gets the name of the Identification Provider (IDP) for the credential. - /// - /// @endxmlonly - /// - std::string provider() const; - - /// Get whether this credential is valid. A credential can be - /// invalid in an error condition, e.g. empty username/password. - /// - /// @returns True if the credential is valid, false otherwise. - bool is_valid() const; - - protected: - /// @cond FIREBASE_APP_INTERNAL - friend class Auth; - friend class User; - - /// Platform-specific implementation. - /// For example, FIRAuthCredential* on iOS. - void* impl_; - - // If not kAuthErrorNone, then use this error code and string to override - // whatever error we would normally return when trying to sign-in with this - // credential. - AuthError error_code_; - std::string error_message_; - /// @endcond -}; - -/// @brief Use email and password to authenticate. -/// -/// Allows developers to use the email and password credentials as they could -/// other auth providers. For example, this can be used to change passwords, -/// log in, etc. -class EmailAuthProvider { - public: - /// Generate a credential from the given email and password. - /// - /// @param email E-mail to generate the credential from. - /// @param password Password to use for the new credential. - /// - /// @returns New Credential. - static Credential GetCredential(const char* email, const char* password); - - /// The string used to identify this provider. - static const char* const kProviderId; -}; - -/// @brief Use an access token provided by Facebook to authenticate. -class FacebookAuthProvider { - public: - /// Generate a credential from the given Facebook token. - /// - /// @param access_token Facebook token to generate the credential from. - /// - /// @returns New Credential. - static Credential GetCredential(const char* access_token); - - /// The string used to identify this provider. - static const char* const kProviderId; -}; - -/// @brief GameCenter (iOS) auth provider -class GameCenterAuthProvider { - public: - /// Generate a credential from GameCenter for the current user. - /// - /// @return a Future that will be fulfilled with the resulting credential. - static Future GetCredential(); - - /// Get the result of the most recent GetCredential() call. - /// - /// @return an object which can be used to retrieve the Credential. - static Future GetCredentialLastResult(); - - /// Tests to see if the current user is signed in to GameCenter. - /// - /// @return true if the user is signed in, false otherwise. - static bool IsPlayerAuthenticated(); - - /// The string used to identify this provider. - static const char* const kProviderId; -}; - -/// @brief Use an access token provided by GitHub to authenticate. -class GitHubAuthProvider { - public: - /// Generate a credential from the given GitHub token. - /// - /// @param token The GitHub OAuth access token. - /// - /// @returns New Credential. - static Credential GetCredential(const char* token); - - /// The string used to identify this provider. - static const char* const kProviderId; -}; - -/// @brief Use an ID token and access token provided by Google to authenticate. -class GoogleAuthProvider { - public: - /// Generate a credential from the given Google ID token and/or access token. - /// - /// @param id_token Google Sign-In ID token. - /// @param access_token Google Sign-In access token. - /// - /// @returns New Credential. - static Credential GetCredential(const char* id_token, - const char* access_token); - - /// The string used to identify this provider. - static const char* const kProviderId; -}; - -/// @brief Use an access token provided by Microsoft to authenticate. -class MicrosoftAuthProvider { - public: - /// The string used to identify this provider. - static const char* const kProviderId; -}; - -/// @brief OAuth2.0+UserInfo auth provider (OIDC compliant and non-compliant). -class OAuthProvider { - public: - /// Generate a credential for an OAuth2 provider. - /// - /// @param provider_id Name of the OAuth2 provider - /// TODO(jsanmiya) add examples. - /// @param id_token The authentication token (OIDC only). - /// @param access_token TODO(jsanmiya) add explanation (currently missing - /// from Android and iOS implementations). - static Credential GetCredential(const char* provider_id, const char* id_token, - const char* access_token); - - /// Generate a credential for an OAuth2 provider. - /// - /// @param provider_id Name of the OAuth2 provider. - /// @param id_token The authentication token (OIDC only). - /// @param raw_nonce The raw nonce associated with the Auth credential being - /// created. - /// @param access_token The access token associated with the Auth credential - /// to be created, if available. This value may be null. - static Credential GetCredential(const char* provider_id, const char* id_token, - const char* raw_nonce, - const char* access_token); -}; - -/// @brief Use phone number text messages to authenticate. -/// -/// Allows developers to use the phone number and SMS verification codes -/// to authenticate a user. -/// -/// The verification flow results in a Credential that can be used to, -/// * Sign in to an existing phone number account/sign up with a new -/// phone number -/// * Link a phone number to a current user. This provider will be added to -/// the user. -/// * Update a phone number on an existing user. -/// * Re-authenticate an existing user. This may be needed when a sensitive -/// operation requires the user to be recently logged in. -/// -/// Possible verification flows: -/// (1) User manually enters verification code. -/// @if cpp_examples -/// - App calls @ref VerifyPhoneNumber. -/// - Web verification page is displayed to user where they may need to -/// solve a CAPTCHA. [iOS only]. -/// - Auth server sends the verification code via SMS to the provided -/// phone number. App receives verification id via Listener::OnCodeSent(). -/// - User receives SMS and enters verification code in app's GUI. -/// - App uses user's verification code to call -/// @ref PhoneAuthProvider::GetCredential. -/// @endif -/// -/// @if swig_examples -/// - App calls @ref VerifyPhoneNumber. -/// - Web verification page is displayed to user where they may need to -/// solve a CAPTCHA. [iOS only]. -/// - Auth server sends the verification code via SMS to the provided -/// phone number. App receives verification id via @ref CodeSent. -/// - User receives SMS and enters verification code in app's GUI. -/// - App uses user's verification code to call -/// @ref PhoneAuthProvider::GetCredential. -/// @endif -/// -/// -/// (2) SMS is automatically retrieved (Android only). -/// - App calls @ref VerifyPhoneNumber with `timeout_ms` > 0. -/// - Auth server sends the verification code via SMS to the provided -/// phone number. -/// - SMS arrives and is automatically retrieved by the operating system. -/// Credential is automatically created and passed to the app via -/// @if cpp_examples -/// Listener::OnVerificationCompleted(). -/// @endif -/// -/// @if swig_examples -/// @ref VerificationCompleted. -/// @endif -/// -/// -/// (3) Phone number is instantly verified (Android only). -/// - App calls @ref VerifyPhoneNumber. -/// - The operating system validates the phone number without having to -/// send an SMS. Credential is automatically created and passed to -/// the app via -/// @if cpp_examples -/// Listener::OnVerificationCompleted(). -/// @endif -/// -/// @if swig_examples -/// @ref VerificationCompleted. -/// @endif -/// -/// -/// @if cpp_examples -/// All three flows can be handled with the example code below. -/// The flow is complete when PhoneVerifier::credential() returns non-NULL. -/// -/// @code{.cpp} -/// class PhoneVerifier : public PhoneAuthProvider::Listener { -/// public: -/// PhoneVerifier(const char* phone_number, -/// PhoneAuthProvider* phone_auth_provider) -/// : display_message_("Sending SMS with verification code"), -/// display_verification_code_input_box_(false), -/// display_resend_sms_button_(false), -/// phone_auth_provider_(phone_auth_provider), -/// phone_number_(phone_number) { -/// SendSms(); -/// } -/// -/// ~PhoneVerifier() override {} -/// -/// void OnVerificationCompleted(Credential credential) override { -/// // Grab `mutex_` for the scope of `lock`. Callbacks can be called on -/// // other threads, so this mutex ensures data access is atomic. -/// MutexLock lock(mutex_); -/// credential_ = credential; -/// } -/// -/// void OnVerificationFailed(const std::string& error) override { -/// MutexLock lock(mutex_); -/// display_message_ = "Verification failed with error: " + error; -/// } -/// -/// void OnCodeSent(const std::string& verification_id, -/// const PhoneAuthProvider::ForceResendingToken& -/// force_resending_token) override { -/// MutexLock lock(mutex_); -/// verification_id_ = verification_id; -/// force_resending_token_ = force_resending_token; -/// -/// display_verification_code_input_box_ = true; -/// display_message_ = "Waiting for SMS"; -/// } -/// -/// void OnCodeAutoRetrievalTimeOut( -/// const std::string& verification_id) override { -/// MutexLock lock(mutex_); -/// display_resend_sms_button_ = true; -/// } -/// -/// // Draw the verification GUI on screen and process input events. -/// void Draw() { -/// MutexLock lock(mutex_); -/// -/// // Draw an informative message describing what's currently happening. -/// ShowTextBox(display_message_.c_str()); -/// -/// // Once the time out expires, display a button to resend the SMS. -/// // If the button is pressed, call VerifyPhoneNumber again using the -/// // force_resending_token_. -/// if (display_resend_sms_button_ && !verification_id_.empty()) { -/// const bool resend_sms = ShowTextButton("Resend SMS"); -/// if (resend_sms) { -/// SendSms(); -/// } -/// } -/// -/// // Once the SMS has been sent, allow the user to enter the SMS -/// // verification code into a text box. When the user has completed -/// // entering it, call GetCredential() to complete the flow. -/// if (display_verification_code_input_box_) { -/// const std::string verification_code = -/// ShowInputBox("Verification code"); -/// if (!verification_code.empty()) { -/// credential_ = phone_auth_provider_->GetCredential( -/// verification_id_.c_str(), verification_code.c_str()); -/// } -/// } -/// } -/// -/// // The phone number verification flow is complete when this returns -/// // non-NULL. -/// Credential* credential() { -/// MutexLock lock(mutex_); -/// return credential_.is_valid() ? &credential_ : nullptr; -/// } -/// -/// private: -/// void SendSms() { -/// static const uint32_t kAutoVerifyTimeOut = 2000; -/// MutexLock lock(mutex_); -/// phone_auth_provider_->VerifyPhoneNumber( -/// phone_number_.c_str(), kAutoVerifyTimeOut, &force_resending_token_, -/// this); -/// display_resend_sms_button_ = false; -/// } -/// -/// // GUI-related variables. -/// std::string display_message_; -/// bool display_verification_code_input_box_; -/// bool display_resend_sms_button_; -/// -/// // Phone flow related variables. -/// PhoneAuthProvider* phone_auth_provider_; -/// std::string phone_number_; -/// std::string verification_id_; -/// PhoneAuthProvider::ForceResendingToken force_resending_token_; -/// Credential credential_; -/// -/// // Callbacks can be called on other threads, so guard them with a mutex. -/// Mutex mutex_; -/// }; -/// @endcode -/// @endif -class PhoneAuthProvider { - public: - /// @brief Token to maintain current phone number verification session. - /// Acquired via @ref Listener::OnCodeSent. Used in @ref VerifyPhoneNumber. - class ForceResendingToken { - public: - /// This token will be invalid until it is assigned a value sent via - /// @ref Listener::OnCodeSent. It can still be passed into - /// @ref VerifyPhoneNumber, but it will be ignored. - ForceResendingToken(); - - /// Make `this` token refer to the same phone session as `rhs`. - ForceResendingToken(const ForceResendingToken& rhs); - - /// Releases internal resources when destructing. - ~ForceResendingToken(); - - /// Make `this` token refer to the same phone session as `rhs`. - ForceResendingToken& operator=(const ForceResendingToken& rhs); - - /// Return true if `rhs` is refers to the same phone number session as - /// `this`. - bool operator==(const ForceResendingToken& rhs) const; - - /// Return true if `rhs` is refers to a different phone number session as - /// `this`. - bool operator!=(const ForceResendingToken& rhs) const; - - private: - friend class JniAuthPhoneListener; - friend class PhoneAuthProvider; - ForceResendingTokenData* data_; - }; - - /// @brief Receive callbacks from @ref VerifyPhoneNumber events. - /// - /// Please see @ref PhoneAuthProvider for a sample implementation. - class Listener { - public: - Listener(); - virtual ~Listener(); - - /// @brief Phone number auto-verification succeeded. - /// - /// Called when, - /// - auto-sms-retrieval has succeeded--flow (2) in @ref PhoneAuthProvider - /// - instant validation has succeeded--flow (3) in @ref PhoneAuthProvider - /// - /// @note This callback is never called on iOS, since iOS does not have - /// auto-validation. It is always called immediately in the stub desktop - /// implementation, however, since it fakes immediate success. - /// - /// @param[in] credential The completed credential from the phone number - /// verification flow. - virtual void OnVerificationCompleted(Credential credential) = 0; - - /// @brief Phone number verification failed with an error. - /// - /// Called when and error occurred doing phone number authentication. - /// For example, - /// - quota exceeded - /// - unknown phone number format - /// - /// @param[in] error A description of the failure. - virtual void OnVerificationFailed(const std::string& error) = 0; - - /// @brief SMS message with verification code sent to phone number. - /// - /// Called immediately after Auth server sends a verification SMS. - /// Once receiving this, you can allow users to manually input the - /// verification code (even if you're also performing auto-verification). - /// For user manual input case, get the SMS verification code from the user - /// and then call @ref GetCredential with the user's code. - /// - /// @param[in] verification_id Pass to @ref GetCredential along with the - /// user-input verification code to complete the phone number verification - /// flow. - /// @param[in] force_resending_token If the user requests that another SMS - /// message be sent, use this when you recall @ref VerifyPhoneNumber. - virtual void OnCodeSent(const std::string& verification_id, - const ForceResendingToken& force_resending_token); - - /// @brief The timeout specified in @ref VerifyPhoneNumber has expired. - /// - /// Called once `auto_verify_time_out_ms` has passed. - /// If using auto SMS retrieval, you can choose to block the UI (do not - /// allow manual input of the verification code) until timeout is hit. - /// - /// @note This callback is called immediately on iOS, since iOS does not - /// have auto-validation. - /// - /// @param[in] verification_id Identify the transaction that has timed out. - virtual void OnCodeAutoRetrievalTimeOut(const std::string& verification_id); - - private: - friend class PhoneAuthProvider; - - /// Back-pointer to the data of the PhoneAuthProvider that - /// @ref VerifyPhoneNumber was called with. Used internally. - PhoneListenerData* data_; - }; - - /// Maximum value of `auto_verify_time_out_ms` in @ref VerifyPhoneNumber. - /// Larger values will be clamped. - /// - /// @deprecated This value is no longer used to clamp - /// `auto_verify_time_out_ms` in @ref VerifyPhoneNumber. The range is - /// determined by the underlying SDK, ex. PhoneAuthOptions.Build - /// in Android SDK - static const uint32_t kMaxTimeoutMs; - - /// Start the phone number authentication operation. - /// - /// @param[in] phone_number The phone number identifier supplied by the user. - /// Its format is normalized on the server, so it can be in any format - /// here. - /// @param[in] auto_verify_time_out_ms The time out for SMS auto retrieval, in - /// miliseconds. Currently SMS auto retrieval is only supported on Android. - /// If 0, do not do SMS auto retrieval. - /// If positive, try to auto-retrieve the SMS verification code. - /// When the time out is exceeded, listener->OnCodeAutoRetrievalTimeOut() - /// is called. - /// @param[in] force_resending_token If NULL, assume this is a new phone - /// number to verify. If not-NULL, bypass the verification session deduping - /// and force resending a new SMS. - /// This token is received in @ref Listener::OnCodeSent. - /// This should only be used when the user presses a Resend SMS button. - /// @param[in,out] listener Class that receives notification whenever an SMS - /// verification event occurs. See sample code at top of class. - void VerifyPhoneNumber(const char* phone_number, - uint32_t auto_verify_time_out_ms, - const ForceResendingToken* force_resending_token, - Listener* listener); - - /// Generate a credential for the given phone number. - /// - /// @param[in] verification_id The id returned when sending the verification - /// code. Sent to the caller via @ref Listener::OnCodeSent. - /// @param[in] verification_code The verification code supplied by the user, - /// most likely by a GUI where the user manually enters the code - /// received in the SMS sent by @ref VerifyPhoneNumber. - /// - /// @returns New Credential. - Credential GetCredential(const char* verification_id, - const char* verification_code); - - /// Return the PhoneAuthProvider for the specified `auth`. - /// - /// @param[in] auth The Auth session for which we want to get a - /// PhoneAuthProvider. - static PhoneAuthProvider& GetInstance(Auth* auth); - - /// The string used to identify this provider. - static const char* const kProviderId; - - private: - friend struct AuthData; - friend class JniAuthPhoneListener; - - // Use @ref GetInstance to access the PhoneAuthProvider. - PhoneAuthProvider(); - - // The PhoneAuthProvider is owned by the Auth class. - ~PhoneAuthProvider(); - - PhoneAuthProviderData* data_; -}; - -/// @brief Use a server auth code provided by Google Play Games to authenticate. -class PlayGamesAuthProvider { - public: - /// Generate a credential from the given Server Auth Code. - /// - /// @param server_auth_code Play Games Sign in Server Auth Code. - /// - /// @return New Credential. - static Credential GetCredential(const char* server_auth_code); - - /// The string used to identify this provider. - static const char* const kProviderId; -}; - -/// @brief Use a token and secret provided by Twitter to authenticate. -class TwitterAuthProvider { - public: - /// Generate a credential from the given Twitter token and password. - /// - /// @param token The Twitter OAuth token. - /// @param secret The Twitter OAuth secret. - /// - /// @return New Credential. - static Credential GetCredential(const char* token, const char* secret); - - /// The string used to identify this provider. - static const char* const kProviderId; -}; - -/// @brief Use an access token provided by Yahoo to authenticate. -class YahooAuthProvider { - public: - /// The string used to identify this provider. - static const char* const kProviderId; -}; - -} // namespace auth -} // namespace firebase - -#endif // FIREBASE_AUTH_SRC_INCLUDE_FIREBASE_AUTH_CREDENTIAL_H_ diff --git a/vendors/firebase/include/firebase/auth/types.h b/vendors/firebase/include/firebase/auth/types.h deleted file mode 100644 index ae715c8ce..000000000 --- a/vendors/firebase/include/firebase/auth/types.h +++ /dev/null @@ -1,473 +0,0 @@ -/* - * Copyright 2016 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef FIREBASE_AUTH_SRC_INCLUDE_FIREBASE_AUTH_TYPES_H_ -#define FIREBASE_AUTH_SRC_INCLUDE_FIREBASE_AUTH_TYPES_H_ - -#include -#include -#include - -namespace firebase { -namespace auth { - -/// All possible error codes from asynchronous calls. -/// For error details, -/// @if cpp_examples -/// call Future::ErrorMessage(). -/// @endif -/// -/// @if swig_examples -/// use the FirebaseException.Message property. -/// @endif -/// -enum AuthError { - /// Success. - kAuthErrorNone = 0, - - /// Function will be implemented in a later revision of the API. - kAuthErrorUnimplemented = -1, - - /// This indicates an internal error. - /// Common error code for all API Methods. - kAuthErrorFailure = 1, - - /// Indicates a validation error with the custom token. - /// This error originates from "bring your own auth" methods. - kAuthErrorInvalidCustomToken, - - /// Indicates the service account and the API key belong to different - /// projects. - /// Caused by "Bring your own auth" methods. - kAuthErrorCustomTokenMismatch, - - /// Indicates the IDP token or requestUri is invalid. - /// Caused by "Sign in with credential" methods. - kAuthErrorInvalidCredential, - - /// Indicates the user’s account is disabled on the server. - /// Caused by "Sign in with credential" methods. - kAuthErrorUserDisabled, - - /// Indicates an account already exists with the same email address but using - /// different sign-in credentials. Account linking is required. - /// Caused by "Sign in with credential" methods. - kAuthErrorAccountExistsWithDifferentCredentials, - - /// Indicates the administrator disabled sign in with the specified identity - /// provider. - /// Caused by "Set account info" methods. - kAuthErrorOperationNotAllowed, - - /// Indicates the email used to attempt a sign up is already in use. - /// Caused by "Set account info" methods. - kAuthErrorEmailAlreadyInUse, - - /// Indicates the user has attemped to change email or password more than 5 - /// minutes after signing in, and will need to refresh the credentials. - /// Caused by "Set account info" methods. - kAuthErrorRequiresRecentLogin, - - /// Indicates an attempt to link with a credential that has already been - /// linked with a different Firebase account. - /// Caused by "Set account info" methods. - kAuthErrorCredentialAlreadyInUse, - - /// Indicates an invalid email address. - /// Caused by "Sign in with password" methods. - kAuthErrorInvalidEmail, - - /// Indicates the user attempted sign in with a wrong password. - /// Caused by "Sign in with password" methods. - kAuthErrorWrongPassword, - - /// Indicates that too many requests were made to a server method. - /// Common error code for all API methods. - kAuthErrorTooManyRequests, - - /// Indicates the user account was not found. - /// Send password request email error code. - /// Common error code for all API methods. - kAuthErrorUserNotFound, - - /// Indicates an attempt to link a provider to which the account is already - /// linked. - /// Caused by "Link credential" methods. - kAuthErrorProviderAlreadyLinked, - - /// Indicates an attempt to unlink a provider that is not linked. - /// Caused by "Link credential" methods. - kAuthErrorNoSuchProvider, - - /// Indicates user's saved auth credential is invalid, the user needs to sign - /// in again. - /// Caused by requests with an STS id token. - kAuthErrorInvalidUserToken, - - /// Indicates the saved token has expired. - /// For example, the user may have changed account password on another device. - /// The user needs to sign in again on the device that made this request. - /// Caused by requests with an STS id token. - kAuthErrorUserTokenExpired, - - /// Indicates a network error occurred (such as a timeout, interrupted - /// connection, or unreachable host). These types of errors are often - /// recoverable with a retry. - /// Common error code for all API Methods. - kAuthErrorNetworkRequestFailed, - - /// Indicates an invalid API key was supplied in the request. - /// For Android these should no longer occur (as of 2016 v3). - /// Common error code for all API Methods. - kAuthErrorInvalidApiKey, - - /// Indicates the App is not authorized to use Firebase Authentication with - /// the provided API Key. - /// Common error code for all API Methods. - /// On Android this error should no longer occur (as of 2016 v3). - /// Common error code for all API Methods. - kAuthErrorAppNotAuthorized, - - /// Indicates that an attempt was made to reauthenticate with a user which is - /// not the current user. - kAuthErrorUserMismatch, - - /// Indicates an attempt to set a password that is considered too weak. - kAuthErrorWeakPassword, - - /// Internal api usage error code when there is no signed-in user - /// and getAccessToken is called. - /// - /// @note This error is only reported on Android. - kAuthErrorNoSignedInUser, - - /// This can happen when certain methods on App are performed, when the auth - /// API is not loaded. - /// - /// @note This error is only reported on Android. - kAuthErrorApiNotAvailable, - - /// Indicates the out-of-band authentication code is expired. - kAuthErrorExpiredActionCode, - - /// Indicates the out-of-band authentication code is invalid. - kAuthErrorInvalidActionCode, - - /// Indicates that there are invalid parameters in the payload during a - /// "send password reset email" attempt. - kAuthErrorInvalidMessagePayload, - - /// Indicates that an invalid phone number was provided. - /// This is caused when the user is entering a phone number for verification. - kAuthErrorInvalidPhoneNumber, - - /// Indicates that a phone number was not provided during phone number - /// verification. - /// - /// @note This error is iOS-specific. - kAuthErrorMissingPhoneNumber, - - /// Indicates that the recipient email is invalid. - kAuthErrorInvalidRecipientEmail, - - /// Indicates that the sender email is invalid during a "send password reset - /// email" attempt. - kAuthErrorInvalidSender, - - /// Indicates that an invalid verification code was used in the - /// verifyPhoneNumber request. - kAuthErrorInvalidVerificationCode, - - /// Indicates that an invalid verification ID was used in the - /// verifyPhoneNumber request. - kAuthErrorInvalidVerificationId, - - /// Indicates that the phone auth credential was created with an empty - /// verification code. - kAuthErrorMissingVerificationCode, - - /// Indicates that the phone auth credential was created with an empty - /// verification ID. - kAuthErrorMissingVerificationId, - - /// Indicates that an email address was expected but one was not provided. - kAuthErrorMissingEmail, - - /// Represents the error code for when an application attempts to create an - /// email/password account with an empty/null password field. - /// - /// @note This error is only reported on Android. - kAuthErrorMissingPassword, - - /// Indicates that the project's quota for this operation (SMS messages, - /// sign-ins, account creation) has been exceeded. Try again later. - kAuthErrorQuotaExceeded, - - /// Thrown when one or more of the credentials passed to a method fail to - /// identify and/or authenticate the user subject of that operation. Inspect - /// the error message to find out the specific cause. - /// @note This error is only reported on Android. - kAuthErrorRetryPhoneAuth, - - /// Indicates that the SMS code has expired. - kAuthErrorSessionExpired, - - /// Indicates that the app could not be verified by Firebase during phone - /// number authentication. - /// - /// @note This error is iOS-specific. - kAuthErrorAppNotVerified, - - /// Indicates a general failure during the app verification flow. - /// - /// @note This error is iOS-specific. - kAuthErrorAppVerificationFailed, - - /// Indicates that the reCAPTCHA token is not valid. - /// - /// @note This error is iOS-specific. - kAuthErrorCaptchaCheckFailed, - - /// Indicates that an invalid APNS device token was used in the verifyClient - /// request. - /// - /// @note This error is iOS-specific. - kAuthErrorInvalidAppCredential, - - /// Indicates that the APNS device token is missing in the verifyClient - /// request. - /// - /// @note This error is iOS-specific. - kAuthErrorMissingAppCredential, - - /// Indicates that the clientID used to invoke a web flow is invalid. - /// - /// @note This error is iOS-specific. - kAuthErrorInvalidClientId, - - /// Indicates that the domain specified in the continue URI is not valid. - /// - /// @note This error is iOS-specific. - kAuthErrorInvalidContinueUri, - - /// Indicates that a continue URI was not provided in a request to the backend - /// which requires one. - kAuthErrorMissingContinueUri, - - /// Indicates an error occurred while attempting to access the keychain. - /// Common error code for all API Methods. - /// - /// @note This error is iOS-specific. - kAuthErrorKeychainError, - - /// Indicates that the APNs device token could not be obtained. The app may - /// not have set up remote notification correctly, or may have failed to - /// forward the APNs device token to FIRAuth if app delegate swizzling is - /// disabled. - /// - /// @note This error is iOS-specific. - kAuthErrorMissingAppToken, - - /// Indicates that the iOS bundle ID is missing when an iOS App Store ID is - /// provided. - /// - /// @note This error is iOS-specific. - kAuthErrorMissingIosBundleId, - - /// Indicates that the app fails to forward remote notification to FIRAuth. - /// - /// @note This error is iOS-specific. - kAuthErrorNotificationNotForwarded, - - /// Indicates that the domain specified in the continue URL is not white- - /// listed in the Firebase console. - /// - /// @note This error is iOS-specific. - kAuthErrorUnauthorizedDomain, - - /// Indicates that an attempt was made to present a new web context while one - /// was already being presented. - kAuthErrorWebContextAlreadyPresented, - - /// Indicates that the URL presentation was cancelled prematurely by the user. - kAuthErrorWebContextCancelled, - - /// Indicates that Dynamic Links in the Firebase Console is not activated. - kAuthErrorDynamicLinkNotActivated, - - /// Indicates that the operation was cancelled. - kAuthErrorCancelled, - - /// Indicates that the provider id given for the web operation is invalid. - kAuthErrorInvalidProviderId, - - /// Indicates that an internal error occurred during a web operation. - kAuthErrorWebInternalError, - - /// Indicates that 3rd party cookies or data are disabled, or that there was - /// a problem with the browser. - kAuthErrorWebStorateUnsupported, - - /// Indicates that the provided tenant ID does not match the Auth instance's - /// tenant ID. - kAuthErrorTenantIdMismatch, - - /// Indicates that a request was made to the backend with an associated tenant - /// ID for an operation that does not support multi-tenancy. - kAuthErrorUnsupportedTenantOperation, - - /// Indicates that an FDL domain used for an out of band code flow is either - /// not configured or is unauthorized for the current project. - kAuthErrorInvalidLinkDomain, - - /// Indicates that credential related request data is invalid. This can occur - /// when there is a project number mismatch (sessionInfo, spatula header, - /// temporary proof), - /// an incorrect temporary proof phone number, or during game center sign in - /// when the user is - /// already signed into a different game center account. - kAuthErrorRejectedCredential, - - /// Indicates that the phone number provided in the MFA sign in flow to be - /// verified does not correspond to a phone second factor for the user. - kAuthErrorPhoneNumberNotFound, - - /// Indicates that a request was made to the backend with an invalid tenant - /// ID. - kAuthErrorInvalidTenantId, - - /// Indicates that a request was made to the backend without a valid client - /// identifier. - kAuthErrorMissingClientIdentifier, - - /// Indicates that a second factor challenge request was made without proof of - /// a successful first factor sign-in. - kAuthErrorMissingMultiFactorSession, - - /// Indicates that a second factor challenge request was made where a second - /// factor identifier was not provided. - kAuthErrorMissingMultiFactorInfo, - - /// Indicates that a second factor challenge request was made containing an - /// invalid proof of first factor sign-in. - kAuthErrorInvalidMultiFactorSession, - - /// Indicates that the user does not have a second factor matching the - /// provided identifier. - kAuthErrorMultiFactorInfoNotFound, - - /// Indicates that a request was made that is restricted to administrators - /// only. - kAuthErrorAdminRestrictedOperation, - - /// Indicates that the user's email must be verified to perform that request. - kAuthErrorUnverifiedEmail, - - /// Indicates that the user is trying to enroll a second factor that already - /// exists on their account. - kAuthErrorSecondFactorAlreadyEnrolled, - - /// Indicates that the user has reached the maximum number of allowed second - /// factors and is attempting to enroll another one. - kAuthErrorMaximumSecondFactorCountExceeded, - - /// Indicates that a user either attempted to enroll in 2FA with an - /// unsupported first factor or is enrolled and attempts a first factor sign - /// in that is not supported for 2FA users. - kAuthErrorUnsupportedFirstFactor, - - /// Indicates that a second factor users attempted to change their email with - /// updateEmail instead of verifyBeforeUpdateEmail. - kAuthErrorEmailChangeNeedsVerification, - -#ifdef INTERNAL_EXPERIMENTAL - /// Indicates that the provided event handler is null or invalid. - kAuthErrorInvalidEventHandler, - - /// Indicates that the federated provider is busy with a previous - /// authorization request. Try again when the previous authorization request - /// completes. - kAuthErrorFederatedProviderAreadyInUse, - - /// Indicates that one or more fields of the provided AuthenticatedUserData - /// are invalid. - kAuthErrorInvalidAuthenticatedUserData, - - /// Indicates that an error occurred during a Federated Auth UI Flow when the - /// user was prompted to enter their credentials. - kAuthErrorFederatedSignInUserInteractionFailure, - - /// Indicates that a request was made with a missing or invalid nonce. - /// This can happen if the hash of the provided raw nonce did not match the - /// hashed nonce in the OIDC ID token payload. - kAuthErrorMissingOrInvalidNonce, - - /// Indicates that the user did not authorize the application during Generic - /// IDP sign-in. - kAuthErrorUserCancelled, - - /// Indicates that a request was made to an unsupported backend endpoint in - /// passthrough mode. - kAuthErrorUnsupportedPassthroughOperation, - - /// Indicates that a token refresh was requested, but neither a refresh token - /// nor a custom token provider is available. - kAuthErrorTokenRefreshUnavailable, - -#endif // INTERNAL_EXEPERIMENTAL -}; - -/// @brief Contains information required to authenticate with a third party -/// provider. -struct FederatedProviderData { - /// @brief contains the id of the provider to be used during sign-in, link, or - /// reauthentication requests. - std::string provider_id; -}; - -/// @brief Contains information to identify an OAuth povider. -struct FederatedOAuthProviderData : FederatedProviderData { - /// Initailizes an empty provider data structure. - FederatedOAuthProviderData() {} - - /// Initializes the provider data structure with a provider id. - explicit FederatedOAuthProviderData(const std::string& provider) { - this->provider_id = provider; - } - -#ifndef SWIG - /// @brief Initializes the provider data structure with the specified provider - /// id, scopes and custom parameters. - FederatedOAuthProviderData( - const std::string& provider, std::vector scopes, - std::map custom_parameters) { - this->provider_id = provider; - this->scopes = scopes; - this->custom_parameters = custom_parameters; - } -#endif - - /// OAuth parmeters which specify which rights of access are being requested. - std::vector scopes; - - /// OAuth parameters which are provided to the federated provider service. - std::map custom_parameters; -}; - -} // namespace auth -} // namespace firebase - -#endif // FIREBASE_AUTH_SRC_INCLUDE_FIREBASE_AUTH_TYPES_H_ diff --git a/vendors/firebase/include/firebase/auth/user.h b/vendors/firebase/include/firebase/auth/user.h deleted file mode 100644 index 32e92de5e..000000000 --- a/vendors/firebase/include/firebase/auth/user.h +++ /dev/null @@ -1,501 +0,0 @@ -/* - * Copyright 2016 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef FIREBASE_AUTH_SRC_INCLUDE_FIREBASE_AUTH_USER_H_ -#define FIREBASE_AUTH_SRC_INCLUDE_FIREBASE_AUTH_USER_H_ - -#include -#include - -#include "firebase/auth/credential.h" -#include "firebase/auth/types.h" -#include "firebase/future.h" -#include "firebase/internal/common.h" -#include "firebase/variant.h" - -namespace firebase { -namespace auth { - -// Predeclarations. -class Auth; -struct AuthData; - -class FederatedAuthProvider; - -/// @brief Interface implemented by each identity provider. -class UserInfoInterface { - public: - virtual ~UserInfoInterface(); - - /// Gets the unique Firebase user ID for the user. - /// - /// @note The user's ID, unique to the Firebase project. - /// Do NOT use this value to authenticate with your backend server, if you - /// have one. - /// @if cpp_examples - /// Use User::GetToken() instead. - /// @endif - /// - /// @if swig_examples - /// Use User.Token instead. - /// @endif - /// @xmlonly - /// - /// Gets the unique Firebase user ID for the user. - /// - /// @note The user's ID, unique to the Firebase project. - /// Do NOT use this value to authenticate with your backend server, if you - /// have one. Use User.Token instead. - /// - /// @endxmlonly - /// - virtual std::string uid() const = 0; - - /// Gets email associated with the user, if any. - /// - /// @xmlonly - /// - /// Gets email associated with the user, if any. - /// - /// @endxmlonly - /// - virtual std::string email() const = 0; - - /// Gets the display name associated with the user, if any. - /// - /// @xmlonly - /// - /// Gets the display name associated with the user, if any. - /// - /// @endxmlonly - /// - virtual std::string display_name() const = 0; - - /// Gets the photo url associated with the user, if any. - /// - /// @xmlonly - /// - /// Gets the photo url associated with the user, if any. - /// - /// @endxmlonly - /// - virtual std::string photo_url() const = 0; - - /// Gets the provider ID for the user (For example, "Facebook"). - /// - /// @xmlonly - /// - /// Gets the provider ID for the user (For example, \"Facebook\"). - /// - /// @endxmlonly - /// - virtual std::string provider_id() const = 0; - - /// Gets the phone number for the user, in E.164 format. - virtual std::string phone_number() const = 0; -}; - -/// @brief Additional user data returned from an identity provider. -struct AdditionalUserInfo { - /// The provider identifier. - std::string provider_id; - - /// The name of the user. - std::string user_name; - - /// Additional identity-provider specific information. - /// Most likely a hierarchical key-value mapping, like a parsed JSON file. - /// Note we use map instead of unordered_map to support older compilers. - std::map profile; - - /// On a nonce-based credential link failure where the user has already linked - /// to the provider, the Firebase auth service may provide an updated - /// Credential. If is_valid returns true on this credential, then it may be - /// passed to a new firebase::auth::Auth::SignInWithCredential request to sign - /// the user in with the provider. - Credential updated_credential; -}; - -/// @brief Metadata corresponding to a Firebase user. -struct UserMetadata { - UserMetadata() : last_sign_in_timestamp(0), creation_timestamp(0) {} - - /// The last sign in UTC timestamp in milliseconds. - /// See https://en.wikipedia.org/wiki/Unix_time for details of UTC. - uint64_t last_sign_in_timestamp; - - /// The Firebase user creation UTC timestamp in milliseconds. - uint64_t creation_timestamp; -}; - -/// @brief Result of operations that can affect authentication state. -struct SignInResult { - SignInResult() : user(NULL) {} - - /// The currently signed-in @ref User, or NULL if there isn't any (i.e. the - /// user is signed out). - User* user; - - /// Identity-provider specific information for the user, if the provider is - /// one of Facebook, GitHub, Google, or Twitter. - AdditionalUserInfo info; - - /// Metadata associated with the Firebase user. - UserMetadata meta; -}; - -/// @brief Firebase user account object. -/// -/// This class allows you to manipulate the profile of a user, link to and -/// unlink from authentication providers, and refresh authentication tokens. -class User : public UserInfoInterface { - public: - /// Parameters to the UpdateUserProfile() function. - /// - /// For fields you don't want to update, pass NULL. - /// For fields you want to reset, pass "". - struct UserProfile { - /// Construct a UserProfile with no display name or photo URL. - UserProfile() : display_name(NULL), photo_url(NULL) {} - - /// User display name. - const char* display_name; - - /// User photo URI. - const char* photo_url; - }; - - ~User(); - - /// The Java Web Token (JWT) that can be used to identify the user to - /// the backend. - /// - /// If a current ID token is still believed to be valid (i.e. it has not yet - /// expired), that token will be returned immediately. - /// A developer may set the optional force_refresh flag to get a new ID token, - /// whether or not the existing token has expired. For example, a developer - /// may use this when they have discovered that the token is invalid for some - /// other reason. - Future GetToken(bool force_refresh); - -#if defined(INTERNAL_EXPERIMENTAL) || defined(SWIG) - /// A "thread safer" version of GetToken. - /// If called by two threads simultaneously, GetToken can return the same - /// pending Future twice. This creates problems if both threads try to set - /// the OnCompletion callback, unaware that there's another copy. - /// GetTokenThreadSafe returns a proxy to the Future if it's still pending, - /// allowing each proxy to have their own callback. - Future GetTokenThreadSafe(bool force_refresh); -#endif // defined(INTERNAL_EXPERIMENTAL) || defined(SWIG) - - /// Get results of the most recent call to @ref GetToken. - Future GetTokenLastResult() const; - - /// Gets the third party profile data associated with this user returned by - /// the authentication server, if any. - /// - /// @xmlonly - /// - /// Gets the third party profile data associated with this user returned by - /// the authentication server, if any. - /// - /// @endxmlonly - /// - const std::vector& provider_data() const; - - /// Sets the email address for the user. - /// - /// May fail if there is already an email/password-based account for the same - /// email address. - Future UpdateEmail(const char* email); - - /// Get results of the most recent call to @ref UpdateEmail. - Future UpdateEmailLastResult() const; - - /// Attempts to change the password for the current user. - /// - /// For an account linked to an Identity Provider (IDP) with no password, - /// this will result in the account becoming an email/password-based account - /// while maintaining the IDP link. May fail if the password is invalid, - /// if there is a conflicting email/password-based account, or if the token - /// has expired. - /// To retrieve fresh tokens, - /// @if cpp_examples - /// call @ref Reauthenticate. - /// @endif - /// - /// @if swig_examples - /// call @ref ReauthenticateAsync. - /// @endif - /// - Future UpdatePassword(const char* password); - - /// Get results of the most recent call to @ref UpdatePassword. - Future UpdatePasswordLastResult() const; - - /// Convenience function for @ref ReauthenticateAndRetrieveData that discards - /// the returned AdditionalUserInfo data. - Future Reauthenticate(const Credential& credential); - - /// Get results of the most recent call to @ref Reauthenticate. - Future ReauthenticateLastResult() const; - - /// Reauthenticate using a credential. - /// - /// @if cpp_examples - /// Some APIs (for example, @ref UpdatePassword, @ref Delete) require that - /// the token used to invoke them be from a recent login attempt. - /// This API takes an existing credential for the user and retrieves fresh - /// tokens, ensuring that the operation can proceed. Developers can call - /// this method prior to calling @ref UpdatePassword() to ensure success. - /// @endif - /// - /// @if swig_examples - /// Some APIs (for example, @ref UpdatePasswordAsync, @ref DeleteAsync) - /// require that the token used to invoke them be from a recent login attempt. - /// This API takes an existing credential for the user and retrieves fresh - /// tokens, ensuring that the operation can proceed. Developers can call - /// this method prior to calling @ref UpdatePasswordAsync() to ensure success. - /// @endif - /// - /// - /// Data from the Identity Provider used to sign-in is returned in the - /// AdditionalUserInfo inside the returned SignInResult. - /// - /// Returns an error if the existing credential is not for this user - /// or if sign-in with that credential failed. - /// @note: The current user may be signed out if this operation fails on - /// Android and desktop platforms. - Future ReauthenticateAndRetrieveData( - const Credential& credential); - - /// Get results of the most recent call to @ref ReauthenticateAndRetrieveData. - Future ReauthenticateAndRetrieveDataLastResult() const; - - /// @brief Re-authenticates the user with a federated auth provider. - /// - /// @param[in] provider Contains information on the auth provider to - /// authenticate with. - /// @return A Future with the result of the re-authentication - /// request. - /// @note: This operation is supported only on iOS and Android platforms. On - /// non-mobile platforms this method will return a Future with a preset error - /// code: kAuthErrorUnimplemented. - Future ReauthenticateWithProvider( - FederatedAuthProvider* provider) const; - - /// Initiates email verification for the user. - Future SendEmailVerification(); - - /// Get results of the most recent call to @ref SendEmailVerification. - Future SendEmailVerificationLastResult() const; - - /// Updates a subset of user profile information. - Future UpdateUserProfile(const UserProfile& profile); - - /// Get results of the most recent call to @ref UpdateUserProfile. - Future UpdateUserProfileLastResult() const; - - /// Convenience function for @ref ReauthenticateAndRetrieveData that discards - /// the returned @ref AdditionalUserInfo in @ref SignInResult. - Future LinkWithCredential(const Credential& credential); - - /// Get results of the most recent call to @ref LinkWithCredential. - Future LinkWithCredentialLastResult() const; - - /// Links the user with the given 3rd party credentials. - /// - /// For example, a Facebook login access token, a Twitter token/token-secret - /// pair. - /// Status will be an error if the token is invalid, expired, or otherwise - /// not accepted by the server as well as if the given 3rd party - /// user id is already linked with another user account or if the current user - /// is already linked with another id from the same provider. - /// - /// Data from the Identity Provider used to sign-in is returned in the - /// @ref AdditionalUserInfo inside @ref SignInResult. - Future LinkAndRetrieveDataWithCredential( - const Credential& credential); - - /// Get results of the most recent call to - /// @ref LinkAndRetrieveDataWithCredential. - Future LinkAndRetrieveDataWithCredentialLastResult() const; - - /// Links this user with a federated auth provider. - /// - /// @param[in] provider Contains information on the auth provider to link - /// with. - /// @return A Future with the user data result of the link - /// request. - /// - /// @note: This operation is supported only on iOS and Android platforms. On - /// non-mobile platforms this method will return a Future with a preset error - /// code: kAuthErrorUnimplemented. - Future LinkWithProvider(FederatedAuthProvider* provider) const; - - /// Unlinks the current user from the provider specified. - /// Status will be an error if the user is not linked to the given provider. - Future Unlink(const char* provider); - - /// Get results of the most recent call to @ref Unlink. - Future UnlinkLastResult() const; - - /// Updates the currently linked phone number on the user. - /// This is useful when a user wants to change their phone number. It is a - /// shortcut to calling Unlink(phone_credential.provider().c_str()) and then - /// LinkWithCredential(phone_credential). - /// `credential` must have been created with @ref PhoneAuthProvider. - Future UpdatePhoneNumberCredential(const Credential& credential); - - /// Get results of the most recent call to @ref UpdatePhoneNumberCredential. - Future UpdatePhoneNumberCredentialLastResult() const; - - /// Refreshes the data for this user. - /// - /// For example, the attached providers, email address, display name, etc. - Future Reload(); - - /// Get results of the most recent call to @ref Reload. - Future ReloadLastResult() const; - - /// Deletes the user account. - Future Delete(); - - /// Get results of the most recent call to @ref Delete. - Future DeleteLastResult() const; - - /// Gets the metadata for this user account. - UserMetadata metadata() const; - - /// Returns true if the email address associated with this user has been - /// verified. - /// - /// @xmlonly - /// - /// True if the email address associated with this user has been verified. - /// - /// @endxmlonly - /// - bool is_email_verified() const; - - /// Returns true if user signed in anonymously. - /// - /// @xmlonly - /// - /// True if user signed in anonymously. - /// - /// @endxmlonly - /// - bool is_anonymous() const; - - /// Gets the unique Firebase user ID for the user. - /// - /// @note The user's ID, unique to the Firebase project. - /// Do NOT use this value to authenticate with your backend server, if you - /// have one. - /// @if cpp_examples - /// Use User::GetToken() instead. - /// @endif - /// - /// @if swig_examples - /// Use User.Token instead. - /// @endif - /// @xmlonly - /// - /// Gets the unique Firebase user ID for the user. - /// - /// @note The user's ID, unique to the Firebase project. - /// Do NOT use this value to authenticate with your backend server, if you - /// have one. Use User.Token instead. - /// - /// @endxmlonly - /// - virtual std::string uid() const; - - /// Gets email associated with the user, if any. - /// - /// @xmlonly - /// - /// Gets email associated with the user, if any. - /// - /// @endxmlonly - /// - virtual std::string email() const; - - /// Gets the display name associated with the user, if any. - /// - /// @xmlonly - /// - /// Gets the display name associated with the user, if any. - /// - /// @endxmlonly - /// - virtual std::string display_name() const; - - /// Gets the photo url associated with the user, if any. - /// - /// @xmlonly - /// - /// Gets the photo url associated with the user, if any. - /// - /// @endxmlonly - /// - virtual std::string photo_url() const; - - /// Gets the provider ID for the user (For example, "Facebook"). - /// - /// @xmlonly - /// - /// Gets the provider ID for the user (For example, \"Facebook\"). - /// - /// @endxmlonly - /// - virtual std::string provider_id() const; - - /// Gets the phone number for the user, in E.164 format. - virtual std::string phone_number() const; - - private: - /// @cond FIREBASE_APP_INTERNAL - friend struct AuthData; - // Only exists in AuthData. Access via @ref Auth::CurrentUser(). - explicit User(AuthData* auth_data) : auth_data_(auth_data) {} - - // Disable copy constructor. - User(const User&) = delete; - // Disable copy operator. - User& operator=(const User&) = delete; - /// @endcond - -#if defined(INTERNAL_EXPERIMENTAL) - // Doxygen should not make docs for this function. - /// @cond FIREBASE_APP_INTERNAL - friend class IdTokenRefreshThread; - friend class IdTokenRefreshListener; - friend class Auth; - Future GetTokenInternal(const bool force_refresh, - const int future_identifier); - /// @endcond -#endif // defined(INTERNAL_EXPERIMENTAL) - - // Use the pimpl mechanism to hide data details in the cpp files. - AuthData* auth_data_; -}; - -} // namespace auth -} // namespace firebase - -#endif // FIREBASE_AUTH_SRC_INCLUDE_FIREBASE_AUTH_USER_H_ diff --git a/vendors/firebase/include/firebase/database.h b/vendors/firebase/include/firebase/database.h deleted file mode 100644 index d0dc904c1..000000000 --- a/vendors/firebase/include/firebase/database.h +++ /dev/null @@ -1,199 +0,0 @@ -// Copyright 2016 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -#ifndef FIREBASE_DATABASE_SRC_INCLUDE_FIREBASE_DATABASE_H_ -#define FIREBASE_DATABASE_SRC_INCLUDE_FIREBASE_DATABASE_H_ - -#include "firebase/app.h" -#include "firebase/database/common.h" -#include "firebase/database/data_snapshot.h" -#include "firebase/database/database_reference.h" -#include "firebase/database/disconnection.h" -#include "firebase/database/listener.h" -#include "firebase/database/mutable_data.h" -#include "firebase/database/query.h" -#include "firebase/database/transaction.h" -#include "firebase/internal/common.h" -#include "firebase/log.h" - -namespace firebase { - -/// Namespace for the Firebase Realtime Database C++ SDK. -namespace database { - -namespace internal { -class DatabaseInternal; -} // namespace internal - -class DatabaseReference; - -#ifndef SWIG -/// @brief Entry point for the Firebase Realtime Database C++ SDK. -/// -/// To use the SDK, call firebase::database::Database::GetInstance() to obtain -/// an instance of Database, then use GetReference() to obtain references to -/// child paths within the database. From there you can set data via -/// Query::SetValue(), get data via Query::GetValue(), attach listeners, and -/// more. -#endif // SWIG -class Database { - public: - /// @brief Get an instance of Database corresponding to the given App. - /// - /// Firebase Realtime Database uses firebase::App to communicate with Firebase - /// Authentication to authenticate users to the Database server backend. - /// - /// If you call GetInstance() multiple times with the same App, you will get - /// the same instance of Database. - /// - /// @param[in] app Your instance of firebase::App. Firebase Realtime Database - /// will use this to communicate with Firebase Authentication. - /// @param[out] init_result_out Optional: If provided, write the init result - /// here. Will be set to kInitResultSuccess if initialization succeeded, or - /// kInitResultFailedMissingDependency on Android if Google Play services is - /// not available on the current device. - /// - /// @returns An instance of Database corresponding to the given App. - static Database* GetInstance(::firebase::App* app, - InitResult* init_result_out = nullptr); - - /// @brief Gets an instance of FirebaseDatabase for the specified URL. - /// - /// If you call GetInstance() multiple times with the same App and URL, you - /// will get the same instance of Database. - /// - /// @param[in] app Your instance of firebase::App. Firebase Realtime Database - /// will use this to communicate with Firebase Authentication. - /// @param[in] url The URL of your Firebase Realtime Database. This overrides - /// any url specified in the App options. - /// @param[out] init_result_out Optional: If provided, write the init result - /// here. Will be set to kInitResultSuccess if initialization succeeded, or - /// kInitResultFailedMissingDependency on Android if Google Play services is - /// not available on the current device. - /// - /// @returns An instance of Database corresponding to the given App and URL. - static Database* GetInstance(::firebase::App* app, const char* url, - InitResult* init_result_out = nullptr); - - /// @brief Destructor for the Database object. - /// - /// When deleted, this instance will be removed from the cache of Database - /// objects. If you call GetInstance() in the future with the same App, a new - /// Database instance will be created. - ~Database(); - - /// @brief Get the firebase::App that this Database was created with. - /// - /// @returns The firebase::App this Database was created with. - App* app() const; - - /// @brief Get the URL that this Database was created with. - /// - /// @returns The URL this Database was created with, or an empty string if - /// this Database was created with default parameters. This string will remain - /// valid in memory for the lifetime of this Database. - const char* url() const; - - /// @brief Get a DatabaseReference to the root of the database. - /// - /// @returns A DatabaseReference to the root of the database. - DatabaseReference GetReference() const; - /// @brief Get a DatabaseReference for the specified path. - /// - /// @returns A DatabaseReference to the specified path in the database. - /// If you specified an invalid path, the reference's - /// DatabaseReference::IsValid() will return false. - DatabaseReference GetReference(const char* path) const; - /// @brief Get a DatabaseReference for the provided URL, which must belong to - /// the database URL this instance is already connected to. - /// - /// @returns A DatabaseReference to the specified path in the database. - /// If you specified an invalid path, the reference's - /// DatabaseReference::IsValid() will return false. - DatabaseReference GetReferenceFromUrl(const char* url) const; - - /// @brief Shuts down the connection to the Firebase Realtime Database - /// backend until GoOnline() is called. - void GoOffline(); - - /// @brief Resumes the connection to the Firebase Realtime Database backend - /// after a previous GoOffline() call. - void GoOnline(); - - /// @brief Purge all pending writes to the Firebase Realtime Database server. - /// - /// The Firebase Realtime Database client automatically queues writes and - /// sends them to the server at the earliest opportunity, depending on network - /// connectivity. In some cases (e.g. offline usage) there may be a large - /// number of writes waiting to be sent. Calling this method will purge all - /// outstanding writes so they are abandoned. All writes will be purged, - /// including transactions and onDisconnect() writes. The writes will be - /// rolled back locally, perhaps triggering events for affected event - /// listeners, and the client will not (re-)send them to the Firebase backend. - void PurgeOutstandingWrites(); - - /// @brief Sets whether pending write data will persist between application - /// exits. - /// - /// The Firebase Database client will cache synchronized data and keep track - /// of all writes you've initiated while your application is running. It - /// seamlessly handles intermittent network connections and re-sends write - /// operations when the network connection is restored. However by default - /// your write operations and cached data are only stored in-memory and will - /// be lost when your app restarts. By setting this value to `true`, the data - /// will be persisted to on-device (disk) storage and will thus be available - /// again when the app is restarted (even when there is no network - /// connectivity at that time). - /// - /// @note SetPersistenceEnabled should be called before creating any instances - /// of DatabaseReference, and only needs to be called once per application. - /// - /// @param[in] enabled Set this to true to persist write data to on-device - /// (disk) storage, or false to discard pending writes when the app exists. - void set_persistence_enabled(bool enabled); - - /// Set the log verbosity of this Database instance. - /// - /// The log filtering is cumulative with Firebase App. That is, this library's - /// log messages will only be displayed if they are not filtered out by this - /// library's log level setting and by Firebase App's log level setting. - /// - /// @note On Android this can only be set before any operations have been - /// performed with the object. - /// - /// @param[in] log_level Log level, by default this is set to kLogLevelInfo. - void set_log_level(LogLevel log_level); - - /// Get the log verbosity of this Database instance. - /// - /// @return Get the currently configured logging verbosity. - LogLevel log_level() const; - - private: - friend Database* GetDatabaseInstance(::firebase::App* app, const char* url, - InitResult* init_result_out); - Database(::firebase::App* app, internal::DatabaseInternal* internal); - Database(const Database& src); - Database& operator=(const Database& src); - - // Delete the internal_ data. - void DeleteInternal(); - - internal::DatabaseInternal* internal_; -}; - -} // namespace database -} // namespace firebase - -#endif // FIREBASE_DATABASE_SRC_INCLUDE_FIREBASE_DATABASE_H_ diff --git a/vendors/firebase/include/firebase/database/common.h b/vendors/firebase/include/firebase/database/common.h deleted file mode 100644 index 298972784..000000000 --- a/vendors/firebase/include/firebase/database/common.h +++ /dev/null @@ -1,83 +0,0 @@ -// Copyright 2016 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -#ifndef FIREBASE_DATABASE_SRC_INCLUDE_FIREBASE_DATABASE_COMMON_H_ -#define FIREBASE_DATABASE_SRC_INCLUDE_FIREBASE_DATABASE_COMMON_H_ - -#include "firebase/variant.h" - -namespace firebase { -namespace database { - -/// Error code returned by Firebase Realtime Database C++ functions. -enum Error { - /// The operation was a success, no error occurred. - kErrorNone = 0, - /// The operation had to be aborted due to a network disconnect. - kErrorDisconnected, - /// The supplied auth token has expired. - kErrorExpiredToken, - /// The specified authentication token is invalid. - kErrorInvalidToken, - /// The transaction had too many retries. - kErrorMaxRetries, - /// The operation could not be performed due to a network error. - kErrorNetworkError, - /// The server indicated that this operation failed. - kErrorOperationFailed, - /// The transaction was overridden by a subsequent set. - kErrorOverriddenBySet, - /// This client does not have permission to perform this operation. - kErrorPermissionDenied, - /// The service is unavailable. - kErrorUnavailable, - /// An unknown error occurred. - kErrorUnknownError, - /// The write was canceled locally. - kErrorWriteCanceled, - /// You specified an invalid Variant type for a field. For example, - /// a DatabaseReference's Priority and the keys of a Map must be of - /// scalar type (MutableString, StaticString, Int64, Double). - kErrorInvalidVariantType, - /// An operation that conflicts with this one is already in progress. For - /// example, calling SetValue and SetValueAndPriority on a DatabaseReference - /// is not allowed. - kErrorConflictingOperationInProgress, - /// The transaction was aborted, because the user's DoTransaction function - /// returned kTransactionResultAbort instead of kTransactionResultSuccess. - kErrorTransactionAbortedByUser, -}; - -/// @brief Get the human-readable error message corresponding to an error code. -/// -/// @param[in] error Error code to get the error message for. -/// -/// @returns Statically-allocated string describing the error. -extern const char* GetErrorMessage(Error error); - -/// @brief Get a server-populated value corresponding to the current -/// timestamp. -/// -/// When inserting values into the database, you can use the special value -/// firebase::database::ServerTimestamp() to have the server auto-populate the -/// current timestamp, which is represented as millieconds since the Unix epoch, -/// into the field. -/// -/// @returns A special value that tells the server to use the current timestamp. -const Variant& ServerTimestamp(); - -} // namespace database -} // namespace firebase - -#endif // FIREBASE_DATABASE_SRC_INCLUDE_FIREBASE_DATABASE_COMMON_H_ diff --git a/vendors/firebase/include/firebase/database/data_snapshot.h b/vendors/firebase/include/firebase/database/data_snapshot.h deleted file mode 100644 index cb83292a7..000000000 --- a/vendors/firebase/include/firebase/database/data_snapshot.h +++ /dev/null @@ -1,205 +0,0 @@ -// Copyright 2016 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -#ifndef FIREBASE_DATABASE_SRC_INCLUDE_FIREBASE_DATABASE_DATA_SNAPSHOT_H_ -#define FIREBASE_DATABASE_SRC_INCLUDE_FIREBASE_DATABASE_DATA_SNAPSHOT_H_ - -#include - -#include - -#include "firebase/internal/common.h" -#include "firebase/variant.h" - -namespace firebase { -namespace database { -namespace internal { -class Callbacks; -class ChildEventRegistration; -class DataSnapshotInternal; -class DatabaseInternal; -class DatabaseInternalTestMatcherTest; -class DatabaseReferenceInternal; -class QueryInternal; -class Repo; -class ValueEventRegistration; -} // namespace internal - -class Database; -class DatabaseReference; - -#ifndef SWIG -/// A DataSnapshot instance contains data from a Firebase Database location. Any -/// time you read Database data, you receive the data as a DataSnapshot. These -/// are efficiently-generated and cannot be changed. To modify data, -/// use DatabaseReference::SetValue() or DatabaseReference::RunTransaction(). -#endif // SWIG -class DataSnapshot { - public: - /// @brief Default constructor. - /// - /// This DataSnapshot contains nothing and is considered invalid (i.e. - /// is_valid() == false). Use this to construct an empty DataSnapshot that you - /// will later populate with data from a database callback. - DataSnapshot() : internal_(nullptr) {} - -#ifdef INTERNAL_EXPERIMENTAL - explicit DataSnapshot(internal::DataSnapshotInternal* internal); -#endif - - /// @brief Copy constructor. DataSnapshots are immutable, so they can be - /// efficiently copied. - /// - /// @param[in] snapshot DataSnapshot to copy. - DataSnapshot(const DataSnapshot& snapshot); - - /// @brief Copy assignment operator. DataSnapshots are immutable, so they can - /// be efficiently copied. - /// - /// @param[in] snapshot DataSnapshot to copy. - /// - /// @returns Reference to the destination DataSnapshot. - DataSnapshot& operator=(const DataSnapshot& snapshot); - -#if defined(FIREBASE_USE_MOVE_OPERATORS) || defined(DOXYGEN) - /// @brief Move constructor. DataSnapshots are immutable, so they can be - /// efficiently moved. - /// - /// @param[in] snapshot DataSnapshot to move into this one. - DataSnapshot(DataSnapshot&& snapshot); - - /// @brief Move assignment operator. DataSnapshots are immutable, so they can - /// be efficiently moved. - /// - /// @param[in] snapshot DataSnapshot to move into this one. - /// - /// @returns Reference to this destination DataSnapshot. - DataSnapshot& operator=(DataSnapshot&& snapshot); -#endif // defined(FIREBASE_USE_MOVE_OPERATORS) || defined(DOXYGEN) - - /// Destructor. - ~DataSnapshot(); - - /// @brief Returns true if the data is non-empty. - bool exists() const; - - /// @brief Get a DataSnapshot for the location at the specified relative path. - /// - /// @param[in] path Path relative to this snapshot's location. - /// It only needs to be valid during this call. - /// - /// @returns A DataSnapshot corresponding to specified child location. - DataSnapshot Child(const char* path) const; - - /// @brief Get a DataSnapshot for the location at the specified relative path. - /// - /// @param[in] path Path relative to this snapshot's location. - /// - /// @returns A DataSnapshot corresponding to specified child location. - DataSnapshot Child(const std::string& path) const; - - /// @brief Get all the immediate children of this location. - /// - /// @returns The immediate children of this snapshot. - std::vector children() const; - - /// @brief Get the number of children of this location. - /// - /// @returns The number of immediate children of this snapshot. - size_t children_count() const; - - /// @brief Does this DataSnapshot have any children at all? - /// - /// @returns True if the snapshot has any children, false otherwise. - bool has_children() const; - - /// @brief Get the key name of the source location of this snapshot. - /// - /// @note The returned pointer is only guaranteed to be valid while the - /// DataSnapshot is still in memory. - /// - /// @returns Key name of the source location of this snapshot. - const char* key() const; - - /// @brief Get the key name of the source location of this snapshot. - /// - /// @returns Key name of the source location of this snapshot. - std::string key_string() const; - - /// @brief Get the value of the data contained in this snapshot. - /// - /// @returns The value of the data contained in this location. - Variant value() const; - - /// @brief Get the priority of the data contained in this snapshot. - /// - /// @returns The value of this location's Priority relative to its siblings. - Variant priority() const; - - /// @brief Obtain a DatabaseReference to the source location for this - /// snapshot. - /// - /// @returns A DatabaseReference corresponding to same location as - /// this snapshot. - DatabaseReference GetReference() const; - - /// @brief Does this DataSnapshot have data at a particular location? - /// - /// @param[in] path Path relative to this snapshot's location. - /// The pointer only needs to be valid during this call. - /// - /// @returns True if the snapshot has data at the specified location, false if - /// not. - bool HasChild(const char* path) const; - - /// @brief Does this DataSnapshot have data at a particular location? - /// - /// @param[in] path Path relative to this snapshot's location. - /// - /// @returns True if the snapshot has data at the specified location, false if - /// not. - bool HasChild(const std::string& path) const; - - /// @brief Returns true if this snapshot is valid, false if it is not - /// valid. An invalid snapshot could be returned by a transaction where an - /// error has occurred. - /// - /// @returns true if this snapshot is valid, false if this snapshot is - /// invalid. - bool is_valid() const; - - private: - /// @cond FIREBASE_APP_INTERNAL - friend class internal::Callbacks; - friend class internal::ChildEventRegistration; - friend class internal::DataSnapshotInternal; - friend class internal::DatabaseInternal; - friend class internal::DatabaseInternalTestMatcherTest; - friend class internal::DatabaseReferenceInternal; - friend class internal::QueryInternal; - friend class internal::Repo; - friend class internal::ValueEventRegistration; - /// @endcond - -#ifndef INTERNAL_EXPERIMENTAL - explicit DataSnapshot(internal::DataSnapshotInternal* internal); -#endif - - internal::DataSnapshotInternal* internal_; -}; - -} // namespace database -} // namespace firebase - -#endif // FIREBASE_DATABASE_SRC_INCLUDE_FIREBASE_DATABASE_DATA_SNAPSHOT_H_ diff --git a/vendors/firebase/include/firebase/database/database_reference.h b/vendors/firebase/include/firebase/database/database_reference.h deleted file mode 100644 index 3e746541a..000000000 --- a/vendors/firebase/include/firebase/database/database_reference.h +++ /dev/null @@ -1,477 +0,0 @@ -// Copyright 2016 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -#ifndef FIREBASE_DATABASE_SRC_INCLUDE_FIREBASE_DATABASE_DATABASE_REFERENCE_H_ -#define FIREBASE_DATABASE_SRC_INCLUDE_FIREBASE_DATABASE_DATABASE_REFERENCE_H_ - -#include -#include - -#include "firebase/database/disconnection.h" -#include "firebase/database/query.h" -#include "firebase/database/transaction.h" -#include "firebase/future.h" -#include "firebase/internal/common.h" -#include "firebase/variant.h" - -namespace firebase { -namespace database { -namespace internal { -class DatabaseInternal; -class DatabaseReferenceInternal; -class Repo; -} // namespace internal - -class DataSnapshot; - -#ifndef SWIG -/// DatabaseReference represents a particular location in your Database and can -/// be used for reading or writing data to that Database location. -/// -/// This class is the starting point for all Database operations. After you've -/// initialized it with a URL, you can use it to read data, write data, and to -/// create new DatabaseReference instances. -#endif // SWIG -class DatabaseReference : public Query { - public: - /// @brief Default constructor. This creates an invalid DatabaseReference. - /// Attempting to perform any operations on this reference will fail unless a - /// valid DatabaseReference has been assigned to it. - DatabaseReference() : Query(), internal_(nullptr) {} - - /// @brief Required virtual destructor. - virtual ~DatabaseReference(); - - /// @brief Copy constructor. It's totally okay (and efficient) to copy - /// DatabaseReference instances, as they simply point to the same location in - /// the database. - /// - /// @param[in] reference DatabaseReference to copy from. - DatabaseReference(const DatabaseReference& reference); - - /// @brief Copy assignment operator. It's totally okay (and efficient) to copy - /// DatabaseReference instances, as they simply point to the same location in - /// the database. - /// - /// @param[in] reference DatabaseReference to copy from. - /// - /// @returns Reference to the destination DatabaseReference. - DatabaseReference& operator=(const DatabaseReference& reference); - -#if defined(FIREBASE_USE_MOVE_OPERATORS) || defined(DOXYGEN) - /// @brief Move constructor. Moving is an efficient operation for - /// DatabaseReference instances. - /// - /// @param[in] reference DatabaseReference to move data from. - DatabaseReference(DatabaseReference&& reference); - - /// @brief Move assignment operator. Moving is an efficient operation for - /// DatabaseReference instances. - /// - /// @param[in] reference DatabaseReference to move data from. - /// - /// @returns Reference to the destination DatabaseReference. - DatabaseReference& operator=(DatabaseReference&& reference); -#endif // defined(FIREBASE_USE_MOVE_OPERATORS) || defined(DOXYGEN) - - /// @brief Gets the database to which we refer. - /// - /// The pointer will remain valid indefinitely. - /// - /// @returns Firebase Database instance that this DatabaseReference refers to. - Database* database() const; - - /// @brief Gets the string key of this database location. - /// - /// The pointer is only valid while the DatabaseReference remains in memory. - /// - /// @returns String key of this database location, which will remain valid in - /// memory until the DatabaseReference itself goes away. - const char* key() const; - - /// @brief Gets the string key of this database location. - /// - /// @returns String key of this database location. - std::string key_string() const; - - /// @brief Returns true if this reference refers to the root of the database. - /// - /// @returns true if this reference refers to the root of the database, false - /// otherwise. - bool is_root() const; - - /// @brief Returns true if this reference is valid, false if it is not - /// valid. DatabaseReferences constructed with the default constructor - /// are considered invalid. An invalid reference could be returned by - /// Database::GetReference() or Database::GetReferenceFromUrl() if you specify - /// an incorrect location, or calling Query::GetReference() on an invalid - /// query. - /// - /// @returns true if this reference is valid, false if this reference is - /// invalid. - bool is_valid() const override; - - /// @brief Gets the parent of this location, or get this location again if - /// IsRoot(). - /// - /// @returns Parent of this location in the database, unless this location is - /// the root, in which case it returns this same location again. - DatabaseReference GetParent() const; - - /// @brief Gets the root of the database. - /// - /// @returns Root of the database. - DatabaseReference GetRoot() const; - - /// @brief Gets a reference to a location relative to this one. - /// - /// @param[in] path Path relative to this snapshot's location. - /// The pointer only needs to be valid during this call. - /// - /// @returns Child relative to this location. - DatabaseReference Child(const char* path) const; - - /// @brief Gets a reference to a location relative to this one. - /// - /// @param[in] path Path relative to this snapshot's location. - /// - /// @returns Child relative to this location. - DatabaseReference Child(const std::string& path) const; - - /// @brief Automatically generates a child location, create a reference to it, - /// and returns that reference to it. - /// - /// @returns A newly created child, with a unique key. - DatabaseReference PushChild() const; - - /// @brief Removes the value at this location from the database. - /// - /// This is an asynchronous operation which takes time to execute, and uses - /// firebase::Future to return its result. - /// - /// @returns A Future result, which will complete when the operation either - /// succeeds or fails. When the Future is completed, if its Error is - /// kErrorNone, the operation succeeded. - /// - /// @note Only one RemoveValue() should be running on a given database - /// location at the same time. If you need to run multiple operations at once, - /// use RunTransaction(). - Future RemoveValue(); - - /// @brief Gets the result of the most recent call to RemoveValue(); - /// - /// @returns Result of the most recent call to RemoveValue(). - Future RemoveValueLastResult(); - - /// @brief Run a user-supplied callback function (passing in a context), - /// possibly multiple times, to perform an atomic transaction on the database. - /// - /// @see firebase::database::DoTransactionWithContext for more information. - /// - /// @param[in] transaction_function The user-supplied function that will be - /// called, possibly multiple times, to perform the database transaction. - /// @param[in] context User-supplied context that will be passed to the - /// transaction function. - /// @param[in] trigger_local_events If true, events will be triggered for - /// intermediate state changes during the transaction. If false, only the - /// final state will cause events to be triggered. - /// - /// @returns A Future result, which will complete when the transaction either - /// succeeds or fails. When the Future is completed, if its Error is - /// kErrorNone, the operation succeeded and the transaction was committed, and - /// the new value of the data will be returned in the DataSnapshot result. If - /// the Error is kErrorTransactionAbortedByUser, the transaction was aborted - /// because the transaction function returned kTransactionResultAbort, and the - /// old value will be returned in DataSnapshot. Otherwise, if some other error - /// occurred, Error and ErrorMessage will be set and DataSnapshot will be - /// invalid. - /// - /// @note Only one RunTransaction() should be running on a given database - /// location at the same time. - Future RunTransaction( - DoTransactionWithContext transaction_function, void* context, - bool trigger_local_events = true); - -#if defined(FIREBASE_USE_STD_FUNCTION) || defined(DOXYGEN) - /// @brief Run a user-supplied callback, possibly multiple times, to perform - /// an atomic transaction on the database. - /// - /// @see firebase::database::DoTransactionFunction for more information. - /// - /// @param[in] transaction_function The user-supplied function or lambda that - /// will be called, possibly multiple times, to perform the database - /// transaction. - /// @param[in] trigger_local_events If true, events will be triggered for - /// intermediate state changes during the transaction. If false, only the - /// final state will cause events to be triggered. - /// - /// @returns A Future result, which will complete when the transaction either - /// succeeds or fails. When the Future is completed, if its Error is - /// kErrorNone, the operation succeeded and the transaction was committed, and - /// the new value of the data will be returned in the DataSnapshot result. If - /// the Error is kErrorTransactionAbortedByUser, the transaction was aborted - /// because the transaction function returned kTransactionResultAbort, and the - /// old value will be returned in DataSnapshot. Otherwise, if some other error - /// occurred, Error and ErrorMessage will be set and DataSnapshot will be - /// invalid. - /// - /// @note Only one RunTransaction() should be running on a given database - /// location at the same time. - /// - /// @note This version (that accepts an std::function) is not available when - /// using stlport on Android. If you don't wish to use std::function, use the - /// overloaded method that accepts a simple function pointer with a context. - Future RunTransaction( - DoTransactionFunction transaction_function, - bool trigger_local_events = true); -#endif // defined(FIREBASE_USE_STD_FUNCTION) || defined(DOXYGEN) - -#if !defined(FIREBASE_USE_STD_FUNCTION) || defined(DOXYGEN) - /// @brief Run a user-supplied callback function, possibly multiple times, to - /// perform an atomic transaction on the database. - /// - /// @see firebase::database::DoTransaction for more information. - /// - /// @param[in] transaction_function The user-supplied function that will be - /// called, possibly multiple times, to perform the database transaction. - /// @param[in] trigger_local_events If true, events will be triggered for - /// intermediate state changes during the transaction. If false, only the - /// final state will cause events to be triggered. - /// - /// @returns A Future result, which will complete when the transaction either - /// succeeds or fails. When the Future is completed, if its Error is - /// kErrorNone, the operation succeeded and the transaction was committed, and - /// the new value of the data will be returned in the DataSnapshot result. If - /// the Error is kErrorTransactionAbortedByUser, the transaction was aborted - /// because the transaction function returned kTransactionResultAbort, and the - /// old value will be returned in DataSnapshot. Otherwise, if some other error - /// occurred, Error and ErrorMessage will be set and DataSnapshot will be - /// invalid. - /// - /// @note Only one RunTransaction() should be running on a given database - /// location at the same time. - /// - /// @note This version (that accepts a simple function pointer) is only - /// available when using stlport and std::function is not available. - Future RunTransaction(DoTransaction transaction_function, - bool trigger_local_events = true); -#endif // !defined(FIREBASE_USE_STD_FUNCTION) || defined(DOXYGEN) - - /// @brief Get the result of the most recent call to RunTransaction(). - /// - /// @returns Results of the most recent call to RunTransaction(). - Future RunTransactionLastResult(); - - /// @brief Sets the priority of this field, which controls its sort - /// order relative to its siblings. - /// - /// In Firebase, children are sorted in the following order: - /// 1. First, children with no priority. - /// 2. Then, children with numerical priority, sorted numerically in - /// ascending order. - /// 3. Then, remaining children, sorted lexicographically in ascending order - /// of their text priority. - /// - /// Children with the same priority (including no priority) are sorted by - /// key: - /// A. First, children with keys that can be parsed as 32-bit integers, - /// sorted in ascending numerical order of their keys. - /// B. Then, remaining children, sorted in ascending lexicographical order - /// of their keys. - /// - /// This is an asynchronous operation which takes time to execute, and uses - /// firebase::Future to return its result. - /// - /// @param[in] priority Sort priority for this child relative to its siblings. - /// The Variant types accepted are Null, Int64, Double, and String. Other - /// types will return kErrorInvalidVariantType. - /// - /// @returns A Future result, which will complete when the operation either - /// succeeds or fails. When the Future is completed, if its Error is - /// kErrorNone, the operation succeeded. - /// - /// @note Only one SetPriority() should be running on a given database - /// location - /// at the same time. If you need to run multiple operations at once, use - /// RunTransaction(). - Future SetPriority(Variant priority); - - /// @brief Gets the result of the most recent call to SetPriority(). - /// - /// @returns Result of the most recent call to SetPriority(). - Future SetPriorityLastResult(); - - /// @brief Sets the data at this location to the given value. - /// - /// This is an asynchronous operation which takes time to execute, and uses - /// firebase::Future to return its result. - /// - /// @param[in] value The value to set this location to. The Variant's type - /// corresponds to the types accepted by the database JSON: - /// Null: Deletes this location from the database. - /// Int64: Inserts an integer value into this location. - /// Double: Inserts a floating point value into this location. - /// String: Inserts a string into this location. - /// (Accepts both Mutable and Static strings) - /// Vector: Inserts a JSON array into this location. The elements can be any - /// Variant type, including Vector and Map. - /// Map: Inserts a JSON associative array into this location. The keys must - /// be of type String (or Int64/Double which are converted to String). - /// The values can be any Variant type, including Vector and Map. - /// - /// @returns A Future result, which will complete when the operation either - /// succeeds or fails. When the Future is completed, if its Error is - /// kErrorNone, the operation succeeded. - /// - /// @note Only one SetValue() should be running on a given database location - /// at the same time. If you need to run multiple operations at once, use - /// RunTransaction(). - Future SetValue(Variant value); - - /// @brief Gets the result of the most recent call to SetValue(). - /// - /// @returns Result of the most recent call to SetValue(). - Future SetValueLastResult(); - - /// @brief Sets both the data and priority of this location. See SetValue() - /// and SetPriority() for context on the parameters. - /// - /// This is an asynchronous operation which takes time to execute, and uses - /// firebase::Future to return its result. - /// - /// @param[in] value The value to set this location to. See SetValue() for - /// information on the types accepted. - /// @param[in] priority The priority to set this location to. See - /// SetPriority() for information on the types accepted. - /// - /// @returns A Future result, which will complete when the operation either - /// succeeds or fails. When the Future is completed, if its Error is - /// kErrorNone, the operation succeeded. - /// - /// @note Only one SetValueAndPriority() should be running on a given database - /// location at the same time. SetValueAndPriority() can't be used on the same - /// location at the same time as either SetValue() or SetPriority(), and will - /// return kErrorConflictingOperationInProgress if you try. If you need to run - /// multiple operations at once, use RunTransaction(). - Future SetValueAndPriority(Variant value, Variant priority); - - /// @brief Get the result of the most recent call to SetValueAndPriority(). - /// - /// @returns Result of the most recent call to SetValueAndPriority(). - Future SetValueAndPriorityLastResult(); - - /// @brief Updates the specified child keys to the given values. - /// - /// @param[in] values A variant of type Map. The keys are the paths to update - /// and must be of type String (or Int64/Double which are converted to - /// String). The values can be any Variant type. A value of Variant type Null - /// will delete the child. - /// - /// @returns A Future result, which will complete when the operation either - /// succeeds or fails. When the Future is completed, if its Error is - /// kErrorNone, the operation succeeded. - /// - /// @note This method will return kErrorConflictingOperationInProgress if it - /// is run at the same time as SetValue(), SetValueAndPriority(), or - /// RemoveValue() in the same location. - Future UpdateChildren(Variant values); - - /// @brief Updates the specified child keys to the given values. - /// - /// This is an asynchronous operation which takes time to execute, and uses - /// firebase::Future to return its result. - /// - /// @param[in] values The paths to update, and their new child values. A value - /// of type Null will delete that particular child. - /// - /// @returns A Future result, which will complete when the operation either - /// succeeds or fails. When the Future is completed, if its Error is - /// kErrorNone, the operation succeeded. - inline Future UpdateChildren( - const std::map& values) { - return UpdateChildren(Variant(values)); - } - - /// @brief Gets the result of the most recent call to either version of - /// UpdateChildren(). - /// - /// @returns Result of the most recent call to UpdateChildren(). - Future UpdateChildrenLastResult(); - - /// @brief Get the absolute URL of this reference. - /// - /// @returns The absolute URL of the location this reference refers to. - std::string url() const; - - /// @brief Get the disconnect handler, which controls what actions the server - /// will perform to this location's data when this client disconnects. - /// - /// @returns Disconnection handler for this location. You can use this to - /// queue up operations on the server to be performed when the client - /// disconnects. - DisconnectionHandler* OnDisconnect(); - - /// @brief Manually disconnect Firebase Realtime Database from the server, and - /// disable automatic reconnection. This will affect all other instances of - /// DatabaseReference as well. - void GoOffline(); - - /// @brief Manually reestablish connection to the Firebase Realtime Database - /// server and enable automatic reconnection. This will affect all other - /// instances of DatabaseReference as well. - void GoOnline(); - - protected: - /// @cond FIREBASE_APP_INTERNAL - explicit DatabaseReference(internal::DatabaseReferenceInternal* internal); - /// @endcond - - private: - /// @cond FIREBASE_APP_INTERNAL - - // Remove the "Query" cleanup registration (which the base class constructor - // already registered) and replace it with a "DatabaseReference" registration. - // - // This is necessary so that if the instance needs to be cleaned up, the - // correct pointer type will be used to access it. - void SwitchCleanupRegistrationToDatabaseReference(); - - // Remove the "DatabaseReference" cleanup registration and replace it with a - // "Query" one. ~Query() will unregister that one. - void SwitchCleanupRegistrationBackToQuery(); - - friend class DataSnapshot; - friend class Query; - friend class internal::DatabaseInternal; - friend class internal::Repo; - friend bool operator==(const DatabaseReference& lhs, - const DatabaseReference& rhs); - /// @endcond - - internal::DatabaseReferenceInternal* internal_; -}; - -/// @brief Compares two DatabaseReference instances. -/// -/// @param[in] lhs A DatabaseReference. -/// @param[in] rhs A DatabaseReference to compare against. -/// -/// @returns True if the DatabaseReference instances have the same URL. False -/// otherwise. -bool operator==(const DatabaseReference& lhs, const DatabaseReference& rhs); - -} // namespace database -} // namespace firebase - -#endif // FIREBASE_DATABASE_SRC_INCLUDE_FIREBASE_DATABASE_DATABASE_REFERENCE_H_ diff --git a/vendors/firebase/include/firebase/database/disconnection.h b/vendors/firebase/include/firebase/database/disconnection.h deleted file mode 100644 index b21fa472e..000000000 --- a/vendors/firebase/include/firebase/database/disconnection.h +++ /dev/null @@ -1,156 +0,0 @@ -// Copyright 2016 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -#ifndef FIREBASE_DATABASE_SRC_INCLUDE_FIREBASE_DATABASE_DISCONNECTION_H_ -#define FIREBASE_DATABASE_SRC_INCLUDE_FIREBASE_DATABASE_DISCONNECTION_H_ - -#include "firebase/future.h" -#include "firebase/internal/common.h" -#include "firebase/variant.h" - -namespace firebase { -namespace database { -namespace internal { -class DatabaseReferenceInternal; -class DisconnectionHandlerInternal; -} // namespace internal - -/// Allows you to register server-side actions to occur when the client -/// disconnects. Each method you call (with the exception of Cancel) will queue -/// up an action on the data that will be performed by the server in the event -/// the client disconnects. To reset this queue, call Cancel(). -/// -/// A DisconnectionHandler is associated with a specific location in the -/// database, as they are obtained by calling DatabaseReference::OnDisconnect(). -class DisconnectionHandler { - public: - ~DisconnectionHandler(); - - /// @brief Cancel any Disconnection operations that are queued up by this - /// handler. When the Future returns, if its Error is kErrorNone, the queue - /// has been cleared on the server. - /// - /// @returns A Future result, which will complete when the operation either - /// succeeds or fails. When the Future is completed, if its Error is - /// kErrorNone, the operation succeeded. - Future Cancel(); - /// @brief Get the result of the most recent call to Cancel(). - /// - /// @returns Result of the most recent call to Cancel(). - Future CancelLastResult(); - - /// @brief Remove the value at the current location when the client - /// disconnects. When the Future returns, if its Error is kErrorNone, the - /// RemoveValue operation has been successfully queued up on the server. - /// - /// @returns A Future result, which will complete when the operation either - /// succeeds or fails. When the Future is completed, if its Error is - /// kErrorNone, the operation succeeded. - Future RemoveValue(); - /// @brief Get the result of the most recent call to RemoveValue(). - /// - /// @returns Result of the most recent call to RemoveValue(). - Future RemoveValueLastResult(); - - /// @brief Set the value of the data at the current location when the client - /// disconnects. When the Future returns, if its Error is kErrorNone, the - /// SetValue operation has been successfully queued up on the server. - /// - /// @param[in] value The value to set this location to when the client - /// disconnects. For information on how the Variant types are used, - /// see firebase::database::DatabaseReference::SetValue(). - /// - /// @returns A Future result, which will complete when the operation either - /// succeeds or fails. When the Future is completed, if its Error is - /// kErrorNone, the operation succeeded. - Future SetValue(Variant value); - /// Get the result of the most recent call to SetValue(). - /// - /// @returns Result of the most recent call to SetValue(). - Future SetValueLastResult(); - - /// @brief Set the value and priority of the data at the current location when - /// the client disconnects. When the Future returns, if its Error is - /// kErrorNone, the SetValue operation has been successfully queued up on the - /// server. - /// - /// @param[in] value The value to set this location to when the client - /// disconnects. For information on how the Variant types are used, - /// see firebase::database::DatabaseReference::SetValue(). - /// @param[in] priority The priority to set this location to when the client - /// disconnects. The Variant types accepted are Null, Int64, Double, and - /// String. For information about how priority is used, see - /// firebase::database::DatabaseReference::SetPriority(). - /// - /// @returns A Future result, which will complete when the operation either - /// succeeds or fails. When the Future is completed, if its Error is - /// kErrorNone, the operation succeeded. - Future SetValueAndPriority(Variant value, Variant priority); - /// @brief Get the result of the most recent call to SetValueAndPriority(). - /// - /// @returns Result of the most recent call to SetValueAndPriority(). - Future SetValueAndPriorityLastResult(); - - /// @brief Updates the specified child keys to the given values when the - /// client disconnects. When the Future returns, if its Error is kErrorNone, - /// the UpdateChildren operation has been successfully queued up by the - /// server. - /// - /// @param[in] values A variant of type Map. The keys are the paths to update - /// and must be of type String (or Int64/Double which are converted to - /// String). The values can be any Variant type. A value of Variant type Null - /// will delete the child. - /// - /// @returns A Future result, which will complete when the operation either - /// succeeds or fails. When the Future is completed, if its Error is - /// kErrorNone, the operation succeeded. - Future UpdateChildren(Variant values); - /// @brief Updates the specified child keys to the given values when the - /// client disconnects. When the Future returns, if its Error is kErrorNone, - /// the UpdateChildren operation has been successfully queued up by the - /// server. - /// - /// @param[in] values The paths to update, and their new child values. A value - /// of type Null will delete that particular child. - /// - /// @returns A Future result, which will complete when the operation either - /// succeeds or fails. When the Future is completed, if its Error is - /// kErrorNone, the operation succeeded. - Future UpdateChildren(const std::map& values) { - return UpdateChildren(Variant(values)); - } - /// @brief Gets the result of the most recent call to either version of - /// UpdateChildren(). - /// - /// @returns Result of the most recent call to UpdateChildren(). - Future UpdateChildrenLastResult(); - - private: - /// @cond FIREBASE_APP_INTERNAL - friend class internal::DatabaseReferenceInternal; - friend class internal::DisconnectionHandlerInternal; - /// @endcond - - /// Call DatabaseReference::OnDisconnect() to get an instance of this class. - explicit DisconnectionHandler( - internal::DisconnectionHandlerInternal* internal); - - /// You can only get the DisconnectHandler for a given reference. - internal::DisconnectionHandlerInternal* internal_; -}; - -} // namespace database -} // namespace firebase - -#endif // FIREBASE_DATABASE_SRC_INCLUDE_FIREBASE_DATABASE_DISCONNECTION_H_ diff --git a/vendors/firebase/include/firebase/database/listener.h b/vendors/firebase/include/firebase/database/listener.h deleted file mode 100644 index fe13d9299..000000000 --- a/vendors/firebase/include/firebase/database/listener.h +++ /dev/null @@ -1,112 +0,0 @@ -// Copyright 2016 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -#ifndef FIREBASE_DATABASE_SRC_INCLUDE_FIREBASE_DATABASE_LISTENER_H_ -#define FIREBASE_DATABASE_SRC_INCLUDE_FIREBASE_DATABASE_LISTENER_H_ - -#include "firebase/database/common.h" - -namespace firebase { -namespace database { - -class DataSnapshot; - -/// Value listener interface. Subclasses of this listener class can be -/// used to receive events about data changes at a location. Attach -/// the listener to a location using -/// DatabaseReference::AddValueListener() or -/// Query::AddValueListener(), and OnValueChanged() will be called -/// once immediately, and again when the value changes. -class ValueListener { - public: - virtual ~ValueListener(); - - /// This method will be called with a snapshot of the data at this - /// location each time that data changes. - /// - /// @param[in] snapshot The current data at the location. - virtual void OnValueChanged(const DataSnapshot& snapshot) = 0; - - /// @brief This method will be triggered in the event that this listener - /// either failed at the server, or is removed as a result of the security and - /// Firebase rules. - /// - /// @param[in] error A code corresponding to the error that occurred. - /// @param[in] error_message A description of the error that occurred. - virtual void OnCancelled(const Error& error, const char* error_message) = 0; -}; - -/// Child listener interface. Subclasses of this listener class can be -/// used to receive events about changes in the child locations of a -/// firebase::database::Query or -/// firebase::database::DatabaseReference. Attach the listener to a -/// location with Query::AddChildListener() or -/// DatabaseReference::AddChildListener() and the appropriate method -/// will be triggered when changes occur. -class ChildListener { - public: - virtual ~ChildListener(); - - /// @brief This method is triggered when a new child is added to the location - /// to which this listener was added. - /// - /// @param[in] snapshot An immutable snapshot of the data at the new data at - /// the child location. - /// @param[in] previous_sibling_key The key name of sibling location ordered - /// before the child. This will be nullptr for the first child node of a - /// location. - virtual void OnChildAdded(const DataSnapshot& snapshot, - const char* previous_sibling_key) = 0; - /// @brief This method is triggered when the data at a child location has - /// changed. - /// - /// @param[in] snapshot An immutable snapshot of the data at the new data at - /// the child location. - /// @param[in] previous_sibling_key The key name of sibling location ordered - /// before the child. This will be nullptr for the first child node of a - /// location. - virtual void OnChildChanged(const DataSnapshot& snapshot, - const char* previous_sibling_key) = 0; - /// @brief This method is triggered when a child location's priority changes. - /// See DatabaseReference::SetPriority() for more information on priorities - /// and - /// ordering data. - /// - /// @param[in] snapshot An immutable snapshot of the data at the new data at - /// the child location. - /// @param[in] previous_sibling_key The key name of sibling location ordered - /// before the child. This will be nullptr for the first child node of a - /// location. - virtual void OnChildMoved(const DataSnapshot& snapshot, - const char* previous_sibling_key) = 0; - /// @brief This method is triggered when a child is removed from the location - /// to which this listener was added. - /// - /// @param[in] snapshot An immutable snapshot of the data at the new data at - /// the child location. - virtual void OnChildRemoved(const DataSnapshot& snapshot) = 0; - - /// @brief This method will be triggered in the event that this listener - /// either failed at the server, or is removed as a result of the security and - /// Firebase rules. - /// - /// @param[in] error A code corresponding to the error that occurred. - /// @param[in] error_message A description of the error that occurred. - virtual void OnCancelled(const Error& error, const char* error_message) = 0; -}; - -} // namespace database -} // namespace firebase - -#endif // FIREBASE_DATABASE_SRC_INCLUDE_FIREBASE_DATABASE_LISTENER_H_ diff --git a/vendors/firebase/include/firebase/database/mutable_data.h b/vendors/firebase/include/firebase/database/mutable_data.h deleted file mode 100644 index cedfa159c..000000000 --- a/vendors/firebase/include/firebase/database/mutable_data.h +++ /dev/null @@ -1,165 +0,0 @@ -// Copyright 2016 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -#ifndef FIREBASE_DATABASE_SRC_INCLUDE_FIREBASE_DATABASE_MUTABLE_DATA_H_ -#define FIREBASE_DATABASE_SRC_INCLUDE_FIREBASE_DATABASE_MUTABLE_DATA_H_ - -#include "firebase/internal/common.h" -#include "firebase/variant.h" - -namespace firebase { -namespace database { -namespace internal { -class DatabaseInternal; -class DatabaseReferenceInternal; -class MutableDataInternal; -class Repo; -} // namespace internal - -#ifndef SWIG -/// Instances of this class encapsulate the data and priority at a location. It -/// is used in transactions, and it is intended to be inspected and then updated -/// to the desired data at that location. -#endif // SWIG -class MutableData { - public: -#if defined(FIREBASE_USE_MOVE_OPERATORS) - /// Move constructor - /// Move is more efficient than copy and delete. - MutableData(MutableData&& rhs); - - // MutableData may be moved. - MutableData& operator=(MutableData&& rhs); -#endif // defined(FIREBASE_USE_MOVE_OPERATORS) - - /// Destructor. - ~MutableData(); - - /// @brief Used to obtain a MutableData instance that encapsulates - /// the data and priority at the given relative path. - /// - /// Note that changes made to a child MutableData instance will be visible - /// to the parent and vice versa. - /// - /// @param[in] path Path relative to this snapshot's location. - /// The pointer only needs to be valid during this call. - /// - /// @returns MutableData for the Child relative to this location. The memory - /// will be freed when the Transaction is finished. - MutableData Child(const char* path); - - /// @brief Used to obtain a MutableData instance that encapsulates - /// the data and priority at the given relative path. - /// - /// @param[in] path Path relative to this snapshot's location. - /// - /// @returns MutableData for the Child relative to this location. The memory - /// will be freed when the Transaction is finished. - MutableData Child(const std::string& path); - - /// @brief Get all the immediate children of this location. - /// - /// @returns The immediate children of this location. - std::vector children(); - - /// @brief Get the number of children of this location. - /// - /// @returns The number of immediate children of this location. - size_t children_count(); - - /// @brief Get the key name of the source location of this data. - /// - /// @note The returned pointer is only guaranteed to be valid during the - /// transaction. - /// - /// @returns Key name of the source location of this data. - const char* key() const; - - /// @brief Get the key name of the source location of this data. - /// - /// @returns Key name of the source location of this data. - std::string key_string() const; - - /// @brief Get the value of the data contained at this location. - /// - /// @returns The value of the data contained at this location. - Variant value() const; - - /// @brief Get the priority of the data contained at this snapshot. - /// - /// @returns The value of this location's Priority relative to its siblings. - Variant priority(); - - /// @brief Does this MutableData have data at a particular location? - /// - /// @param[in] path Path relative to this data's location. - /// The pointer only needs to be valid during this call. - /// - /// @returns True if there is data at the specified location, false if not. - bool HasChild(const char* path) const; - - /// @brief Does this MutableData have data at a particular location? - /// - /// @param[in] path Path relative to this data's location. - /// @returns True if there is data at the specified location, false if not. - bool HasChild(const std::string& path) const; - - /// @brief Sets the data at this location to the given value. - /// - /// @param[in] value The value to set this location to. The Variant's type - /// corresponds to the types accepted by the database JSON: - /// Null: Deletes this location from the database. - /// Int64: Inserts an integer value into this location. - /// Double: Inserts a floating point value into this location. - /// String: Inserts a string into this location. - /// (Accepts both Mutable and Static strings) - /// Vector: Inserts a JSON array into this location. The elements can be any - /// Variant type, including Vector and Map. - /// Map: Inserts a JSON associative array into this location. The keys must - /// be of type String (or Int64/Double which are converted to String). - /// The values can be any Variant type, including Vector and Map. - void set_value(const Variant& value); - - /// @brief Sets the priority of this field, which controls its sort - /// order relative to its siblings. - /// - /// @see firebase::database::DatabaseReference::SetPriority() for information - /// on how Priority affects the ordering of a node's children. - /// - /// @param[in] priority Sort priority for this child relative to its siblings. - /// The Variant types accepted are Null, Int64, Double, and String. Other - /// types will return kErrorInvalidVariantType. - void set_priority(const Variant& priority); - - private: - /// @cond FIREBASE_APP_INTERNAL - friend class internal::DatabaseReferenceInternal; - friend class internal::DatabaseInternal; - friend class internal::MutableDataInternal; - friend class internal::Repo; - friend MutableData GetInvalidMutableData(); - /// @endcond - - explicit MutableData(internal::MutableDataInternal* internal); - - MutableData(const MutableData& rhs) = delete; - MutableData& operator=(const MutableData& rhs) = delete; - - internal::MutableDataInternal* internal_; -}; - -} // namespace database -} // namespace firebase - -#endif // FIREBASE_DATABASE_SRC_INCLUDE_FIREBASE_DATABASE_MUTABLE_DATA_H_ diff --git a/vendors/firebase/include/firebase/database/query.h b/vendors/firebase/include/firebase/database/query.h deleted file mode 100644 index 861bdd505..000000000 --- a/vendors/firebase/include/firebase/database/query.h +++ /dev/null @@ -1,357 +0,0 @@ -// Copyright 2016 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -#ifndef FIREBASE_DATABASE_SRC_INCLUDE_FIREBASE_DATABASE_QUERY_H_ -#define FIREBASE_DATABASE_SRC_INCLUDE_FIREBASE_DATABASE_QUERY_H_ - -#include - -#include "firebase/database/listener.h" -#include "firebase/future.h" -#include "firebase/internal/common.h" - -namespace firebase { -namespace database { -namespace internal { -class QueryInternal; -} // namespace internal - -class DatabaseReference; - -#ifndef SWIG -/// The Query class is used for reading data. Listeners can be attached, which -/// will be triggered when the data changes. -#endif // SWIG -class Query { - public: - /// Default constructor. This creates an invalid Query. Attempting to perform - /// any operations on this reference will fail unless a valid Query has been - /// assigned to it. - Query() : internal_(nullptr) {} - - /// Copy constructor. Queries can be copied. Copies exist independently of - /// each other. - Query(const Query& query); - - /// Copy assignment operator. Queries can be copied. Copies exist - /// independently of each other. - Query& operator=(const Query& query); - -#if defined(FIREBASE_USE_MOVE_OPERATORS) || defined(DOXYGEN) - /// Move constructor. - Query(Query&& query); - /// Move assignment operator. - Query& operator=(Query&& query); -#endif // defined(FIREBASE_USE_MOVE_OPERATORS) || defined(DOXYGEN) - - /// @brief Required virtual destructor. - virtual ~Query(); - - /// @brief Gets the value of the query for the given location a single time. - /// - /// This is an asynchronous operation which takes time to execute, and uses - /// firebase::Future to return its result. - /// - /// @returns A Future result, which will complete when the operation either - /// succeeds or fails. On this Future's completion, if its Error is - /// kErrorNone, the operation succeeded, and the DataSnapshot contains the - /// data in this location. - Future GetValue(); - /// @brief Gets the result of the most recent call to GetValue(). - /// - /// @returns Result of the most recent call to GetValue(). - Future GetValueLastResult(); - - /// @brief Adds a listener that will be called immediately and then again any - /// time the data changes. - /// - /// @param[in] listener A ValueListener instance, which must remain in memory - /// until you remove the listener from the Query. - void AddValueListener(ValueListener* listener); - - /// @brief Removes a listener that was previously added with - /// AddValueListener(). - /// - /// @param[in] listener A ValueListener instance to remove from the - /// Query. After it is removed, you can delete it or attach it to a new - /// location. - /// - /// @note You can remove a ValueListener from a different Query than you added - /// it to, as long as the two Query instances are equivalent. - void RemoveValueListener(ValueListener* listener); - - /// @brief Removes all value listeners that were added with - /// AddValueListener(). - /// - /// @note You can remove ValueListeners from a different Query than you added - /// them to, as long as the two Query instances are equivalent. - void RemoveAllValueListeners(); - - /// @brief Adds a listener that will be called any time a child is added, - /// removed, modified, or reordered. - /// - /// @param[in] listener A ChildListener instance, which must remain in memory - /// until you remove the listener from the Query. - void AddChildListener(ChildListener* listener); - - /// @brief Removes a listener that was previously added with - /// AddChildListener(). - /// - /// @param[in] listener A ChildListener instance to remove from the - /// Query. After it is removed, you can delete it or attach it to a new - /// location. - /// - /// @note You can remove a ChildListener from a different Query than you added - /// it to, as long as the two Query instances are equivalent. - void RemoveChildListener(ChildListener* listener); - - /// @brief Removes all child listeners that were added by AddChildListener(). - /// - /// @note You can remove ChildListeners from a different Query than you added - /// them to, as long as the two Query instances are equivalent. - void RemoveAllChildListeners(); - - /// @brief Gets a DatabaseReference corresponding to the given location. - /// - /// @returns A DatabaseReference corresponding to the same location as the - /// Query, but without any of the ordering or filtering parameters. - DatabaseReference GetReference() const; - - /// @brief Sets whether this location's data should be kept in sync even if - /// there are no active Listeners. - /// - /// By calling SetKeepSynchronized(true) on a given database location, the - /// data for that location will automatically be downloaded and kept in sync, - /// even when no listeners are attached for that location. Additionally, while - /// a location is kept synced, it will not be evicted from the persistent disk - /// cache. - /// - /// @param[in] keep_sync If true, set this location to be synchronized. If - /// false, set it to not be synchronized. - void SetKeepSynchronized(bool keep_sync); - - // The OrderBy* functions are used for two purposes: - // 1. Order the data when getting the list of children. - // 2. When filtering the data using the StartAt* and EndAt* functions further - // below, use the specified ordering. - - /// @brief Gets a query in which child nodes are ordered by the values of the - /// specified path. Any previous OrderBy directive will be replaced in the - /// returned Query. - /// - /// @param[in] path Path to a child node. The value of this node will be used - /// for sorting this query. The pointer you pass in need not remain valid - /// after the call completes. - /// - /// @returns A Query in this same location, with the children are sorted by - /// the value of their own child specified here. - Query OrderByChild(const char* path); - /// @brief Gets a query in which child nodes are ordered by the values of the - /// specified path. Any previous OrderBy directive will be replaced in the - /// returned Query. - /// - /// @param[in] path Path to a child node. The value of this node will be used - /// for sorting this query. - /// - /// @returns A Query in this same location, with the children are sorted by - /// the value of their own child specified here. - Query OrderByChild(const std::string& path); - /// @brief Gets a query in which child nodes are ordered by their keys. Any - /// previous OrderBy directive will be replaced in the returned Query. - /// - /// @returns A Query in this same location, with the children are sorted by - /// their key. - Query OrderByKey(); - /// @brief Gets a query in which child nodes are ordered by their priority. - /// Any previous OrderBy directive will be replaced in the returned Query. - /// - /// @returns A Query in this same location, with the children are sorted by - /// their priority. - Query OrderByPriority(); - /// @brief Create a query in which nodes are ordered by their value. - /// - /// @returns A Query in this same location, with the children are sorted by - /// their value. - Query OrderByValue(); - - // The StartAt, EndAt, and EqualTo functions are used to limit which child - // nodes are returned when iterating through the current location. - - /// @brief Get a Query constrained to nodes with the given sort value or - /// higher. - /// - /// This method is used to generate a reference to a limited view of the data - /// at this location. The Query returned will only refer to child nodes with a - /// value greater than or equal to the given value, using the given OrderBy - /// directive (or priority as the default). - /// - /// @param[in] order_value The lowest sort value the Query should include. - /// - /// @returns A Query in this same location, filtering out child nodes that - /// have a lower sort value than the sort value specified. - Query StartAt(Variant order_value); - /// @brief Get a Query constrained to nodes with the given sort value or - /// higher, and the given key or higher. - /// - /// This method is used to generate a reference to a limited view of the data - /// at this location. The Query returned will only refer to child nodes with a - /// value greater than or equal to the given value, using the given OrderBy - /// directive (or priority as default), and additionally only child nodes with - /// a key greater than or equal to the given key. - /// - /// Known issue This currently does not work properly on all platforms. - /// Please use StartAt(Variant order_value) instead. - /// - /// @param[in] order_value The lowest sort value the Query should include. - /// @param[in] child_key The lowest key the Query should include. - /// - /// @returns A Query in this same location, filtering out child nodes that - /// have a lower sort value than the sort value specified, or a lower key than - /// the key specified. - Query StartAt(Variant order_value, const char* child_key); - - /// @brief Get a Query constrained to nodes with the given sort value or - /// lower. - /// - /// This method is used to generate a reference to a limited view of the data - /// at this location. The Query returned will only refer to child nodes with a - /// value less than or equal to the given value, using the given OrderBy - /// directive (or priority as default). - /// - /// @param[in] order_value The highest sort value the Query should refer - /// to. - /// - /// @returns A Query in this same location, filtering out child nodes that - /// have a higher sort value or key than the sort value or key specified. - Query EndAt(Variant order_value); - /// @brief Get a Query constrained to nodes with the given sort value or - /// lower, and the given key or lower. - /// - /// This method is used to generate a reference to a limited view of - /// the data at this location. The Query returned will only refer to child - /// nodes with a value less than or equal to the given value, using the given - /// OrderBy directive (or priority as default), and additionally only child - /// nodes with a key less than or equal to the given key. - /// - /// Known issue This currently does not work properly on all platforms. - /// Please use EndAt(Variant order_value) instead. - /// - /// @param[in] order_value The highest sort value the Query should include. - /// @param[in] child_key The highest key the Query should include. - /// - /// @returns A Query in this same location, filtering out child nodes that - /// have a higher sort value than the sort value specified, or a higher key - /// than the key specified. - Query EndAt(Variant order_value, const char* child_key); - - /// @brief Get a Query constrained to nodes with the exact given sort value. - /// - /// This method is used to create a query constrained to only return child - /// nodes with the given value, using the given OrderBy directive (or priority - /// as default). - /// - /// @param[in] order_value The exact sort value the Query should include. - /// - /// @returns A Query in this same location, filtering out child nodes that - /// have a different sort value than the sort value specified. - Query EqualTo(Variant order_value); - /// @brief Get a Query constrained to nodes with the exact given sort value, - /// and the exact given key. - /// - /// This method is used to create a query constrained to only return the child - /// node with the given value, using the given OrderBy directive (or priority - /// as default), and the given key. Note that there is at most one such child - /// as child key names are unique. - /// - /// Known issue This currently does not work properly on iOS and - /// desktop. Please use EqualTo(Variant order_value) instead. - /// - /// @param[in] order_value The exact sort value the Query should include. - /// @param[in] child_key The exact key the Query should include. - /// - /// @returns A Query in this same location, filtering out child nodes that - /// have a different sort value than the sort value specified, and containing - /// at most one child with the exact key specified. - Query EqualTo(Variant order_value, const char* child_key); - - // The LimitTo* functions are used to limit how many child nodes are returned - // when iterating through the current location. - - /// @brief Gets a Query limited to only the first results. - /// - /// Limits the query to reference only the first N child nodes, using the - /// given OrderBy directive (or priority as default). - /// - /// @param[in] limit Number of children to limit the Query to. - /// - /// @returns A Query in this same location, limited to the specified number of - /// children (taken from the beginning of the sorted list). - Query LimitToFirst(size_t limit); - /// @brief Gets a Query limited to only the last results. - /// - /// @param[in] limit Number of children to limit the Query to. - /// - /// @returns A Query in this same location, limited to the specified number of - /// children (taken from the end of the sorted list). - Query LimitToLast(size_t limit); - - /// @brief Returns true if this query is valid, false if it is not valid. An - /// invalid query could be returned by, say, attempting to OrderBy two - /// different items, or calling OrderByChild() with an empty path, or by - /// constructing a Query with the default constructor. If a Query - /// is invalid, attempting to add more constraints will also result in an - /// invalid Query. - /// - /// @returns true if this query is valid, false if this query is - /// invalid. - virtual bool is_valid() const; - - protected: - /// @cond FIREBASE_APP_INTERNAL - explicit Query(internal::QueryInternal* internal); - void SetInternal(internal::QueryInternal* internal); - void RegisterCleanup(); - void UnregisterCleanup(); - /// @endcond - - private: - /// @cond FIREBASE_APP_INTERNAL - friend bool operator==(const Query& lhs, const Query& rhs); - /// @endcond - - internal::QueryInternal* internal_; -}; - -/// @brief Compares two Query instances. -/// -/// Two Query instances on the same database, in the same location, with the -/// same parameters (OrderBy*, StartAt, EndAt, EqualTo, Limit*) are considered -/// equivalent. -/// -/// Equivalent Queries have a shared pool of ValueListeners and -/// ChildListeners. When listeners are added or removed from one Query -/// instance, it affects all equivalent Query instances. -/// -/// @param[in] lhs The Query to compare against. -/// @param[in] rhs The Query to compare against. -/// -/// @returns True if the Query instances have the same database, the same -/// path, and the same parameters, determined by StartAt(), EndAt(), -/// EqualTo(), and the OrderBy and LimitTo methods. False otherwise. -bool operator==(const Query& lhs, const Query& rhs); - -} // namespace database -} // namespace firebase - -#endif // FIREBASE_DATABASE_SRC_INCLUDE_FIREBASE_DATABASE_QUERY_H_ diff --git a/vendors/firebase/include/firebase/database/transaction.h b/vendors/firebase/include/firebase/database/transaction.h deleted file mode 100644 index cb2dd33c5..000000000 --- a/vendors/firebase/include/firebase/database/transaction.h +++ /dev/null @@ -1,102 +0,0 @@ -// Copyright 2016 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -#ifndef FIREBASE_DATABASE_SRC_INCLUDE_FIREBASE_DATABASE_TRANSACTION_H_ -#define FIREBASE_DATABASE_SRC_INCLUDE_FIREBASE_DATABASE_TRANSACTION_H_ - -#include "firebase/database/common.h" -#include "firebase/database/data_snapshot.h" -#include "firebase/database/mutable_data.h" -#include "firebase/internal/common.h" -#include "firebase/variant.h" - -#if defined(FIREBASE_USE_STD_FUNCTION) -#include -#endif // defined(FIREBASE_USE_STD_FUNCTION) - -namespace firebase { -namespace database { - -/// Specifies whether the transaction succeeded or not. -enum TransactionResult { - /// The transaction was successful, the MutableData was updated. - kTransactionResultSuccess, - /// The transaction did not succeed. Any changes to the MutableData - /// will be discarded. - kTransactionResultAbort, -}; - -/// Your own transaction handler, which the Firebase Realtime Database library -/// may call multiple times to apply changes to the data, and should return -/// success or failure depending on whether it succeeds. - -/// @note This version of the callback is no longer supported (unless you are -/// building for Android with stlport). You should use either one of -/// DoTransactionWithContext (a simple function pointer that accepts context -/// data) or DoTransactionFunction (based on std::function). -/// -/// @see DoTransactionWithContext for more information. -typedef TransactionResult (*DoTransaction)(MutableData* data); - -/// Your own transaction handler, which the Firebase Realtime Database library -/// may call multiple times to apply changes to the data, and should return -/// success or failure depending on whether it succeeds. The context you -/// specified to RunTransaction will be passed into this call. -/// -/// This function will be called, _possibly multiple times_, with the current -/// data at this location. The function is responsible for inspecting that data -/// and modifying it as desired, then returning a TransactionResult specifying -/// either that the MutableData was modified to a desired new state, or that the -/// transaction should be aborted. Whenever this function is called, the -/// MutableData passed in must be modified from scratch. -/// -/// Since this function may be called repeatedly for the same transaction, be -/// extremely careful of any side effects that may be triggered by this -/// function. In addition, this function is called from within the Firebase -/// Realtime Database library's run loop, so care is also required when -/// accessing data that may be in use by other threads in your application. -/// -/// Best practices for this function are to ONLY rely on the data passed in. -/// -/// @param[in] data Mutable data, which the callback can edit. -/// @param[in] context Context pointer, passed verbatim to the callback. -/// -/// @returns The callback should return kTransactionResultSuccess if the data -/// was modified, or kTransactionResultAbort if it was unable to modify the -/// data. If the callback returns kTransactionResultAbort, the RunTransaction() -/// call will return the kErrorTransactionAbortedByUser error code. -/// -/// @note If you want a callback to be triggered when the transaction is -/// finished, you can use the Future value returned by the method -/// running the transaction, and call Future::OnCompletion() to register a -/// callback to be called when the transaction either succeeds or fails. -/// -/// @see DoTransaction for more information. -typedef TransactionResult (*DoTransactionWithContext)(MutableData* data, - void* context); - -#if defined(FIREBASE_USE_STD_FUNCTION) || defined(DOXYGEN) -/// Your own transaction handler function or lambda, which the Firebase Realtime -/// Database library may call multiple times to apply changes to the data, and -/// should return success or failure depending on whether it succeeds. -/// -/// @see DoTransactionWithContext for more information. -typedef std::function - DoTransactionFunction; -#endif // defined(FIREBASE_USE_STD_FUNCTION) || defined(DOXYGEN) - -} // namespace database -} // namespace firebase - -#endif // FIREBASE_DATABASE_SRC_INCLUDE_FIREBASE_DATABASE_TRANSACTION_H_ diff --git a/vendors/firebase/include/firebase/dynamic_links.h b/vendors/firebase/include/firebase/dynamic_links.h deleted file mode 100644 index 7a96de679..000000000 --- a/vendors/firebase/include/firebase/dynamic_links.h +++ /dev/null @@ -1,117 +0,0 @@ -// Copyright 2017 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -#ifndef FIREBASE_DYNAMIC_LINKS_SRC_INCLUDE_FIREBASE_DYNAMIC_LINKS_H_ -#define FIREBASE_DYNAMIC_LINKS_SRC_INCLUDE_FIREBASE_DYNAMIC_LINKS_H_ - -#include - -#include "firebase/app.h" -#include "firebase/internal/common.h" - -#if !defined(DOXYGEN) && !defined(SWIG) -FIREBASE_APP_REGISTER_CALLBACKS_REFERENCE(dynamic_links) -#endif // !defined(DOXYGEN) && !defined(SWIG) - -namespace firebase { - -/// @brief Firebase Dynamic Links API. -/// -/// Firebase Dynamic Links is a cross-platform solution for generating and -/// receiving links, whether or not the app is already installed. -namespace dynamic_links { - -#ifndef SWIG -/// @brief Error code used by Futures returned by this API. -enum ErrorCode { - kErrorCodeSuccess = 0, - kErrorCodeFailed, -}; -#endif // SWIG - -/// @brief Enum describing the strength of a dynamic links match. -/// -/// This version is local to dynamic links; there is a similar enum in invites -/// and another internal version in app. -enum LinkMatchStrength { - /// No match has been achieved - kLinkMatchStrengthNoMatch = 0, - - /// The match between the Dynamic Link and device is not perfect. You should - /// not reveal any personal information related to the Dynamic Link. - kLinkMatchStrengthWeakMatch, - - /// The match between the Dynamic Link and this device has a high confidence, - /// but there is a small possibility of error. - kLinkMatchStrengthStrongMatch, - - /// The match between the Dynamic Link and the device is exact. You may - /// safely reveal any personal information related to this Dynamic Link. - kLinkMatchStrengthPerfectMatch -}; - -/// @brief The received Dynamic Link. -struct DynamicLink { - /// The URL that was passed to the app. - std::string url; - /// The match strength of the dynamic link. - LinkMatchStrength match_strength; -}; - -/// @brief Base class used to receive Dynamic Links. -class Listener { - public: - virtual ~Listener(); - - /// Called on the client when a dynamic link arrives. - /// - /// @param[in] dynamic_link The data describing the Dynamic Link. - virtual void OnDynamicLinkReceived(const DynamicLink* dynamic_link) = 0; -}; - -/// @brief Initialize Firebase Dynamic Links. -/// -/// After Initialize is called, the implementation may call functions on the -/// Listener provided at any time. -/// -/// @param[in] app The Firebase App object for this application. -/// @param[in] listener A Listener object that receives Dynamic Links. -/// -/// @return kInitResultSuccess if initialization succeeded, or -/// kInitResultFailedMissingDependency on Android if Google Play services is -/// not available on the current device. -InitResult Initialize(const App& app, Listener* listener); - -/// @brief Terminate Firebase Dynamic Links. -void Terminate(); - -/// @brief Set the listener for receiving Dynamic Links. -/// -/// @param[in] listener A Listener object that receives Dynamic Links. -/// -/// @return Pointer to the previously set listener. -Listener* SetListener(Listener* listener); - -/// Fetch any pending dynamic links. Each pending link will trigger a call to -/// the registered Listener class. -/// -/// This function is implicitly called on initialization. On iOS this is called -/// automatically when the app gains focus, but on Android this needs to be -/// called manually. -void Fetch(); - -} // namespace dynamic_links -} // namespace firebase - -#endif // FIREBASE_DYNAMIC_LINKS_SRC_INCLUDE_FIREBASE_DYNAMIC_LINKS_H_ diff --git a/vendors/firebase/include/firebase/dynamic_links/components.h b/vendors/firebase/include/firebase/dynamic_links/components.h deleted file mode 100644 index 7a8e8fa1a..000000000 --- a/vendors/firebase/include/firebase/dynamic_links/components.h +++ /dev/null @@ -1,336 +0,0 @@ -// Copyright 2017 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -#ifndef FIREBASE_DYNAMIC_LINKS_SRC_INCLUDE_FIREBASE_DYNAMIC_LINKS_COMPONENTS_H_ -#define FIREBASE_DYNAMIC_LINKS_SRC_INCLUDE_FIREBASE_DYNAMIC_LINKS_COMPONENTS_H_ - -#include -#include -#include - -#include "firebase/future.h" - -namespace firebase { - -namespace dynamic_links { - -/// @brief Google Analytics Parameters. -/// -/// Note that the strings used by the struct are not copied, as so must -/// either be statically allocated, or must persist in memory until the -/// DynamicLinkComponents that uses them goes out of scope. -struct GoogleAnalyticsParameters { - /// Constructs an empty set of Google Analytics parameters. - GoogleAnalyticsParameters() - : source(nullptr), - medium(nullptr), - campaign(nullptr), - term(nullptr), - content(nullptr) {} - - /// The campaign source; used to identify a search engine, newsletter, - /// or other source. - const char* source; - /// The campaign medium; used to identify a medium such as email or - /// cost-per-click (cpc). - const char* medium; - /// The campaign name; The individual campaign name, slogan, promo code, etc. - /// for a product. - const char* campaign; - /// The campaign term; used with paid search to supply the keywords for ads. - const char* term; - /// The campaign content; used for A/B testing and content-targeted ads to - /// differentiate ads or links that point to the same URL. - const char* content; -}; - -/// @brief iOS Parameters. -/// -/// Note that the strings used by the struct are not copied, as so must -/// either be statically allocated, or must persist in memory until the -/// DynamicLinkComponents that uses them goes out of scope. -struct IOSParameters { - /// Constructs a set of IOS parameters with the given bundle id. - /// - /// @param bundle_id_ The parameters ID of the iOS app to use to open the - /// link. - IOSParameters(const char* bundle_id_) - : bundle_id(bundle_id_), - fallback_url(nullptr), - custom_scheme(nullptr), - ipad_fallback_url(nullptr), - ipad_bundle_id(nullptr), - app_store_id(nullptr), - minimum_version(nullptr) {} - - /// Constructs an empty set of IOS parameters. - IOSParameters() - : bundle_id(nullptr), - fallback_url(nullptr), - custom_scheme(nullptr), - ipad_fallback_url(nullptr), - ipad_bundle_id(nullptr), - app_store_id(nullptr), - minimum_version(nullptr) {} - - /// The parameters ID of the iOS app to use to open the link. The app must be - /// connected to your project from the Overview page of the Firebase console. - /// Note this field is required. - const char* bundle_id; - /// The link to open on iOS if the app is not installed. - /// - /// Specify this to do something other than install your app from the - /// App Store when the app isn't installed, such as open the mobile - /// web version of the content, or display a promotional page for your app. - const char* fallback_url; - /// The app's custom URL scheme, if defined to be something other than your - /// app's parameters ID. - const char* custom_scheme; - /// The link to open on iPad if the app is not installed. - /// - /// Overrides fallback_url when on iPad. - const char* ipad_fallback_url; - /// The iPad parameters ID of the app. - const char* ipad_bundle_id; - /// The App Store ID, used to send users to the App Store when the app isn't - /// installed. - const char* app_store_id; - /// The minimum version of your app that can open the link. - const char* minimum_version; -}; - -/// @brief iTunes Connect App Analytics Parameters. -/// -/// Note that the strings used by the struct are not copied, as so must -/// either be statically allocated, or must persist in memory until the -/// DynamicLinkComponents that uses them goes out of scope. -struct ITunesConnectAnalyticsParameters { - /// Constructs an empty set of ITunes Connect Analytics parameters. - ITunesConnectAnalyticsParameters() - : provider_token(nullptr), - affiliate_token(nullptr), - campaign_token(nullptr) {} - - /// The provider token that enables analytics for Dynamic Links from - /// within iTunes Connect. - const char* provider_token; - /// The affiliate token used to create affiliate-coded links. - const char* affiliate_token; - /// The campaign token that developers can add to any link in order to - /// track sales from a specific marketing campaign. - const char* campaign_token; -}; - -/// @brief Android Parameters. -/// -/// Note that the strings used by the struct are not copied, as so must -/// either be statically allocated, or must persist in memory until the -/// DynamicLinkComponents that uses them goes out of scope. -struct AndroidParameters { - /// Constructs a set of Android parameters with the given package name. - /// - /// The package name of the Android app to use to open the link. - AndroidParameters(const char* package_name_) - : package_name(package_name_), - fallback_url(nullptr), - minimum_version(0) {} - - /// Constructs an empty set of Android parameters. - AndroidParameters() - : package_name(nullptr), fallback_url(nullptr), minimum_version(0) {} - - /// The package name of the Android app to use to open the link. The app - /// must be connected to your project from the Overview page of the Firebase - /// console. - /// Note this field is required. - const char* package_name; - /// The link to open when the app isn't installed. - /// - /// Specify this to do something other than install your app from the - /// Play Store when the app isn't installed, such as open the mobile web - /// version of the content, or display a promotional page for your app. - const char* fallback_url; - /// The versionCode of the minimum version of your app that can open the link. - int minimum_version; -}; - -/// @brief Social meta-tag Parameters. -/// -/// Note that the strings used by the struct are not copied, as so must -/// either be statically allocated, or must persist in memory until the -/// DynamicLinkComponents that uses them goes out of scope. -struct SocialMetaTagParameters { - /// Constructs an empty set of Social meta-tag parameters. - SocialMetaTagParameters() - : title(nullptr), description(nullptr), image_url(nullptr) {} - - /// The title to use when the Dynamic Link is shared in a social post. - const char* title; - /// The description to use when the Dynamic Link is shared in a social post. - const char* description; - /// The URL to an image related to this link. - const char* image_url; -}; - -/// @brief The desired path length for shortened Dynamic Link URLs. -enum PathLength { - /// Uses the server-default for the path length. - /// See https://goo.gl/8yDAqC for more information. - kPathLengthDefault = 0, - /// Typical short link for non-sensitive links. - kPathLengthShort, - /// Short link that uses a very long path to make it more difficult to - /// guess. Useful for sensitive links. - kPathLengthUnguessable, -}; - -/// @brief Additional options for Dynamic Link creation. -struct DynamicLinkOptions { - /// Constructs an empty set of Dynamic Link options. - DynamicLinkOptions() : path_length(kPathLengthDefault) {} - - /// The desired path length for shortened Dynamic Link URLs. - PathLength path_length; -}; - -/// @brief The returned value from creating a Dynamic Link. -struct GeneratedDynamicLink { - /// The Dynamic Link value. - std::string url; - /// Information about potential warnings on link creation. - /// - /// Usually presence of warnings means parameter format errors, parameter - /// value errors, or missing parameters. - std::vector warnings; - /// If non-empty, the cause of the Dynamic Link generation failure. - std::string error; -}; - -/// @brief The information needed to generate a Dynamic Link. -/// -/// Note that the strings used by the struct are not copied, as so must -/// either be statically allocated, or must persist in memory until this -/// struct goes out of scope. -struct DynamicLinkComponents { - /// The link your app will open. - /// You can specify any URL your app can handle, such as a link to your - /// app's content, or a URL that initiates some - /// app-specific logic such as crediting the user with a coupon, or - /// displaying a specific welcome screen. This link must be a well-formatted - /// URL, be properly URL-encoded, and use the HTTP or HTTPS scheme. - /// Note, this field is required. - const char* link; - /// The domain (of the form "https://xyz.app.goo.gl") to use for this Dynamic - /// Link. You can find this value in the Dynamic Links section of the Firebase - /// console. - /// - /// If you have set up custom domains on your project, set this to your - /// project's custom domain as listed in the Firebase console. - /// - /// Only https:// links are supported. - /// - /// Note, this field is required. - const char* domain_uri_prefix; - /// The Google Analytics parameters. - GoogleAnalyticsParameters* google_analytics_parameters; - /// The iOS parameters. - IOSParameters* ios_parameters; - /// The iTunes Connect App Analytics parameters. - ITunesConnectAnalyticsParameters* itunes_connect_analytics_parameters; - /// The Android parameters. - AndroidParameters* android_parameters; - /// The social meta-tag parameters. - SocialMetaTagParameters* social_meta_tag_parameters; - - /// Default constructor, initializes all fields to null. - DynamicLinkComponents() - : link(nullptr), - domain_uri_prefix(nullptr), - google_analytics_parameters(nullptr), - ios_parameters(nullptr), - itunes_connect_analytics_parameters(nullptr), - android_parameters(nullptr), - social_meta_tag_parameters(nullptr) {} - - /// Constructor that initializes with the given link and domain. - /// - /// @param link_ The link your app will open. - /// @param domain_uri_prefix_ The domain (of the form - /// "https://xyz.app.goo.gl") to use for this Dynamic Link. You can find this - /// value in the Dynamic Links section of the Firebase console. If you have - /// set up custom domains on your project, set this to your project's custom - /// domain as listed in the Firebase console. Note: If you do not specify - /// "https://" as the URI scheme, it will be added. - DynamicLinkComponents(const char* link_, const char* domain_uri_prefix_) - : link(link_), - domain_uri_prefix(domain_uri_prefix_), - google_analytics_parameters(nullptr), - ios_parameters(nullptr), - itunes_connect_analytics_parameters(nullptr), - android_parameters(nullptr), - social_meta_tag_parameters(nullptr) { - // For backwards compatibility with dynamic_link_domain, if - // domain_uri_prefix doesn't start with "https://", add it. - static const char kHttpsPrefix[] = "https://"; - static const size_t kHttpsPrefixLength = sizeof(kHttpsPrefix) - 1; - if (strncmp(domain_uri_prefix, kHttpsPrefix, kHttpsPrefixLength) != 0) { - domain_uri_prefix_with_scheme = - std::string(kHttpsPrefix) + domain_uri_prefix; - domain_uri_prefix = domain_uri_prefix_with_scheme.c_str(); - } - } - -#ifndef INTERNAL_EXPERIMENTAL - - private: -#endif // INTERNAL_EXPERIMENTAL - std::string domain_uri_prefix_with_scheme; -}; - -/// Creates a long Dynamic Link from the given parameters. -GeneratedDynamicLink GetLongLink(const DynamicLinkComponents& components); - -/// Creates a shortened Dynamic Link from the given parameters. -/// @param components: Settings used to configure the behavior for the link. -Future GetShortLink( - const DynamicLinkComponents& components); - -/// Creates a shortened Dynamic Link from the given parameters. -/// @param components: Settings used to configure the behavior for the link. -/// @param options: Additional options for Dynamic Link shortening, indicating -/// whether or not to produce an unguessable or shortest possible link. -/// No references to the options object will be retained after the call. -Future GetShortLink( - const DynamicLinkComponents& components, const DynamicLinkOptions& options); - -/// Creates a shortened Dynamic Link from a given long Dynamic Link. -/// @param long_dynamic_link A link previously generated from GetLongLink. -Future GetShortLink(const char* long_dynamic_link); - -/// Creates a shortened Dynamic Link from a given long Dynamic Link. -/// @param long_dynamic_link: A link previously generated from GetLongLink. -/// @param options: Additional options for Dynamic Link shortening, indicating -/// whether or not to produce an unguessable or shortest possible link. -/// No references to the options object will be retained after the call. -Future GetShortLink(const char* long_dynamic_link, - const DynamicLinkOptions& options); - -/// Get the (possibly still pending) results of the most recent GetShortUrl -/// call. -Future GetShortLinkLastResult(); - -} // namespace dynamic_links -} // namespace firebase - -#endif // FIREBASE_DYNAMIC_LINKS_SRC_INCLUDE_FIREBASE_DYNAMIC_LINKS_COMPONENTS_H_ diff --git a/vendors/firebase/include/firebase/firestore.h b/vendors/firebase/include/firebase/firestore.h deleted file mode 100644 index c35de11b4..000000000 --- a/vendors/firebase/include/firebase/firestore.h +++ /dev/null @@ -1,458 +0,0 @@ -/* - * Copyright 2018 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef FIREBASE_FIRESTORE_SRC_INCLUDE_FIREBASE_FIRESTORE_H_ -#define FIREBASE_FIRESTORE_SRC_INCLUDE_FIREBASE_FIRESTORE_H_ - -#include -#include - -#include "firebase/internal/common.h" - -#include "firebase/app.h" -#include "firebase/future.h" -#include "firebase/log.h" -// Include *all* the public headers to make sure including just "firestore.h" is -// sufficient for users. -#include "firebase/firestore/collection_reference.h" -#include "firebase/firestore/document_change.h" -#include "firebase/firestore/document_reference.h" -#include "firebase/firestore/document_snapshot.h" -#include "firebase/firestore/field_path.h" -#include "firebase/firestore/field_value.h" -#include "firebase/firestore/firestore_errors.h" -#include "firebase/firestore/geo_point.h" -#include "firebase/firestore/listener_registration.h" -#include "firebase/firestore/load_bundle_task_progress.h" -#include "firebase/firestore/map_field_value.h" -#include "firebase/firestore/metadata_changes.h" -#include "firebase/firestore/query.h" -#include "firebase/firestore/query_snapshot.h" -#include "firebase/firestore/set_options.h" -#include "firebase/firestore/settings.h" -#include "firebase/firestore/snapshot_metadata.h" -#include "firebase/firestore/source.h" -#include "firebase/firestore/timestamp.h" -#include "firebase/firestore/transaction.h" -#include "firebase/firestore/transaction_options.h" -#include "firebase/firestore/write_batch.h" - -namespace firebase { -/** - * @brief Cloud Firestore API. - * - * Cloud Firestore is a flexible, scalable database for mobile, web, and server - * development from Firebase and Google Cloud Platform. - */ -namespace firestore { - -class FirestoreInternal; - -namespace csharp { - -class ApiHeaders; -class TransactionManager; - -} // namespace csharp - -/** - * @brief Entry point for the Firebase Firestore C++ SDK. - * - * To use the SDK, call firebase::firestore::Firestore::GetInstance() to obtain - * an instance of Firestore, then use Collection() or Document() to obtain - * references to child paths within the database. From there, you can set data - * via CollectionReference::Add() and DocumentReference::Set(), or get data via - * CollectionReference::Get() and DocumentReference::Get(), attach listeners, - * and more. - * - * @note Firestore classes are not meant to be subclassed except for use in test - * mocks. Subclassing is not supported in production code and new SDK releases - * may break code that does so. - */ -class Firestore { - public: - /** - * @brief Returns an instance of Firestore corresponding to the given App. - * - * Firebase Firestore uses firebase::App to communicate with Firebase - * Authentication to authenticate users to the Firestore server backend. - * - * If you call GetInstance() multiple times with the same App, you will get - * the same instance of Firestore. - * - * @param[in] app Your instance of firebase::App. Firebase Firestore will use - * this to communicate with Firebase Authentication. - * @param[out] init_result_out If provided, the initialization result will be - * written here. Will be set to firebase::kInitResultSuccess if initialization - * succeeded, or firebase::kInitResultFailedMissingDependency on Android if - * Google Play services is not available on the current device. - * - * @return An instance of Firestore corresponding to the given App. - */ - static Firestore* GetInstance(::firebase::App* app, - InitResult* init_result_out = nullptr); - - /** - * @brief Returns an instance of Firestore corresponding to the default App. - * - * Firebase Firestore uses the default App to communicate with Firebase - * Authentication to authenticate users to the Firestore server backend. - * - * If you call GetInstance() multiple times, you will get the same instance. - * - * @param[out] init_result_out If provided, the initialization result will be - * written here. Will be set to firebase::kInitResultSuccess if initialization - * succeeded, or firebase::kInitResultFailedMissingDependency on Android if - * Google Play services is not available on the current device. - * - * @return An instance of Firestore corresponding to the default App. - */ - static Firestore* GetInstance(InitResult* init_result_out = nullptr); - - /** - * @brief Destructor for the Firestore object. - * - * When deleted, this instance will be removed from the cache of Firestore - * objects. If you call GetInstance() in the future with the same App, a new - * Firestore instance will be created. - */ - virtual ~Firestore(); - - /** - * Deleted copy constructor; Firestore must be created with - * Firestore::GetInstance(). - */ - Firestore(const Firestore& src) = delete; - - /** - * Deleted copy assignment operator; Firestore must be created with - * Firestore::GetInstance(). - */ - Firestore& operator=(const Firestore& src) = delete; - - /** - * @brief Returns the firebase::App that this Firestore was created with. - * - * @return The firebase::App this Firestore was created with. - */ - virtual const App* app() const; - - /** - * @brief Returns the firebase::App that this Firestore was created with. - * - * @return The firebase::App this Firestore was created with. - */ - virtual App* app(); - - /** - * @brief Returns a CollectionReference instance that refers to the - * collection at the specified path within the database. - * - * @param[in] collection_path A slash-separated path to a collection. - * - * @return The CollectionReference instance. - */ - virtual CollectionReference Collection(const char* collection_path) const; - - /** - * @brief Returns a CollectionReference instance that refers to the - * collection at the specified path within the database. - * - * @param[in] collection_path A slash-separated path to a collection. - * - * @return The CollectionReference instance. - */ - virtual CollectionReference Collection( - const std::string& collection_path) const; - - /** - * @brief Returns a DocumentReference instance that refers to the document at - * the specified path within the database. - * - * @param[in] document_path A slash-separated path to a document. - * @return The DocumentReference instance. - */ - virtual DocumentReference Document(const char* document_path) const; - - /** - * @brief Returns a DocumentReference instance that refers to the document at - * the specified path within the database. - * - * @param[in] document_path A slash-separated path to a document. - * - * @return The DocumentReference instance. - */ - virtual DocumentReference Document(const std::string& document_path) const; - - /** - * @brief Returns a Query instance that includes all documents in the - * database that are contained in a collection or subcollection with the - * given collection_id. - * - * @param[in] collection_id Identifies the collections to query over. Every - * collection or subcollection with this ID as the last segment of its path - * will be included. Cannot contain a slash. - * - * @return The Query instance. - */ - virtual Query CollectionGroup(const char* collection_id) const; - - /** - * @brief Returns a Query instance that includes all documents in the - * database that are contained in a collection or subcollection with the - * given collection_id. - * - * @param[in] collection_id Identifies the collections to query over. Every - * collection or subcollection with this ID as the last segment of its path - * will be included. Cannot contain a slash. - * - * @return The Query instance. - */ - virtual Query CollectionGroup(const std::string& collection_id) const; - - /** Returns the settings used by this Firestore object. */ - virtual Settings settings() const; - - /** Sets any custom settings used to configure this Firestore object. */ - virtual void set_settings(Settings settings); - - /** - * Creates a write batch, used for performing multiple writes as a single - * atomic operation. - * - * Unlike transactions, write batches are persisted offline and therefore are - * preferable when you don't need to condition your writes on read data. - * - * @return The created WriteBatch object. - */ - virtual WriteBatch batch() const; - - /** - * Executes the given update and then attempts to commit the changes applied - * within the transaction. If any document read within the transaction has - * changed, the update function will be retried. If it fails to commit after - * 5 attempts, the transaction will fail. - * - * @param update function or lambda to execute within the transaction context. - * The string reference parameter can be used to set the error message. - * - * @return A Future that will be resolved when the transaction finishes. - */ - virtual Future RunTransaction( - std::function update); - - /** - * Executes the given update and then attempts to commit the changes applied - * within the transaction. If any document read within the transaction has - * changed, the update function will be retried. If it fails to commit after - * the `max_attempts` specified in the given `TransactionOptions`, the - * transaction will fail. - * - * @param options The transaction options for controlling execution. - * @param update function or lambda to execute within the transaction context. - * The string reference parameter can be used to set the error message. - * - * @return A Future that will be resolved when the transaction finishes. - */ - virtual Future RunTransaction( - TransactionOptions options, - std::function update); - - /** - * Sets the log verbosity of all Firestore instances. - * - * The default verbosity level is `kLogLevelInfo`. - * - * @param[in] log_level The desired verbosity. - */ - static void set_log_level(LogLevel log_level); - - /** - * Disables network access for this instance. While the network is disabled, - * any snapshot listeners or Get() calls will return results from cache, and - * any write operations will be queued until network usage is re-enabled via a - * call to EnableNetwork(). - * - * If the network was already disabled, calling `DisableNetwork()` again is - * a no-op. - */ - virtual Future DisableNetwork(); - - /** - * Re-enables network usage for this instance after a prior call to - * DisableNetwork(). - * - * If the network is currently enabled, calling `EnableNetwork()` is a no-op. - */ - virtual Future EnableNetwork(); - - /** - * Terminates this `Firestore` instance. - * - * After calling `Terminate()`, only the `ClearPersistence()` method may be - * used. Calling any other methods will result in an error. - * - * To restart after termination, simply create a new instance of `Firestore` - * with `Firestore::GetInstance()`. - * - * `Terminate()` does not cancel any pending writes and any tasks that are - * awaiting a response from the server will not be resolved. The next time you - * start this instance, it will resume attempting to send these writes to the - * server. - * - * Note: under normal circumstances, calling `Terminate()` is not required. - * This method is useful only when you want to force this instance to release - * all of its resources or in combination with `ClearPersistence()` to ensure - * that all local state is destroyed between test runs. - * - * @return A `Future` that is resolved when the instance has been successfully - * terminated. - */ - virtual Future Terminate(); - - /** - * Waits until all currently pending writes for the active user have been - * acknowledged by the backend. - * - * The returned future is resolved immediately without error if there are no - * outstanding writes. Otherwise, the future is resolved when all previously - * issued writes (including those written in a previous app session) have been - * acknowledged by the backend. The future does not wait for writes that were - * added after the method is called. If you wish to wait for additional - * writes, you have to call `WaitForPendingWrites` again. - * - * Any outstanding `WaitForPendingWrites` futures are resolved with an - * error during user change. - */ - virtual Future WaitForPendingWrites(); - - /** - * Clears the persistent storage. This includes pending writes and cached - * documents. - * - * Must be called while the Firestore instance is not started (after the app - * is shut down or when the app is first initialized). On startup, this method - * must be called before other methods (other than `settings()` and - * `set_settings()`). If the Firestore instance is still running, the function - * will complete with an error code of `FailedPrecondition`. - * - * Note: `ClearPersistence()` is primarily intended to help write - * reliable tests that use Firestore. It uses the most efficient mechanism - * possible for dropping existing data but does not attempt to securely - * overwrite or otherwise make cached data unrecoverable. For applications - * that are sensitive to the disclosure of cache data in between user sessions - * we strongly recommend not to enable persistence in the first place. - */ - virtual Future ClearPersistence(); - - /** - * Attaches a listener for a snapshots-in-sync event. Server-generated - * updates and local changes can affect multiple snapshot listeners. - * The snapshots-in-sync event indicates that all listeners affected by - * a given change have fired. - * - * NOTE: The snapshots-in-sync event only indicates that listeners are - * in sync with each other, but does not relate to whether those - * snapshots are in sync with the server. Use `SnapshotMetadata` in the - * individual listeners to determine if a snapshot is from the cache or - * the server. - * - * @param callback A callback to be called every time all snapshot - * listeners are in sync with each other. - * @return A `ListenerRegistration` object that can be used to remove the - * listener. - */ - virtual ListenerRegistration AddSnapshotsInSyncListener( - std::function callback); - - /** - * Loads a Firestore bundle into the local cache. - * - * @param bundle A string containing the bundle to be loaded. - * @return A `Future` that is resolved when the loading is either completed - * or aborted due to an error. - */ - virtual Future LoadBundle(const std::string& bundle); - - /** - * Loads a Firestore bundle into the local cache, with the provided callback - * executed for progress updates. - * - * @param bundle A string containing the bundle to be loaded. - * @param progress_callback A callback that is called with progress - * updates, and completion or error updates. - * @return A `Future` that is resolved when the loading is either completed - * or aborted due to an error. - */ - virtual Future LoadBundle( - const std::string& bundle, - std::function progress_callback); - - /** - * Reads a Firestore `Query` from the local cache, identified by the given - * name. - * - * Named queries are packaged into bundles on the server side (along with the - * resulting documents) and loaded into local cache using `LoadBundle`. Once - * in the local cache, you can use this method to extract a query by name. - * - * If a query cannot be found, the returned future will complete with its - * `error()` set to a non-zero error code. - * - * @param query_name The name of the query to read from saved bundles. - */ - virtual Future NamedQuery(const std::string& query_name); - - protected: - /** - * Default constructor, to be used only for mocking `Firestore`. - */ - Firestore() = default; - - private: - friend class FieldValueInternal; - friend class FirestoreInternal; - friend class Wrapper; - friend struct ConverterImpl; - friend class FirestoreIntegrationTest; - friend class IncludesTest; - template - friend struct CleanupFn; - - friend class csharp::ApiHeaders; - friend class csharp::TransactionManager; - - explicit Firestore(::firebase::App* app); - explicit Firestore(FirestoreInternal* internal); - - static Firestore* CreateFirestore(::firebase::App* app, - FirestoreInternal* internal, - InitResult* init_result_out); - static Firestore* AddFirestoreToCache(Firestore* firestore, - InitResult* init_result_out); - - static void SetClientLanguage(const std::string& language_token); - - // Delete the internal_ data. - void DeleteInternal(); - - mutable FirestoreInternal* internal_ = nullptr; -}; - -} // namespace firestore -} // namespace firebase - -#endif // FIREBASE_FIRESTORE_SRC_INCLUDE_FIREBASE_FIRESTORE_H_ diff --git a/vendors/firebase/include/firebase/firestore/collection_reference.h b/vendors/firebase/include/firebase/firestore/collection_reference.h deleted file mode 100644 index 3d9d4de2e..000000000 --- a/vendors/firebase/include/firebase/firestore/collection_reference.h +++ /dev/null @@ -1,183 +0,0 @@ -/* - * Copyright 2018 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef FIREBASE_FIRESTORE_SRC_INCLUDE_FIREBASE_FIRESTORE_COLLECTION_REFERENCE_H_ -#define FIREBASE_FIRESTORE_SRC_INCLUDE_FIREBASE_FIRESTORE_COLLECTION_REFERENCE_H_ - -#include - -#include "firebase/firestore/map_field_value.h" -#include "firebase/firestore/query.h" - -namespace firebase { - -/// @cond FIREBASE_APP_INTERNAL -template -class Future; -/// @endcond - -namespace firestore { - -class CollectionReferenceInternal; -class DocumentReference; - -/** - * @brief A CollectionReference can be used for adding documents, getting - * document references, and querying for documents (using the methods inherited - * from `Query`). - * - * @note Firestore classes are not meant to be subclassed except for use in test - * mocks. Subclassing is not supported in production code and new SDK releases - * may break code that does so. - */ -class CollectionReference : public Query { - public: - /** - * @brief Creates an invalid CollectionReference that has to be reassigned - * before it can be used. - * - * Calling any member function on an invalid CollectionReference will be - * a no-op. If the function returns a value, it will return a zero, empty, or - * invalid value, depending on the type of the value. - */ - CollectionReference(); - - /** - * @brief Copy constructor. - * - * `CollectionReference` can be efficiently copied because it simply refers to - * a location in the database. - * - * @param[in] other `CollectionReference` to copy from. - */ - CollectionReference(const CollectionReference& other); - - /** - * @brief Move constructor. - * - * Moving is more efficient than copying for a `CollectionReference`. After - * being moved from, a `CollectionReference` is equivalent to its - * default-constructed state. - * - * @param[in] other `CollectionReference` to move data from. - */ - CollectionReference(CollectionReference&& other); - - /** - * @brief Copy assignment operator. - * - * `CollectionReference` can be efficiently copied because it simply refers to - * a location in the database. - * - * @param[in] other `CollectionReference` to copy from. - * - * @return Reference to the destination `CollectionReference`. - */ - CollectionReference& operator=(const CollectionReference& other); - - /** - * @brief Move assignment operator. - * - * Moving is more efficient than copying for a `CollectionReference`. After - * being moved from, a `CollectionReference` is equivalent to its - * default-constructed state. - * - * @param[in] other `CollectionReference` to move data from. - * - * @return Reference to the destination `CollectionReference`. - */ - CollectionReference& operator=(CollectionReference&& other); - - /** - * @brief Gets the ID of the referenced collection. - * - * @return The ID as a std::string. - */ - virtual const std::string& id() const; - - /** - * @brief Returns the path of this collection (relative to the root of the - * database) as a slash-separated string. - * - * @return The path as a std::string. - */ - virtual std::string path() const; - - /** - * @brief Gets a DocumentReference to the document that contains this - * collection. - * - * @return The DocumentReference that contains this collection if this is a - * subcollection. If this is a root collection, returns an invalid - * DocumentReference (`DocumentReference::is_valid()` will return false). - */ - virtual DocumentReference Parent() const; - - /** - * @brief Returns a DocumentReference that points to a new document with an - * auto-generated ID within this collection. - * - * @return A DocumentReference pointing to the new document. - */ - virtual DocumentReference Document() const; - - /** - * @brief Gets a DocumentReference instance that refers to the document at the - * specified path within this collection. - * - * @param[in] document_path A slash-separated relative path to a document. - * The pointer only needs to be valid during this call. - * - * @return The DocumentReference instance. - */ - virtual DocumentReference Document(const char* document_path) const; - - /** - * @brief Gets a DocumentReference instance that refers to the document at the - * specified path within this collection. - * - * @param[in] document_path A slash-separated relative path to a document. - * - * @return The DocumentReference instance. - */ - virtual DocumentReference Document(const std::string& document_path) const; - - /** - * @brief Adds a new document to this collection with the specified data, - * assigning it a document ID automatically. - * - * @param data A map containing the data for the new document. - * - * @return A Future that will be resolved with the DocumentReference of the - * newly created document. - */ - virtual Future Add(const MapFieldValue& data); - - private: - friend class DocumentReference; - friend class DocumentReferenceInternal; - friend class FirestoreInternal; - friend struct ConverterImpl; - - explicit CollectionReference(CollectionReferenceInternal* internal); - - CollectionReferenceInternal* internal() const; -}; - -} // namespace firestore -} // namespace firebase - -#endif // FIREBASE_FIRESTORE_SRC_INCLUDE_FIREBASE_FIRESTORE_COLLECTION_REFERENCE_H_ diff --git a/vendors/firebase/include/firebase/firestore/document_change.h b/vendors/firebase/include/firebase/firestore/document_change.h deleted file mode 100644 index fbef011d2..000000000 --- a/vendors/firebase/include/firebase/firestore/document_change.h +++ /dev/null @@ -1,203 +0,0 @@ -/* - * Copyright 2018 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef FIREBASE_FIRESTORE_SRC_INCLUDE_FIREBASE_FIRESTORE_DOCUMENT_CHANGE_H_ -#define FIREBASE_FIRESTORE_SRC_INCLUDE_FIREBASE_FIRESTORE_DOCUMENT_CHANGE_H_ - -#include - -namespace firebase { -namespace firestore { - -class DocumentChangeInternal; -class DocumentSnapshot; - -/** - * @brief A DocumentChange represents a change to the documents matching - * a query. - * - * DocumentChange contains the document affected and the type of change that - * occurred (added, modified, or removed). - * - * @note Firestore classes are not meant to be subclassed except for use in test - * mocks. Subclassing is not supported in production code and new SDK releases - * may break code that does so. - */ -class DocumentChange { - public: - /** - * An enumeration of snapshot diff types. - */ - enum class Type { - /** - * Indicates a new document was added to the set of documents matching the - * query. - */ - kAdded, - - /** - * Indicates a document within the query was modified. - */ - kModified, - - /** - * Indicates a document within the query was removed (either deleted or no - * longer matches the query). - */ - kRemoved, - }; - - /** - * The sentinel index used as a return value to indicate no matches. - */ -#if defined(ANDROID) - // Older NDK (r16b) fails to define this properly. Fix this when support for - // the older NDK is removed. - static const std::size_t npos; -#else - static constexpr std::size_t npos = static_cast(-1); -#endif // defined(ANDROID) - - /** - * @brief Creates an invalid DocumentChange that has to be reassigned before - * it can be used. - * - * Calling any member function on an invalid DocumentChange will be a no-op. - * If the function returns a value, it will return a zero, empty, or invalid - * value, depending on the type of the value. - */ - DocumentChange(); - - /** - * @brief Copy constructor. - * - * `DocumentChange` is immutable and can be efficiently copied (no deep copy - * is performed). - * - * @param[in] other `DocumentChange` to copy from. - */ - DocumentChange(const DocumentChange& other); - - /** - * @brief Move constructor. - * - * Moving is more efficient than copying for a `DocumentChange`. After being - * moved from, a `DocumentChange` is equivalent to its default-constructed - * state. - * - * @param[in] other `DocumentChange` to move data from. - */ - DocumentChange(DocumentChange&& other); - - virtual ~DocumentChange(); - - /** - * @brief Copy assignment operator. - * - * `DocumentChange` is immutable and can be efficiently copied (no deep copy - * is performed). - * - * @param[in] other `DocumentChange` to copy from. - * - * @return Reference to the destination `DocumentChange`. - */ - DocumentChange& operator=(const DocumentChange& other); - - /** - * @brief Move assignment operator. - * - * Moving is more efficient than copying for a `DocumentChange`. After being - * moved from, a `DocumentChange` is equivalent to its default-constructed - * state. - * - * @param[in] other `DocumentChange` to move data from. - * - * @return Reference to the destination `DocumentChange`. - */ - DocumentChange& operator=(DocumentChange&& other); - - /** - * Returns the type of change that occurred (added, modified, or removed). - */ - virtual Type type() const; - - /** - * @brief The document affected by this change. - * - * Returns the newly added or modified document if this DocumentChange is for - * an updated document. Returns the deleted document if this document change - * represents a removal. - */ - virtual DocumentSnapshot document() const; - - /** - * The index of the changed document in the result set immediately prior to - * this DocumentChange (that is, supposing that all prior DocumentChange - * objects have been applied). Returns DocumentChange::npos for 'added' - * events. - */ - virtual std::size_t old_index() const; - - /** - * The index of the changed document in the result set immediately after this - * DocumentChange (that is, supposing that all prior DocumentChange objects - * and the current DocumentChange object have been applied). Returns - * DocumentChange::npos for 'removed' events. - */ - virtual std::size_t new_index() const; - - /** - * @brief Returns true if this `DocumentChange` is valid, false if it is - * not valid. An invalid `DocumentChange` could be the result of: - * - Creating a `DocumentChange` using the default constructor. - * - Moving from the `DocumentChange`. - * - Deleting your Firestore instance, which will invalidate all the - * `DocumentChange` instances associated with it. - * - * @return true if this `DocumentChange` is valid, false if this - * `DocumentChange` is invalid. - */ - bool is_valid() const { return internal_ != nullptr; } - - private: - std::size_t Hash() const; - - friend bool operator==(const DocumentChange& lhs, const DocumentChange& rhs); - friend std::size_t DocumentChangeHash(const DocumentChange& change); - - friend class FirestoreInternal; - friend class Wrapper; - friend struct ConverterImpl; - template - friend struct CleanupFn; - - explicit DocumentChange(DocumentChangeInternal* internal); - - mutable DocumentChangeInternal* internal_ = nullptr; -}; - -/** Checks `lhs` and `rhs` for equality. */ -bool operator==(const DocumentChange& lhs, const DocumentChange& rhs); - -/** Checks `lhs` and `rhs` for inequality. */ -inline bool operator!=(const DocumentChange& lhs, const DocumentChange& rhs) { - return !(lhs == rhs); -} - -} // namespace firestore -} // namespace firebase - -#endif // FIREBASE_FIRESTORE_SRC_INCLUDE_FIREBASE_FIRESTORE_DOCUMENT_CHANGE_H_ diff --git a/vendors/firebase/include/firebase/firestore/document_reference.h b/vendors/firebase/include/firebase/firestore/document_reference.h deleted file mode 100644 index d0f82cf42..000000000 --- a/vendors/firebase/include/firebase/firestore/document_reference.h +++ /dev/null @@ -1,351 +0,0 @@ -/* - * Copyright 2018 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef FIREBASE_FIRESTORE_SRC_INCLUDE_FIREBASE_FIRESTORE_DOCUMENT_REFERENCE_H_ -#define FIREBASE_FIRESTORE_SRC_INCLUDE_FIREBASE_FIRESTORE_DOCUMENT_REFERENCE_H_ - -#include -#include -#include - -#include "firebase/internal/common.h" - -#include "firebase/firestore/firestore_errors.h" -#include "firebase/firestore/map_field_value.h" -#include "firebase/firestore/metadata_changes.h" -#include "firebase/firestore/set_options.h" -#include "firebase/firestore/source.h" - -namespace firebase { - -/// @cond FIREBASE_APP_INTERNAL -template -class Future; -/// @endcond - -namespace firestore { - -class CollectionReference; -class DocumentReferenceInternal; -class DocumentSnapshot; -template -class EventListener; -class Firestore; -class ListenerRegistration; - -/** - * @brief A DocumentReference refers to a document location in a Firestore - * database and can be used to write, read, or listen to the location. - * - * There may or may not exist a document at the referenced location. - * A DocumentReference can also be used to create a CollectionReference to - * a subcollection. - * - * Create a DocumentReference via `Firestore::Document(const std::string& - * path)`. - * - * @note Firestore classes are not meant to be subclassed except for use in test - * mocks. Subclassing is not supported in production code and new SDK releases - * may break code that does so. - */ -class DocumentReference { - public: - /** - * @brief Creates an invalid DocumentReference that has to be reassigned - * before it can be used. - * - * Calling any member function on an invalid DocumentReference will be - * a no-op. If the function returns a value, it will return a zero, empty, or - * invalid value, depending on the type of the value. - */ - DocumentReference(); - - /** - * @brief Copy constructor. - * - * `DocumentReference` can be efficiently copied because it simply refers to - * a location in the database. - * - * @param[in] other `DocumentReference` to copy from. - */ - DocumentReference(const DocumentReference& other); - - /** - * @brief Move constructor. - * - * Moving is more efficient than copying for a `DocumentReference`. After - * being moved from, a `DocumentReference` is equivalent to its - * default-constructed state. - * - * @param[in] other `DocumentReference` to move data from. - */ - DocumentReference(DocumentReference&& other); - - virtual ~DocumentReference(); - - /** - * @brief Copy assignment operator. - * - * `DocumentReference` can be efficiently copied because it simply refers to - * a location in the database. - * - * @param[in] other `DocumentReference` to copy from. - * - * @return Reference to the destination `DocumentReference`. - */ - DocumentReference& operator=(const DocumentReference& other); - - /** - * @brief Move assignment operator. - * - * Moving is more efficient than copying for a `DocumentReference`. After - * being moved from, a `DocumentReference` is equivalent to its - * default-constructed state. - * - * @param[in] other `DocumentReference` to move data from. - * - * @return Reference to the destination `DocumentReference`. - */ - DocumentReference& operator=(DocumentReference&& other); - - /** - * @brief Returns the Firestore instance associated with this document - * reference. - * - * The pointer will remain valid indefinitely. - * - * @return Firebase Firestore instance that this DocumentReference refers to. - */ - virtual const Firestore* firestore() const; - - /** - * @brief Returns the Firestore instance associated with this document - * reference. - * - * The pointer will remain valid indefinitely. - * - * @return Firebase Firestore instance that this DocumentReference refers to. - */ - virtual Firestore* firestore(); - - /** - * @brief Returns the string ID of this document location. - * - * @return String ID of this document location. - */ - virtual const std::string& id() const; - - /** - * @brief Returns the path of this document (relative to the root of the - * database) as a slash-separated string. - * - * @return String path of this document location. - */ - virtual std::string path() const; - - /** - * @brief Returns a CollectionReference to the collection that contains this - * document. - */ - virtual CollectionReference Parent() const; - - /** - * @brief Returns a CollectionReference instance that refers to the - * subcollection at the specified path relative to this document. - * - * @param[in] collection_path A slash-separated relative path to a - * subcollection. The pointer only needs to be valid during this call. - * - * @return The CollectionReference instance. - */ - virtual CollectionReference Collection(const char* collection_path) const; - - /** - * @brief Returns a CollectionReference instance that refers to the - * subcollection at the specified path relative to this document. - * - * @param[in] collection_path A slash-separated relative path to a - * subcollection. - * - * @return The CollectionReference instance. - */ - virtual CollectionReference Collection( - const std::string& collection_path) const; - - /** - * @brief Reads the document referenced by this DocumentReference. - * - * By default, Get() attempts to provide up-to-date data when possible by - * waiting for data from the server, but it may return cached data or fail if - * you are offline and the server cannot be reached. This behavior can be - * altered via the Source parameter. - * - * @param[in] source A value to configure the get behavior (optional). - * - * @return A Future that will be resolved with the contents of the Document at - * this DocumentReference. - */ - virtual Future Get(Source source = Source::kDefault) const; - - /** - * @brief Writes to the document referred to by this DocumentReference. - * - * If the document does not yet exist, it will be created. If you pass - * SetOptions, the provided data can be merged into an existing document. - * - * @param[in] data A map of the fields and values to write to the document. - * @param[in] options An object to configure the Set() behavior (optional). - * - * @return A Future that will be resolved when the write finishes. - */ - virtual Future Set(const MapFieldValue& data, - const SetOptions& options = SetOptions()); - - /** - * @brief Updates fields in the document referred to by this - * DocumentReference. - * - * If no document exists yet, the update will fail. - * - * @param[in] data A map of field / value pairs to update. Fields can contain - * dots to reference nested fields within the document. - * - * @return A Future that will be resolved when the client is online and the - * commit has completed against the server. The future will not resolve when - * the device is offline, though local changes will be visible immediately. - */ - virtual Future Update(const MapFieldValue& data); - - /** - * @brief Updates fields in the document referred to by this - * DocumentReference. - * - * If no document exists yet, the update will fail. - * - * @param[in] data A map from FieldPath to FieldValue to update. - * - * @return A Future that will be resolved when the client is online and the - * commit has completed against the server. The future will not resolve when - * the device is offline, though local changes will be visible immediately. - */ - virtual Future Update(const MapFieldPathValue& data); - - /** - * @brief Removes the document referred to by this DocumentReference. - * - * @return A Future that will be resolved when the delete completes. - */ - virtual Future Delete(); - - /** - * @brief Starts listening to the document referenced by this - * DocumentReference. - * - * @param[in] callback The std::function to call. When this function is - * called, snapshot value is valid if and only if error is Error::kErrorOk. - * The std::string is an error message; the value may be empty if an error - * message is not available. - * - * @return A registration object that can be used to remove the listener. - */ - virtual ListenerRegistration AddSnapshotListener( - std::function - callback); - - /** - * @brief Starts listening to the document referenced by this - * DocumentReference. - * - * @param[in] metadata_changes Indicates whether metadata-only changes (that - * is, only DocumentSnapshot::metadata() changed) should trigger snapshot - * events. - * @param[in] callback The std::function to call. When this function is - * called, snapshot value is valid if and only if error is Error::kErrorOk. - * The std::string is an error message; the value may be empty if an error - * message is not available. - * - * @return A registration object that can be used to remove the listener. - */ - virtual ListenerRegistration AddSnapshotListener( - MetadataChanges metadata_changes, - std::function - callback); - - /** - * @brief Returns true if this `DocumentReference` is valid, false if it is - * not valid. An invalid `DocumentReference` could be the result of: - * - Creating a `DocumentReference` using the default constructor. - * - Moving from the `DocumentReference`. - * - Calling `CollectionReference::Parent()` on a `CollectionReference` that - * is not a subcollection. - * - Deleting your Firestore instance, which will invalidate all the - * `DocumentReference` instances associated with it. - * - * @return true if this `DocumentReference` is valid, false if this - * `DocumentReference` is invalid. - */ - bool is_valid() const { return internal_ != nullptr; } - - /** - * Returns a string representation of this `DocumentReference` for - * logging/debugging purposes. - * - * @note the exact string representation is unspecified and subject to - * change; don't rely on the format of the string. - */ - std::string ToString() const; - - /** - * Outputs the string representation of this `DocumentReference` to the given - * stream. - * - * @see `ToString()` for comments on the representation format. - */ - friend std::ostream& operator<<(std::ostream& out, - const DocumentReference& reference); - - private: - friend bool operator==(const DocumentReference& lhs, - const DocumentReference& rhs); - - friend class CollectionReferenceInternal; - friend class DocumentSnapshotInternal; - friend class FieldValueInternal; - friend class FirestoreInternal; - friend class TransactionInternal; - friend class WriteBatchInternal; - friend struct ConverterImpl; - template - friend struct CleanupFn; - - explicit DocumentReference(DocumentReferenceInternal* internal); - - mutable DocumentReferenceInternal* internal_ = nullptr; -}; - -/** Checks `lhs` and `rhs` for equality. */ -bool operator==(const DocumentReference& lhs, const DocumentReference& rhs); - -/** Checks `lhs` and `rhs` for inequality. */ -inline bool operator!=(const DocumentReference& lhs, - const DocumentReference& rhs) { - return !(lhs == rhs); -} - -} // namespace firestore -} // namespace firebase - -#endif // FIREBASE_FIRESTORE_SRC_INCLUDE_FIREBASE_FIRESTORE_DOCUMENT_REFERENCE_H_ diff --git a/vendors/firebase/include/firebase/firestore/document_snapshot.h b/vendors/firebase/include/firebase/firestore/document_snapshot.h deleted file mode 100644 index 7617eb5d1..000000000 --- a/vendors/firebase/include/firebase/firestore/document_snapshot.h +++ /dev/null @@ -1,297 +0,0 @@ -/* - * Copyright 2018 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef FIREBASE_FIRESTORE_SRC_INCLUDE_FIREBASE_FIRESTORE_DOCUMENT_SNAPSHOT_H_ -#define FIREBASE_FIRESTORE_SRC_INCLUDE_FIREBASE_FIRESTORE_DOCUMENT_SNAPSHOT_H_ - -#include -#include - -#include "firebase/firestore/map_field_value.h" -#include "firebase/firestore/snapshot_metadata.h" - -namespace firebase { -namespace firestore { - -class DocumentReference; -class DocumentSnapshotInternal; -class FieldPath; -class FieldValue; -class Firestore; - -/** - * @brief A DocumentSnapshot contains data read from a document in your - * Firestore database. - * - * The data can be extracted with the GetData() method, or by using - * Get() to access a specific field. For a DocumentSnapshot that points to - * a non-existing document, any data access will cause a failed assertion. You - * can use the exists() method to explicitly verify a document's existence. - * - * @note Firestore classes are not meant to be subclassed except for use in test - * mocks. Subclassing is not supported in production code and new SDK releases - * may break code that does so. - */ -class DocumentSnapshot { - public: - /** - * Controls the return value for server timestamps that have not yet been set - * to their final value. - */ - enum class ServerTimestampBehavior { - /** - * Return Null for server timestamps that have not yet been set to their - * final value. - */ - kNone = 0, - - /** - * Return local estimates for server timestamps that have not yet been set - * to their final value. This estimate will likely differ from the final - * value and may cause these pending values to change once the server result - * becomes available. - */ - kEstimate, - - /** - * Return the previous value for server timestamps that have not yet been - * set to their final value. - */ - kPrevious, - - /** The default behavior, which is equivalent to specifying kNone. */ - // - // Note, SWIG renaming mechanism doesn't properly handle initializing an - // enum constant with another enum constant (e.g., in expression `kFoo = - // kBar` only `kFoo` will be renamed, leaving `kBar` as is, leading to - // compilation errors). - // - kDefault = 0, - }; - - /** - * @brief Creates an invalid DocumentSnapshot that has to be reassigned before - * it can be used. - * - * Calling any member function on an invalid DocumentSnapshot will be a no-op. - * If the function returns a value, it will return a zero, empty, or invalid - * value, depending on the type of the value. - */ - DocumentSnapshot(); - - /** - * @brief Copy constructor. - * - * `DocumentSnapshot` is immutable and can be efficiently copied (no deep copy - * is performed). - * - * @param[in] other `DocumentSnapshot` to copy from. - */ - DocumentSnapshot(const DocumentSnapshot& other); - - /** - * @brief Move constructor. - * - * Moving is more efficient than copying for a `DocumentSnapshot`. After being - * moved from, a `DocumentSnapshot` is equivalent to its default-constructed - * state. - * - * @param[in] other `DocumentSnapshot` to move data from. - */ - DocumentSnapshot(DocumentSnapshot&& other); - - virtual ~DocumentSnapshot(); - - /** - * @brief Copy assignment operator. - * - * `DocumentSnapshot` is immutable and can be efficiently copied (no deep copy - * is performed). - * - * @param[in] other `DocumentSnapshot` to copy from. - * - * @return Reference to the destination `DocumentSnapshot`. - */ - DocumentSnapshot& operator=(const DocumentSnapshot& other); - - /** - * @brief Move assignment operator. - * - * Moving is more efficient than copying for a `DocumentSnapshot`. After being - * moved from, a `DocumentSnapshot` is equivalent to its default-constructed - * state. - * - * @param[in] other `DocumentSnapshot` to move data from. - * - * @return Reference to the destination `DocumentSnapshot`. - */ - DocumentSnapshot& operator=(DocumentSnapshot&& other); - - /** - * @brief Returns the string ID of the document for which this - * DocumentSnapshot contains data. - * - * @return String ID of this document location. - */ - virtual const std::string& id() const; - - /** - * @brief Returns the document location for which this DocumentSnapshot - * contains data. - * - * @return DocumentReference of this document location. - */ - virtual DocumentReference reference() const; - - /** - * @brief Returns the metadata about this snapshot concerning its source and - * if it has local modifications. - * - * @return SnapshotMetadata about this snapshot. - */ - virtual SnapshotMetadata metadata() const; - - /** - * @brief Explicitly verify a document's existence. - * - * @return True if the document exists in this snapshot. - */ - virtual bool exists() const; - - /** - * @brief Retrieves all fields in the document as a map of FieldValues. - * - * @param stb Configures how server timestamps that have not yet - * been set to their final value are returned from the snapshot (optional). - * - * @return A map containing all fields in the document, or an empty map if the - * document doesn't exist. - */ - virtual MapFieldValue GetData( - ServerTimestampBehavior stb = ServerTimestampBehavior::kDefault) const; - - /** - * @brief Retrieves a specific field from the document. - * - * @param field String ID of the field to retrieve. The pointer only needs to - * be valid during this call. - * @param stb Configures how server timestamps that have not yet been set to - * their final value are returned from the snapshot (optional). - * - * @return The value contained in the field. If the field does not exist in - * the document, then a `FieldValue` instance with `is_valid() == false` will - * be returned. - */ - virtual FieldValue Get( - const char* field, - ServerTimestampBehavior stb = ServerTimestampBehavior::kDefault) const; - - /** - * @brief Retrieves a specific field from the document. - * - * @param field String ID of the field to retrieve. - * @param stb Configures how server timestamps that have not yet been set to - * their final value are returned from the snapshot (optional). - * - * @return The value contained in the field. If the field does not exist in - * the document, then a `FieldValue` instance with `is_valid() == false` will - * be returned. - */ - virtual FieldValue Get( - const std::string& field, - ServerTimestampBehavior stb = ServerTimestampBehavior::kDefault) const; - - /** - * @brief Retrieves a specific field from the document. - * - * @param field Path of the field to retrieve. - * @param stb Configures how server timestamps that have not yet been set to - * their final value are returned from the snapshot (optional). - * - * @return The value contained in the field. If the field does not exist in - * the document, then a `FieldValue` instance with `is_valid() == false` will - * be returned. - */ - virtual FieldValue Get( - const FieldPath& field, - ServerTimestampBehavior stb = ServerTimestampBehavior::kDefault) const; - - /** - * @brief Returns true if this `DocumentSnapshot` is valid, false if it is - * not valid. An invalid `DocumentSnapshot` could be the result of: - * - Creating a `DocumentSnapshot` with the default constructor. - * - Moving from the `DocumentSnapshot`. - * - Deleting your Firestore instance, which will invalidate all the - * `DocumentSnapshot` instances associated with it. - * - * @return true if this `DocumentSnapshot` is valid, false if this - * `DocumentSnapshot` is invalid. - */ - bool is_valid() const { return internal_ != nullptr; } - - /** - * Returns a string representation of this `DocumentSnapshot` for - * logging/debugging purposes. - * - * @note the exact string representation is unspecified and subject to - * change; don't rely on the format of the string. - */ - std::string ToString() const; - - /** - * Outputs the string representation of this `DocumentSnapshot` to the given - * stream. - * - * @see `ToString()` for comments on the representation format. - */ - friend std::ostream& operator<<(std::ostream& out, - const DocumentSnapshot& document); - - private: - std::size_t Hash() const; - - friend bool operator==(const DocumentSnapshot& lhs, - const DocumentSnapshot& rhs); - friend std::size_t DocumentSnapshotHash(const DocumentSnapshot& snapshot); - - friend class DocumentChangeInternal; - friend class EventListenerInternal; - friend class FirestoreInternal; - friend class QueryInternal; - friend class TransactionInternal; - friend class Wrapper; - friend struct ConverterImpl; - template - friend struct CleanupFn; - - explicit DocumentSnapshot(DocumentSnapshotInternal* internal); - - mutable DocumentSnapshotInternal* internal_ = nullptr; -}; - -/** Checks `lhs` and `rhs` for equality. */ -bool operator==(const DocumentSnapshot& lhs, const DocumentSnapshot& rhs); - -/** Checks `lhs` and `rhs` for inequality. */ -inline bool operator!=(const DocumentSnapshot& lhs, - const DocumentSnapshot& rhs) { - return !(lhs == rhs); -} - -} // namespace firestore -} // namespace firebase - -#endif // FIREBASE_FIRESTORE_SRC_INCLUDE_FIREBASE_FIRESTORE_DOCUMENT_SNAPSHOT_H_ diff --git a/vendors/firebase/include/firebase/firestore/field_path.h b/vendors/firebase/include/firebase/firestore/field_path.h deleted file mode 100644 index d09dec641..000000000 --- a/vendors/firebase/include/firebase/firestore/field_path.h +++ /dev/null @@ -1,205 +0,0 @@ -/* - * Copyright 2018 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef FIREBASE_FIRESTORE_SRC_INCLUDE_FIREBASE_FIRESTORE_FIELD_PATH_H_ -#define FIREBASE_FIRESTORE_SRC_INCLUDE_FIREBASE_FIRESTORE_FIELD_PATH_H_ - -#include -#include -#include -#include - -namespace firebase { -namespace firestore { - -#if !defined(__ANDROID__) - -namespace model { -class FieldPath; -} // namespace model - -#else - -class FieldPathPortable; - -#endif // !defined(__ANDROID__) - -/** - * @brief A FieldPath refers to a field in a document. - * - * The path may consist of a single field name (referring to a top level field - * in the document) or a list of field names (referring to a nested field in the - * document). - */ -class FieldPath final { - public: - /** - * @brief Creates an invalid FieldPath that has to be reassigned before it can - * be used. - * - * Calling any member function on an invalid FieldPath will be a no-op. If the - * function returns a value, it will return a zero, empty, or invalid value, - * depending on the type of the value. - */ - FieldPath(); - - /** - * Creates a FieldPath from the provided field names. If more than one field - * name is provided, the path will point to a nested field in a document. - * - * @param field_names A list of field names. - */ - FieldPath(std::initializer_list field_names); - - /** - * Creates a FieldPath from the provided field names. If more than one field - * name is provided, the path will point to a nested field in a document. - * - * @param field_names A vector of field names. - */ - FieldPath(const std::vector& field_names); - - /** - * @brief Copy constructor. - * - * This performs a deep copy, creating an independent instance. - * - * @param[in] other `FieldPath` to copy from. - */ - FieldPath(const FieldPath& other); - - /** - * @brief Move constructor. - * - * Moving is more efficient than copying for `FieldPath`. After being moved - * from, `FieldPath` is in a valid but unspecified state. - * - * @param[in] other `FieldPath` to move data from. - */ - FieldPath(FieldPath&& other) noexcept; - - ~FieldPath(); - - /** - * @brief Copy assignment operator. - * - * This performs a deep copy, creating an independent instance. - * - * @param[in] other `FieldPath` to copy from. - * - * @return Reference to the destination `FieldPath`. - */ - FieldPath& operator=(const FieldPath& other); - - /** - * @brief Move assignment operator. - * - * Moving is more efficient than copying for `FieldPath`. After being moved - * from, `FieldPath` is in a valid but unspecified state. - * - * @param[in] other `FieldPath` to move data from. - * - * @return Reference to the destination `FieldPath`. - */ - FieldPath& operator=(FieldPath&& other) noexcept; - - /** - * A special sentinel FieldPath to refer to the ID of a document. It can be - * used in queries to sort or filter by the document ID. - */ - static FieldPath DocumentId(); - - /** - * @brief Returns true if this `FieldPath` is valid, false if it is not valid. - * An invalid `FieldPath` could be the result of: - * - Creating a `FieldPath` using the default constructor. - * - Moving from the `FieldPath`. - * - * @return true if this `FieldPath` is valid, false if this `FieldPath` is - * invalid. - */ - bool is_valid() const { return internal_ != nullptr; } - - /** - * Returns a string representation of this `FieldPath` for - * logging/debugging purposes. - * - * @note the exact string representation is unspecified and subject to - * change; don't rely on the format of the string. - */ - std::string ToString() const; - - /** - * Outputs the string representation of this `FieldPath` to the given - * stream. - * - * @see `ToString()` for comments on the representation format. - */ - friend std::ostream& operator<<(std::ostream& out, const FieldPath& path); - - private: - // The type of the internal object that implements the public interface. -#if !defined(SWIG) -#if !defined(__ANDROID__) - using FieldPathInternal = ::firebase::firestore::model::FieldPath; -#else - using FieldPathInternal = ::firebase::firestore::FieldPathPortable; -#endif // !defined(__ANDROID__) -#endif // !defined(SWIG) - - friend bool operator==(const FieldPath& lhs, const FieldPath& rhs); - friend bool operator!=(const FieldPath& lhs, const FieldPath& rhs); - friend struct std::hash; - - friend class DocumentSnapshot; // For access to `FromDotSeparatedString` - friend class Query; - friend class QueryInternal; - friend class SetOptions; // For access to `FromDotSeparatedString` - friend class FieldPathConverter; - friend struct ConverterImpl; - - explicit FieldPath(FieldPathInternal* internal); - - static FieldPathInternal* InternalFromSegments( - std::vector field_names); - - static FieldPath FromDotSeparatedString(const std::string& path); - - FieldPathInternal* internal_ = nullptr; -}; - -} // namespace firestore -} // namespace firebase - -#if !defined(SWIG) -namespace std { -/** - * A convenient specialization of std::hash for FieldPath. - */ -template <> -struct hash { - /** - * Calculates the hash of the argument. - * - * Note: specialization of `std::hash` is provided for convenience only. The - * implementation is subject to change. - */ - size_t operator()(const firebase::firestore::FieldPath& field_path) const; -}; -} // namespace std -#endif // !defined(SWIG) - -#endif // FIREBASE_FIRESTORE_SRC_INCLUDE_FIREBASE_FIRESTORE_FIELD_PATH_H_ diff --git a/vendors/firebase/include/firebase/firestore/field_value.h b/vendors/firebase/include/firebase/firestore/field_value.h deleted file mode 100644 index e66814104..000000000 --- a/vendors/firebase/include/firebase/firestore/field_value.h +++ /dev/null @@ -1,436 +0,0 @@ -/* - * Copyright 2018 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef FIREBASE_FIRESTORE_SRC_INCLUDE_FIREBASE_FIRESTORE_FIELD_VALUE_H_ -#define FIREBASE_FIRESTORE_SRC_INCLUDE_FIREBASE_FIRESTORE_FIELD_VALUE_H_ - -#include -#include -#include -#include -#include - -#include "firebase/firestore/map_field_value.h" -#include "firebase/internal/type_traits.h" - -namespace firebase { - -class Timestamp; - -namespace firestore { - -class DocumentReference; -class FieldValueInternal; -class GeoPoint; - -/** - * @brief A field value represents variant datatypes as stored by Firestore. - * - * FieldValue can be used when reading a particular field with - * DocumentSnapshot::Get() or fields with DocumentSnapshot::GetData(). When - * writing document fields with DocumentReference::Set() or - * DocumentReference::Update(), it can also represent sentinel values in - * addition to real data values. - * - * For a non-sentinel instance, you can check whether it is of a particular type - * with is_foo() and get the value with foo_value(), where foo can be one of - * null, boolean, integer, double, timestamp, string, blob, reference, - * geo_point, array or map. If the instance is not of type foo, the call to - * foo_value() will fail (and cause a crash). - */ -class FieldValue final { - // Helper aliases for `Increment` member functions. - // Qualifying `is_integer` is to prevent ambiguity with the - // `FieldValue::is_integer` member function. - // Note: normally, `enable_if::type` would be included in the alias, but such - // a declaration breaks SWIG (presumably, SWIG cannot handle `typename` within - // an alias template). - template - using EnableIfIntegral = enable_if<::firebase::is_integer::value, int>; - template - using EnableIfFloatingPoint = enable_if::value, int>; - - public: - /** - * The enumeration of all valid runtime types of FieldValue. - */ - enum class Type { - kNull, - kBoolean, - kInteger, - kDouble, - kTimestamp, - kString, - kBlob, - kReference, - kGeoPoint, - kArray, - kMap, - // Below are sentinel types. Sentinel types can be passed to Firestore - // methods as arguments, but are never returned from Firestore. - kDelete, - kServerTimestamp, - kArrayUnion, - kArrayRemove, - kIncrementInteger, - kIncrementDouble, - }; - - /** - * @brief Creates an invalid FieldValue that has to be reassigned before it - * can be used. - * - * Calling any member function on an invalid FieldValue will be a no-op. If - * the function returns a value, it will return a zero, empty, or invalid - * value, depending on the type of the value. - */ - FieldValue(); - - /** - * @brief Copy constructor. - * - * `FieldValue` is immutable and can be efficiently copied (no deep copy is - * performed). - * - * @param[in] other `FieldValue` to copy from. - */ - FieldValue(const FieldValue& other); - - /** - * @brief Move constructor. - * - * Moving is more efficient than copying for a `FieldValue`. After being moved - * from, a `FieldValue` is equivalent to its default-constructed state. - * - * @param[in] other `FieldValue` to move data from. - */ - FieldValue(FieldValue&& other) noexcept; - - ~FieldValue(); - - /** - * @brief Copy assignment operator. - * - * `FieldValue` is immutable and can be efficiently copied (no deep copy is - * performed). - * - * @param[in] other `FieldValue` to copy from. - * - * @return Reference to the destination `FieldValue`. - */ - FieldValue& operator=(const FieldValue& other); - - /** - * @brief Move assignment operator. - * - * Moving is more efficient than copying for a `FieldValue`. After being moved - * from, a `FieldValue` is equivalent to its default-constructed state. - * - * @param[in] other `FieldValue` to move data from. - * - * @return Reference to the destination `FieldValue`. - */ - FieldValue& operator=(FieldValue&& other) noexcept; - - /** - * @brief Constructs a FieldValue containing the given boolean value. - */ - static FieldValue Boolean(bool value); - - /** - * @brief Constructs a FieldValue containing the given 64-bit integer value. - */ - static FieldValue Integer(int64_t value); - - /** - * @brief Constructs a FieldValue containing the given double-precision - * floating point value. - */ - static FieldValue Double(double value); - - /** - * @brief Constructs a FieldValue containing the given Timestamp value. - */ - static FieldValue Timestamp(Timestamp value); - - /** - * @brief Constructs a FieldValue containing the given std::string value. - */ - static FieldValue String(std::string value); - - /** - * @brief Constructs a FieldValue containing the given blob value of given - * size. `value` is copied into the returned FieldValue. - */ - static FieldValue Blob(const uint8_t* value, size_t size); - - /** - * @brief Constructs a FieldValue containing the given reference value. - */ - static FieldValue Reference(DocumentReference value); - - /** - * @brief Constructs a FieldValue containing the given GeoPoint value. - */ - static FieldValue GeoPoint(GeoPoint value); - - /** - * @brief Constructs a FieldValue containing the given FieldValue vector - * value. - */ - static FieldValue Array(std::vector value); - - /** - * @brief Constructs a FieldValue containing the given FieldValue map value. - */ - static FieldValue Map(MapFieldValue value); - - /** @brief Gets the current type contained in this FieldValue. */ - Type type() const; - - /** @brief Gets whether this FieldValue is currently null. */ - bool is_null() const { return type() == Type::kNull; } - - /** @brief Gets whether this FieldValue contains a boolean value. */ - bool is_boolean() const { return type() == Type::kBoolean; } - - /** @brief Gets whether this FieldValue contains an integer value. */ - bool is_integer() const { return type() == Type::kInteger; } - - /** @brief Gets whether this FieldValue contains a double value. */ - bool is_double() const { return type() == Type::kDouble; } - - /** @brief Gets whether this FieldValue contains a timestamp. */ - bool is_timestamp() const { return type() == Type::kTimestamp; } - - /** @brief Gets whether this FieldValue contains a string. */ - bool is_string() const { return type() == Type::kString; } - - /** @brief Gets whether this FieldValue contains a blob. */ - bool is_blob() const { return type() == Type::kBlob; } - - /** - * @brief Gets whether this FieldValue contains a reference to a document in - * the same Firestore. - */ - bool is_reference() const { return type() == Type::kReference; } - - /** @brief Gets whether this FieldValue contains a GeoPoint. */ - bool is_geo_point() const { return type() == Type::kGeoPoint; } - - /** @brief Gets whether this FieldValue contains an array of FieldValues. */ - bool is_array() const { return type() == Type::kArray; } - - /** @brief Gets whether this FieldValue contains a map of std::string to - * FieldValue. */ - bool is_map() const { return type() == Type::kMap; } - - /** @brief Gets the boolean value contained in this FieldValue. */ - bool boolean_value() const; - - /** @brief Gets the integer value contained in this FieldValue. */ - int64_t integer_value() const; - - /** @brief Gets the double value contained in this FieldValue. */ - double double_value() const; - - /** @brief Gets the timestamp value contained in this FieldValue. */ - class Timestamp timestamp_value() const; - - /** @brief Gets the string value contained in this FieldValue. */ - std::string string_value() const; - - /** @brief Gets the blob value contained in this FieldValue. */ - const uint8_t* blob_value() const; - - /** @brief Gets the blob size contained in this FieldValue. */ - size_t blob_size() const; - - /** @brief Gets the DocumentReference contained in this FieldValue. */ - DocumentReference reference_value() const; - - /** @brief Gets the GeoPoint value contained in this FieldValue. */ - class GeoPoint geo_point_value() const; - - /** @brief Gets the vector of FieldValues contained in this FieldValue. */ - std::vector array_value() const; - - /** - * @brief Gets the map of string to FieldValue contained in this FieldValue. - */ - MapFieldValue map_value() const; - - /** - * @brief Returns `true` if this `FieldValue` is valid, `false` if it is not - * valid. An invalid `FieldValue` could be the result of: - * - Creating a `FieldValue` using the default constructor. - * - Moving from the `FieldValue`. - * - Calling `DocumentSnapshot::Get(field)` for a field that does not exist - * in the document. - * - * @return `true` if this `FieldValue` is valid, `false` if this `FieldValue` - * is invalid. - */ - bool is_valid() const { return internal_ != nullptr; } - - /** @brief Constructs a null. */ - static FieldValue Null(); - - /** - * @brief Returns a sentinel for use with Update() to mark a field for - * deletion. - */ - static FieldValue Delete(); - - /** - * Returns a sentinel that can be used with Set() or Update() to include - * a server-generated timestamp in the written data. - */ - static FieldValue ServerTimestamp(); - - /** - * Returns a special value that can be used with Set() or Update() that tells - * the server to union the given elements with any array value that already - * exists on the server. Each specified element that doesn't already exist in - * the array will be added to the end. If the field being modified is not - * already an array, it will be overwritten with an array containing exactly - * the specified elements. - * - * @param elements The elements to union into the array. - * @return The FieldValue sentinel for use in a call to Set() or Update(). - */ - static FieldValue ArrayUnion(std::vector elements); - - /** - * Returns a special value that can be used with Set() or Update() that tells - * the server to remove the given elements from any array value that already - * exists on the server. All instances of each element specified will be - * removed from the array. If the field being modified is not already an - * array, it will be overwritten with an empty array. - * - * @param elements The elements to remove from the array. - * @return The FieldValue sentinel for use in a call to Set() or Update(). - */ - static FieldValue ArrayRemove(std::vector elements); - - /** - * Returns a special value that can be used with `Set()` or `Update()` that - * tells the server to increment the field's current value by the given - * integer value. - * - * If the current field value is an integer, possible integer overflows are - * resolved to `LONG_MAX` or `LONG_MIN`. If the current field value is a - * double, both values will be interpreted as doubles and the arithmetic will - * follow IEEE 754 semantics. - * - * If field is not an integer or a double, or if the field does not yet exist, - * the transformation will set the field to the given value. - * - * @param by_value The integer value to increment by. Should be an integer - * type not larger than `int64_t`. - * @return The FieldValue sentinel for use in a call to `Set()` or `Update().` - */ - template ::type = 0> - static FieldValue Increment(T by_value) { - // Note: Doxygen will run into trouble if this function's definition is - // moved outside the class body. - static_assert( - (std::numeric_limits::max)() <= - (std::numeric_limits::max)(), - "The integer type you provided is larger than can fit in an int64_t. " - "If you are sure the value will not be truncated, please explicitly " - "cast to int64_t before passing it to FieldValue::Increment()."); - return IntegerIncrement(static_cast(by_value)); - } - - /** - * Returns a special value that can be used with `Set()` or `Update()` that - * tells the server to increment the field's current value by the given - * floating point value. - * - * If the current field value is an integer, possible integer overflows are - * resolved to `LONG_MAX` or `LONG_MIN`. If the current field value is a - * double, both values will be interpreted as doubles and the arithmetic will - * follow IEEE 754 semantics. - * - * If field is not an integer or a double, or if the field does not yet exist, - * the transformation will set the field to the given value. - * - * @param by_value The double value to increment by. Should be a floating - * point type no larger than `double`. - * @return The FieldValue sentinel for use in a call to `Set()` or `Update().` - */ - template ::type = 0> - static FieldValue Increment(T by_value) { - // Note: Doxygen will run into trouble if this function's definition is - // moved outside the class body. - static_assert( - (std::numeric_limits::max)() <= (std::numeric_limits::max)(), - "The floating point type you provided is larger than can fit in a " - "double. If you are sure the value will not be truncated, please " - "explicitly cast to double before passing it to " - "FieldValue::Increment()."); - return DoubleIncrement(static_cast(by_value)); - } - - /** - * Returns a string representation of this `FieldValue` for logging/debugging - * purposes. - * - * @note the exact string representation is unspecified and subject to - * change; don't rely on the format of the string. - */ - std::string ToString() const; - - /** - * Outputs the string representation of this `FieldValue` to the given stream. - * - * @see `ToString()` for comments on the representation format. - */ - friend std::ostream& operator<<(std::ostream& out, const FieldValue& value); - - private: - friend class DocumentReferenceInternal; - friend class DocumentSnapshotInternal; - friend class FieldValueInternal; - friend class FirestoreInternal; - friend class QueryInternal; - friend class TransactionInternal; - friend class Wrapper; - friend class WriteBatchInternal; - friend struct ConverterImpl; - friend bool operator==(const FieldValue& lhs, const FieldValue& rhs); - - explicit FieldValue(FieldValueInternal* internal); - - static FieldValue IntegerIncrement(int64_t by_value); - static FieldValue DoubleIncrement(double by_value); - - FieldValueInternal* internal_ = nullptr; -}; - -/** Checks `lhs` and `rhs` for equality. */ -bool operator==(const FieldValue& lhs, const FieldValue& rhs); - -/** Checks `lhs` and `rhs` for inequality. */ -inline bool operator!=(const FieldValue& lhs, const FieldValue& rhs) { - return !(lhs == rhs); -} - -} // namespace firestore -} // namespace firebase - -#endif // FIREBASE_FIRESTORE_SRC_INCLUDE_FIREBASE_FIRESTORE_FIELD_VALUE_H_ diff --git a/vendors/firebase/include/firebase/firestore/firestore_errors.h b/vendors/firebase/include/firebase/firestore/firestore_errors.h deleted file mode 100644 index 6af214a08..000000000 --- a/vendors/firebase/include/firebase/firestore/firestore_errors.h +++ /dev/null @@ -1,116 +0,0 @@ -/* - * Copyright 2018 Google - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef FIRESTORE_CORE_INCLUDE_FIREBASE_FIRESTORE_FIRESTORE_ERRORS_H_ -#define FIRESTORE_CORE_INCLUDE_FIREBASE_FIRESTORE_FIRESTORE_ERRORS_H_ - -namespace firebase { -namespace firestore { - -/** - * Error codes used by Cloud Firestore. - * - * The codes are in sync across Firestore SDKs on various platforms. - */ -enum Error { - /** The operation completed successfully. */ - // Note: NSError objects will never have a code with this value. - kErrorOk = 0, - - kErrorNone = 0, - - /** The operation was cancelled (typically by the caller). */ - kErrorCancelled = 1, - - /** Unknown error or an error from a different error domain. */ - kErrorUnknown = 2, - - /** - * Client specified an invalid argument. Note that this differs from - * FailedPrecondition. InvalidArgument indicates arguments that are - * problematic regardless of the state of the system (e.g., an invalid field - * name). - */ - kErrorInvalidArgument = 3, - - /** - * Deadline expired before operation could complete. For operations that - * change the state of the system, this error may be returned even if the - * operation has completed successfully. For example, a successful response - * from a server could have been delayed long enough for the deadline to - * expire. - */ - kErrorDeadlineExceeded = 4, - - /** Some requested document was not found. */ - kErrorNotFound = 5, - - /** Some document that we attempted to create already exists. */ - kErrorAlreadyExists = 6, - - /** The caller does not have permission to execute the specified operation. */ - kErrorPermissionDenied = 7, - - /** - * Some resource has been exhausted, perhaps a per-user quota, or perhaps the - * entire file system is out of space. - */ - kErrorResourceExhausted = 8, - - /** - * Operation was rejected because the system is not in a state required for - * the operation's execution. - */ - kErrorFailedPrecondition = 9, - - /** - * The operation was aborted, typically due to a concurrency issue like - * transaction aborts, etc. - */ - kErrorAborted = 10, - - /** Operation was attempted past the valid range. */ - kErrorOutOfRange = 11, - - /** Operation is not implemented or not supported/enabled. */ - kErrorUnimplemented = 12, - - /** - * Internal errors. Means some invariants expected by underlying system has - * been broken. If you see one of these errors, something is very broken. - */ - kErrorInternal = 13, - - /** - * The service is currently unavailable. This is a most likely a transient - * condition and may be corrected by retrying with a backoff. - */ - kErrorUnavailable = 14, - - /** Unrecoverable data loss or corruption. */ - kErrorDataLoss = 15, - - /** - * The request does not have valid authentication credentials for the - * operation. - */ - kErrorUnauthenticated = 16 -}; - -} // namespace firestore -} // namespace firebase - -#endif // FIRESTORE_CORE_INCLUDE_FIREBASE_FIRESTORE_FIRESTORE_ERRORS_H_ diff --git a/vendors/firebase/include/firebase/firestore/firestore_version.h b/vendors/firebase/include/firebase/firestore/firestore_version.h deleted file mode 100644 index 627ead9e3..000000000 --- a/vendors/firebase/include/firebase/firestore/firestore_version.h +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright 2018 Google - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef FIRESTORE_CORE_INCLUDE_FIREBASE_FIRESTORE_FIRESTORE_VERSION_H_ -#define FIRESTORE_CORE_INCLUDE_FIREBASE_FIRESTORE_FIRESTORE_VERSION_H_ - -namespace firebase { -namespace firestore { - -/** Version string for the Firebase Firestore SDK. */ -extern const char* const kFirestoreVersionString; - -} // namespace firestore -} // namespace firebase - -#endif // FIRESTORE_CORE_INCLUDE_FIREBASE_FIRESTORE_FIRESTORE_VERSION_H_ diff --git a/vendors/firebase/include/firebase/firestore/geo_point.h b/vendors/firebase/include/firebase/firestore/geo_point.h deleted file mode 100644 index ac56e74a4..000000000 --- a/vendors/firebase/include/firebase/firestore/geo_point.h +++ /dev/null @@ -1,120 +0,0 @@ -/* - * Copyright 2018 Google - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef FIRESTORE_CORE_INCLUDE_FIREBASE_FIRESTORE_GEO_POINT_H_ -#define FIRESTORE_CORE_INCLUDE_FIREBASE_FIRESTORE_GEO_POINT_H_ - -#include -#include - -namespace firebase { -namespace firestore { - -/** - * An immutable object representing a geographical point in Firestore. The point - * is represented as a latitude/longitude pair. - * - * Latitude values are in the range of [-90, 90]. - * Longitude values are in the range of [-180, 180]. - */ -class GeoPoint { - public: - /** Creates a `GeoPoint` with both latitude and longitude set to 0. */ - GeoPoint() = default; - - /** - * Creates a `GeoPoint` from the provided latitude and longitude values. - * - * @param latitude The latitude as number of degrees between -90 and 90. - * @param longitude The longitude as number of degrees between -180 and 180. - */ - GeoPoint(double latitude, double longitude); - - /** Copy constructor, `GeoPoint` is trivially copyable. */ - GeoPoint(const GeoPoint& other) = default; - - /** Move constructor, equivalent to copying. */ - GeoPoint(GeoPoint&& other) = default; - - /** Copy assignment operator, `GeoPoint` is trivially copyable. */ - GeoPoint& operator=(const GeoPoint& other) = default; - - /** Move assignment operator, equivalent to copying. */ - GeoPoint& operator=(GeoPoint&& other) = default; - - /** Returns the latitude value of this `GeoPoint`. */ - double latitude() const { - return latitude_; - } - - /** Returns the latitude value of this `GeoPoint`. */ - double longitude() const { - return longitude_; - } - - /** - * Returns a string representation of this `GeoPoint` for logging/debugging - * purposes. - * - * @note: the exact string representation is unspecified and subject to - * change; don't rely on the format of the string. - */ - std::string ToString() const; - - /** - * Outputs the string representation of this `GeoPoint` to the given stream. - * - * @see `ToString()` for comments on the representation format. - */ - friend std::ostream& operator<<(std::ostream& out, const GeoPoint& geo_point); - - private: - double latitude_ = 0.0; - double longitude_ = 0.0; -}; - -/** Checks whether `lhs` and `rhs` are in ascending order. */ -bool operator<(const GeoPoint& lhs, const GeoPoint& rhs); - -/** Checks whether `lhs` and `rhs` are in descending order. */ -inline bool operator>(const GeoPoint& lhs, const GeoPoint& rhs) { - return rhs < lhs; -} - -/** Checks whether `lhs` and `rhs` are in non-ascending order. */ -inline bool operator>=(const GeoPoint& lhs, const GeoPoint& rhs) { - return !(lhs < rhs); -} - -/** Checks whether `lhs` and `rhs` are in non-descending order. */ -inline bool operator<=(const GeoPoint& lhs, const GeoPoint& rhs) { - return !(lhs > rhs); -} - -/** Checks `lhs` and `rhs` for inequality. */ -inline bool operator!=(const GeoPoint& lhs, const GeoPoint& rhs) { - return lhs < rhs || lhs > rhs; -} - -/** Checks `lhs` and `rhs` for equality. */ -inline bool operator==(const GeoPoint& lhs, const GeoPoint& rhs) { - return !(lhs != rhs); -} - -} // namespace firestore -} // namespace firebase - -#endif // FIRESTORE_CORE_INCLUDE_FIREBASE_FIRESTORE_GEO_POINT_H_ diff --git a/vendors/firebase/include/firebase/firestore/listener_registration.h b/vendors/firebase/include/firebase/firestore/listener_registration.h deleted file mode 100644 index 204879433..000000000 --- a/vendors/firebase/include/firebase/firestore/listener_registration.h +++ /dev/null @@ -1,130 +0,0 @@ -/* - * Copyright 2018 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef FIREBASE_FIRESTORE_SRC_INCLUDE_FIREBASE_FIRESTORE_LISTENER_REGISTRATION_H_ -#define FIREBASE_FIRESTORE_SRC_INCLUDE_FIREBASE_FIRESTORE_LISTENER_REGISTRATION_H_ - -namespace firebase { -namespace firestore { - -class FirestoreInternal; -class ListenerRegistrationInternal; - -/** Represents a listener that can be removed by calling Remove(). */ -class ListenerRegistration { - public: - /** - * @brief Creates an invalid ListenerRegistration that has to be reassigned - * before it can be used. - * - * Calling Remove() on an invalid ListenerRegistration is a no-op. - */ - ListenerRegistration(); - - /** - * @brief Copy constructor. - * - * `ListenerRegistration` can be efficiently copied because it simply refers - * to the same underlying listener. If there is more than one copy of - * a `ListenerRegistration`, after calling `Remove` on one of them, the - * listener is removed, and calling `Remove` on any other copies will be - * a no-op. - * - * @param[in] other `ListenerRegistration` to copy from. - */ - ListenerRegistration(const ListenerRegistration& other); - - /** - * @brief Move constructor. - * - * Moving is more efficient than copying for a `ListenerRegistration`. After - * being moved from, a `ListenerRegistration` is equivalent to its - * default-constructed state. - * - * @param[in] other `ListenerRegistration` to move data from. - */ - ListenerRegistration(ListenerRegistration&& other); - - virtual ~ListenerRegistration(); - - /** - * @brief Copy assignment operator. - * - * `ListenerRegistration` can be efficiently copied because it simply refers - * to the same underlying listener. If there is more than one copy of - * a `ListenerRegistration`, after calling `Remove` on one of them, the - * listener is removed, and calling `Remove` on any other copies will be - * a no-op. - * - * @param[in] other `ListenerRegistration` to copy from. - * - * @return Reference to the destination `ListenerRegistration`. - */ - ListenerRegistration& operator=(const ListenerRegistration& other); - - /** - * @brief Move assignment operator. - * - * Moving is more efficient than copying for a `ListenerRegistration`. After - * being moved from, a `ListenerRegistration` is equivalent to its - * default-constructed state. - * - * @param[in] other `ListenerRegistration` to move data from. - * - * @return Reference to the destination `ListenerRegistration`. - */ - ListenerRegistration& operator=(ListenerRegistration&& other); - - /** - * Removes the listener being tracked by this ListenerRegistration. After the - * initial call, subsequent calls have no effect. - */ - virtual void Remove(); - - /** - * @brief Returns true if this `ListenerRegistration` is valid, false if it is - * not valid. An invalid `ListenerRegistration` could be the result of: - * - Creating a `ListenerRegistration` using the default constructor. - * - Moving from the `ListenerRegistration`. - * - Deleting your Firestore instance, which will invalidate all the - * `ListenerRegistration` instances associated with it. - * - * @return true if this `ListenerRegistration` is valid, false if this - * `ListenerRegistration` is invalid. - */ - bool is_valid() const { return internal_ != nullptr; } - - private: - friend class DocumentReferenceInternal; - friend class FirestoreInternal; - friend class ListenerRegistrationInternal; - friend class QueryInternal; - friend struct ConverterImpl; - template - friend struct CleanupFn; - - explicit ListenerRegistration(ListenerRegistrationInternal* internal); - - void Cleanup(); - - FirestoreInternal* firestore_ = nullptr; - mutable ListenerRegistrationInternal* internal_ = nullptr; -}; - -} // namespace firestore -} // namespace firebase - -#endif // FIREBASE_FIRESTORE_SRC_INCLUDE_FIREBASE_FIRESTORE_LISTENER_REGISTRATION_H_ diff --git a/vendors/firebase/include/firebase/firestore/load_bundle_task_progress.h b/vendors/firebase/include/firebase/firestore/load_bundle_task_progress.h deleted file mode 100644 index be9b235f1..000000000 --- a/vendors/firebase/include/firebase/firestore/load_bundle_task_progress.h +++ /dev/null @@ -1,101 +0,0 @@ -/* - * Copyright 2021 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -#ifndef FIREBASE_FIRESTORE_SRC_INCLUDE_FIREBASE_FIRESTORE_LOAD_BUNDLE_TASK_PROGRESS_H_ -#define FIREBASE_FIRESTORE_SRC_INCLUDE_FIREBASE_FIRESTORE_LOAD_BUNDLE_TASK_PROGRESS_H_ - -#include - -namespace firebase { -namespace firestore { - -class LoadBundleTaskProgressInternal; - -/** Represents a progress update or the final state from loading bundles. */ -class LoadBundleTaskProgress { - public: - /** - * Represents the state of bundle loading tasks. - * - * Both `kSuccess` and `kError` are final states: the task will abort - * or complete and there will be no more updates after they are reported. - */ - enum class State { kError, kInProgress, kSuccess }; - - LoadBundleTaskProgress() = default; - /** Construct a LoadBundleTaskProgress with specific state. **/ - LoadBundleTaskProgress(int32_t documents_loaded, - int32_t total_documents, - int64_t bytes_loaded, - int64_t total_bytes, - State state); - - /** Returns how many documents have been loaded. */ - int32_t documents_loaded() const { return documents_loaded_; } - - /** - * Returns the total number of documents in the bundle. Returns 0 if the - * bundle failed to parse. - */ - int32_t total_documents() const { return total_documents_; } - - /** Returns how many bytes have been loaded. */ - int64_t bytes_loaded() const { return bytes_loaded_; } - - /** - * Returns the total number of bytes in the bundle. Returns 0 if the bundle - * failed to parse. - */ - int64_t total_bytes() const { return total_bytes_; } - - /** Returns the current state of the loading progress. */ - State state() const { return state_; } - - private: - friend class EventListenerInternal; - friend class LoadBundleTaskProgressInternal; - friend struct ConverterImpl; - -#if defined(__ANDROID__) - explicit LoadBundleTaskProgress(LoadBundleTaskProgressInternal* internal); -#endif // defined(__ANDROID__) - - int32_t documents_loaded_ = 0; - int32_t total_documents_ = 0; - int64_t bytes_loaded_ = 0; - int64_t total_bytes_ = 0; - State state_ = State::kInProgress; -}; - -/** LoadBundleTaskProgress == comparison operator. **/ -inline bool operator==(const LoadBundleTaskProgress& lhs, - const LoadBundleTaskProgress& rhs) { - return lhs.state() == rhs.state() && - lhs.bytes_loaded() == rhs.bytes_loaded() && - lhs.documents_loaded() == rhs.documents_loaded() && - lhs.total_bytes() == rhs.total_bytes() && - lhs.total_documents() == rhs.total_documents(); -} - -/** LoadBundleTaskProgress != comparison operator. **/ -inline bool operator!=(const LoadBundleTaskProgress& lhs, - const LoadBundleTaskProgress& rhs) { - return !(lhs == rhs); -} - -} // namespace firestore -} // namespace firebase - -#endif // FIREBASE_FIRESTORE_SRC_INCLUDE_FIREBASE_FIRESTORE_LOAD_BUNDLE_TASK_PROGRESS_H_ diff --git a/vendors/firebase/include/firebase/firestore/map_field_value.h b/vendors/firebase/include/firebase/firestore/map_field_value.h deleted file mode 100644 index 8c67c05a1..000000000 --- a/vendors/firebase/include/firebase/firestore/map_field_value.h +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright 2018 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef FIREBASE_FIRESTORE_SRC_INCLUDE_FIREBASE_FIRESTORE_MAP_FIELD_VALUE_H_ -#define FIREBASE_FIRESTORE_SRC_INCLUDE_FIREBASE_FIRESTORE_MAP_FIELD_VALUE_H_ - -#include -#include - -namespace firebase { -namespace firestore { - -class FieldPath; -class FieldValue; - -/** @brief A map of `FieldValue`s indexed by stringified field paths. */ -using MapFieldValue = std::unordered_map; -/** @brief A map of `FieldValue`s indexed by field paths. */ -using MapFieldPathValue = std::unordered_map; - -} // namespace firestore -} // namespace firebase - -#endif // FIREBASE_FIRESTORE_SRC_INCLUDE_FIREBASE_FIRESTORE_MAP_FIELD_VALUE_H_ diff --git a/vendors/firebase/include/firebase/firestore/metadata_changes.h b/vendors/firebase/include/firebase/firestore/metadata_changes.h deleted file mode 100644 index 13f9abe48..000000000 --- a/vendors/firebase/include/firebase/firestore/metadata_changes.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright 2018 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef FIREBASE_FIRESTORE_SRC_INCLUDE_FIREBASE_FIRESTORE_METADATA_CHANGES_H_ -#define FIREBASE_FIRESTORE_SRC_INCLUDE_FIREBASE_FIRESTORE_METADATA_CHANGES_H_ - -namespace firebase { -namespace firestore { - -/** - * Indicates whether metadata-only changes (that is, - * DocumentSnapshot::metadata() or QuerySnapshot::metadata() changed) should - * trigger snapshot events. - */ -enum class MetadataChanges { - /** Snapshot events will not be triggered by metadata-only changes. */ - kExclude, - - /** - * Snapshot events will be triggered by any changes, including metadata-only - * changes. - */ - kInclude, -}; - -} // namespace firestore -} // namespace firebase -#endif // FIREBASE_FIRESTORE_SRC_INCLUDE_FIREBASE_FIRESTORE_METADATA_CHANGES_H_ diff --git a/vendors/firebase/include/firebase/firestore/query.h b/vendors/firebase/include/firebase/firestore/query.h deleted file mode 100644 index d2e73400c..000000000 --- a/vendors/firebase/include/firebase/firestore/query.h +++ /dev/null @@ -1,683 +0,0 @@ -/* - * Copyright 2018 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef FIREBASE_FIRESTORE_SRC_INCLUDE_FIREBASE_FIRESTORE_QUERY_H_ -#define FIREBASE_FIRESTORE_SRC_INCLUDE_FIREBASE_FIRESTORE_QUERY_H_ - -#include -#include -#include -#include -#include - -#include "firebase/internal/common.h" - -#include "firebase/firestore/firestore_errors.h" -#include "firebase/firestore/metadata_changes.h" -#include "firebase/firestore/source.h" - -namespace firebase { -/// @cond FIREBASE_APP_INTERNAL -template -class Future; -/// @endcond - -namespace firestore { - -class DocumentSnapshot; -template -class EventListener; -class FieldPath; -class FieldValue; -class ListenerRegistration; -class Firestore; -class QueryInternal; -class QuerySnapshot; - -/** - * @brief A Query which you can read or listen to. - * - * You can also construct refined Query objects by adding filters and ordering. - * - * You cannot construct a valid Query directly; use CollectionReference - * methods that return a Query instead. - * - * @note Firestore classes are not meant to be subclassed except for use in test - * mocks. Subclassing is not supported in production code and new SDK releases - * may break code that does so. - */ -class Query { - public: - /** - * An enum for the direction of a sort. - */ - enum class Direction { - kAscending, - kDescending, - }; - - /** - * @brief Creates an invalid Query that has to be reassigned before it can be - * used. - * - * Calling any member function on an invalid Query will be a no-op. If the - * function returns a value, it will return a zero, empty, or invalid value, - * depending on the type of the value. - */ - Query(); - - /** - * @brief Copy constructor. - * - * `Query` is immutable and can be efficiently copied (no deep copy is - * performed). - * - * @param[in] other `Query` to copy from. - */ - Query(const Query& other); - - /** - * @brief Move constructor. - * - * Moving is more efficient than copying for a `Query`. After being moved - * from, a `Query` is equivalent to its default-constructed state. - * - * @param[in] other `Query` to move data from. - */ - Query(Query&& other); - - virtual ~Query(); - - /** - * @brief Copy assignment operator. - * - * `Query` is immutable and can be efficiently copied (no deep copy is - * performed). - * - * @param[in] other `Query` to copy from. - * - * @return Reference to the destination `Query`. - */ - Query& operator=(const Query& other); - - /** - * @brief Move assignment operator. - * - * Moving is more efficient than copying for a `Query`. After being moved - * from, a `Query` is equivalent to its default-constructed state. - * - * @param[in] other `Query` to move data from. - * - * @return Reference to the destination `Query`. - */ - Query& operator=(Query&& other); - - /** - * @brief Returns the Firestore instance associated with this query. - * - * The pointer will remain valid indefinitely. - * - * @return Firebase Firestore instance that this Query refers to. - */ - virtual const Firestore* firestore() const; - - /** - * @brief Returns the Firestore instance associated with this query. - * - * The pointer will remain valid indefinitely. - * - * @return Firebase Firestore instance that this Query refers to. - */ - virtual Firestore* firestore(); - - /** - * @brief Creates and returns a new Query with the additional filter that - * documents must contain the specified field and the value should be equal to - * the specified value. - * - * @param[in] field The name of the field to compare. - * @param[in] value The value for comparison. - * - * @return The created Query. - */ - virtual Query WhereEqualTo(const std::string& field, - const FieldValue& value) const; - - /** - * @brief Creates and returns a new Query with the additional filter that - * documents must contain the specified field and the value should be equal to - * the specified value. - * - * @param[in] field The path of the field to compare. - * @param[in] value The value for comparison. - * - * @return The created Query. - */ - virtual Query WhereEqualTo(const FieldPath& field, - const FieldValue& value) const; - - /** - * @brief Creates and returns a new Query with the additional filter that - * documents must contain the specified field and the value does not equal the - * specified value. - * - * A Query can have only one `WhereNotEqualTo()` filter, and it cannot be - * combined with `WhereNotIn()`. - * - * @param[in] field The name of the field to compare. - * @param[in] value The value for comparison. - * - * @return The created Query. - */ - virtual Query WhereNotEqualTo(const std::string& field, - const FieldValue& value) const; - - /** - * @brief Creates and returns a new Query with the additional filter that - * documents must contain the specified field and the value does not equal the - * specified value. - * - * A Query can have only one `WhereNotEqualTo()` filter, and it cannot be - * combined with `WhereNotIn()`. - * - * @param[in] field The path of the field to compare. - * @param[in] value The value for comparison. - * - * @return The created Query. - */ - virtual Query WhereNotEqualTo(const FieldPath& field, - const FieldValue& value) const; - - /** - * @brief Creates and returns a new Query with the additional filter that - * documents must contain the specified field and the value should be less - * than the specified value. - * - * @param[in] field The name of the field to compare. - * @param[in] value The value for comparison. - * - * @return The created Query. - */ - virtual Query WhereLessThan(const std::string& field, - const FieldValue& value) const; - - /** - * @brief Creates and returns a new Query with the additional filter that - * documents must contain the specified field and the value should be less - * than the specified value. - * - * @param[in] field The path of the field to compare. - * @param[in] value The value for comparison. - * - * @return The created Query. - */ - virtual Query WhereLessThan(const FieldPath& field, - const FieldValue& value) const; - - /** - * @brief Creates and returns a new Query with the additional filter that - * documents must contain the specified field and the value should be less - * than or equal to the specified value. - * - * @param[in] field The name of the field to compare. - * @param[in] value The value for comparison. - * - * @return The created Query. - */ - virtual Query WhereLessThanOrEqualTo(const std::string& field, - const FieldValue& value) const; - - /** - * @brief Creates and returns a new Query with the additional filter that - * documents must contain the specified field and the value should be less - * than or equal to the specified value. - * - * @param[in] field The path of the field to compare. - * @param[in] value The value for comparison. - * - * @return The created Query. - */ - virtual Query WhereLessThanOrEqualTo(const FieldPath& field, - const FieldValue& value) const; - - /** - * @brief Creates and returns a new Query with the additional filter that - * documents must contain the specified field and the value should be greater - * than the specified value. - * - * @param[in] field The name of the field to compare. - * @param[in] value The value for comparison. - * - * @return The created Query. - */ - virtual Query WhereGreaterThan(const std::string& field, - const FieldValue& value) const; - - /** - * @brief Creates and returns a new Query with the additional filter that - * documents must contain the specified field and the value should be greater - * than the specified value. - * - * @param[in] field The path of the field to compare. - * @param[in] value The value for comparison. - * - * @return The created Query. - */ - virtual Query WhereGreaterThan(const FieldPath& field, - const FieldValue& value) const; - - /** - * @brief Creates and returns a new Query with the additional filter that - * documents must contain the specified field and the value should be greater - * than or equal to the specified value. - * - * @param[in] field The name of the field to compare. - * @param[in] value The value for comparison. - * - * @return The created Query. - */ - virtual Query WhereGreaterThanOrEqualTo(const std::string& field, - const FieldValue& value) const; - - /** - * @brief Creates and returns a new Query with the additional filter that - * documents must contain the specified field and the value should be greater - * than or equal to the specified value. - * - * @param[in] field The path of the field to compare. - * @param[in] value The value for comparison. - * - * @return The created Query. - */ - virtual Query WhereGreaterThanOrEqualTo(const FieldPath& field, - const FieldValue& value) const; - - /** - * @brief Creates and returns a new Query with the additional filter that - * documents must contain the specified field, the value must be an array, and - * that the array must contain the provided value. - * - * A Query can have only one `WhereArrayContains()` filter and it cannot be - * combined with `WhereArrayContainsAny()` or `WhereIn()`. - * - * @param[in] field The name of the field containing an array to search. - * @param[in] value The value that must be contained in the array. - * - * @return The created Query. - */ - virtual Query WhereArrayContains(const std::string& field, - const FieldValue& value) const; - - /** - * @brief Creates and returns a new Query with the additional filter that - * documents must contain the specified field, the value must be an array, and - * that the array must contain the provided value. - * - * A Query can have only one `WhereArrayContains()` filter and it cannot be - * combined with `WhereArrayContainsAny()` or `WhereIn()`. - * - * @param[in] field The path of the field containing an array to search. - * @param[in] value The value that must be contained in the array. - * - * @return The created Query. - */ - virtual Query WhereArrayContains(const FieldPath& field, - const FieldValue& value) const; - - /** - * @brief Creates and returns a new Query with the additional filter that - * documents must contain the specified field, the value must be an array, and - * that the array must contain at least one value from the provided list. - * - * A Query can have only one `WhereArrayContainsAny()` filter and it cannot be - * combined with `WhereArrayContains()` or `WhereIn()`. - * - * @param[in] field The name of the field containing an array to search. - * @param[in] values The list that contains the values to match. - * - * @return The created Query. - */ - virtual Query WhereArrayContainsAny( - const std::string& field, const std::vector& values) const; - - /** - * @brief Creates and returns a new Query with the additional filter that - * documents must contain the specified field, the value must be an array, and - * that the array must contain at least one value from the provided list. - * - * A Query can have only one `WhereArrayContainsAny()` filter and it cannot be - * combined with` WhereArrayContains()` or `WhereIn()`. - * - * @param[in] field The path of the field containing an array to search. - * @param[in] values The list that contains the values to match. - * - * @return The created Query. - */ - virtual Query WhereArrayContainsAny( - const FieldPath& field, const std::vector& values) const; - - /** - * @brief Creates and returns a new Query with the additional filter that - * documents must contain the specified field and the value must equal one of - * the values from the provided list. - * - * A Query can have only one `WhereIn()` filter and it cannot be - * combined with `WhereArrayContainsAny()`. - * - * @param[in] field The name of the field containing an array to search. - * @param[in] values The list that contains the values to match. - * - * @return The created Query. - */ - virtual Query WhereIn(const std::string& field, - const std::vector& values) const; - - /** - * @brief Creates and returns a new Query with the additional filter that - * documents must contain the specified field and the value must equal one of - * the values from the provided list. - * - * A Query can have only one `WhereIn()` filter and it cannot be - * combined with `WhereArrayContainsAny()`. - * - * @param[in] field The path of the field containing an array to search. - * @param[in] values The list that contains the values to match. - * - * @return The created Query. - */ - virtual Query WhereIn(const FieldPath& field, - const std::vector& values) const; - - /** - * @brief Creates and returns a new Query with the additional filter that - * documents must contain the specified field and the value must not equal any - * of the values from the provided list. - * - * One special case is that `WhereNotIn` cannot match `FieldValue::Null()` - * values. To query for documents where a field exists and is - * `FieldValue::Null()`, use `WhereNotEqualTo`, which can handle this special - * case. - * - * A `Query` can have only one `WhereNotIn()` filter, and it cannot be - * combined with `WhereArrayContains()`, `WhereArrayContainsAny()`, - * `WhereIn()`, or `WhereNotEqualTo()`. - * - * @param[in] field The name of the field containing an array to search. - * @param[in] values The list that contains the values to match. - * - * @return The created Query. - */ - virtual Query WhereNotIn(const std::string& field, - const std::vector& values) const; - - /** - * @brief Creates and returns a new Query with the additional filter that - * documents must contain the specified field and the value must not equal any - * of the values from the provided list. - * - * One special case is that `WhereNotIn` cannot match `FieldValue::Null()` - * values. To query for documents where a field exists and is - * `FieldValue::Null()`, use `WhereNotEqualTo`, which can handle this special - * case. - * - * A `Query` can have only one `WhereNotIn()` filter, and it cannot be - * combined with `WhereArrayContains()`, `WhereArrayContainsAny()`, - * `WhereIn()`, or `WhereNotEqualTo()`. - * - * @param[in] field The path of the field containing an array to search. - * @param[in] values The list that contains the values to match. - * - * @return The created Query. - */ - virtual Query WhereNotIn(const FieldPath& field, - const std::vector& values) const; - - /** - * @brief Creates and returns a new Query that's additionally sorted by the - * specified field. - * - * @param[in] field The field to sort by. - * @param[in] direction The direction to sort (optional). If not specified, - * order will be ascending. - * - * @return The created Query. - */ - virtual Query OrderBy(const std::string& field, - Direction direction = Direction::kAscending) const; - - /** - * @brief Creates and returns a new Query that's additionally sorted by the - * specified field. - * - * @param[in] field The field to sort by. - * @param[in] direction The direction to sort (optional). If not specified, - * order will be ascending. - * - * @return The created Query. - */ - virtual Query OrderBy(const FieldPath& field, - Direction direction = Direction::kAscending) const; - - /** - * @brief Creates and returns a new Query that only returns the first matching - * documents up to the specified number. - * - * @param[in] limit A non-negative integer to specify the maximum number of - * items to return. - * - * @return The created Query. - */ - virtual Query Limit(int32_t limit) const; - - /** - * @brief Creates and returns a new Query that only returns the last matching - * documents up to the specified number. - * - * @param[in] limit A non-negative integer to specify the maximum number of - * items to return. - * - * @return The created Query. - */ - virtual Query LimitToLast(int32_t limit) const; - - /** - * @brief Creates and returns a new Query that starts at the provided document - * (inclusive). The starting position is relative to the order of the query. - * The document must contain all of the fields provided in the order by of - * this query. - * - * @param[in] snapshot The snapshot of the document to start at. - * - * @return The created Query. - */ - virtual Query StartAt(const DocumentSnapshot& snapshot) const; - - /** - * @brief Creates and returns a new Query that starts at the provided fields - * relative to the order of the query. The order of the field values must - * match the order of the order by clauses of the query. - * - * @param[in] values The field values to start this query at, in order of the - * query's order by. - * - * @return The created Query. - */ - virtual Query StartAt(const std::vector& values) const; - - /** - * @brief Creates and returns a new Query that starts after the provided - * document (inclusive). The starting position is relative to the order of the - * query. The document must contain all of the fields provided in the order by - * of this query. - * - * @param[in] snapshot The snapshot of the document to start after. - * - * @return The created Query. - */ - virtual Query StartAfter(const DocumentSnapshot& snapshot) const; - - /** - * @brief Creates and returns a new Query that starts after the provided - * fields relative to the order of the query. The order of the field values - * must match the order of the order by clauses of the query. - * - * @param[in] values The field values to start this query after, in order of - * the query's order by. - * - * @return The created Query. - */ - virtual Query StartAfter(const std::vector& values) const; - - /** - * @brief Creates and returns a new Query that ends before the provided - * document (inclusive). The end position is relative to the order of the - * query. The document must contain all of the fields provided in the order by - * of this query. - * - * @param[in] snapshot The snapshot of the document to end before. - * - * @return The created Query. - */ - virtual Query EndBefore(const DocumentSnapshot& snapshot) const; - - /** - * @brief Creates and returns a new Query that ends before the provided fields - * relative to the order of the query. The order of the field values must - * match the order of the order by clauses of the query. - * - * @param[in] values The field values to end this query before, in order of - * the query's order by. - * - * @return The created Query. - */ - virtual Query EndBefore(const std::vector& values) const; - - /** - * @brief Creates and returns a new Query that ends at the provided document - * (inclusive). The end position is relative to the order of the query. The - * document must contain all of the fields provided in the order by of this - * query. - * - * @param[in] snapshot The snapshot of the document to end at. - * - * @return The created Query. - */ - virtual Query EndAt(const DocumentSnapshot& snapshot) const; - - /** - * @brief Creates and returns a new Query that ends at the provided fields - * relative to the order of the query. The order of the field values must - * match the order of the order by clauses of the query. - * - * @param[in] values The field values to end this query at, in order of the - * query's order by. - * - * @return The created Query. - */ - virtual Query EndAt(const std::vector& values) const; - - /** - * @brief Executes the query and returns the results as a QuerySnapshot. - * - * By default, Get() attempts to provide up-to-date data when possible by - * waiting for data from the server, but it may return cached data or fail if - * you are offline and the server cannot be reached. This behavior can be - * altered via the Source parameter. - * - * @param[in] source A value to configure the get behavior (optional). - * - * @return A Future that will be resolved with the results of the Query. - */ - virtual Future Get(Source source = Source::kDefault) const; - - /** - * @brief Starts listening to the QuerySnapshot events referenced by this - * query. - * - * @param[in] callback The std::function to call. When this function is - * called, snapshot value is valid if and only if error is Error::kErrorOk. - * The std::string is an error message; the value may be empty if an error - * message is not available. - * - * @return A registration object that can be used to remove the listener. - */ - virtual ListenerRegistration AddSnapshotListener( - std::function - callback); - - /** - * @brief Starts listening to the QuerySnapshot events referenced by this - * query. - * - * @param[in] metadata_changes Indicates whether metadata-only changes (that - * is, only DocumentSnapshot::metadata() changed) should trigger snapshot - * events. - * @param[in] callback The std::function to call. When this function is - * called, snapshot value is valid if and only if error is Error::kErrorOk. - * The std::string is an error message; the value may be empty if an error - * message is not available. - * - * @return A registration object that can be used to remove the listener. - */ - virtual ListenerRegistration AddSnapshotListener( - MetadataChanges metadata_changes, - std::function - callback); - - /** - * @brief Returns true if this `Query` is valid, false if it is not valid. An - * invalid `Query` could be the result of: - * - Creating a `Query` using the default constructor. - * - Moving from the `Query`. - * - Deleting your Firestore instance, which will invalidate all the `Query` - * instances associated with it. - * - * @return true if this `Query` is valid, false if this `Query` is invalid. - */ - bool is_valid() const { return internal_ != nullptr; } - - private: - size_t Hash() const; - - friend bool operator==(const Query& lhs, const Query& rhs); - friend size_t QueryHash(const Query& query); - - friend class FirestoreInternal; - friend class QueryInternal; - friend class QuerySnapshotInternal; - friend struct ConverterImpl; - template - friend struct CleanupFn; - // For access to the constructor and to `internal_`. - friend class CollectionReference; - - explicit Query(QueryInternal* internal); - - mutable QueryInternal* internal_ = nullptr; -}; - -/** Checks `lhs` and `rhs` for equality. */ -bool operator==(const Query& lhs, const Query& rhs); - -/** Checks `lhs` and `rhs` for inequality. */ -inline bool operator!=(const Query& lhs, const Query& rhs) { - return !(lhs == rhs); -} - -} // namespace firestore -} // namespace firebase - -#endif // FIREBASE_FIRESTORE_SRC_INCLUDE_FIREBASE_FIRESTORE_QUERY_H_ diff --git a/vendors/firebase/include/firebase/firestore/query_snapshot.h b/vendors/firebase/include/firebase/firestore/query_snapshot.h deleted file mode 100644 index 2dcf7aaf5..000000000 --- a/vendors/firebase/include/firebase/firestore/query_snapshot.h +++ /dev/null @@ -1,194 +0,0 @@ -/* - * Copyright 2018 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef FIREBASE_FIRESTORE_SRC_INCLUDE_FIREBASE_FIRESTORE_QUERY_SNAPSHOT_H_ -#define FIREBASE_FIRESTORE_SRC_INCLUDE_FIREBASE_FIRESTORE_QUERY_SNAPSHOT_H_ - -#include -#include - -#include "firebase/firestore/metadata_changes.h" -#include "firebase/firestore/snapshot_metadata.h" - -namespace firebase { -namespace firestore { - -class DocumentChange; -class DocumentSnapshot; -class Query; -class QuerySnapshotInternal; - -/** - * @brief A QuerySnapshot contains zero or more DocumentSnapshot objects. - * - * QuerySnapshot can be iterated using a range-based for loop, and its size can - * be inspected with empty() and size(). - * - * @note Firestore classes are not meant to be subclassed except for use in test - * mocks. Subclassing is not supported in production code and new SDK releases - * may break code that does so. - */ -class QuerySnapshot { - public: - /** - * @brief Creates an invalid QuerySnapshot that has to be reassigned before it - * can be used. - * - * Calling any member function on an invalid QuerySnapshot will be a no-op. If - * the function returns a value, it will return a zero, empty, or invalid - * value, depending on the type of the value. - */ - QuerySnapshot(); - - /** - * @brief Copy constructor. - * - * `QuerySnapshot` is immutable and can be efficiently copied (no deep copy is - * performed). - * - * @param[in] other `QuerySnapshot` to copy from. - */ - QuerySnapshot(const QuerySnapshot& other); - - /** - * @brief Move constructor. - * - * Moving is more efficient than copying for a `QuerySnapshot`. After being - * moved from, a `QuerySnapshot` is equivalent to its default-constructed - * state. - * - * @param[in] other `QuerySnapshot` to move data from. - */ - QuerySnapshot(QuerySnapshot&& other); - - virtual ~QuerySnapshot(); - - /** - * @brief Copy assignment operator. - * - * `QuerySnapshot` is immutable and can be efficiently copied (no deep copy is - * performed). - * - * @param[in] other `QuerySnapshot` to copy from. - * - * @return Reference to the destination `QuerySnapshot`. - */ - QuerySnapshot& operator=(const QuerySnapshot& other); - - /** - * @brief Move assignment operator. - * - * Moving is more efficient than copying for a `QuerySnapshot`. After being - * moved from, a `QuerySnapshot` is equivalent to its default-constructed - * state. - * - * @param[in] other `QuerySnapshot` to move data from. - * - * @return Reference to the destination `QuerySnapshot`. - */ - QuerySnapshot& operator=(QuerySnapshot&& other); - - /** - * @brief The query from which you got this QuerySnapshot. - */ - virtual Query query() const; - - /** - * @brief Metadata about this snapshot, concerning its source and if it has - * local modifications. - * - * @return The metadata for this document snapshot. - */ - virtual SnapshotMetadata metadata() const; - - /** - * @brief The list of documents that changed since the last snapshot. - * - * If it's the first snapshot, all documents will be in the list as added - * changes. Documents with changes only to their metadata will not be - * included. - * - * @param[in] metadata_changes Indicates whether metadata-only changes (that - * is, only QuerySnapshot::metadata() changed) should be included. - * - * @return The list of document changes since the last snapshot. - */ - virtual std::vector DocumentChanges( - MetadataChanges metadata_changes = MetadataChanges::kExclude) const; - - /** - * @brief The list of documents in this QuerySnapshot in order of the query. - * - * @return The list of documents. - */ - virtual std::vector documents() const; - - /** - * @brief Checks the emptiness of the QuerySnapshot. - * - * @return True if there are no documents in the QuerySnapshot. - */ - bool empty() const { return size() == 0; } - - /** - * @brief Checks the size of the QuerySnapshot. - * - * @return The number of documents in the QuerySnapshot. - */ - virtual std::size_t size() const; - - /** - * @brief Returns true if this `QuerySnapshot` is valid, false if it is not - * valid. An invalid `QuerySnapshot` could be the result of: - * - Creating a `QuerySnapshot` using the default constructor. - * - Moving from the `QuerySnapshot`. - * - Deleting your Firestore instance, which will invalidate all the - * `QuerySnapshot` instances associated with it. - * - * @return true if this `QuerySnapshot` is valid, false if this - * `QuerySnapshot` is invalid. - */ - bool is_valid() const { return internal_ != nullptr; } - - private: - std::size_t Hash() const; - - friend bool operator==(const QuerySnapshot& lhs, const QuerySnapshot& rhs); - friend std::size_t QuerySnapshotHash(const QuerySnapshot& snapshot); - - friend class EventListenerInternal; - friend class FirestoreInternal; - friend struct ConverterImpl; - template - friend struct CleanupFn; - - explicit QuerySnapshot(QuerySnapshotInternal* internal); - - mutable QuerySnapshotInternal* internal_ = nullptr; -}; - -/** Checks `lhs` and `rhs` for equality. */ -bool operator==(const QuerySnapshot& lhs, const QuerySnapshot& rhs); - -/** Checks `lhs` and `rhs` for inequality. */ -inline bool operator!=(const QuerySnapshot& lhs, const QuerySnapshot& rhs) { - return !(lhs == rhs); -} - -} // namespace firestore -} // namespace firebase - -#endif // FIREBASE_FIRESTORE_SRC_INCLUDE_FIREBASE_FIRESTORE_QUERY_SNAPSHOT_H_ diff --git a/vendors/firebase/include/firebase/firestore/set_options.h b/vendors/firebase/include/firebase/firestore/set_options.h deleted file mode 100644 index bf21b07a0..000000000 --- a/vendors/firebase/include/firebase/firestore/set_options.h +++ /dev/null @@ -1,161 +0,0 @@ -/* - * Copyright 2018 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef FIREBASE_FIRESTORE_SRC_INCLUDE_FIREBASE_FIRESTORE_SET_OPTIONS_H_ -#define FIREBASE_FIRESTORE_SRC_INCLUDE_FIREBASE_FIRESTORE_SET_OPTIONS_H_ - -#include -#include -#include - -#include "firebase/firestore/field_path.h" - -namespace firebase { -namespace firestore { - -/** - * @brief An options object that configures the behavior of Set() calls. - * - * By providing the SetOptions objects returned by Merge(), the Set() methods in - * DocumentReference, WriteBatch and Transaction can be configured to perform - * granular merges instead of overwriting the target documents in their - * entirety. - */ -class SetOptions final { - public: - /** The enumeration of all types of SetOptions. */ - enum class Type { - /** Overwrites the whole document. */ - kOverwrite, - - /** - * Replaces the values specified in the call parameter while leaves omitted - * fields untouched. - */ - kMergeAll, - - /** - * Replaces the values of the fields explicitly specified in the call - * parameter. - */ - kMergeSpecific, - }; - - /** - * Creates SetOptions with overwrite semantics. - */ - SetOptions() = default; - - /** - * @brief Copy constructor. - * - * This performs a deep copy, creating an independent instance. - * - * @param[in] other `SetOptions` to copy from. - */ - SetOptions(const SetOptions& other) = default; - - /** - * @brief Move constructor. - * - * Moving is more efficient than copying for `SetOptions`. After being moved - * from, `SetOptions` is in a valid but unspecified state. - * - * @param[in] other `SetOptions` to move data from. - */ - SetOptions(SetOptions&& other) = default; - - ~SetOptions(); - - /** - * @brief Copy assignment operator. - * - * This performs a deep copy, creating an independent instance. - * - * @param[in] other `SetOptions` to copy from. - * - * @return Reference to the destination `SetOptions`. - */ - SetOptions& operator=(const SetOptions& other) = default; - - /** - * @brief Move assignment operator. - * - * Moving is more efficient than copying for `SetOptions`. After being moved - * from, `SetOptions` is in a valid but unspecified state. - * - * @param[in] other `SetOptions` to move data from. - * - * @return Reference to the destination `SetOptions`. - */ - SetOptions& operator=(SetOptions&& other) = default; - - /** - * Returns an instance that can be used to change the behavior of Set() calls - * to only replace the values specified in its data argument. Fields omitted - * from the Set() call will remain untouched. - */ - static SetOptions Merge(); - - /** - * Returns an instance that can be used to change the behavior of Set() calls - * to only replace the given fields. Any field that is not specified in - * `fields` is ignored and remains untouched. - * - * It is an error to pass a SetOptions object to a Set() call that is missing - * a value for any of the fields specified here. - * - * @param fields The list of fields to merge. Fields can contain dots to - * reference nested fields within the document. - */ - static SetOptions MergeFields(const std::vector& fields); - - /** - * Returns an instance that can be used to change the behavior of Set() calls - * to only replace the given fields. Any field that is not specified in - * `fields` is ignored and remains untouched. - * - * It is an error to pass a SetOptions object to a Set() call that is missing - * a value for any of the fields specified here in its to data argument. - * - * @param fields The list of fields to merge. - */ - static SetOptions MergeFieldPaths(const std::vector& fields); - - private: - friend bool operator==(const SetOptions& lhs, const SetOptions& rhs); - friend class SetOptionsInternal; - - SetOptions(Type type, std::unordered_set fields); - - Type type_ = Type::kOverwrite; - std::unordered_set fields_; -}; - -/** Checks `lhs` and `rhs` for equality. */ -inline bool operator==(const SetOptions& lhs, const SetOptions& rhs) { - return lhs.type_ == rhs.type_ && lhs.fields_ == rhs.fields_; -} - -/** Checks `lhs` and `rhs` for inequality. */ -inline bool operator!=(const SetOptions& lhs, const SetOptions& rhs) { - return !(lhs == rhs); -} - -} // namespace firestore -} // namespace firebase - -#endif // FIREBASE_FIRESTORE_SRC_INCLUDE_FIREBASE_FIRESTORE_SET_OPTIONS_H_ diff --git a/vendors/firebase/include/firebase/firestore/settings.h b/vendors/firebase/include/firebase/firestore/settings.h deleted file mode 100644 index e5e516c56..000000000 --- a/vendors/firebase/include/firebase/firestore/settings.h +++ /dev/null @@ -1,247 +0,0 @@ -/* - * Copyright 2018 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef FIREBASE_FIRESTORE_SRC_INCLUDE_FIREBASE_FIRESTORE_SETTINGS_H_ -#define FIREBASE_FIRESTORE_SRC_INCLUDE_FIREBASE_FIRESTORE_SETTINGS_H_ - -#if defined(__OBJC__) -#include -#endif - -#include -#include -#include -#include - -namespace firebase { -namespace firestore { - -#if !defined(__ANDROID__) -// -// This declaration is guarded by a preprocessor macro because it causes -// problems with name lookup on Android. Android implementation of the public -// API extensively uses function calls of the form `util::Foo` which are -// expected to resolve to `::firebase::util::Foo`. As soon as namespace -// `::firebase::firestore::util` becomes visible, it shadows `::firebase::util` -// (within `::firebase::firestore`), so now all those calls fail to compile -// because they are interpreted as referring to -// `::firebase::firestore::util::Foo`, which doesn't exist. Changing existing -// code is impractical because such usages are numerous. -// -namespace util { -class Executor; -} -#endif - -class FirestoreInternal; - -/** Settings used to configure a Firestore instance. */ -class Settings final { - public: - /** - * Constant to use with `set_cache_size_bytes` to disable garbage collection. - */ - static constexpr int64_t kCacheSizeUnlimited = -1; - - /** - * @brief Creates the default settings. - */ - Settings(); - - /** - * @brief Copy constructor. - * - * This performs a deep copy, creating an independent instance. - * - * @param[in] other `Settings` to copy from. - */ - Settings(const Settings& other) = default; - - /** - * @brief Move constructor. - * - * Moving is more efficient than copying for `Settings`. After being moved - * from, `Settings` is in a valid but unspecified state. - * - * @param[in] other `Settings` to move data from. - */ - Settings(Settings&& other) = default; - - /** - * @brief Copy assignment operator. - * - * This performs a deep copy, creating an independent instance. - * - * @param[in] other `Settings` to copy from. - * - * @return Reference to the destination `Settings`. - */ - Settings& operator=(const Settings& other) = default; - - /** - * @brief Move assignment operator. - * - * Moving is more efficient than copying for `Settings`. After being moved - * from, `Settings` is in a valid but unspecified state. - * - * @param[in] other `Settings` to move data from. - * - * @return Reference to the destination `Settings`. - */ - Settings& operator=(Settings&& other) = default; - - /** - * Gets the host of the Firestore backend to connect to. - */ - const std::string& host() const { return host_; } - - /** - * Returns whether to use SSL when communicating. - */ - bool is_ssl_enabled() const { return ssl_enabled_; } - - /** - * Returns whether to enable local persistent storage. - */ - bool is_persistence_enabled() const { return persistence_enabled_; } - - /** Returns cache size for on-disk data. */ - int64_t cache_size_bytes() const { return cache_size_bytes_; } - - /** - * Sets the host of the Firestore backend. The default is - * "firestore.googleapis.com". - * - * @param host The host string. - */ - void set_host(std::string host); - - /** - * Enables or disables SSL for communication. - * - * @param enabled Set true to enable SSL for communication. - */ - void set_ssl_enabled(bool enabled); - - /** - * Enables or disables local persistent storage. - * - * @param enabled Set true to enable local persistent storage. - */ - void set_persistence_enabled(bool enabled); - - /** - * Sets an approximate cache size threshold for the on-disk data. If the cache - * grows beyond this size, Cloud Firestore will start removing data that - * hasn't been recently used. The size is not a guarantee that the cache will - * stay below that size, only that if the cache exceeds the given size, - * cleanup will be attempted. - * - * By default, collection is enabled with a cache size of 100 MB. The minimum - * value is 1 MB. - */ - void set_cache_size_bytes(int64_t value); - -#if defined(__OBJC__) || defined(DOXYGEN) - /** - * Returns a dispatch queue that Firestore will use to execute callbacks. - * - * The returned dispatch queue is used for all completion handlers and event - * handlers. - * - * If no dispatch queue is explictly set by calling `set_dispatch_queue()` - * then a dedicated "callback queue" will be used; namely, the main thread - * will not be used for callbacks unless expliclty set to do so by a call to - * `set_dispatch_queue()`. - * - * @note This method is only available when `__OBJC__` is defined, such as - * when compiling for iOS. - * - * @see `set_dispatch_queue(dispatch_queue_t)` for information on how to - * explicitly set the dispatch queue to use. - */ - dispatch_queue_t dispatch_queue() const; - - /** - * Sets the dispatch queue that Firestore will use to execute callbacks. - * - * The specified dispatch queue will be used for all completion handlers and - * event handlers. - * - * @param queue The dispatch queue to use. - * - * @note This method is only available when `__OBJC__` is defined, such as - * when compiling for iOS. - * - * @see `dispatch_queue()` for the "get" counterpart to this method. - */ - void set_dispatch_queue(dispatch_queue_t queue); -#endif // defined(__OBJC__) || defined(DOXYGEN) - - /** - * Returns a string representation of these `Settings` for - * logging/debugging purposes. - * - * @note the exact string representation is unspecified and subject to - * change; don't rely on the format of the string. - */ - std::string ToString() const; - - /** - * Outputs the string representation of these `Settings` to the given - * stream. - * - * @see `ToString()` for comments on the representation format. - */ - friend std::ostream& operator<<(std::ostream& out, const Settings& settings); - - private: - static constexpr int64_t kDefaultCacheSizeBytes = 100 * 1024 * 1024; - - std::string host_; - bool ssl_enabled_ = true; - bool persistence_enabled_ = true; - int64_t cache_size_bytes_ = kDefaultCacheSizeBytes; - - // - // TODO(varconst): fix Android problems and make these declarations - // unconditional. - // -#if !defined(__ANDROID__) - friend class FirestoreInternal; - std::unique_ptr CreateExecutor() const; - - std::shared_ptr executor_; -#endif -}; - -/** Checks `lhs` and `rhs` for equality. */ -inline bool operator==(const Settings& lhs, const Settings& rhs) { - return lhs.host() == rhs.host() && - lhs.is_ssl_enabled() == rhs.is_ssl_enabled() && - lhs.is_persistence_enabled() == rhs.is_persistence_enabled() && - lhs.cache_size_bytes() == rhs.cache_size_bytes(); -} - -/** Checks `lhs` and `rhs` for inequality. */ -inline bool operator!=(const Settings& lhs, const Settings& rhs) { - return !(lhs == rhs); -} - -} // namespace firestore -} // namespace firebase - -#endif // FIREBASE_FIRESTORE_SRC_INCLUDE_FIREBASE_FIRESTORE_SETTINGS_H_ diff --git a/vendors/firebase/include/firebase/firestore/snapshot_metadata.h b/vendors/firebase/include/firebase/firestore/snapshot_metadata.h deleted file mode 100644 index ce7f3f2b8..000000000 --- a/vendors/firebase/include/firebase/firestore/snapshot_metadata.h +++ /dev/null @@ -1,159 +0,0 @@ -/* - * Copyright 2018 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef FIREBASE_FIRESTORE_SRC_INCLUDE_FIREBASE_FIRESTORE_SNAPSHOT_METADATA_H_ -#define FIREBASE_FIRESTORE_SRC_INCLUDE_FIREBASE_FIRESTORE_SNAPSHOT_METADATA_H_ - -#include -#include - -namespace firebase { -namespace firestore { - -/** Metadata about a snapshot, describing the state of the snapshot. */ -class SnapshotMetadata final { - public: - /** - * Constructs a SnapshotMetadata that has all of its boolean members set to - * false. - */ - SnapshotMetadata() = default; - - /** - * Constructs a SnapshotMetadata by providing boolean parameters that describe - * the state of the snapshot. - * - * @param has_pending_writes Whether there is any pending write on the - * snapshot. - * @param is_from_cache Whether the snapshot is from cache instead of backend. - */ - SnapshotMetadata(bool has_pending_writes, bool is_from_cache) - : has_pending_writes_(has_pending_writes), - is_from_cache_(is_from_cache) {} - - /** - * @brief Copy constructor. - * - * This performs a deep copy, creating an independent instance. - * - * @note This class is currently trivially copyable, but it is not guaranteed - * to stay that way, and code relying on this might be broken by a future - * release. - * - * @param[in] other `SnapshotMetadata` to copy from. - */ - SnapshotMetadata(const SnapshotMetadata& other) = default; - - /** - * @brief Move constructor, equivalent to copying. - * - * After being moved from, `SnapshotMetadata` is in a valid but unspecified - * state. - * - * @param[in] other `SnapshotMetadata` to move data from. - */ - SnapshotMetadata(SnapshotMetadata&& other) = default; - - /** - * @brief Copy assignment operator. - * - * This performs a deep copy, creating an independent instance. - * - * @note This class is currently trivially copyable, but it is not guaranteed - * to stay that way, and code relying on this might be broken by a future - * release. - * - * @param[in] other `SnapshotMetadata` to copy from. - * - * @return Reference to the destination `SnapshotMetadata`. - */ - SnapshotMetadata& operator=(const SnapshotMetadata& other) = default; - - /** - * @brief Move assignment operator, equivalent to copying. - * - * After being moved from, `SnapshotMetadata` is in a valid but unspecified - * state. - * - * @param[in] other `SnapshotMetadata` to move data from. - * - * @return Reference to the destination `SnapshotMetadata`. - */ - SnapshotMetadata& operator=(SnapshotMetadata&& other) = default; - - /** - * Returns whether the snapshot contains the result of local writes. - * - * @return true if the snapshot contains the result of local writes (for - * example, Set() or Update() calls) that have not yet been committed to the - * backend. If your listener has opted into metadata updates (via - * MetadataChanges::kInclude) you will receive another snapshot with - * has_pending_writes() equal to false once the writes have been committed to - * the backend. - */ - bool has_pending_writes() const { return has_pending_writes_; } - - /** - * Returns whether the snapshot was created from cached data. - * - * @return true if the snapshot was created from cached data rather than - * guaranteed up-to-date server data. If your listener has opted into metadata - * updates (via MetadataChanges::kInclude) you will receive another snapshot - * with is_from_cache() equal to false once the client has received up-to-date - * data from the backend. - */ - bool is_from_cache() const { return is_from_cache_; } - - /** - * Returns a string representation of this `SnapshotMetadata` for - * logging/debugging purposes. - * - * @note the exact string representation is unspecified and subject to - * change; don't rely on the format of the string. - */ - std::string ToString() const; - - /** - * Outputs the string representation of this `SnapshotMetadata` to the given - * stream. - * - * @see `ToString()` for comments on the representation format. - */ - friend std::ostream& operator<<(std::ostream& out, - const SnapshotMetadata& metadata); - - private: - bool has_pending_writes_ = false; - bool is_from_cache_ = false; -}; - -/** Checks `lhs` and `rhs` for equality. */ -inline bool operator==(const SnapshotMetadata& lhs, - const SnapshotMetadata& rhs) { - return lhs.has_pending_writes() == rhs.has_pending_writes() && - lhs.is_from_cache() == rhs.is_from_cache(); -} - -/** Checks `lhs` and `rhs` for inequality. */ -inline bool operator!=(const SnapshotMetadata& lhs, - const SnapshotMetadata& rhs) { - return !(lhs == rhs); -} - -} // namespace firestore -} // namespace firebase - -#endif // FIREBASE_FIRESTORE_SRC_INCLUDE_FIREBASE_FIRESTORE_SNAPSHOT_METADATA_H_ diff --git a/vendors/firebase/include/firebase/firestore/source.h b/vendors/firebase/include/firebase/firestore/source.h deleted file mode 100644 index 743106d9e..000000000 --- a/vendors/firebase/include/firebase/firestore/source.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2018 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef FIREBASE_FIRESTORE_SRC_INCLUDE_FIREBASE_FIRESTORE_SOURCE_H_ -#define FIREBASE_FIRESTORE_SRC_INCLUDE_FIREBASE_FIRESTORE_SOURCE_H_ - -namespace firebase { -namespace firestore { - -/** - * @brief Configures the behavior of DocumentReference::Get() and Query::Get(). - * - * By providing a Source value, these methods can be configured to fetch results - * only from the server, only from the local cache, or attempt to fetch results - * from the server and fall back to the cache (which is the default). - */ -enum class Source { - /** - * Causes Firestore to try to retrieve an up-to-date (server-retrieved) - * snapshot, but fall back to returning cached data if the server can't be - * reached. - */ - kDefault, - - /** - * Causes Firestore to avoid the cache, generating an error if the server - * cannot be reached. Note that the cache will still be updated if the server - * request succeeds. Also note that latency-compensation still takes effect, - * so any pending write operations will be visible in the returned data - * (merged into the server-provided data). - */ - kServer, - - /** - * Causes Firestore to immediately return a value from the cache, ignoring the - * server completely (implying that the returned value may be stale with - * respect to the value on the server). If there is no data in the cache to - * satisfy the DocumentReference::Get() call will return an error and - * Query::Get() will return an empty QuerySnapshot with no documents. - */ - kCache, -}; - -} // namespace firestore -} // namespace firebase -#endif // FIREBASE_FIRESTORE_SRC_INCLUDE_FIREBASE_FIRESTORE_SOURCE_H_ diff --git a/vendors/firebase/include/firebase/firestore/timestamp.h b/vendors/firebase/include/firebase/firestore/timestamp.h deleted file mode 100644 index e806bb87c..000000000 --- a/vendors/firebase/include/firebase/firestore/timestamp.h +++ /dev/null @@ -1,252 +0,0 @@ -/* - * Copyright 2018 Google - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef FIRESTORE_CORE_INCLUDE_FIREBASE_FIRESTORE_TIMESTAMP_H_ -#define FIRESTORE_CORE_INCLUDE_FIREBASE_FIRESTORE_TIMESTAMP_H_ - -#include -#include -#include -#include - -#if !defined(_STLPORT_VERSION) -#include // NOLINT(build/c++11) -#endif // !defined(_STLPORT_VERSION) - -namespace firebase { - -/** - * A Timestamp represents a point in time independent of any time zone or - * calendar, represented as seconds and fractions of seconds at nanosecond - * resolution in UTC Epoch time. It is encoded using the Proleptic Gregorian - * Calendar which extends the Gregorian calendar backwards to year one. It is - * encoded assuming all minutes are 60 seconds long, i.e. leap seconds are - * "smeared" so that no leap second table is needed for interpretation. Range is - * from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. - * - * @see - * https://github.com/google/protobuf/blob/master/src/google/protobuf/timestamp.proto - */ -class Timestamp { - public: - /** - * Creates a new timestamp representing the epoch (with seconds and - * nanoseconds set to 0). - */ - Timestamp() = default; - - /** - * Creates a new timestamp. - * - * @param seconds The number of seconds of UTC time since Unix epoch - * 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to - * 9999-12-31T23:59:59Z inclusive; otherwise, assertion failure will be - * triggered. - * @param nanoseconds The non-negative fractions of a second at nanosecond - * resolution. Negative second values with fractions must still have - * non-negative nanoseconds values that count forward in time. Must be - * from 0 to 999,999,999 inclusive; otherwise, assertion failure will be - * triggered. - */ - Timestamp(int64_t seconds, int32_t nanoseconds); - - /** Copy constructor, `Timestamp` is trivially copyable. */ - Timestamp(const Timestamp& other) = default; - - /** Move constructor, equivalent to copying. */ - Timestamp(Timestamp&& other) = default; - - /** Copy assignment operator, `Timestamp` is trivially copyable. */ - Timestamp& operator=(const Timestamp& other) = default; - - /** Move assignment operator, equivalent to copying. */ - Timestamp& operator=(Timestamp&& other) = default; - - /** - * Creates a new timestamp with the current date. - * - * The precision is up to nanoseconds, depending on the system clock. - * - * @return a new timestamp representing the current date. - */ - static Timestamp Now(); - - /** - * The number of seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. - */ - int64_t seconds() const { - return seconds_; - } - - /** - * The non-negative fractions of a second at nanosecond resolution. Negative - * second values with fractions still have non-negative nanoseconds values - * that count forward in time. - */ - int32_t nanoseconds() const { - return nanoseconds_; - } - - /** - * Converts `time_t` to a `Timestamp`. - * - * @param seconds_since_unix_epoch - * @parblock - * The number of seconds of UTC time since Unix epoch - * 1970-01-01T00:00:00Z. Can be negative to represent dates before the - * epoch. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z - * inclusive; otherwise, assertion failure will be triggered. - * - * Note that while the epoch of `time_t` is unspecified, it's usually Unix - * epoch. If this assumption is broken, this function will produce - * incorrect results. - * @endparblock - * - * @return a new timestamp with the given number of seconds and zero - * nanoseconds. - */ - static Timestamp FromTimeT(time_t seconds_since_unix_epoch); - -#if !defined(_STLPORT_VERSION) - /** - * Converts `std::chrono::time_point` to a `Timestamp`. - * - * @param time_point - * @parblock - * The time point with system clock's epoch, which is - * presumed to be Unix epoch 1970-01-01T00:00:00Z. Can be negative to - * represent dates before the epoch. Must be from 0001-01-01T00:00:00Z to - * 9999-12-31T23:59:59Z inclusive; otherwise, assertion failure will be - * triggered. - * - * Note that while the epoch of `std::chrono::system_clock` is - * unspecified, it's usually Unix epoch. If this assumption is broken, - * this constructor will produce incorrect results. - * @endparblock - */ - static Timestamp FromTimePoint( - std::chrono::time_point time_point); - - /** - * Converts this `Timestamp` to a `time_point`. - * - * Important: if overflow would occur, the returned value will be the maximum - * or minimum value that `Duration` can hold. Note in particular that `long - * long` is insufficient to hold the full range of `Timestamp` values with - * nanosecond precision (which is why `Duration` defaults to `microseconds`). - */ - template - std::chrono::time_point ToTimePoint() const; -#endif // !defined(_STLPORT_VERSION) - - /** - * Returns a string representation of this `Timestamp` for logging/debugging - * purposes. - * - * @note: the exact string representation is unspecified and subject to - * change; don't rely on the format of the string. - */ - std::string ToString() const; - - /** - * Outputs the string representation of this `Timestamp` to the given stream. - * - * @see `ToString()` for comments on the representation format. - */ - friend std::ostream& operator<<(std::ostream& out, - const Timestamp& timestamp); - - private: - // Checks that the number of seconds is within the supported date range, and - // that nanoseconds satisfy 0 <= ns <= 1second. - void ValidateBounds() const; - - int64_t seconds_ = 0; - int32_t nanoseconds_ = 0; -}; - -/** Checks whether `lhs` and `rhs` are in ascending order. */ -inline bool operator<(const Timestamp& lhs, const Timestamp& rhs) { - return lhs.seconds() < rhs.seconds() || - (lhs.seconds() == rhs.seconds() && - lhs.nanoseconds() < rhs.nanoseconds()); -} - -/** Checks whether `lhs` and `rhs` are in descending order. */ -inline bool operator>(const Timestamp& lhs, const Timestamp& rhs) { - return rhs < lhs; -} - -/** Checks whether `lhs` and `rhs` are in non-ascending order. */ -inline bool operator>=(const Timestamp& lhs, const Timestamp& rhs) { - return !(lhs < rhs); -} - -/** Checks whether `lhs` and `rhs` are in non-descending order. */ -inline bool operator<=(const Timestamp& lhs, const Timestamp& rhs) { - return !(lhs > rhs); -} - -/** Checks `lhs` and `rhs` for inequality. */ -inline bool operator!=(const Timestamp& lhs, const Timestamp& rhs) { - return lhs < rhs || lhs > rhs; -} - -/** Checks `lhs` and `rhs` for equality. */ -inline bool operator==(const Timestamp& lhs, const Timestamp& rhs) { - return !(lhs != rhs); -} - -#if !defined(_STLPORT_VERSION) - -// Make sure the header compiles even when included after `` without -// `NOMINMAX` defined. `push/pop_macro` pragmas are supported by Visual Studio -// as well as Clang and GCC. -#pragma push_macro("min") -#pragma push_macro("max") -#undef min -#undef max - -template -std::chrono::time_point Timestamp::ToTimePoint() const { - namespace chr = std::chrono; - using TimePoint = chr::time_point; - - // Saturate on overflow - const auto max_seconds = chr::duration_cast(Duration::max()); - if (seconds_ > 0 && max_seconds.count() <= seconds_) { - return TimePoint{Duration::max()}; - } - const auto min_seconds = chr::duration_cast(Duration::min()); - if (seconds_ < 0 && min_seconds.count() >= seconds_) { - return TimePoint{Duration::min()}; - } - - const auto seconds = chr::duration_cast(chr::seconds(seconds_)); - const auto nanoseconds = - chr::duration_cast(chr::nanoseconds(nanoseconds_)); - return TimePoint{seconds + nanoseconds}; -} - -#pragma pop_macro("max") -#pragma pop_macro("min") - -#endif // !defined(_STLPORT_VERSION) - -} // namespace firebase - -#endif // FIRESTORE_CORE_INCLUDE_FIREBASE_FIRESTORE_TIMESTAMP_H_ diff --git a/vendors/firebase/include/firebase/firestore/transaction.h b/vendors/firebase/include/firebase/firestore/transaction.h deleted file mode 100644 index af78e0a2f..000000000 --- a/vendors/firebase/include/firebase/firestore/transaction.h +++ /dev/null @@ -1,143 +0,0 @@ -/* - * Copyright 2018 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef FIREBASE_FIRESTORE_SRC_INCLUDE_FIREBASE_FIRESTORE_TRANSACTION_H_ -#define FIREBASE_FIRESTORE_SRC_INCLUDE_FIREBASE_FIRESTORE_TRANSACTION_H_ - -#include - -#include "firebase/firestore/firestore_errors.h" -#include "firebase/firestore/map_field_value.h" -#include "firebase/firestore/set_options.h" - -namespace firebase { -namespace firestore { - -class DocumentReference; -class DocumentSnapshot; -class TransactionInternal; - -/** - * @brief Transaction provides methods to read and write data within - * a transaction. - * - * You cannot create a `Transaction` directly; use `Firestore::RunTransaction()` - * function instead. - * - * @note Firestore classes are not meant to be subclassed except for use in test - * mocks. Subclassing is not supported in production code and new SDK releases - * may break code that does so. - */ -class Transaction { - public: - /** Destructor. */ - virtual ~Transaction(); - - /** - * @brief Deleted copy constructor. - * - * A `Transaction` object is only valid for the duration of the callback you - * pass to `Firestore::RunTransaction()` and cannot be copied. - */ - Transaction(const Transaction& other) = delete; - - /** - * @brief Deleted copy assignment operator. - * - * A `Transaction` object is only valid for the duration of the callback you - * pass to `Firestore::RunTransaction()` and cannot be copied. - */ - Transaction& operator=(const Transaction& other) = delete; - - /** - * @brief Writes to the document referred to by the provided reference. - * - * If the document does not yet exist, it will be created. If you pass - * SetOptions, the provided data can be merged into an existing document. - * - * @param[in] document The DocumentReference to overwrite. - * @param[in] data A map of the fields and values to write to the document. - * @param[in] options An object to configure the Set() behavior (optional). - */ - virtual void Set(const DocumentReference& document, - const MapFieldValue& data, - const SetOptions& options = SetOptions()); - - /** - * Updates fields in the document referred to by the provided reference. If no - * document exists yet, the update will fail. - * - * @param[in] document The DocumentReference to update. - * @param[in] data A map of field / value pairs to update. Fields can contain - * dots to reference nested fields within the document. - */ - virtual void Update(const DocumentReference& document, - const MapFieldValue& data); - - /** - * Updates fields in the document referred to by the provided reference. If no - * document exists yet, the update will fail. - * - * @param[in] document The DocumentReference to update. - * @param[in] data A map from FieldPath to FieldValue to update. - */ - virtual void Update(const DocumentReference& document, - const MapFieldPathValue& data); - - /** - * Deletes the document referred to by the provided reference. - * - * @param[in] document The DocumentReference to delete. - */ - virtual void Delete(const DocumentReference& document); - - /** - * Reads the document referred by the provided reference. - * - * @param[in] document The DocumentReference to read. - * @param[out] error_code An out parameter to capture an error, if one - * occurred. - * @param[out] error_message An out parameter to capture error message, if - * any. - * @return The contents of the document at this DocumentReference or invalid - * DocumentSnapshot if there is any error. - */ - virtual DocumentSnapshot Get(const DocumentReference& document, - Error* error_code, - std::string* error_message); - - protected: - /** - * Default constructor, to be used only for mocking a `Transaction`. - */ - Transaction() = default; - - private: - friend class FirestoreInternal; - friend class TransactionInternal; - friend struct ConverterImpl; - template - friend struct CleanupFn; - - explicit Transaction(TransactionInternal* internal); - - mutable TransactionInternal* internal_ = nullptr; -}; - -} // namespace firestore -} // namespace firebase - -#endif // FIREBASE_FIRESTORE_SRC_INCLUDE_FIREBASE_FIRESTORE_TRANSACTION_H_ diff --git a/vendors/firebase/include/firebase/firestore/transaction_options.h b/vendors/firebase/include/firebase/firestore/transaction_options.h deleted file mode 100644 index 943357887..000000000 --- a/vendors/firebase/include/firebase/firestore/transaction_options.h +++ /dev/null @@ -1,137 +0,0 @@ -/* - * Copyright 2022 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef FIREBASE_FIRESTORE_SRC_INCLUDE_FIREBASE_FIRESTORE_TRANSACTION_OPTIONS_H_ -#define FIREBASE_FIRESTORE_SRC_INCLUDE_FIREBASE_FIRESTORE_TRANSACTION_OPTIONS_H_ - -#include -#include -#include - -namespace firebase { -namespace firestore { - -/** - * Options to customize transaction behavior for `Firestore.runTransaction()`. - */ -class TransactionOptions final { - public: - /** - * @brief Creates the default `TransactionOptions`. - */ - TransactionOptions() = default; - - /** - * @brief Copy constructor. - * - * This performs a deep copy, creating an independent instance. - * - * @param[in] other `TransactionOptions` to copy from. - */ - TransactionOptions(const TransactionOptions& other) = default; - - /** - * @brief Move constructor. - * - * Moving is not any more efficient than copying for `TransactionOptions` - * because this class is trivially copyable; however, future additions to this - * class may make it not trivially copyable, at which point moving would be - * more efficient than copying. After being moved from, `TransactionOptions` - * is in a valid but unspecified state. - * - * @param[in] other `TransactionOptions` to move data from. - */ - TransactionOptions(TransactionOptions&& other) = default; - - /** - * @brief Copy assignment operator. - * - * This performs a deep copy, creating an independent instance. - * - * @param[in] other `TransactionOptions` to copy from. - * - * @return Reference to the destination `TransactionOptions`. - */ - TransactionOptions& operator=(const TransactionOptions& other) = default; - - /** - * @brief Move assignment operator. - * - * Moving is not any more efficient than copying for `TransactionOptions` - * because this class is trivially copyable; however, future additions to this - * class may make it not trivially copyable, at which point moving would be - * more efficient than copying. After being moved from, `TransactionOptions` - * is in a valid but unspecified state. - * - * @param[in] other `TransactionOptions` to move data from. - * - * @return Reference to the destination `TransactionOptions`. - */ - TransactionOptions& operator=(TransactionOptions&& other) = default; - - /** - * @brief Gets the maximum number of attempts to commit, after which the - * transaction fails. - * - * The default value is 5. - */ - int32_t max_attempts() const { return max_attempts_; } - - /** - * @brief Sets the maximum number of attempts to commit, after which the - * transaction fails. - * - * The default value is 5. - * - * @param[in] max_attempts The maximum number of attempts; must be greater - * than zero. - */ - void set_max_attempts(int32_t max_attempts); - - /** - * Returns a string representation of this `TransactionOptions` object for - * logging/debugging purposes. - * - * @note the exact string representation is unspecified and subject to - * change; don't rely on the format of the string. - */ - std::string ToString() const; - - /** - * Outputs the string representation of this `TransactionOptions` object to - * the given stream. - * - * @see `ToString()` for comments on the representation format. - */ - friend std::ostream& operator<<(std::ostream&, const TransactionOptions&); - - private: - int32_t max_attempts_ = 5; -}; - -/** Compares two `TransactionOptions` objects for equality. */ -bool operator==(const TransactionOptions&, const TransactionOptions&); - -/** Compares two `TransactionOptions` objects for inequality. */ -inline bool operator!=(const TransactionOptions& lhs, - const TransactionOptions& rhs) { - return !(lhs == rhs); -} - -} // namespace firestore -} // namespace firebase - -#endif // FIREBASE_FIRESTORE_SRC_INCLUDE_FIREBASE_FIRESTORE_TRANSACTION_OPTIONS_H_ diff --git a/vendors/firebase/include/firebase/firestore/write_batch.h b/vendors/firebase/include/firebase/firestore/write_batch.h deleted file mode 100644 index 1e92cd693..000000000 --- a/vendors/firebase/include/firebase/firestore/write_batch.h +++ /dev/null @@ -1,188 +0,0 @@ -/* - * Copyright 2018 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef FIREBASE_FIRESTORE_SRC_INCLUDE_FIREBASE_FIRESTORE_WRITE_BATCH_H_ -#define FIREBASE_FIRESTORE_SRC_INCLUDE_FIREBASE_FIRESTORE_WRITE_BATCH_H_ - -#include "firebase/firestore/map_field_value.h" -#include "firebase/firestore/set_options.h" - -namespace firebase { - -/// @cond FIREBASE_APP_INTERNAL -template -class Future; -/// @endcond - -namespace firestore { - -class DocumentReference; -class WriteBatchInternal; - -/** - * @brief A write batch is used to perform multiple writes as a single atomic - * unit. - * - * A WriteBatch object provides methods for adding writes to the write batch. - * None of the writes will be committed (or visible locally) until Commit() is - * called. - * - * Unlike transactions, write batches are persisted offline and therefore are - * preferable when you don't need to condition your writes on read data. - * - * @note Firestore classes are not meant to be subclassed except for use in test - * mocks. Subclassing is not supported in production code and new SDK releases - * may break code that does so. - */ -class WriteBatch { - public: - /** - * @brief Creates an invalid WriteBatch that has to be reassigned before it - * can be used. - * - * Calling any member function on an invalid WriteBatch will be a no-op. If - * the function returns a value, it will return a zero, empty, or invalid - * value, depending on the type of the value. - */ - WriteBatch(); - - /** - * @brief Copy constructor. - * - * This performs a deep copy, creating an independent instance. - * - * @param[in] other `WriteBatch` to copy from. - */ - WriteBatch(const WriteBatch& other); - - /** - * @brief Move constructor. - * - * Moving is more efficient than copying for a `WriteBatch`. After being moved - * from, a `WriteBatch` is equivalent to its default-constructed state. - * - * @param[in] other `WriteBatch` to move data from. - */ - WriteBatch(WriteBatch&& other); - - virtual ~WriteBatch(); - - /** - * @brief Copy assignment operator. - * - * This performs a deep copy, creating an independent instance. - * - * @param[in] other `WriteBatch` to copy from. - * - * @return Reference to the destination `WriteBatch`. - */ - WriteBatch& operator=(const WriteBatch& other); - - /** - * @brief Move assignment operator. - * - * Moving is more efficient than copying for a `WriteBatch`. After being moved - * from, a `WriteBatch` is equivalent to its default-constructed state. - * - * @param[in] other `WriteBatch` to move data from. - * - * @return Reference to the destination `WriteBatch`. - */ - WriteBatch& operator=(WriteBatch&& other); - - /** - * @brief Writes to the document referred to by the provided reference. - * - * If the document does not yet exist, it will be created. If you pass - * SetOptions, the provided data can be merged into an existing document. - * - * @param document The DocumentReference to write to. - * @param data A map of the fields and values to write to the document. - * @param[in] options An object to configure the Set() behavior (optional). - * - * @return This WriteBatch instance. Used for chaining method calls. - */ - virtual WriteBatch& Set(const DocumentReference& document, - const MapFieldValue& data, - const SetOptions& options = SetOptions()); - - /** - * Updates fields in the document referred to by the provided reference. If no - * document exists yet, the update will fail. - * - * @param document The DocumentReference to update. - * @param data A map of field / value pairs to update. Fields can contain dots - * to reference nested fields within the document. - * @return This WriteBatch instance. Used for chaining method calls. - */ - virtual WriteBatch& Update(const DocumentReference& document, - const MapFieldValue& data); - - /** - * Updates fields in the document referred to by the provided reference. If no - * document exists yet, the update will fail. - * - * @param document The DocumentReference to update. - * @param data A map from FieldPath to FieldValue to update. - * @return This WriteBatch instance. Used for chaining method calls. - */ - virtual WriteBatch& Update(const DocumentReference& document, - const MapFieldPathValue& data); - - /** - * Deletes the document referred to by the provided reference. - * - * @param document The DocumentReference to delete. - * @return This WriteBatch instance. Used for chaining method calls. - */ - virtual WriteBatch& Delete(const DocumentReference& document); - - /** - * Commits all of the writes in this write batch as a single atomic unit. - * - * @return A Future that will be resolved when the write finishes. - */ - virtual Future Commit(); - - /** - * @brief Returns true if this `WriteBatch` is valid, false if it is not - * valid. An invalid `WriteBatch` could be the result of: - * - Creating a `WriteBatch` using the default constructor. - * - Moving from the `WriteBatch`. - * - Deleting your Firestore instance, which will invalidate all the - * `WriteBatch` instances associated with it. - * - * @return true if this `WriteBatch` is valid, false if this `WriteBatch` is - * invalid. - */ - bool is_valid() const { return internal_ != nullptr; } - - private: - friend class FirestoreInternal; - friend class WriteBatchInternal; - friend struct ConverterImpl; - template - friend struct CleanupFn; - - explicit WriteBatch(WriteBatchInternal* internal); - - mutable WriteBatchInternal* internal_ = nullptr; -}; - -} // namespace firestore -} // namespace firebase - -#endif // FIREBASE_FIRESTORE_SRC_INCLUDE_FIREBASE_FIRESTORE_WRITE_BATCH_H_ diff --git a/vendors/firebase/include/firebase/functions.h b/vendors/firebase/include/firebase/functions.h deleted file mode 100644 index 500a05cc7..000000000 --- a/vendors/firebase/include/firebase/functions.h +++ /dev/null @@ -1,115 +0,0 @@ -// Copyright 2017 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -#ifndef FIREBASE_FUNCTIONS_SRC_INCLUDE_FIREBASE_FUNCTIONS_H_ -#define FIREBASE_FUNCTIONS_SRC_INCLUDE_FIREBASE_FUNCTIONS_H_ - -#include - -#include "firebase/app.h" -#include "firebase/functions/callable_reference.h" -#include "firebase/functions/callable_result.h" -#include "firebase/functions/common.h" - -namespace firebase { - -/// Namespace for the Firebase C++ SDK for Cloud Functions. -namespace functions { - -/// @cond FIREBASE_APP_INTERNAL -namespace internal { -class FunctionsInternal; -} // namespace internal -/// @endcond - -class FunctionsReference; - -#ifndef SWIG -/// @brief Entry point for the Firebase C++ SDK for Cloud Functions. -/// -/// To use the SDK, call firebase::functions::Functions::GetInstance() to -/// obtain an instance of Functions, then use GetHttpsCallable() to obtain -/// references to callable functions. From there you can call them with -/// CallableReference::Call(). -#endif // SWIG -class Functions { - public: - /// @brief Destructor. You may delete an instance of Functions when - /// you are finished using it, to shut down the Functions library. - ~Functions(); - - /// @brief Get an instance of Functions corresponding to the given App. - /// - /// Cloud Functions uses firebase::App to communicate with Firebase - /// Authentication to authenticate users to the server backend. - /// - /// @param[in] app An instance of firebase::App. Cloud Functions will use - /// this to communicate with Firebase Authentication. - /// @param[out] init_result_out Optional: If provided, write the init result - /// here. Will be set to kInitResultSuccess if initialization succeeded, or - /// kInitResultFailedMissingDependency on Android if Google Play services is - /// not available on the current device. - /// - /// @returns An instance of Functions corresponding to the given App. - static Functions* GetInstance(::firebase::App* app, - InitResult* init_result_out = nullptr); - - /// @brief Get an instance of Functions corresponding to the given App. - /// - /// Cloud Functions uses firebase::App to communicate with Firebase - /// Authentication to authenticate users to the server backend. - /// - /// @param[in] app An instance of firebase::App. Cloud Functions will use - /// this to communicate with Firebase Authentication. - /// @param[in] region The region to call functions in. - /// @param[out] init_result_out Optional: If provided, write the init result - /// here. Will be set to kInitResultSuccess if initialization succeeded, or - /// kInitResultFailedMissingDependency on Android if Google Play services is - /// not available on the current device. - /// - /// @returns An instance of Functions corresponding to the given App. - static Functions* GetInstance(::firebase::App* app, const char* region, - InitResult* init_result_out = nullptr); - - /// @brief Get the firebase::App that this Functions was created with. - /// - /// @returns The firebase::App this Functions was created with. - ::firebase::App* app(); - - /// @brief Get a FunctionsReference for the specified path. - HttpsCallableReference GetHttpsCallable(const char* name) const; - - /// @brief Get a FunctionsReference for the specified URL. - HttpsCallableReference GetHttpsCallableFromURL(const char* url) const; - - /// @brief Sets an origin for a Cloud Functions emulator to use. - void UseFunctionsEmulator(const char* origin); - - private: - /// @cond FIREBASE_APP_INTERNAL - Functions(::firebase::App* app, const char* region); - Functions(const Functions& src); - Functions& operator=(const Functions& src); - - // Delete the internal_ data. - void DeleteInternal(); - - internal::FunctionsInternal* internal_; - /// @endcond -}; - -} // namespace functions -} // namespace firebase - -#endif // FIREBASE_FUNCTIONS_SRC_INCLUDE_FIREBASE_FUNCTIONS_H_ diff --git a/vendors/firebase/include/firebase/functions/callable_reference.h b/vendors/firebase/include/firebase/functions/callable_reference.h deleted file mode 100644 index 9641c2356..000000000 --- a/vendors/firebase/include/firebase/functions/callable_reference.h +++ /dev/null @@ -1,124 +0,0 @@ -// Copyright 2017 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -#ifndef FIREBASE_FUNCTIONS_SRC_INCLUDE_FIREBASE_FUNCTIONS_CALLABLE_REFERENCE_H_ -#define FIREBASE_FUNCTIONS_SRC_INCLUDE_FIREBASE_FUNCTIONS_CALLABLE_REFERENCE_H_ - -#include -#include - -#include "firebase/future.h" -#include "firebase/internal/common.h" - -namespace firebase { -class Variant; - -namespace functions { -class Functions; -class HttpsCallableResult; - -/// @cond FIREBASE_APP_INTERNAL -namespace internal { -class HttpsCallableReferenceInternal; -} // namespace internal -/// @endcond - -#ifndef SWIG -/// Represents a reference to a Cloud Functions object. -/// Developers can call HTTPS Callable Functions. -#endif // SWIG -class HttpsCallableReference { - public: - /// @brief Default constructor. This creates an invalid - /// HttpsCallableReference. Attempting to perform any operations on this - /// reference will fail unless a valid HttpsCallableReference has been - /// assigned to it. - HttpsCallableReference() : internal_(nullptr) {} - - ~HttpsCallableReference(); - - /// @brief Copy constructor. It's totally okay (and efficient) to copy - /// HttpsCallableReference instances, as they simply point to the same - /// location. - /// - /// @param[in] reference HttpsCallableReference to copy from. - HttpsCallableReference(const HttpsCallableReference& reference); - - /// @brief Copy assignment operator. It's totally okay (and efficient) to copy - /// HttpsCallableReference instances, as they simply point to the same - /// location. - /// - /// @param[in] reference HttpsCallableReference to copy from. - /// - /// @returns Reference to the destination HttpsCallableReference. - HttpsCallableReference& operator=(const HttpsCallableReference& reference); - -#if defined(FIREBASE_USE_MOVE_OPERATORS) || defined(DOXYGEN) - /// @brief Move constructor. Moving is an efficient operation for - /// HttpsCallableReference instances. - /// - /// @param[in] other HttpsCallableReference to move data from. - HttpsCallableReference(HttpsCallableReference&& other); - - /// @brief Move assignment operator. Moving is an efficient operation for - /// HttpsCallableReference instances. - /// - /// @param[in] other HttpsCallableReference to move data from. - /// - /// @returns Reference to the destination HttpsCallableReference. - HttpsCallableReference& operator=(HttpsCallableReference&& other); -#endif // defined(FIREBASE_USE_MOVE_OPERATORS) || defined(DOXYGEN) - - /// @brief Gets the firebase::functions::Functions instance to which we refer. - /// - /// The pointer will remain valid indefinitely. - /// - /// @returns The firebase::functions::Functions instance that this - /// HttpsCallableReference refers to. - Functions* functions(); - - /// @brief Calls the function. - /// - /// @returns The result of the call; - Future Call(); - - /// @brief Calls the function. - /// - /// @param[in] data The params to pass to the function. - /// @returns The result of the call; - Future Call(const Variant& data); - - /// @brief Returns true if this HttpsCallableReference is valid, false if it - /// is not valid. An invalid HttpsCallableReference indicates that the - /// reference is uninitialized (created with the default constructor) or that - /// there was an error retrieving the reference. - /// - /// @returns true if this HttpsCallableReference is valid, false if this - /// HttpsCallableReference is invalid. - bool is_valid() const; - - private: - /// @cond FIREBASE_APP_INTERNAL - friend class Functions; - - HttpsCallableReference(internal::HttpsCallableReferenceInternal* internal); - - internal::HttpsCallableReferenceInternal* internal_; - /// @endcond -}; - -} // namespace functions -} // namespace firebase - -#endif // FIREBASE_FUNCTIONS_SRC_INCLUDE_FIREBASE_FUNCTIONS_CALLABLE_REFERENCE_H_ diff --git a/vendors/firebase/include/firebase/functions/callable_result.h b/vendors/firebase/include/firebase/functions/callable_result.h deleted file mode 100644 index 5186377ae..000000000 --- a/vendors/firebase/include/firebase/functions/callable_result.h +++ /dev/null @@ -1,96 +0,0 @@ -// Copyright 2018 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -#ifndef FIREBASE_FUNCTIONS_SRC_INCLUDE_FIREBASE_FUNCTIONS_CALLABLE_RESULT_H_ -#define FIREBASE_FUNCTIONS_SRC_INCLUDE_FIREBASE_FUNCTIONS_CALLABLE_RESULT_H_ - -#include "firebase/functions/common.h" -#include "firebase/variant.h" - -namespace firebase { -namespace functions { - -/// @cond FIREBASE_APP_INTERNAL -namespace internal { -class HttpsCallableReferenceInternal; -} -/// @endcond - -/// An HttpsCallableResult contains the result of calling an HttpsCallable. -class HttpsCallableResult { - public: - /// @brief Creates an HttpsCallableResult with null data. - HttpsCallableResult() {} - - ~HttpsCallableResult() {} - - /// @brief Copy constructor. Copying is as efficient as copying a Variant. - /// - /// @param[in] other HttpsCallableResult to copy data from. - HttpsCallableResult(const HttpsCallableResult& other) : data_(other.data_) {} - - /// @brief Assignment operator. Copying is as efficient as copying a Variant. - /// - /// @param[in] other HttpsCallableResult to copy data from. - /// - /// @returns Reference to the destination HttpsCallableResult. - HttpsCallableResult& operator=(const HttpsCallableResult& other) { - data_ = other.data_; - return *this; - } - -#if defined(FIREBASE_USE_MOVE_OPERATORS) || defined(DOXYGEN) - /// @brief Move constructor. Moving is an efficient operation for - /// HttpsCallableResult instances. - /// - /// @param[in] other HttpsCallableResult to move data from. - HttpsCallableResult(HttpsCallableResult&& other) { - data_ = std::move(other.data_); - } - - /// @brief Move assignment operator. Moving is an efficient operation for - /// HttpsCallableResult instances. - /// - /// @param[in] other HttpsCallableResult to move data from. - /// - /// @returns Reference to the destination HttpsCallableResult. - HttpsCallableResult& operator=(HttpsCallableResult&& other) { - data_ = std::move(other.data_); - return *this; - } - -#endif // defined(FIREBASE_USE_MOVE_OPERATORS) || defined(DOXYGEN) - - /// @brief Returns the data that is the result of a Call. - /// - /// @returns The variant containing the data. - const Variant& data() const { return data_; } - - private: - /// @cond FIREBASE_APP_INTERNAL - // Only functions are allowed to construct results. - friend class ::firebase::functions::internal::HttpsCallableReferenceInternal; - HttpsCallableResult(const Variant& data) : data_(data) {} -#if defined(FIREBASE_USE_MOVE_OPERATORS) - HttpsCallableResult(Variant&& data) : data_(std::move(data)) {} -#endif // defined(FIREBASE_USE_MOVE_OPERATORS) - - Variant data_; - /// @endcond -}; - -} // namespace functions -} // namespace firebase - -#endif // FIREBASE_FUNCTIONS_SRC_INCLUDE_FIREBASE_FUNCTIONS_CALLABLE_RESULT_H_ diff --git a/vendors/firebase/include/firebase/functions/common.h b/vendors/firebase/include/firebase/functions/common.h deleted file mode 100644 index 133fe14aa..000000000 --- a/vendors/firebase/include/firebase/functions/common.h +++ /dev/null @@ -1,206 +0,0 @@ -// Copyright 2017 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -#ifndef FIREBASE_FUNCTIONS_SRC_INCLUDE_FIREBASE_FUNCTIONS_COMMON_H_ -#define FIREBASE_FUNCTIONS_SRC_INCLUDE_FIREBASE_FUNCTIONS_COMMON_H_ - -#include "firebase/variant.h" - -namespace firebase { -namespace functions { - -/// Error code returned by Cloud Functions C++ functions. -/// Standard gRPC error codes, as defined in: -/// https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto -enum Error { -#ifdef INTERNAL_EXPERIMENTAL -// LINT.IfChange -#endif // INTERNAL_EXPERIMENTAL - - // Not an error; returned on success - // - // HTTP Mapping: 200 OK - kErrorNone = 0, - - // The operation was cancelled, typically by the caller. - // - // HTTP Mapping: 499 Client Closed Request - kErrorCancelled = 1, - - // Unknown error. For example, this error may be returned when - // a `Status` value received from another address space belongs to - // an error space that is not known in this address space. Also - // errors raised by APIs that do not return enough error information - // may be converted to this error. - // - // HTTP Mapping: 500 Internal Server Error - kErrorUnknown = 2, - - // The client specified an invalid argument. Note that this differs - // from `FAILED_PRECONDITION`. `INVALID_ARGUMENT` indicates arguments - // that are problematic regardless of the state of the system - // (e.g., a malformed file name). - // - // HTTP Mapping: 400 Bad Request - kErrorInvalidArgument = 3, - - // The deadline expired before the operation could complete. For operations - // that change the state of the system, this error may be returned - // even if the operation has completed successfully. For example, a - // successful response from a server could have been delayed long - // enough for the deadline to expire. - // - // HTTP Mapping: 504 Gateway Timeout - kErrorDeadlineExceeded = 4, - - // Some requested entity (e.g., file or directory) was not found. - // - // Note to server developers: if a request is denied for an entire class - // of users, such as gradual feature rollout or undocumented whitelist, - // `NOT_FOUND` may be used. If a request is denied for some users within - // a class of users, such as user-based access control, `PERMISSION_DENIED` - // must be used. - // - // HTTP Mapping: 404 Not Found - kErrorNotFound = 5, - - // The entity that a client attempted to create (e.g., file or directory) - // already exists. - // - // HTTP Mapping: 409 Conflict - kErrorAlreadyExists = 6, - - // The caller does not have permission to execute the specified - // operation. `PERMISSION_DENIED` must not be used for rejections - // caused by exhausting some resource (use `RESOURCE_EXHAUSTED` - // instead for those errors). `PERMISSION_DENIED` must not be - // used if the caller can not be identified (use `UNAUTHENTICATED` - // instead for those errors). This error code does not imply the - // request is valid or the requested entity exists or satisfies - // other pre-conditions. - // - // HTTP Mapping: 403 Forbidden - kErrorPermissionDenied = 7, - - // The request does not have valid authentication credentials for the - // operation. - // - // HTTP Mapping: 401 Unauthorized - kErrorUnauthenticated = 16, - - // Some resource has been exhausted, perhaps a per-user quota, or - // perhaps the entire file system is out of space. - // - // HTTP Mapping: 429 Too Many Requests - kErrorResourceExhausted = 8, - - // The operation was rejected because the system is not in a state - // required for the operation's execution. For example, the directory - // to be deleted is non-empty, an rmdir operation is applied to - // a non-directory, etc. - // - // Service implementors can use the following guidelines to decide - // between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`: - // (a) Use `UNAVAILABLE` if the client can retry just the failing call. - // (b) Use `ABORTED` if the client should retry at a higher level - // (e.g., when a client-specified test-and-set fails, indicating the - // client should restart a read-modify-write sequence). - // (c) Use `FAILED_PRECONDITION` if the client should not retry until - // the system state has been explicitly fixed. E.g., if an "rmdir" - // fails because the directory is non-empty, `FAILED_PRECONDITION` - // should be returned since the client should not retry unless - // the files are deleted from the directory. - // - // HTTP Mapping: 400 Bad Request - kErrorFailedPrecondition = 9, - - // The operation was aborted, typically due to a concurrency issue such as - // a sequencer check failure or transaction abort. - // - // See the guidelines above for deciding between `FAILED_PRECONDITION`, - // `ABORTED`, and `UNAVAILABLE`. - // - // HTTP Mapping: 409 Conflict - kErrorAborted = 10, - - // The operation was attempted past the valid range. E.g., seeking or - // reading past end-of-file. - // - // Unlike `INVALID_ARGUMENT`, this error indicates a problem that may - // be fixed if the system state changes. For example, a 32-bit file - // system will generate `INVALID_ARGUMENT` if asked to read at an - // offset that is not in the range [0,2^32-1], but it will generate - // `OUT_OF_RANGE` if asked to read from an offset past the current - // file size. - // - // There is a fair bit of overlap between `FAILED_PRECONDITION` and - // `OUT_OF_RANGE`. We recommend using `OUT_OF_RANGE` (the more specific - // error) when it applies so that callers who are iterating through - // a space can easily look for an `OUT_OF_RANGE` error to detect when - // they are done. - // - // HTTP Mapping: 400 Bad Request - kErrorOutOfRange = 11, - - // The operation is not implemented or is not supported/enabled in this - // service. - // - // HTTP Mapping: 501 Not Implemented - kErrorUnimplemented = 12, - - // Internal errors. This means that some invariants expected by the - // underlying system have been broken. This error code is reserved - // for serious errors. - // - // HTTP Mapping: 500 Internal Server Error - kErrorInternal = 13, - - // The service is currently unavailable. This is most likely a - // transient condition, which can be corrected by retrying with - // a backoff. - // - // See the guidelines above for deciding between `FAILED_PRECONDITION`, - // `ABORTED`, and `UNAVAILABLE`. - // - // HTTP Mapping: 503 Service Unavailable - kErrorUnavailable = 14, - - // Unrecoverable data loss or corruption. - // - // HTTP Mapping: 500 Internal Server Error - kErrorDataLoss = 15, - -#ifdef INTERNAL_EXPERIMENTAL -// LINT.ThenChange(//depot_firebase_cpp/functions/client/cpp/src/ios/\ - // callable_reference_ios.mm) -#endif // INTERNAL_EXPERIMENTAL -}; - -#ifdef INTERNAL_EXPERIMENTAL -/// @cond FIREBASE_APP_INTERNAL -namespace internal { - -// Get the human-readable error message corresponding to an error code. -// -// Returns a statically-allocated string describing the error code you pass in. -const char* GetErrorMessage(Error error); - -} // namespace internal -/// @endcond -#endif // INTERNAL_EXPERIMENTAL - -} // namespace functions -} // namespace firebase - -#endif // FIREBASE_FUNCTIONS_SRC_INCLUDE_FIREBASE_FUNCTIONS_COMMON_H_ diff --git a/vendors/firebase/include/firebase/future.h b/vendors/firebase/include/firebase/future.h deleted file mode 100644 index 0d09fc079..000000000 --- a/vendors/firebase/include/firebase/future.h +++ /dev/null @@ -1,533 +0,0 @@ -/* - * Copyright 2016 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef FIREBASE_APP_SRC_INCLUDE_FIREBASE_FUTURE_H_ -#define FIREBASE_APP_SRC_INCLUDE_FIREBASE_FUTURE_H_ - -#include -#include - -#include - -#include "firebase/internal/common.h" -#include "firebase/internal/mutex.h" - -#ifdef FIREBASE_USE_STD_FUNCTION -#include -#endif - -namespace firebase { - -// Predeclarations. -/// @cond FIREBASE_APP_INTERNAL -namespace detail { -class FutureApiInterface; -class CompletionCallbackHandle; -} // namespace detail -/// @endcond - -/// Asynchronous call status. -enum FutureStatus { - /// Results are ready. - kFutureStatusComplete, - - /// Result is still being processed. - kFutureStatusPending, - - /// No result is pending. - /// FutureBase::Release() or move operator was called. - kFutureStatusInvalid -}; - -/// Handle that the API uses to identify an asynchronous call. -/// The exact interpretation of the handle is up to the API. -typedef uintptr_t FutureHandleId; - -/// Class that provides more context to FutureHandleId, which allows the -/// underlying API to track handles, perform reference counting, etc. -class FutureHandle { - public: - /// @cond FIREBASE_APP_INTERNAL - FutureHandle(); - explicit FutureHandle(FutureHandleId id) : FutureHandle(id, nullptr) {} - FutureHandle(FutureHandleId id, detail::FutureApiInterface* api); - ~FutureHandle(); - - // Copy constructor and assignment operator. - FutureHandle(const FutureHandle& rhs); - FutureHandle& operator=(const FutureHandle& rhs); - -#if defined(FIREBASE_USE_MOVE_OPERATORS) - // Move constructor and assignment operator. - FutureHandle(FutureHandle&& rhs) noexcept; - FutureHandle& operator=(FutureHandle&& rhs) noexcept; -#endif // defined(FIREBASE_USE_MOVE_OPERATORS) - - // Comparison operators. - bool operator!=(const FutureHandle& rhs) const { return !(*this == rhs); } - bool operator==(const FutureHandle& rhs) const { - // Only compare IDs, since the API is irrelevant (comparison will only occur - // within the context of a single API anyway). - return id() == rhs.id(); - } - - FutureHandleId id() const { return id_; } - detail::FutureApiInterface* api() const { return api_; } - - // Detach from the FutureApi. This handle will no longer increment the - // Future's reference count. This is mainly used for testing, so that you can - // still look up the Future based on its handle's ID without affecting the - // reference count yourself. - void Detach(); - - // Called by CleanupNotifier when the API is being deleted. At this point we - // can ignore all of the reference counts since all Future data is about to be - // deleted anyway. - void Cleanup() { api_ = nullptr; } - - private: - FutureHandleId id_; - detail::FutureApiInterface* api_; - /// @endcond -}; - -/// @brief Type-independent return type of asynchronous calls. -/// -/// @see Future for code samples. -/// -/// @cond FIREBASE_APP_INTERNAL -/// Notes: -/// - Futures have pointers back to the API, but the API does not maintain -/// pointers to its Futures. Therefore, all Futures must be destroyed -/// *before* the API is destroyed. -/// - Futures can be moved or copied. Call results are reference counted, -/// and are destroyed when they are no longer referenced by any Futures. -/// - The actual `Status`, `Error`, and `Result` values are kept inside the -/// API. This makes synchronization and data management easier. -/// -/// WARNING: This class should remain POD (plain old data). It should not have -/// virtual methods. Nor should the derived Future class add any -/// data. Internally, we static_cast FutureBase to Future, -/// so the underlying data should remain the same. -/// @endcond -class FutureBase { - public: - /// Function pointer for a completion callback. When we call this, we will - /// send the completed future, along with the user data that you specified - /// when you set up the callback. - typedef void (*CompletionCallback)(const FutureBase& result_data, - void* user_data); - -#if defined(INTERNAL_EXPERIMENTAL) - /// Handle, representing a completion callback, that can be passed to - /// RemoveOnCompletion. - using CompletionCallbackHandle = detail::CompletionCallbackHandle; -#endif - - /// Construct an untyped future. - FutureBase(); - - /// @cond FIREBASE_APP_INTERNAL - - /// Construct an untyped future using the specified API and handle. - /// - /// @param api API class used to provide the future implementation. - /// @param handle Handle to the future. - FutureBase(detail::FutureApiInterface* api, const FutureHandle& handle); - - /// @endcond - - ~FutureBase(); - - /// Copy constructor and operator. - /// Increment the reference count when creating a copy of the future. - FutureBase(const FutureBase& rhs); - - /// Copy an untyped future. - FutureBase& operator=(const FutureBase& rhs); - -#if defined(FIREBASE_USE_MOVE_OPERATORS) - /// Move constructor and operator. - /// Move is more efficient than copy and delete because we don't touch the - /// reference counting in the API. - FutureBase(FutureBase&& rhs) noexcept; - - /// Copy an untyped future. - FutureBase& operator=(FutureBase&& rhs) noexcept; -#endif // defined(FIREBASE_USE_MOVE_OPERATORS) - - /// Explicitly release the internal resources for a future. - /// Future will become invalid. - void Release(); - - /// Completion status of the asynchronous call. - FutureStatus status() const; - - /// When status() is firebase::kFutureStatusComplete, returns the API-defined - /// error code. Otherwise, return value is undefined. - int error() const; - - /// When status() is firebase::kFutureStatusComplete, returns the API-defined - /// error message, as human-readable text, or an empty string if the API does - /// not provide a human readable description of the error. - /// - /// @note The returned pointer is only valid for the lifetime of the Future - /// or its copies. - const char* error_message() const; - - /// Result of the asynchronous call, or nullptr if the result is still - /// pending. Cast is required since GetFutureResult() returns void*. - const void* result_void() const; - -#if defined(INTERNAL_EXPERIMENTAL) - /// Special timeout value indicating an infinite timeout. - /// - /// Passing this value to FutureBase::Wait() or Future::Await() will cause - /// those methods to wait until the future is complete. - /// - /// @Warning It is inadvisable to use this from code that could be called - /// from an event loop. - static const int kWaitTimeoutInfinite; - - /// Block (i.e. suspend the current thread) until either the future is - /// completed or the specified timeout period (in milliseconds) has elapsed. - /// If `timeout_milliseconds` is `kWaitTimeoutInfinite`, then the timeout - /// period is treated as being infinite, i.e. this will block until the - /// future is completed. - /// - /// @return True if the future completed, or - /// false if the timeout period elapsed before the future completed. - bool Wait(int timeout_milliseconds) const; -#endif // defined(INTERNAL_EXPERIMENTAL) - - /// Register a single callback that will be called at most once, when the - /// future is completed. - /// - /// If you call any OnCompletion() method more than once on the same future, - /// only the most recent callback you registered with OnCompletion() will be - /// called. -#if defined(INTERNAL_EXPERIMENTAL) - /// However completions registered with AddCompletion() will still be - /// called even if there is a subsequent call to OnCompletion(). - /// - /// When the future completes, first the most recent callback registered with - /// OnCompletion(), if any, will be called; then all callbacks registered with - /// AddCompletion() will be called, in the order that they were registered. -#endif - /// - /// When your callback is called, the user_data that you supplied here will be - /// passed back as the second parameter. - /// - /// @param[in] callback Function pointer to your callback. - /// @param[in] user_data Optional user data. We will pass this back to your - /// callback. - void OnCompletion(CompletionCallback callback, void* user_data) const; - -#if defined(FIREBASE_USE_STD_FUNCTION) || defined(DOXYGEN) - /// Register a single callback that will be called at most once, when the - /// future is completed. - /// - /// If you call any OnCompletion() method more than once on the same future, - /// only the most recent callback you registered with OnCompletion() will be - /// called. -#if defined(INTERNAL_EXPERIMENTAL) - /// However completions registered with AddCompletion() will still be - /// called even if there is a subsequent call to OnCompletion(). - /// - /// When the future completes, first the most recent callback registered with - /// OnCompletion(), if any, will be called; then all callbacks registered with - /// AddCompletion() will be called, in the order that they were registered. -#endif - /// - /// @param[in] callback Function or lambda to call. - /// - /// @note This method is not available when using STLPort on Android, as - /// `std::function` is not supported on STLPort. - void OnCompletion(std::function callback) const; -#endif // defined(FIREBASE_USE_STD_FUNCTION) || defined(DOXYGEN) - -#if defined(INTERNAL_EXPERIMENTAL) - /// Like OnCompletion, but allows adding multiple callbacks. - /// - /// If you call AddCompletion() more than once, all of the completions that - /// you register will be called, when the future is completed. However, any - /// callbacks which were subsequently removed by calling RemoveOnCompletion - /// will not be called. - /// - /// When the future completes, first the most recent callback registered with - /// OnCompletion(), if any, will be called; then all callbacks registered with - /// AddCompletion() will be called, in the order that they were registered. - /// - /// @param[in] callback Function pointer to your callback. - /// @param[in] user_data Optional user data. We will pass this back to your - /// callback. - /// @return A handle that can be passed to RemoveOnCompletion. - CompletionCallbackHandle AddOnCompletion(CompletionCallback callback, - void* user_data) const; - -#if defined(FIREBASE_USE_STD_FUNCTION) || defined(DOXYGEN) - /// Like OnCompletion, but allows adding multiple callbacks. - /// - /// If you call AddCompletion() more than once, all of the completions that - /// you register will be called, when the future is completed. However, any - /// callbacks which were subsequently removed by calling RemoveOnCompletion - /// will not be called. - /// - /// When the future completes, first the most recent callback registered with - /// OnCompletion(), if any, will be called; then all callbacks registered with - /// AddCompletion() will be called, in the order that they were registered. - /// - /// @param[in] callback Function or lambda to call. - /// @return A handle that can be passed to RemoveOnCompletion. - /// - /// @note This method is not available when using STLPort on Android, as - /// `std::function` is not supported on STLPort. - CompletionCallbackHandle AddOnCompletion( - std::function callback) const; - -#endif // defined(FIREBASE_USE_STD_FUNCTION) || defined(DOXYGEN) - - /// Unregisters a callback that was previously registered with - /// AddOnCompletion. - /// - /// @param[in] completion_handle The return value of a previous call to - /// AddOnCompletion. - void RemoveOnCompletion(CompletionCallbackHandle completion_handle) const; -#endif // defined(INTERNAL_EXPERIMENTAL) - - /// Returns true if the two Futures reference the same result. - bool operator==(const FutureBase& rhs) const { - MutexLock lock(mutex_); - return api_ == rhs.api_ && handle_ == rhs.handle_; - } - - /// Returns true if the two Futures reference different results. - bool operator!=(const FutureBase& rhs) const { return !operator==(rhs); } - -#if defined(INTERNAL_EXPERIMENTAL) - /// Returns the API-specific handle. Should only be called by the API. - FutureHandle GetHandle() const { - MutexLock lock(mutex_); - return handle_; - } -#endif // defined(INTERNAL_EXPERIMENTAL) - - protected: - /// @cond FIREBASE_APP_INTERNAL - - mutable Mutex mutex_; - - /// Backpointer to the issuing API class. - /// Set to nullptr when Future is invalidated. - detail::FutureApiInterface* api_; - - /// API-specified handle type. - FutureHandle handle_; - - /// @endcond -}; - -/// @brief Type-specific version of FutureBase. -/// -/// The Firebase C++ SDK uses this class to return results from asynchronous -/// operations. All Firebase C++ functions and method calls that operate -/// asynchronously return a Future, and provide a "LastResult" function to -/// retrieve the most recent Future result. -/// -/// @code -/// // You can retrieve the Future from the function call directly, like this: -/// Future< SampleResultType > future = firebase::SampleAsyncOperation(); -/// -/// // Or you can retrieve it later, like this: -/// firebase::SampleAsyncOperation(); -/// // [...] -/// Future< SampleResultType > future = -/// firebase::SampleAsyncOperationLastResult(); -/// @endcode -/// -/// When you have a Future from an asynchronous operation, it will eventually -/// complete. Once it is complete, you can check for errors (a nonzero error() -/// means an error occurred) and get the result data if no error occurred by -/// calling result(). -/// -/// There are two ways to find out that a Future has completed. You can poll -/// its status(), or set an OnCompletion() callback: -/// -/// @code -/// // Check whether the status is kFutureStatusComplete. -/// if (future.status() == firebase::kFutureStatusComplete) { -/// if (future.error() == 0) { -/// DoSomethingWithResultData(future.result()); -/// } -/// else { -/// LogMessage("Error %d: %s", future.error(), future.error_message()); -/// } -/// } -/// -/// // Or, set an OnCompletion callback, which accepts a C++11 lambda or -/// // function pointer. You can pass your own user data to the callback. In -/// // most cases, the callback will be running in a different thread, so take -/// // care to make sure your code is thread-safe. -/// future.OnCompletion([](const Future< SampleResultType >& completed_future, -/// void* user_data) { -/// // We are probably in a different thread right now. -/// if (completed_future.error() == 0) { -/// DoSomethingWithResultData(completed_future.result()); -/// } -/// else { -/// LogMessage("Error %d: %s", -/// completed_future.error(), -/// completed_future.error_message()); -/// } -/// }, user_data); -/// @endcode -/// -/// @tparam ResultType The type of this Future's result. -// -// WARNING: This class should not have virtual methods or data members. -// See the warning in FutureBase for further details. -template -class Future : public FutureBase { - public: - /// Function pointer for a completion callback. When we call this, we will - /// send the completed future, along with the user data that you specified - /// when you set up the callback. - typedef void (*TypedCompletionCallback)(const Future& result_data, - void* user_data); - - /// Construct a future. - Future() {} - - /// @cond FIREBASE_APP_INTERNAL - - /// Construct a future using the specified API and handle. - /// - /// @param api API class used to provide the future implementation. - /// @param handle Handle to the future. - Future(detail::FutureApiInterface* api, const FutureHandle& handle) - : FutureBase(api, handle) {} - - /// @endcond - - /// Result of the asynchronous call, or nullptr if the result is still - /// pending. Allows the API to provide a type-specific interface. - /// - const ResultType* result() const { - return static_cast(result_void()); - } - -#if defined(INTERNAL_EXPERIMENTAL) - /// Waits (blocks) until either the future is completed, or the specified - /// timeout period (in milliseconds) has elapsed, then returns the result of - /// the asynchronous call. - /// - /// This is a convenience method that calls Wait() and then returns result(). - /// - /// If `timeout_milliseconds` is `kWaitTimeoutInfinite`, then the timeout - /// period is treated as being infinite, i.e. this will block until the - /// future is completed. - const ResultType* Await(int timeout_milliseconds) const { - Wait(timeout_milliseconds); - return result(); - } -#endif // defined(INTERNAL_EXPERIMENTAL) - - /// Register a single callback that will be called at most once, when the - /// future is completed. - /// - /// If you call any OnCompletion() method more than once on the same future, - /// only the most recent callback you registered will be called. - /// - /// When your callback is called, the user_data that you supplied here will be - /// passed back as the second parameter. - /// - /// @param[in] callback Function pointer to your callback. - /// @param[in] user_data Optional user data. We will pass this back to your - /// callback. - /// - /// @note This is the same callback as FutureBase::OnCompletion(), so you - /// can't expect to set both and have both run; again, only the most recently - /// registered one will run. - inline void OnCompletion(TypedCompletionCallback callback, - void* user_data) const; - -#if defined(FIREBASE_USE_STD_FUNCTION) || defined(DOXYGEN) - /// Register a single callback that will be called at most once, when the - /// future is completed. - /// - /// If you call any OnCompletion() method more than once on the same future, - /// only the most recent callback you registered will be called. - /// - /// @param[in] callback Function or lambda to call. - /// - /// @note This method is not available when using STLPort on Android, as - /// `std::function` is not supported on STLPort. - /// - /// @note This is the same callback as FutureBase::OnCompletion(), so you - /// can't expect to set both and have both run; again, only the most recently - /// registered one will run. - inline void OnCompletion( - std::function&)> callback) const; -#endif // defined(FIREBASE_USE_STD_FUNCTION) || defined(DOXYGEN) - -#if defined(INTERNAL_EXPERIMENTAL) - /// Like OnCompletion, but allows adding multiple callbacks. - /// - /// If you call AddCompletion() more than once, all of the completions that - /// you register will be called, when the future is completed. However, any - /// callbacks which were subsequently removed by calling RemoveOnCompletion - /// will not be called. - /// - /// When the future completes, first the most recent callback registered with - /// OnCompletion(), if any, will be called; then all callbacks registered with - /// AddCompletion() will be called, in the order that they were registered. - /// - /// @param[in] callback Function pointer to your callback. - /// @param[in] user_data Optional user data. We will pass this back to your - /// callback. - /// @return A handle that can be passed to RemoveOnCompletion. - inline CompletionCallbackHandle AddOnCompletion( - TypedCompletionCallback callback, void* user_data) const; - -#if defined(FIREBASE_USE_STD_FUNCTION) || defined(DOXYGEN) - /// Like OnCompletion, but allows adding multiple callbacks. - /// - /// If you call AddCompletion() more than once, all of the completions that - /// you register will be called, when the future is completed. However, any - /// callbacks which were subsequently removed by calling RemoveOnCompletion - /// will not be called. - /// - /// When the future completes, first the most recent callback registered with - /// OnCompletion(), if any, will be called; then all callbacks registered with - /// AddCompletion() will be called, in the order that they were registered. - /// - /// @param[in] callback Function or lambda to call. - /// @return A handle that can be passed to RemoveOnCompletion. - /// - /// @note This method is not available when using STLPort on Android, as - /// `std::function` is not supported on STLPort. - inline CompletionCallbackHandle AddOnCompletion( - std::function&)> callback) const; -#endif // defined(FIREBASE_USE_STD_FUNCTION) || defined(DOXYGEN) -#endif // defined(INTERNAL_EXPERIMENTAL) -}; - -} // namespace firebase - -// Include the inline implementation. -#include "firebase/internal/future_impl.h" - -#endif // FIREBASE_APP_SRC_INCLUDE_FIREBASE_FUTURE_H_ diff --git a/vendors/firebase/include/firebase/gma.h b/vendors/firebase/include/firebase/gma.h deleted file mode 100644 index b7da2cf56..000000000 --- a/vendors/firebase/include/firebase/gma.h +++ /dev/null @@ -1,207 +0,0 @@ -/* - * Copyright 2021 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef FIREBASE_GMA_SRC_INCLUDE_FIREBASE_GMA_H_ -#define FIREBASE_GMA_SRC_INCLUDE_FIREBASE_GMA_H_ - -#include "firebase/internal/platform.h" - -#if FIREBASE_PLATFORM_ANDROID -#include -#endif // FIREBASE_PLATFORM_ANDROID - -#include - -#include "firebase/app.h" -#include "firebase/gma/ad_view.h" -#include "firebase/gma/interstitial_ad.h" -#include "firebase/gma/rewarded_ad.h" -#include "firebase/gma/types.h" -#include "firebase/internal/common.h" - -#if !defined(DOXYGEN) && !defined(SWIG) -FIREBASE_APP_REGISTER_CALLBACKS_REFERENCE(gma) -#endif // !defined(DOXYGEN) && !defined(SWIG) - -namespace firebase { -// In the GMA docs, link to firebase::Future in the Firebase C++ docs. -#if defined(DOXYGEN_ADMOB) -/// @brief The Google Mobile Ads C++ SDK uses this class to return results from -/// asynchronous operations. All C++ functions and method calls that operate -/// asynchronously return a %Future, and provide a "LastResult" -/// function to retrieve the most recent %Future result. -/// -/// The Google Mobile Ads C++ SDK uses this class from the Firebase C++ SDK to -/// return results from asynchronous operations. For more information, see the -/// Firebase -/// C++ SDK documentation. -template -class Future { - // Empty class (used for documentation only). -}; -#endif // defined(DOXYGEN_ADMOB) - -/// @brief API for Google Mobile Ads with Firebase. -/// -/// The GMA API allows you to load and display mobile ads using the Google -/// Mobile Ads SDK. Each ad format has its own header file. -namespace gma { - -/// Initializes Google Mobile Ads (GMA) via Firebase. -/// -/// @param[in] app The Firebase app for which to initialize mobile ads. -/// -/// @param[out] init_result_out Optional: If provided, write the basic init -/// result here. kInitResultSuccess if initialization succeeded, or -/// kInitResultFailedMissingDependency on Android if Google Play services is not -/// available on the current device and the Google Mobile Ads SDK requires -/// Google Play services (for example, when using 'play-services-ads-lite'). -/// Note that this does not include the adapter initialization status, which is -/// returned in the Future. -/// -/// @return If init_result_out is kInitResultSuccess, this Future will contain -/// the initialization status of each adapter once initialization is complete. -/// Otherwise, the returned Future will have kFutureStatusInvalid. -Future Initialize( - const ::firebase::App& app, InitResult* init_result_out = nullptr); - -#if FIREBASE_PLATFORM_ANDROID || defined(DOXYGEN) -/// Initializes Google Mobile Ads (GMA) without Firebase for Android. -/// -/// The arguments to @ref Initialize are platform-specific so the caller must do -/// something like this: -/// @code -/// #if defined(__ANDROID__) -/// firebase::gma::Initialize(jni_env, activity); -/// #else -/// firebase::gma::Initialize(); -/// #endif -/// @endcode -/// -/// @param[in] jni_env JNIEnv pointer. -/// @param[in] activity Activity used to start the application. -/// @param[out] init_result_out Optional: If provided, write the basic init -/// result here. kInitResultSuccess if initialization succeeded, or -/// kInitResultFailedMissingDependency on Android if Google Play services is not -/// available on the current device and the Google Mobile Ads SDK requires -/// Google Play services (for example, when using 'play-services-ads-lite'). -/// Note that this does not include the adapter initialization status, which is -/// returned in the Future. -/// -/// @return If init_result_out is kInitResultSuccess, this Future will contain -/// the initialization status of each adapter once initialization is complete. -/// Otherwise, the returned Future will have kFutureStatusInvalid. -Future Initialize( - JNIEnv* jni_env, jobject activity, InitResult* init_result_out = nullptr); - -#endif // defined(__ANDROID__) || defined(DOXYGEN) -#if !FIREBASE_PLATFORM_ANDROID || defined(DOXYGEN) -/// Initializes Google Mobile Ads (GMA) without Firebase for iOS. -/// -/// @param[out] init_result_out Optional: If provided, write the basic init -/// result here. kInitResultSuccess if initialization succeeded, or -/// kInitResultFailedMissingDependency on Android if Google Play services is not -/// available on the current device and the Google Mobile Ads SDK requires -/// Google Play services (for example, when using 'play-services-ads-lite'). -/// Note that this does not include the adapter initialization status, which is -/// returned in the Future. -/// -/// @return If init_result_out is kInitResultSuccess, this Future -/// will contain the initialization status of each adapter once initialization -/// is complete. Otherwise, the returned Future will have -/// kFutureStatusInvalid. -Future Initialize( - InitResult* init_result_out = nullptr); -#endif // !defined(__ANDROID__) || defined(DOXYGEN) - -/// Get the Future returned by a previous call to -/// @ref firebase::gma::Initialize(). -Future InitializeLastResult(); - -/// Get the current adapter initialization status. You can poll this method to -/// check which adapters have been initialized. -AdapterInitializationStatus GetInitializationStatus(); - -/// Disables automated SDK crash reporting on iOS. If not called, the SDK -/// records the original exception handler if available and registers a new -/// exception handler. The new exception handler only reports SDK related -/// exceptions and calls the recorded original exception handler. -/// -/// This method has no effect on Android. -void DisableSDKCrashReporting(); - -/// Disables mediation adapter initialization on iOS during initialization of -/// the GMA SDK. Calling this method may negatively impact your ad -/// performance and should only be called if you will not use GMA SDK -/// controlled mediation during this app session. This method must be called -/// before initializing the GMA SDK or loading ads and has no effect once the -/// SDK has been initialized. -/// -/// This method has no effect on Android. -void DisableMediationInitialization(); - -/// Sets the global @ref RequestConfiguration that will be used for -/// every @ref AdRequest during the app's session. -/// -/// @param[in] request_configuration The request configuration that should be -/// applied to all ad requests. -void SetRequestConfiguration(const RequestConfiguration& request_configuration); - -/// Gets the global RequestConfiguration. -/// -/// @return the currently active @ref RequestConfiguration that's being -/// used for every ad request. -/// @note: on iOS, the -/// @ref RequestConfiguration::tag_for_child_directed_treatment and -/// @ref RequestConfiguration::tag_for_under_age_of_consent fields will be set -/// to RequestConfiguration.kChildDirectedTreatmentUnspecified, and -/// RequestConfiguration.kUnderAgeOfConsentUnspecified, respectfully. -RequestConfiguration GetRequestConfiguration(); - -/// Opens the ad inspector UI. -/// -/// @param[in] parent The platform-specific UI element that will host the -/// ad inspector. For iOS this should be the window's -/// UIViewController. For Android this is the -/// Activity Context which the GMA SDK is running in. -/// @param[in] listener The listener will be invoked when the user closes -/// the ad inspector UI. @ref firebase::gma::Initialize(). must be called -/// prior to this function. -void OpenAdInspector(AdParent parent, AdInspectorClosedListener* listener); - -/// Controls whether the Google Mobile Ads SDK Same App Key is enabled. -/// -/// This function must be invoked after GMA has been initialized. The value set -/// persists across app sessions. The key is enabled by default. -/// -/// This operation is supported on iOS only. This is a no-op on Android -/// systems. -/// -/// @param[in] is_enabled whether the Google Mobile Ads SDK Same App Key is -/// enabled. -void SetIsSameAppKeyEnabled(bool is_enabled); - -/// @brief Terminate GMA. -/// -/// Frees resources associated with GMA that were allocated during -/// @ref firebase::gma::Initialize(). -void Terminate(); - -} // namespace gma -} // namespace firebase - -#endif // FIREBASE_GMA_SRC_INCLUDE_FIREBASE_GMA_H_ diff --git a/vendors/firebase/include/firebase/gma/ad_view.h b/vendors/firebase/include/firebase/gma/ad_view.h deleted file mode 100644 index 16916a216..000000000 --- a/vendors/firebase/include/firebase/gma/ad_view.h +++ /dev/null @@ -1,267 +0,0 @@ -/* - * Copyright 2021 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef FIREBASE_GMA_SRC_INCLUDE_FIREBASE_GMA_AD_VIEW_H_ -#define FIREBASE_GMA_SRC_INCLUDE_FIREBASE_GMA_AD_VIEW_H_ - -#include "firebase/future.h" -#include "firebase/gma/types.h" -#include "firebase/internal/common.h" - -namespace firebase { -namespace gma { - -namespace internal { -// Forward declaration for platform-specific data, implemented in each library. -class AdViewInternal; -} // namespace internal - -class AdViewBoundingBoxListener; -struct BoundingBox; - -/// @brief Loads and displays Google Mobile Ads AdView ads. -/// -/// Each AdView object corresponds to a single GMA ad placement of a specified -/// size. There are methods to load an ad, move it, show it and hide it, and -/// retrieve the bounds of the ad onscreen. -/// -/// AdView objects provide information about their current state through -/// Futures. Methods like @ref Initialize, @ref LoadAd, and @ref Hide each have -/// a corresponding @ref Future from which the result of the last call can be -/// determined. The two variants of @ref SetPosition share a single result -/// @ref Future, since they're essentially the same action. -/// -/// For example, you could initialize, load, and show an AdView while -/// checking the result of the previous action at each step as follows: -/// -/// @code -/// namespace gma = ::firebase::gma; -/// gma::AdView* ad_view = new gma::AdView(); -/// ad_view->Initialize(ad_parent, "YOUR_AD_UNIT_ID", desired_ad_size) -/// @endcode -/// -/// Then, later: -/// -/// @code -/// if (ad_view->InitializeLastResult().status() == -/// ::firebase::kFutureStatusComplete && -/// ad_view->InitializeLastResult().error() == -/// firebase::gma::kAdErrorCodeNone) { -/// ad_view->LoadAd(your_ad_request); -/// } -/// @endcode -class AdView { - public: - /// The possible screen positions for a @ref AdView, configured via - /// @ref SetPosition. - enum Position { - /// The position isn't one of the predefined screen locations. - kPositionUndefined = -1, - /// Top of the screen, horizontally centered. - kPositionTop = 0, - /// Bottom of the screen, horizontally centered. - kPositionBottom, - /// Top-left corner of the screen. - kPositionTopLeft, - /// Top-right corner of the screen. - kPositionTopRight, - /// Bottom-left corner of the screen. - kPositionBottomLeft, - /// Bottom-right corner of the screen. - kPositionBottomRight, - }; - - /// Creates an uninitialized @ref AdView object. - /// @ref Initialize must be called before the object is used. - AdView(); - - ~AdView(); - - /// Initializes the @ref AdView object. - /// @param[in] parent The platform-specific UI element that will host the ad. - /// @param[in] ad_unit_id The ad unit ID to use when requesting ads. - /// @param[in] size The desired ad size for the ad. - Future Initialize(AdParent parent, const char* ad_unit_id, - const AdSize& size); - - /// Returns a @ref Future that has the status of the last call to - /// @ref Initialize. - Future InitializeLastResult() const; - - /// Begins an asynchronous request for an ad. If successful, the ad will - /// automatically be displayed in the AdView. - /// @param[in] request An AdRequest struct with information about the request - /// to be made (such as targeting info). - Future LoadAd(const AdRequest& request); - - /// Returns a @ref Future containing the status of the last call to - /// @ref LoadAd. - Future LoadAdLastResult() const; - - /// Retrieves the @ref AdView's current onscreen size and location. - /// - /// @return The current size and location. Values are in pixels, and location - /// coordinates originate from the top-left corner of the screen. - BoundingBox bounding_box() const; - - /// Sets an AdListener for this ad view. - /// - /// @param[in] listener An AdListener object which will be invoked - /// when lifecycle events occur on this AdView. - void SetAdListener(AdListener* listener); - - /// Sets a listener to be invoked when the Ad's bounding box - /// changes size or location. - /// - /// @param[in] listener A AdViewBoundingBoxListener object which will be - /// invoked when the ad changes size, shape, or position. - void SetBoundingBoxListener(AdViewBoundingBoxListener* listener); - - /// Sets a listener to be invoked when this ad is estimated to have earned - /// money. - /// - /// @param[in] listener A PaidEventListener object to be invoked when a - /// paid event occurs on the ad. - void SetPaidEventListener(PaidEventListener* listener); - - /// Moves the @ref AdView so that its top-left corner is located at - /// (x, y). Coordinates are in pixels from the top-left corner of the screen. - /// - /// When built for Android, the library will not display an ad on top of or - /// beneath an Activity's status bar. If a call to SetPostion - /// would result in an overlap, the @ref AdView is placed just below the - /// status bar, so no overlap occurs. - /// @param[in] x The desired horizontal coordinate. - /// @param[in] y The desired vertical coordinate. - /// - /// @return a @ref Future which will be completed when this move operation - /// completes. - Future SetPosition(int x, int y); - - /// Moves the @ref AdView so that it's located at the given predefined - /// position. - /// - /// @param[in] position The predefined position to which to move the - /// @ref AdView. - /// - /// @return a @ref Future which will be completed when this move operation - /// completes. - Future SetPosition(Position position); - - /// Returns a @ref Future containing the status of the last call to either - /// version of @ref SetPosition. - Future SetPositionLastResult() const; - - /// Hides the AdView. - Future Hide(); - - /// Returns a @ref Future containing the status of the last call to - /// @ref Hide. - Future HideLastResult() const; - - /// Shows the @ref AdView. - Future Show(); - - /// Returns a @ref Future containing the status of the last call to - /// @ref Show. - Future ShowLastResult() const; - - /// Pauses the @ref AdView. Should be called whenever the C++ engine - /// pauses or the application loses focus. - Future Pause(); - - /// Returns a @ref Future containing the status of the last call to - /// @ref Pause. - Future PauseLastResult() const; - - /// Resumes the @ref AdView after pausing. - Future Resume(); - - /// Returns a @ref Future containing the status of the last call to - /// @ref Resume. - Future ResumeLastResult() const; - - /// Cleans up and deallocates any resources used by the @ref AdView. - /// You must call this asynchronous operation before this object's destructor - /// is invoked or risk leaking device resources. - Future Destroy(); - - /// Returns a @ref Future containing the status of the last call to - /// @ref Destroy. - Future DestroyLastResult() const; - - /// Returns the AdSize of the AdView. - /// - /// @return An @ref AdSize object representing the size of the ad. If this - /// view has not been initialized then the AdSize will be 0,0. - AdSize ad_size() const; - - protected: - /// Pointer to a listener for AdListener events. - AdListener* ad_listener_; - - /// Pointer to a listener for BoundingBox events. - AdViewBoundingBoxListener* ad_view_bounding_box_listener_; - - /// Pointer to a listener for paid events. - PaidEventListener* paid_event_listener_; - - private: - // An internal, platform-specific implementation object that this class uses - // to interact with the Google Mobile Ads SDKs for iOS and Android. - internal::AdViewInternal* internal_; -}; - -/// A listener class that developers can extend and pass to an @ref AdView -/// object's @ref AdView::SetBoundingBoxListener method to be notified of -/// changes to the size of the Ad's bounding box. -class AdViewBoundingBoxListener { - public: - virtual ~AdViewBoundingBoxListener(); - - /// This method is called when the @ref AdView object's bounding box - /// changes. - /// - /// @param[in] ad_view The view whose bounding box changed. - /// @param[in] box The new bounding box. - virtual void OnBoundingBoxChanged(AdView* ad_view, BoundingBox box) = 0; -}; - -/// @brief The screen location and dimensions of an AdView once it has been -/// initialized. -struct BoundingBox { - /// Default constructor which initializes all member variables to 0. - BoundingBox() - : height(0), width(0), x(0), y(0), position(AdView::kPositionUndefined) {} - - /// Height of the ad in pixels. - int height; - /// Width of the ad in pixels. - int width; - /// Horizontal position of the ad in pixels from the left. - int x; - /// Vertical position of the ad in pixels from the top. - int y; - - /// The position of the AdView if one has been set as the target position, or - /// kPositionUndefined otherwise. - AdView::Position position; -}; - -} // namespace gma -} // namespace firebase - -#endif // FIREBASE_GMA_SRC_INCLUDE_FIREBASE_GMA_AD_VIEW_H_ diff --git a/vendors/firebase/include/firebase/gma/interstitial_ad.h b/vendors/firebase/include/firebase/gma/interstitial_ad.h deleted file mode 100644 index 468053717..000000000 --- a/vendors/firebase/include/firebase/gma/interstitial_ad.h +++ /dev/null @@ -1,128 +0,0 @@ -/* - * Copyright 2021 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef FIREBASE_GMA_SRC_INCLUDE_FIREBASE_GMA_INTERSTITIAL_AD_H_ -#define FIREBASE_GMA_SRC_INCLUDE_FIREBASE_GMA_INTERSTITIAL_AD_H_ - -#include "firebase/future.h" -#include "firebase/gma/types.h" -#include "firebase/internal/common.h" - -namespace firebase { -namespace gma { - -namespace internal { -// Forward declaration for platform-specific data, implemented in each library. -class InterstitialAdInternal; -} // namespace internal - -/// @brief Loads and displays Google Mobile Ads interstitial ads. -/// -/// @ref InterstitialAd is a single-use object that can load and show a -/// single GMA interstitial ad. -/// -/// InterstitialAd objects provide information about their current state -/// through Futures. @ref Initialize, @ref LoadAd, and @ref Show each have a -/// corresponding @ref Future from which you can determine result of the -/// previous call. -/// -/// Here's how one might initialize, load, and show an interstitial ad while -/// checking against the result of the previous action at each step: -/// -/// @code -/// namespace gma = ::firebase::gma; -/// gma::InterstitialAd* interstitial = new gma::InterstitialAd(); -/// interstitial->Initialize(ad_parent); -/// @endcode -/// -/// Then, later: -/// -/// @code -/// if (interstitial->InitializeLastResult().status() == -/// ::firebase::kFutureStatusComplete && -/// interstitial->InitializeLastResult().error() == -/// firebase::gma::kAdErrorCodeNone) { -/// interstitial->LoadAd( "YOUR_AD_UNIT_ID", my_ad_request); -/// } -/// @endcode -/// -/// And after that: -/// -/// @code -/// if (interstitial->LoadAdLastResult().status() == -/// ::firebase::kFutureStatusComplete && -/// interstitial->LoadAdLastResult().error() == -/// firebase::gma::kAdErrorCodeNone)) { -/// interstitial->Show(); -/// } -/// @endcode -class InterstitialAd { - public: - /// Creates an uninitialized @ref InterstitialAd object. - /// @ref Initialize must be called before the object is used. - InterstitialAd(); - - ~InterstitialAd(); - - /// Initialize the @ref InterstitialAd object. - /// @param[in] parent The platform-specific UI element that will host the ad. - Future Initialize(AdParent parent); - - /// Returns a @ref Future containing the status of the last call to - /// @ref Initialize. - Future InitializeLastResult() const; - - /// Begins an asynchronous request for an ad. - /// - /// @param[in] ad_unit_id The ad unit ID to use in loading the ad. - /// @param[in] request An AdRequest struct with information about the request - /// to be made (such as targeting info). - Future LoadAd(const char* ad_unit_id, const AdRequest& request); - - /// Returns a @ref Future containing the status of the last call to - /// @ref LoadAd. - Future LoadAdLastResult() const; - - /// Shows the @ref InterstitialAd. This should not be called unless an ad has - /// already been loaded. - Future Show(); - - /// Returns a @ref Future containing the status of the last call to - /// @ref Show. - Future ShowLastResult() const; - - /// Sets the @ref FullScreenContentListener for this @ref InterstitialAd. - /// - /// @param[in] listener A valid @ref FullScreenContentListener to receive - /// callbacks. - void SetFullScreenContentListener(FullScreenContentListener* listener); - - /// Registers a callback to be invoked when this ad is estimated to have - /// earned money - /// - /// @param[in] listener A valid @ref PaidEventListener to receive callbacks. - void SetPaidEventListener(PaidEventListener* listener); - - private: - // An internal, platform-specific implementation object that this class uses - // to interact with the Google Mobile Ads SDKs for iOS and Android. - internal::InterstitialAdInternal* internal_; -}; - -} // namespace gma -} // namespace firebase - -#endif // FIREBASE_GMA_SRC_INCLUDE_FIREBASE_GMA_INTERSTITIAL_AD_H_ diff --git a/vendors/firebase/include/firebase/gma/rewarded_ad.h b/vendors/firebase/include/firebase/gma/rewarded_ad.h deleted file mode 100644 index a3c543148..000000000 --- a/vendors/firebase/include/firebase/gma/rewarded_ad.h +++ /dev/null @@ -1,152 +0,0 @@ -/* - * Copyright 2021 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef FIREBASE_GMA_SRC_INCLUDE_FIREBASE_GMA_REWARDED_AD_H_ -#define FIREBASE_GMA_SRC_INCLUDE_FIREBASE_GMA_REWARDED_AD_H_ - -#include - -#include "firebase/future.h" -#include "firebase/gma/types.h" -#include "firebase/internal/common.h" - -namespace firebase { -namespace gma { - -namespace internal { -// Forward declaration for platform-specific data, implemented in each library. -class RewardedAdInternal; -} // namespace internal - -/// @brief Loads and displays Google Mobile Ads rewarded ads. -/// -/// @ref RewardedAd is a single-use object that can load and show a -/// single GMA rewarded ad. -/// -/// RewardedAd objects provide information about their current state -/// through Futures. @ref Initialize, @ref LoadAd, and @ref Show each have a -/// corresponding @ref Future from which you can determine result of the -/// previous call. -/// -/// Here's how one might initialize, load, and show an rewarded ad while -/// checking against the result of the previous action at each step: -/// -/// @code -/// namespace gma = ::firebase::gma; -/// gma::RewardedAd* rewarded = new gma::RewardedAd(); -/// rewarded->Initialize(ad_parent); -/// @endcode -/// -/// Then, later: -/// -/// @code -/// if (rewarded->InitializeLastResult().status() == -/// ::firebase::kFutureStatusComplete && -/// rewarded->InitializeLastResult().error() == -/// firebase::gma::kAdErrorCodeNone) { -/// rewarded->LoadAd( "YOUR_AD_UNIT_ID", my_ad_request); -/// } -/// @endcode -/// -/// And after that: -/// -/// @code -/// if (rewarded->LoadAdLastResult().status() == -/// ::firebase::kFutureStatusComplete && -/// rewarded->LoadAdLastResult().error() == -/// firebase::gma::kAdErrorCodeNone)) { -/// rewarded->Show(&my_user_earned_reward_listener); -/// } -/// @endcode -class RewardedAd { - public: - /// Options for RewardedAd server-side verification callbacks. Set options on - /// a RewardedAd object using the @ref SetServerSideVerificationOptions - /// method. - struct ServerSideVerificationOptions { - /// Custom data to be included in server-side verification callbacks. - std::string custom_data; - - /// User id to be used in server-to-server reward callbacks. - std::string user_id; - }; - - /// Creates an uninitialized @ref RewardedAd object. - /// @ref Initialize must be called before the object is used. - RewardedAd(); - - ~RewardedAd(); - - /// Initialize the @ref RewardedAd object. - /// @param[in] parent The platform-specific UI element that will host the ad. - Future Initialize(AdParent parent); - - /// Returns a @ref Future containing the status of the last call to - /// @ref Initialize. - Future InitializeLastResult() const; - - /// Begins an asynchronous request for an ad. - /// - /// @param[in] ad_unit_id The ad unit ID to use in loading the ad. - /// @param[in] request An AdRequest struct with information about the request - /// to be made (such as targeting info). - Future LoadAd(const char* ad_unit_id, const AdRequest& request); - - /// Returns a @ref Future containing the status of the last call to - /// @ref LoadAd. - Future LoadAdLastResult() const; - - /// Shows the @ref RewardedAd. This should not be called unless an ad has - /// already been loaded. - /// - /// @param[in] listener The @ref UserEarnedRewardListener to be notified when - /// user earns a reward. - Future Show(UserEarnedRewardListener* listener); - - /// Returns a @ref Future containing the status of the last call to - /// @ref Show. - Future ShowLastResult() const; - - /// Sets the @ref FullScreenContentListener for this @ref RewardedAd. - /// - /// @param[in] listener A valid @ref FullScreenContentListener to receive - /// callbacks. - void SetFullScreenContentListener(FullScreenContentListener* listener); - - /// Registers a callback to be invoked when this ad is estimated to have - /// earned money - /// - /// @param[in] listener A valid @ref PaidEventListener to receive callbacks. - void SetPaidEventListener(PaidEventListener* listener); - - /// Sets the server side verification options. - /// - /// @param[in] serverSideVerificationOptions A @ref - /// ServerSideVerificationOptions object containing custom data and a user - /// Id. - void SetServerSideVerificationOptions( - const ServerSideVerificationOptions& serverSideVerificationOptions); - - private: - // An internal, platform-specific implementation object that this class uses - // to interact with the Google Mobile Ads SDKs for iOS and Android. - internal::RewardedAdInternal* internal_; -}; - -} // namespace gma -} // namespace firebase - -#endif // FIREBASE_GMA_SRC_INCLUDE_FIREBASE_GMA_REWARDED_AD_H_ diff --git a/vendors/firebase/include/firebase/gma/types.h b/vendors/firebase/include/firebase/gma/types.h deleted file mode 100644 index 292ee4138..000000000 --- a/vendors/firebase/include/firebase/gma/types.h +++ /dev/null @@ -1,939 +0,0 @@ -/* - * Copyright 2021 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef FIREBASE_GMA_SRC_INCLUDE_FIREBASE_GMA_TYPES_H_ -#define FIREBASE_GMA_SRC_INCLUDE_FIREBASE_GMA_TYPES_H_ - -#include -#include -#include -#include -#include - -#include "firebase/future.h" -#include "firebase/internal/platform.h" - -#if FIREBASE_PLATFORM_ANDROID -#include -#elif FIREBASE_PLATFORM_IOS || FIREBASE_PLATFORM_TVOS -extern "C" { -#include -} // extern "C" -#endif // FIREBASE_PLATFORM_ANDROID, FIREBASE_PLATFORM_IOS, - // FIREBASE_PLATFORM_TVOS - -namespace firebase { -namespace gma { - -struct AdErrorInternal; -struct AdapterResponseInfoInternal; -struct BoundingBox; -struct ResponseInfoInternal; - -class AdapterResponseInfo; -class AdViewBoundingBoxListener; -class GmaInternal; -class AdView; -class InterstitialAd; -class PaidEventListener; -class ResponseInfo; - -namespace internal { -class AdViewInternal; -} - -/// This is a platform specific datatype that is required to create -/// a Google Mobile Ads ad. -/// -/// The following defines the datatype on each platform: -///
    -///
  • Android: A `jobject` which references an Android Activity.
  • -///
  • iOS: An `id` which references an iOS UIView.
  • -///
-#if FIREBASE_PLATFORM_ANDROID -/// An Android Activity from Java. -typedef jobject AdParent; -#elif FIREBASE_PLATFORM_IOS || FIREBASE_PLATFORM_TVOS -/// A pointer to an iOS UIView. -typedef id AdParent; -#else -/// A void pointer for stub classes. -typedef void* AdParent; -#endif // FIREBASE_PLATFORM_ANDROID, FIREBASE_PLATFORM_IOS, - // FIREBASE_PLATFORM_TVOS - -/// Error codes returned by Future::error(). -enum AdErrorCode { - /// Call completed successfully. - kAdErrorCodeNone, - /// The ad has not been fully initialized. - kAdErrorCodeUninitialized, - /// The ad is already initialized (repeat call). - kAdErrorCodeAlreadyInitialized, - /// A call has failed because an ad is currently loading. - kAdErrorCodeLoadInProgress, - /// A call to load an ad has failed due to an internal SDK error. - kAdErrorCodeInternalError, - /// A call to load an ad has failed due to an invalid request. - kAdErrorCodeInvalidRequest, - /// A call to load an ad has failed due to a network error. - kAdErrorCodeNetworkError, - /// A call to load an ad has failed because no ad was available to serve. - kAdErrorCodeNoFill, - /// An attempt has been made to show an ad on an Android Activity that has - /// no window token (such as one that's not done initializing). - kAdErrorCodeNoWindowToken, - /// An attempt to load an Ad Network extras class for an ad request has - /// failed. - kAdErrorCodeAdNetworkClassLoadError, - /// The ad server experienced a failure processing the request. - kAdErrorCodeServerError, - /// The current device’s OS is below the minimum required version. - kAdErrorCodeOSVersionTooLow, - /// The request was unable to be loaded before being timed out. - kAdErrorCodeTimeout, - /// Will not send request because the interstitial object has already been - /// used. - kAdErrorCodeInterstitialAlreadyUsed, - /// The mediation response was invalid. - kAdErrorCodeMediationDataError, - /// Error finding or creating a mediation ad network adapter. - kAdErrorCodeMediationAdapterError, - /// Attempting to pass an invalid ad size to an adapter. - kAdErrorCodeMediationInvalidAdSize, - /// Invalid argument error. - kAdErrorCodeInvalidArgument, - /// Received invalid response. - kAdErrorCodeReceivedInvalidResponse, - /// Will not send a request because the rewarded ad object has already been - /// used. - kAdErrorCodeRewardedAdAlreadyUsed, - /// A mediation ad network adapter received an ad request, but did not fill. - /// The adapter’s error is included as an underlyingError. - kAdErrorCodeMediationNoFill, - /// Will not send request because the ad object has already been used. - kAdErrorCodeAdAlreadyUsed, - /// Will not send request because the application identifier is missing. - kAdErrorCodeApplicationIdentifierMissing, - /// Android Ad String is invalid. - kAdErrorCodeInvalidAdString, - /// The ad can not be shown when app is not in the foreground. - kAdErrorCodeAppNotInForeground, - /// A mediation adapter failed to show the ad. - kAdErrorCodeMediationShowError, - /// The ad is not ready to be shown. - kAdErrorCodeAdNotReady, - /// Ad is too large for the scene. - kAdErrorCodeAdTooLarge, - /// Attempted to present ad from a non-main thread. This is an internal - /// error which should be reported to support if encountered. - kAdErrorCodeNotMainThread, - /// A debug operation failed because the device is not in test mode. - kAdErrorCodeNotInTestMode, - /// An attempt to load the Ad Inspector failed. - kAdErrorCodeInspectorFailedToLoad, - /// The request to show the Ad Inspector failed because it's already open. - kAdErrorCodeInsepctorAlreadyOpen, - /// Fallback error for any unidentified cases. - kAdErrorCodeUnknown, -}; - -/// A listener for receiving notifications during the lifecycle of a BannerAd. -class AdListener { - public: - virtual ~AdListener(); - - /// Called when a click is recorded for an ad. - virtual void OnAdClicked() {} - - /// Called when the user is about to return to the application after clicking - /// on an ad. - virtual void OnAdClosed() {} - - /// Called when an impression is recorded for an ad. - virtual void OnAdImpression() {} - - /// Called when an ad opens an overlay that covers the screen. - virtual void OnAdOpened() {} -}; - -/// Information about why an ad operation failed. -class AdError { - public: - /// Default Constructor. - AdError(); - - /// Copy Constructor. - AdError(const AdError& ad_error); - - /// Destructor. - virtual ~AdError(); - - /// Assignment operator. - AdError& operator=(const AdError& obj); - - /// Retrieves an AdError which represents the cause of this error. - /// - /// @return a pointer to an adError which represents the cause of this - /// AdError. If there was no cause then nullptr is returned. - std::unique_ptr GetCause() const; - - /// Gets the error's code. - AdErrorCode code() const; - - /// Gets the domain of the error. - const std::string& domain() const; - - /// Gets the message describing the error. - const std::string& message() const; - - /// Gets the ResponseInfo if an error occurred during a loadAd operation. - /// The ResponseInfo will have empty fields if this AdError does not - /// represent an error stemming from a load ad operation. - const ResponseInfo& response_info() const; - - /// Returns a log friendly string version of this object. - virtual const std::string& ToString() const; - - /// A domain string which represents an undefined error domain. - /// - /// The GMA SDK returns this domain for domain() method invocations when - /// converting error information from legacy mediation adapter callbacks. - static const char* const kUndefinedDomain; - - private: - friend class AdapterResponseInfo; - friend class GmaInternal; - friend class AdView; - friend class InterstitialAd; - - /// Constructor used when building results in Ad event callbacks. - explicit AdError(const AdErrorInternal& ad_error_internal); - - // Collection of response from adapters if this Result is due to a loadAd - // operation. - ResponseInfo* response_info_; - - // An internal, platform-specific implementation object that this class uses - // to interact with the Google Mobile Ads SDKs for iOS and Android. - AdErrorInternal* internal_; -}; - -/// Information about an ad response. -class ResponseInfo { - public: - /// Constructor creates an uninitialized ResponseInfo. - ResponseInfo(); - - /// Gets the AdapterResponseInfo objects for the ad response. - /// - /// @return a vector of AdapterResponseInfo objects containing metadata for - /// each adapter included in the ad response. - const std::vector& adapter_responses() const { - return adapter_responses_; - } - - /// A class name that identifies the ad network that returned the ad. - /// Returns an empty string if the ad failed to load. - const std::string& mediation_adapter_class_name() const { - return mediation_adapter_class_name_; - } - - /// Gets the response ID string for the loaded ad. Returns an empty - /// string if the ad fails to load. - const std::string& response_id() const { return response_id_; } - - /// Gets a log friendly string version of this object. - const std::string& ToString() const { return to_string_; } - - private: - friend class AdError; - friend class GmaInternal; - - explicit ResponseInfo(const ResponseInfoInternal& internal); - - std::vector adapter_responses_; - std::string mediation_adapter_class_name_; - std::string response_id_; - std::string to_string_; -}; - -/// Information about the result of an ad operation. -class AdResult { - public: - /// Default Constructor. - AdResult(); - - /// Constructor. - explicit AdResult(const AdError& ad_error); - - /// Destructor. - virtual ~AdResult(); - - /// Returns true if the operation was successful. - bool is_successful() const; - - /// An object representing an error which occurred during an ad operation. - /// If the @ref AdResult::is_successful() returned true, then the - /// @ref AdError object returned via this method will contain no contextual - /// information. - const AdError& ad_error() const; - - /// For debugging and logging purposes, successfully loaded ads provide a - /// ResponseInfo object which contains information about the adapter which - /// loaded the ad. If the ad failed to load then the object returned from - /// this method will have default values. Information about the error - /// should be retrieved via @ref AdResult::ad_error() instead. - const ResponseInfo& response_info() const; - - private: - friend class GmaInternal; - - /// Constructor invoked upon successful ad load. This contains response - /// information from the adapter which loaded the ad. - explicit AdResult(const ResponseInfo& response_info); - - /// Denotes if the @ref AdResult represents a success or an error. - bool is_successful_; - - /// Information about the error. Will be a default-constructed @ref AdError - /// if this result represents a success. - AdError ad_error_; - - /// Information from the adapter which loaded the ad. - ResponseInfo response_info_; -}; - -/// A snapshot of a mediation adapter's initialization status. -class AdapterStatus { - public: - AdapterStatus() : is_initialized_(false), latency_(0) {} - - /// Detailed description of the status. - /// - /// This method should only be used for informational purposes, such as - /// logging. Use @ref is_initialized to make logical decisions regarding an - /// adapter's status. - const std::string& description() const { return description_; } - - /// Returns the adapter's initialization state. - bool is_initialized() const { return is_initialized_; } - - /// The adapter's initialization latency in milliseconds. - /// 0 if initialization has not yet ended. - int latency() const { return latency_; } - -#if !defined(DOXYGEN) - // Equality operator for testing. - bool operator==(const AdapterStatus& rhs) const { - return (description() == rhs.description() && - is_initialized() == rhs.is_initialized() && - latency() == rhs.latency()); - } -#endif // !defined(DOXYGEN) - - private: - friend class GmaInternal; - std::string description_; - bool is_initialized_; - int latency_; -}; - -/// An immutable snapshot of the GMA SDK’s initialization status, categorized -/// by mediation adapter. -class AdapterInitializationStatus { - public: - /// Initialization status of each known ad network, keyed by its adapter's - /// class name. - std::map GetAdapterStatusMap() const { - return adapter_status_map_; - } -#if !defined(DOXYGEN) - // Equality operator for testing. - bool operator==(const AdapterInitializationStatus& rhs) const { - return (GetAdapterStatusMap() == rhs.GetAdapterStatusMap()); - } -#endif // !defined(DOXYGEN) - - private: - friend class GmaInternal; - std::map adapter_status_map_; -}; - -/// Listener to be invoked when the Ad Inspector has been closed. -class AdInspectorClosedListener { - public: - virtual ~AdInspectorClosedListener(); - - /// Called when the user clicked the ad. The AdResult contains the status of - /// the operation, including details of the error if one occurred. - virtual void OnAdInspectorClosed(const AdResult& ad_result) = 0; -}; - -/// @brief Response information for an individual ad network contained within -/// a @ref ResponseInfo object. -class AdapterResponseInfo { - public: - /// Destructor - ~AdapterResponseInfo(); - - /// @brief Information about the result including whether an error - /// occurred, and any contextual information about that error. - /// - /// @return the error that occurred while rendering the ad. If no error - /// occurred then the AdResult's successful method will return true. - AdResult ad_result() const { return ad_result_; } - - /// Returns a string representation of a class name that identifies the ad - /// network adapter. - const std::string& adapter_class_name() const { return adapter_class_name_; } - - /// Amount of time the ad network spent loading an ad. - /// - /// @return number of milliseconds the network spent loading an ad. This value - /// is 0 if the network did not make a load attempt. - int64_t latency_in_millis() const { return latency_; } - - /// A log friendly string version of this object. - const std::string& ToString() const { return to_string_; } - - private: - friend class ResponseInfo; - - /// Constructs an Adapter Response Info Object. - explicit AdapterResponseInfo(const AdapterResponseInfoInternal& internal); - - AdResult ad_result_; - std::string adapter_class_name_; - int64_t latency_; - std::string to_string_; -}; - -/// The size of a banner ad. -class AdSize { - public: - /// Denotes the orientation of the AdSize. - enum Orientation { - /// AdSize should reflect the current orientation of the device. - kOrientationCurrent = 0, - - /// AdSize will be adaptively formatted in Landscape mode. - kOrientationLandscape, - - /// AdSize will be adaptively formatted in Portrait mode. - kOrientationPortrait - }; - - /// Denotes the type size object that the @ref AdSize represents. - enum Type { - /// The standard AdSize type of a set height and width. - kTypeStandard = 0, - - /// An adaptive size anchored to a portion of the screen. - kTypeAnchoredAdaptive, - - /// An adaptive size intended to be embedded in scrollable content. - kTypeInlineAdaptive, - }; - - /// Mobile Marketing Association (MMA) banner ad size (320x50 - /// density-independent pixels). - static const AdSize kBanner; - - /// Interactive Advertising Bureau (IAB) full banner ad size - /// (468x60 density-independent pixels). - static const AdSize kFullBanner; - - /// Taller version of kBanner. Typically 320x100. - static const AdSize kLargeBanner; - - /// Interactive Advertising Bureau (IAB) leaderboard ad size - /// (728x90 density-independent pixels). - static const AdSize kLeaderboard; - - /// Interactive Advertising Bureau (IAB) medium rectangle ad size - /// (300x250 density-independent pixels). - static const AdSize kMediumRectangle; - - /// Creates a new AdSize. - /// - /// @param[in] width The width of the ad in density-independent pixels. - /// @param[in] height The height of the ad in density-independent pixels. - AdSize(uint32_t width, uint32_t height); - - /// @brief Creates an AdSize with the given width and a Google-optimized - /// height to create a banner ad in landscape mode. - /// - /// @param[in] width The width of the ad in density-independent pixels. - /// - /// @return an AdSize with the given width and a Google-optimized height - /// to create a banner ad. The size returned will have an aspect ratio - /// similar to BANNER, suitable for anchoring near the top or bottom of - /// your app. The exact size of the ad returned can be retrieved by calling - /// @ref AdView::ad_size once the ad has been loaded. - static AdSize GetLandscapeAnchoredAdaptiveBannerAdSize(uint32_t width); - - /// @brief Creates an AdSize with the given width and a Google-optimized - /// height to create a banner ad in portrait mode. - /// - /// @param[in] width The width of the ad in density-independent pixels. - /// - /// @return an AdSize with the given width and a Google-optimized height - /// to create a banner ad. The size returned will have an aspect ratio - /// similar to BANNER, suitable for anchoring near the top or bottom - /// of your app. The exact size of the ad returned can be retrieved by - /// calling @ref AdView::ad_size once the ad has been loaded. - static AdSize GetPortraitAnchoredAdaptiveBannerAdSize(uint32_t width); - - /// @brief Creates an AdSize with the given width and a Google-optimized - /// height to create a banner ad given the current orientation. - /// - /// @param[in] width The width of the ad in density-independent pixels. - /// - /// @return an AdSize with the given width and a Google-optimized height - /// to create a banner ad. The size returned will have an aspect ratio - /// similar to AdSize, suitable for anchoring near the top or bottom of - /// your app. The exact size of the ad returned can be retrieved by calling - /// @ref AdView::ad_size once the ad has been loaded. - static AdSize GetCurrentOrientationAnchoredAdaptiveBannerAdSize( - uint32_t width); - - /// @brief This ad size is most suitable for banner ads given a maximum - /// height. - /// - /// This AdSize allows Google servers to choose an optimal ad size with - /// a height less than or equal to the max height given in - /// - /// @param[in] width The width of the ad in density-independent pixels. - /// @param[in] max_height The maximum height that a loaded ad will have. Must - /// be - /// at least 32 dp, but a maxHeight of 50 dp or higher is recommended. - /// - /// @return an AdSize with the given width and a height that is always 0. - /// The exact size of the ad returned can be retrieved by calling - /// @ref AdView::ad_size once the ad has been loaded. - static AdSize GetInlineAdaptiveBannerAdSize(int width, int max_height); - - /// @brief Creates an AdSize with the given width and the device’s - /// landscape height. - /// - /// This ad size allows Google servers to choose an optimal ad size with - /// a height less than or equal to the height of the screen in landscape - /// orientation. - /// - /// @param[in] width The width of the ad in density-independent pixels. - /// - /// @return an AdSize with the given width and a height that is always 0. - /// The exact size of the ad returned can be retrieved by calling - /// @ref AdView::ad_size once the ad has been loaded. - static AdSize GetLandscapeInlineAdaptiveBannerAdSize(int width); - - /// @brief Creates an AdSize with the given width and the device’s - /// portrait height. - /// - /// This ad size allows Google servers to choose an optimal ad size with - /// a height less than or equal to the height of the screen in portrait - /// orientation. - /// - /// @param[in] width The width of the ad in density-independent pixels. - /// - /// @return an AdSize with the given width and a height that is always 0. - /// The exact size of the ad returned can be retrieved by calling - /// @ref AdView::ad_size once the ad has been loaded. - static AdSize GetPortraitInlineAdaptiveBannerAdSize(int width); - - /// @brief A convenience method to return an inline adaptive banner ad size - /// given the current interface orientation. - /// - /// This AdSize allows Google servers to choose an optimal ad size with a - /// height less than or equal to the height of the screen in the requested - /// orientation. - /// - /// @param[in] width The width of the ad in density-independent pixels. - /// - /// @return an AdSize with the given width and a height that is always 0. - /// The exact size of the ad returned can be retrieved by calling - /// @ref AdView::ad_size once the ad has been loaded. - static AdSize GetCurrentOrientationInlineAdaptiveBannerAdSize(int width); - - /// Comparison operator. - /// - /// @return true if `rhs` refers to the same AdSize as `this`. - bool operator==(const AdSize& rhs) const; - - /// Comparison operator. - /// - /// @returns true if `rhs` refers to a different AdSize as `this`. - bool operator!=(const AdSize& rhs) const; - - /// The width of the region represented by this AdSize. Value is in - /// density-independent pixels. - uint32_t width() const { return width_; } - - /// The height of the region represented by this AdSize. Value is in - /// density-independent pixels. - uint32_t height() const { return height_; } - - /// The AdSize orientation. - Orientation orientation() const { return orientation_; } - - /// The AdSize type, either standard size or adaptive. - Type type() const { return type_; } - - private: - friend class firebase::gma::internal::AdViewInternal; - - /// Returns an Anchor Adpative AdSize Object given a width and orientation. - static AdSize GetAnchoredAdaptiveBannerAdSize(uint32_t width, - Orientation orientation); - - /// Returns true if the AdSize parameter is equivalient to this AdSize object. - bool is_equal(const AdSize& ad_size) const; - - /// Denotes the orientation for anchored adaptive AdSize objects. - Orientation orientation_; - - /// Advertisement width in platform-indepenent pixels. - uint32_t width_; - - /// Advertisement width in platform-indepenent pixels. - uint32_t height_; - - /// The type of AdSize (standard or adaptive) - Type type_; -}; - -/// Contains targeting information used to fetch an ad. -class AdRequest { - public: - /// Creates an @ref AdRequest with no custom configuration. - AdRequest(); - - /// Creates an @ref AdRequest with the optional content URL. - /// - /// When requesting an ad, apps may pass the URL of the content they are - /// serving. This enables keyword targeting to match the ad with the content. - /// - /// The URL is ignored if null or the number of characters exceeds 512. - /// - /// @param[in] content_url the url of the content being viewed. - explicit AdRequest(const char* content_url); - - ~AdRequest(); - - /// The content URL targeting information. - /// - /// @return the content URL for the @ref AdRequest. The string will be empty - /// if no content URL has been configured. - const std::string& content_url() const { return content_url_; } - - /// A Map of adapter class names to their collection of extra parameters, as - /// configured via @ref add_extra. - const std::map >& extras() - const { - return extras_; - } - - /// Keywords which will help GMA to provide targeted ads, as added by - /// @ref add_keyword. - const std::unordered_set& keywords() const { return keywords_; } - - /// Returns the set of neighboring content URLs or an empty set if no URLs - /// were set via @ref add_neighboring_content_urls(). - const std::unordered_set& neighboring_content_urls() const { - return neighboring_content_urls_; - } - - /// Add a network extra for the associated ad mediation adapter. - /// - /// Appends an extra to the corresponding list of extras for the ad mediation - /// adapter. Each ad mediation adapter can have multiple extra strings. - /// - /// @param[in] adapter_class_name the class name of the ad mediation adapter - /// for which to add the extra. - /// @param[in] extra_key a key which will be passed to the corresponding ad - /// mediation adapter. - /// @param[in] extra_value the value associated with extra_key. - void add_extra(const char* adapter_class_name, const char* extra_key, - const char* extra_value); - - /// Adds a keyword for targeting purposes. - /// - /// Multiple keywords may be added via repeated invocations of this method. - /// - /// @param[in] keyword a string that GMA will use to aid in targeting ads. - void add_keyword(const char* keyword); - - /// When requesting an ad, apps may pass the URL of the content they are - /// serving. This enables keyword targeting to match the ad with the content. - /// - /// The URL is ignored if null or the number of characters exceeds 512. - /// - /// @param[in] content_url the url of the content being viewed. - void set_content_url(const char* content_url); - - /// Adds to the list of URLs which represent web content near an ad. - /// - /// Promotes brand safety and allows displayed ads to have an app level - /// rating (MA, T, PG, etc) that is more appropriate to neighboring content. - /// - /// Subsequent invocations append to the existing list. - /// - /// @param[in] neighboring_content_urls neighboring content URLs to be - /// attached to the existing neighboring content URLs. - void add_neighboring_content_urls( - const std::vector& neighboring_content_urls); - - private: - std::string content_url_; - std::map > extras_; - std::unordered_set keywords_; - std::unordered_set neighboring_content_urls_; -}; - -/// Describes a reward credited to a user for interacting with a RewardedAd. -class AdReward { - public: - /// Creates an @ref AdReward. - AdReward(const std::string& type, int64_t amount) - : type_(type), amount_(amount) {} - - /// Returns the reward amount. - int64_t amount() const { return amount_; } - - /// Returns the type of the reward. - const std::string& type() const { return type_; } - - private: - const int64_t amount_; - const std::string type_; -}; - -/// The monetary value earned from an ad. -class AdValue { - public: - /// Allowed constants for @ref precision_type(). - enum PrecisionType { - /// An ad value with unknown precision. - kdValuePrecisionUnknown = 0, - /// An ad value estimated from aggregated data. - kAdValuePrecisionEstimated, - /// A publisher-provided ad value, such as manual CPMs in a mediation group. - kAdValuePrecisionPublisherProvided = 2, - /// The precise value paid for this ad. - kAdValuePrecisionPrecise = 3 - }; - - /// Constructor - AdValue(const char* currency_code, PrecisionType precision_type, - int64_t value_micros) - : currency_code_(currency_code), - precision_type_(precision_type), - value_micros_(value_micros) {} - - /// The value's ISO 4217 currency code. - const std::string& currency_code() const { return currency_code_; } - - /// The precision of the reported ad value. - PrecisionType precision_type() const { return precision_type_; } - - /// The ad's value in micro-units, where 1,000,000 micro-units equal one - /// unit of the currency. - int64_t value_micros() const { return value_micros_; } - - private: - const std::string currency_code_; - const PrecisionType precision_type_; - const int64_t value_micros_; -}; - -/// @brief Listener to be invoked when ads show and dismiss full screen content, -/// such as a fullscreen ad experience or an in-app browser. -class FullScreenContentListener { - public: - virtual ~FullScreenContentListener(); - - /// Called when the user clicked the ad. - virtual void OnAdClicked() {} - - /// Called when the ad dismissed full screen content. - virtual void OnAdDismissedFullScreenContent() {} - - /// Called when the ad failed to show full screen content. - /// - /// @param[in] ad_error An object containing detailed information - /// about the error. - virtual void OnAdFailedToShowFullScreenContent(const AdError& ad_error) {} - - /// Called when an impression is recorded for an ad. - virtual void OnAdImpression() {} - - /// Called when the ad showed the full screen content. - virtual void OnAdShowedFullScreenContent() {} -}; - -/// Listener to be invoked when ads have been estimated to earn money. -class PaidEventListener { - public: - virtual ~PaidEventListener(); - - /// Called when an ad is estimated to have earned money. - virtual void OnPaidEvent(const AdValue& value) {} -}; - -/// @brief Global configuration that will be used for every @ref AdRequest. -/// Set the configuration via @ref SetRequestConfiguration. -struct RequestConfiguration { - /// A maximum ad content rating, which may be configured via - /// @ref max_ad_content_rating. - enum MaxAdContentRating { - /// No content rating has been specified. - kMaxAdContentRatingUnspecified = -1, - - /// Content suitable for general audiences, including families. - kMaxAdContentRatingG, - - /// Content suitable only for mature audiences. - kMaxAdContentRatingMA, - - /// Content suitable for most audiences with parental guidance. - kMaxAdContentRatingPG, - - /// Content suitable for teen and older audiences. - kMaxAdContentRatingT - }; - - /// Specify whether you would like your app to be treated as child-directed - /// for purposes of the Children’s Online Privacy Protection Act (COPPA). - /// Values defined here may be configured via - /// @ref tag_for_child_directed_treatment. - enum TagForChildDirectedTreatment { - /// Indicates that ad requests will include no indication of how you would - /// like your app treated with respect to COPPA. - kChildDirectedTreatmentUnspecified = -1, - - /// Indicates that your app should not be treated as child-directed for - /// purposes of the Children’s Online Privacy Protection Act (COPPA). - kChildDirectedTreatmentFalse, - - /// Indicates that your app should be treated as child-directed for purposes - /// of the Children’s Online Privacy Protection Act (COPPA). - kChildDirectedTreatmentTrue - }; - - /// Configuration values to mark your app to receive treatment for users in - /// the European Economic Area (EEA) under the age of consent. Values defined - /// here should be configured via @ref tag_for_under_age_of_consent. - enum TagForUnderAgeOfConsent { - /// Indicates that the publisher has not specified whether the ad request - /// should receive treatment for users in the European Economic Area (EEA) - /// under the age of consent. - kUnderAgeOfConsentUnspecified = -1, - - /// Indicates the publisher specified that the ad request should not receive - /// treatment for users in the European Economic Area (EEA) under the age of - /// consent. - kUnderAgeOfConsentFalse, - - /// Indicates the publisher specified that the ad request should receive - /// treatment for users in the European Economic Area (EEA) under the age of - /// consent. - kUnderAgeOfConsentTrue - }; - - /// Sets a maximum ad content rating. GMA ads returned for your app will - /// have a content rating at or below that level. - MaxAdContentRating max_ad_content_rating; - - /// @brief Allows you to specify whether you would like your app - /// to be treated as child-directed for purposes of the Children’s Online - /// Privacy Protection Act (COPPA) - - /// http://business.ftc.gov/privacy-and-security/childrens-privacy. - /// - /// If you set this value to - /// RequestConfiguration.kChildDirectedTreatmentTrue, you will indicate - /// that your app should be treated as child-directed for purposes of the - /// Children’s Online Privacy Protection Act (COPPA). - /// - /// If you set this value to - /// RequestConfiguration.kChildDirectedTreatmentFalse, you will indicate - /// that your app should not be treated as child-directed for purposes of the - /// Children’s Online Privacy Protection Act (COPPA). - /// - /// If you do not set this value, or set this value to - /// RequestConfiguration.kChildDirectedTreatmentUnspecified, ad requests will - /// include no indication of how you would like your app treated with respect - /// to COPPA. - /// - /// By setting this value, you certify that this notification is accurate and - /// you are authorized to act on behalf of the owner of the app. You - /// understand that abuse of this setting may result in termination of your - /// Google account. - /// - /// @note: it may take some time for this designation to be fully implemented - /// in applicable Google services. - /// - TagForChildDirectedTreatment tag_for_child_directed_treatment; - - /// This value allows you to mark your app to receive treatment for users in - /// the European Economic Area (EEA) under the age of consent. This feature is - /// designed to help facilitate compliance with the General Data Protection - /// Regulation (GDPR). Note that you may have other legal obligations under - /// GDPR. Please review the European Union's guidance and consult with your - /// own legal counsel. Please remember that Google's tools are designed to - /// facilitate compliance and do not relieve any particular publisher of its - /// obligations under the law. - /// - /// When using this feature, a Tag For Users under the Age of Consent in - /// Europe (TFUA) parameter will be included in all ad requests. This - /// parameter disables personalized advertising, including remarketing, for - /// that specific ad request. It also disables requests to third-party ad - /// vendors, such as ad measurement pixels and third-party ad servers. - /// - /// If you set this value to RequestConfiguration.kUnderAgeOfConsentTrue, you - /// will indicate that you want your app to be handled in a manner suitable - /// for users under the age of consent. - /// - /// If you set this value to RequestConfiguration.kUnderAgeOfConsentFalse, - /// you will indicate that you don't want your app to be handled in a manner - /// suitable for users under the age of consent. - /// - /// If you do not set this value, or set this value to - /// kUnderAgeOfConsentUnspecified, your app will include no indication of how - /// you would like your app to be handled in a manner suitable for users under - /// the age of consent. - TagForUnderAgeOfConsent tag_for_under_age_of_consent; - - /// Sets a list of test device IDs corresponding to test devices which will - /// always request test ads. - std::vector test_device_ids; -}; - -/// Listener to be invoked when the user earned a reward. -class UserEarnedRewardListener { - public: - virtual ~UserEarnedRewardListener(); - /// Called when the user earned a reward. The app is responsible for - /// crediting the user with the reward. - /// - /// @param[in] reward the @ref AdReward that should be granted to the user. - virtual void OnUserEarnedReward(const AdReward& reward) {} -}; - -} // namespace gma -} // namespace firebase - -#endif // FIREBASE_GMA_SRC_INCLUDE_FIREBASE_GMA_TYPES_H_ diff --git a/vendors/firebase/include/firebase/installations.h b/vendors/firebase/include/firebase/installations.h deleted file mode 100644 index c9774bc37..000000000 --- a/vendors/firebase/include/firebase/installations.h +++ /dev/null @@ -1,123 +0,0 @@ -// Copyright 2020 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -#ifndef FIREBASE_INSTALLATIONS_SRC_INCLUDE_FIREBASE_INSTALLATIONS_H_ -#define FIREBASE_INSTALLATIONS_SRC_INCLUDE_FIREBASE_INSTALLATIONS_H_ - -#include -#include - -#include "firebase/app.h" -#include "firebase/future.h" -#include "firebase/internal/common.h" - -/// @brief Namespace that encompasses all Firebase APIs. -namespace firebase { - -namespace installations { - -/// Installations error codes. -enum Error { - kErrorNone = 0, - /// An unknown error occurred. - kErrorUnknown, - /// Installations service cannot be accessed. - kErrorNoAccess, - /// Some of the parameters of the request were invalid. - kErrorInvalidConfiguration, -}; - -namespace internal { -// Implementation specific data for an Installation. -class InstallationsInternal; -} // namespace internal - -/// @brief Installations provides a unique identifier for each app instance and -/// a mechanism to authenticate and authorize actions (for example, sending an -/// FCM message). -/// -/// Provides a unique identifier for a Firebase installation. -/// Provides an auth token for a Firebase installation. -/// Provides a API to perform data deletion for a Firebase -/// installation. -class Installations { - public: - ~Installations(); - - /// @brief Get the App this object is connected to. - /// - /// @return App this object is connected to. - App* app() const { return app_; } - - /// @brief Returns the Installations object for an App creating the - /// Installations if required. - /// - /// @param[in] app The App to create an Installations object from. - /// - /// @return Installations object if successful, nullptr otherwise. - static Installations* GetInstance(App* app); - - /// @brief Returns a stable identifier that uniquely identifies the app - /// installation. - /// - /// @return Unique identifier for the app installation. - Future GetId(); - - /// @brief Get the results of the most recent call to @ref GetId. - Future GetIdLastResult(); - - /// @brief Call to delete this Firebase app installation from the Firebase - /// backend. - Future Delete(); - - /// @brief Get the results of the most recent call to @ref Delete. - Future DeleteLastResult(); - - /// @brief Returns a token that authorizes an Entity to perform an action on - /// behalf of the application identified by installations. - /// - /// This is similar to an OAuth2 token except it applies to the - /// application instance instead of a user. - /// - /// For example, to get a token that can be used to send messages to an - /// application via Firebase Cloud Messaging, set entity to the - /// sender ID, and set scope to "FCM". - /// - /// @param forceRefresh If set true, will always return a new token. - /// - /// @return Returns a valid authentication token for the Firebase - /// installation. - Future GetToken(bool forceRefresh); - - /// @brief Get the results of the most recent call to @ref GetToken. - Future GetTokenLastResult(); - - private: - explicit Installations(App* app); - - static Installations* FindInstallations(App* app); - // Installations internal initialize. - bool InitInternal(); - // Clean up Installations instance. - void DeleteInternal(); - - App* app_; - internal::InstallationsInternal* installations_internal_; -}; - -} // namespace installations - -} // namespace firebase - -#endif // FIREBASE_INSTALLATIONS_SRC_INCLUDE_FIREBASE_INSTALLATIONS_H_ diff --git a/vendors/firebase/include/firebase/internal/common.h b/vendors/firebase/include/firebase/internal/common.h deleted file mode 100644 index 2e2878a0b..000000000 --- a/vendors/firebase/include/firebase/internal/common.h +++ /dev/null @@ -1,128 +0,0 @@ -/* - * Copyright 2016 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef FIREBASE_APP_SRC_INCLUDE_FIREBASE_INTERNAL_COMMON_H_ -#define FIREBASE_APP_SRC_INCLUDE_FIREBASE_INTERNAL_COMMON_H_ - -// This file contains definitions that configure the SDK. - -// Include a STL header file, othewise _STLPORT_VERSION won't be set. -#include - -// Move operators use rvalue references, which are a C++11 extension. -// Also, Visual Studio 2010 and later actually support move operators despite -// reporting __cplusplus to be 199711L, so explicitly check for that. -// Also, stlport doesn't implement std::move(). -#if (__cplusplus >= 201103L || _MSC_VER >= 1600) && !defined(_STLPORT_VERSION) -#define FIREBASE_USE_MOVE_OPERATORS -#endif - -// stlport doesn't implement std::function. -#if !defined(_STLPORT_VERSION) -#define FIREBASE_USE_STD_FUNCTION -#endif // !defined(_STLPORT_VERSION) - -// stlport doesn't implement std::aligned_storage. -#if defined(_STLPORT_VERSION) -#include - -namespace firebase { -template -struct AlignedStorage { - struct type { - alignas(Alignment) unsigned char data[Length]; - }; -}; -} // namespace firebase -#define FIREBASE_ALIGNED_STORAGE ::firebase::AlignedStorage -#else -#include -#define FIREBASE_ALIGNED_STORAGE std::aligned_storage -#endif // defined(_STLPORT_VERSION) - -// Visual Studio 2013 does not support snprintf, so use streams instead. -#if !(defined(_MSC_VER) && _MSC_VER <= 1800) -#define FIREBASE_USE_SNPRINTF -#endif // !(defined(_MSC_VER) && _MSC_VER <= 1800) - -#if !(defined(_MSC_VER) && _MSC_VER <= 1800) -#define FIREBASE_USE_EXPLICIT_DEFAULT_METHODS -#endif // !(defined(_MSC_VER) && _MSC_VER <= 1800) - -#if !defined(DOXYGEN) && !defined(SWIG) -#if !defined(_WIN32) && !defined(__CYGWIN__) -// Prevent GCC & Clang from stripping a symbol. -#define FIREBASE_APP_KEEP_SYMBOL __attribute__((used)) -#else -// MSVC needs to reference a symbol directly in the application for it to be -// kept in the final executable. In this case, the end user's application -// must include the appropriate Firebase header (e.g firebase/analytics.h) to -// initialize the module. -#define FIREBASE_APP_KEEP_SYMBOL -#endif // !defined(_WIN32) && !defined(__CYGWIN__) - -// Module initializer's name. -// -// This can be used to explicitly include a module initializer in an application -// to prevent the object from being stripped by the linker. The symbol is -// located in the "firebase" namespace so can be referenced using: -// -// ::firebase::FIREBASE_APP_REGISTER_CALLBACKS_REFERENCE_NAME(name) -// -// Where "name" is the module name, for example "analytics". -#define FIREBASE_APP_REGISTER_CALLBACKS_INITIALIZER_NAME(module_name) \ - g_##module_name##_initializer - -// Declare a module initializer variable as a global. -#define FIREBASE_APP_REGISTER_CALLBACKS_INITIALIZER_VARIABLE(module_name) \ - namespace firebase { \ - extern void* FIREBASE_APP_REGISTER_CALLBACKS_INITIALIZER_NAME(module_name); \ - } /* namespace firebase */ - -// Generates code which references a module initializer. -// For example, FIREBASE_APP_REGISTER_REFERENCE(analytics) will register the -// module initializer for the analytics module. -#define FIREBASE_APP_REGISTER_CALLBACKS_REFERENCE(module_name) \ - FIREBASE_APP_REGISTER_CALLBACKS_INITIALIZER_VARIABLE(module_name) \ - namespace firebase { \ - static void* module_name##_ref FIREBASE_APP_KEEP_SYMBOL = \ - &FIREBASE_APP_REGISTER_CALLBACKS_INITIALIZER_NAME(module_name); \ - } /* namespace firebase */ -#endif // !defined(DOXYGEN) && !defined(SWIG) - -#if defined(SWIG) || defined(DOXYGEN) -// SWIG needs to ignore the FIREBASE_DEPRECATED tag. -#define FIREBASE_DEPRECATED -#endif // defined(SWIG) || defined(DOXYGEN) - -#ifndef FIREBASE_DEPRECATED -#ifdef __GNUC__ -#define FIREBASE_DEPRECATED __attribute__((deprecated)) -#elif defined(_MSC_VER) -#define FIREBASE_DEPRECATED __declspec(deprecated) -#else -// We don't know how to mark functions as "deprecated" with this compiler. -#define FIREBASE_DEPRECATED -#endif -#endif // FIREBASE_DEPRECATED - -// Calculates the number of elements in an array. -#define FIREBASE_ARRAYSIZE(x) (sizeof(x) / sizeof((x)[0])) - -// Guaranteed compile time strlen. -#define FIREBASE_STRLEN(s) (FIREBASE_ARRAYSIZE(s) - sizeof((s)[0])) - -#endif // FIREBASE_APP_SRC_INCLUDE_FIREBASE_INTERNAL_COMMON_H_ diff --git a/vendors/firebase/include/firebase/internal/future_impl.h b/vendors/firebase/include/firebase/internal/future_impl.h deleted file mode 100644 index 59e7771d0..000000000 --- a/vendors/firebase/include/firebase/internal/future_impl.h +++ /dev/null @@ -1,359 +0,0 @@ -/* - * Copyright 2016 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef FIREBASE_APP_SRC_INCLUDE_FIREBASE_INTERNAL_FUTURE_IMPL_H_ -#define FIREBASE_APP_SRC_INCLUDE_FIREBASE_INTERNAL_FUTURE_IMPL_H_ - -/// @cond FIREBASE_APP_INTERNAL - -// You shouldn't include future_impl.h directly, since its just the inline -// implementation of the functions in future.h. Include future.h instead. -#include "firebase/future.h" - -#if defined(FIREBASE_USE_MOVE_OPERATORS) -#include -#endif // defined(FIREBASE_USE_MOVE_OPERATORS) - -namespace firebase { - -class ReferenceCountedFutureImpl; - -namespace detail { - -class CompletionCallbackHandle; - -/// Pure-virtual interface that APIs must implement to use Futures. -class FutureApiInterface { - public: - // typedef void FutureCallbackFn(const FutureBase* future); - virtual ~FutureApiInterface(); - - /// Increment the reference count on handle's asynchronous call. - /// Called when the Future is copied. - virtual void ReferenceFuture(const FutureHandle& handle) = 0; - - /// Decrement the reference count on handle's asynchronous call. - /// Called when the Future is destroyed or moved. - /// If the reference count drops to zero, the asynchronous call can be - /// forgotten. - virtual void ReleaseFuture(const FutureHandle& handle) = 0; - - /// Return the status of the asynchronous call. - virtual FutureStatus GetFutureStatus(const FutureHandle& handle) const = 0; - - /// Return the API-specific error. - /// Valid when GetFutureStatus() is kFutureStatusComplete, and undefined - /// otherwise. - virtual int GetFutureError(const FutureHandle& handle) const = 0; - - /// Return the API-specific error, in human-readable form, or "" if no message - /// has been provided. - /// Valid when GetFutureStatus() is kFutureStatusComplete, and undefined - /// otherwise. - virtual const char* GetFutureErrorMessage( - const FutureHandle& handle) const = 0; - - /// Return a pointer to the completed asynchronous result, or NULL if - /// result is still pending. - /// After an asynchronous call is marked complete, the API should not - /// modify the result (especially on a callback thread), since the threads - /// owning the Future can reference the result memory via this function. - virtual const void* GetFutureResult(const FutureHandle& handle) const = 0; - - /// Register a callback that will be called when this future's status is set - /// to Complete. If clear_existing_callbacks is true, then the new callback - /// will replace any existing callbacks, otherwise it will be added to the - /// list of callbacks. - /// - /// The future's result data will be passed back when the callback is - /// called, along with the user_data supplied here. - /// - /// After the callback has been called, if `user_data_delete_fn_ptr` is - /// non-null, then `(*user_data_delete_fn_ptr)(user_data)` will be called. - virtual CompletionCallbackHandle AddCompletionCallback( - const FutureHandle& handle, FutureBase::CompletionCallback callback, - void* user_data, void (*user_data_delete_fn)(void*), - bool clear_existing_callbacks) = 0; - - /// Unregister a callback that was previously registered with - /// `AddCompletionCallback`. - virtual void RemoveCompletionCallback( - const FutureHandle& handle, CompletionCallbackHandle callback_handle) = 0; - -#if defined(FIREBASE_USE_STD_FUNCTION) - /// Register a callback that will be called when this future's status is set - /// to Complete. - /// - /// If `clear_existing_callbacks` is true, then the new callback - /// will replace any existing callbacks, otherwise it will be added to the - /// list of callbacks. - /// - /// The future's result data will be passed back when the callback is - /// called. - /// - /// @return A handle that can be passed to `FutureBase::RemoveCompletion`. - virtual CompletionCallbackHandle AddCompletionCallbackLambda( - const FutureHandle& handle, - std::function callback, - bool clear_existing_callbacks) = 0; -#endif // defined(FIREBASE_USE_STD_FUNCTION) - - /// Register this Future instance to be cleaned up. - virtual void RegisterFutureForCleanup(FutureBase* future) = 0; - - /// Unregister this Future instance from the cleanup list. - virtual void UnregisterFutureForCleanup(FutureBase* future) = 0; -}; - -inline void RegisterForCleanup(FutureApiInterface* api, FutureBase* future) { - if (api != NULL) { // NOLINT - api->RegisterFutureForCleanup(future); - } -} - -inline void UnregisterForCleanup(FutureApiInterface* api, FutureBase* future) { - if (api != NULL) { // NOLINT - api->UnregisterFutureForCleanup(future); - } -} - -class CompletionCallbackHandle { - public: - // Construct a null CompletionCallbackHandle. - CompletionCallbackHandle() - : callback_(nullptr), - user_data_(nullptr), - user_data_delete_fn_(nullptr) {} - - private: - friend class ::firebase::FutureBase; - friend class ::firebase::ReferenceCountedFutureImpl; - CompletionCallbackHandle(FutureBase::CompletionCallback callback, - void* user_data, void (*user_data_delete_fn)(void*)) - : callback_(callback), - user_data_(user_data), - user_data_delete_fn_(user_data_delete_fn) {} - - FutureBase::CompletionCallback callback_; - void* user_data_; - void (*user_data_delete_fn_)(void*); -}; - -} // namespace detail - -template -void Future::OnCompletion(TypedCompletionCallback callback, - void* user_data) const { - FutureBase::OnCompletion(reinterpret_cast(callback), - user_data); -} - -#if defined(FIREBASE_USE_STD_FUNCTION) -template -inline void Future::OnCompletion( - std::function&)> callback) const { - FutureBase::OnCompletion( - *reinterpret_cast*>(&callback)); -} -#endif // defined(FIREBASE_USE_STD_FUNCTION) - -#if defined(INTERNAL_EXPERIMENTAL) -template -FutureBase::CompletionCallbackHandle Future::AddOnCompletion( - TypedCompletionCallback callback, void* user_data) const { - return FutureBase::AddOnCompletion( - reinterpret_cast(callback), user_data); -} - -#if defined(FIREBASE_USE_STD_FUNCTION) -template -inline FutureBase::CompletionCallbackHandle Future::AddOnCompletion( - std::function&)> callback) const { - return FutureBase::AddOnCompletion( - *reinterpret_cast*>(&callback)); -} -#endif // defined(FIREBASE_USE_STD_FUNCTION) - -#endif // defined(INTERNAL_EXPERIMENTAL) - -inline FutureBase::FutureBase() - : mutex_(Mutex::Mode::kModeNonRecursive), - api_(NULL), - handle_(0) {} // NOLINT - -inline FutureBase::FutureBase(detail::FutureApiInterface* api, - const FutureHandle& handle) - : mutex_(Mutex::Mode::kModeNonRecursive), api_(api), handle_(handle) { - api_->ReferenceFuture(handle_); - // Once the FutureBase has reference, we don't need extra handle reference. - handle_.Detach(); - detail::RegisterForCleanup(api_, this); -} - -inline FutureBase::~FutureBase() { Release(); } - -inline FutureBase::FutureBase(const FutureBase& rhs) - : mutex_(Mutex::Mode::kModeNonRecursive), - api_(NULL) // NOLINT -{ // NOLINT - *this = rhs; -} - -inline FutureBase& FutureBase::operator=(const FutureBase& rhs) { - Release(); - - detail::FutureApiInterface* new_api; - FutureHandle new_handle; - { - MutexLock lock(rhs.mutex_); - new_api = rhs.api_; - new_handle = rhs.handle_; - } - - { - MutexLock lock(mutex_); - api_ = new_api; - handle_ = new_handle; - - if (api_ != NULL) { // NOLINT - api_->ReferenceFuture(handle_); - } - detail::RegisterForCleanup(api_, this); - } - - return *this; -} - -#if defined(FIREBASE_USE_MOVE_OPERATORS) -inline FutureBase::FutureBase(FutureBase&& rhs) noexcept - : mutex_(Mutex::Mode::kModeNonRecursive), - api_(NULL) // NOLINT -{ - *this = std::move(rhs); -} - -inline FutureBase& FutureBase::operator=(FutureBase&& rhs) noexcept { - Release(); - - detail::FutureApiInterface* new_api; - FutureHandle new_handle; - { - MutexLock lock(rhs.mutex_); - detail::UnregisterForCleanup(rhs.api_, &rhs); - new_api = rhs.api_; - new_handle = rhs.handle_; - rhs.api_ = NULL; // NOLINT - } - - MutexLock lock(mutex_); - api_ = new_api; - handle_ = new_handle; - detail::RegisterForCleanup(api_, this); - return *this; -} -#endif // defined(FIREBASE_USE_MOVE_OPERATORS) - -inline void FutureBase::Release() { - MutexLock lock(mutex_); - if (api_ != NULL) { // NOLINT - detail::UnregisterForCleanup(api_, this); - api_->ReleaseFuture(handle_); - api_ = NULL; // NOLINT - } -} - -inline FutureStatus FutureBase::status() const { - MutexLock lock(mutex_); - return api_ == NULL ? // NOLINT - kFutureStatusInvalid - : api_->GetFutureStatus(handle_); -} - -inline int FutureBase::error() const { - MutexLock lock(mutex_); - return api_ == NULL ? -1 : api_->GetFutureError(handle_); // NOLINT -} - -inline const char* FutureBase::error_message() const { - MutexLock lock(mutex_); - return api_ == NULL ? NULL : api_->GetFutureErrorMessage(handle_); // NOLINT -} - -inline const void* FutureBase::result_void() const { - MutexLock lock(mutex_); - return api_ == NULL ? NULL : api_->GetFutureResult(handle_); // NOLINT -} - -inline void FutureBase::OnCompletion(CompletionCallback callback, - void* user_data) const { - MutexLock lock(mutex_); - if (api_ != NULL) { // NOLINT - api_->AddCompletionCallback(handle_, callback, user_data, nullptr, - /*clear_existing_callbacks=*/true); - } -} - -#if defined(INTERNAL_EXPERIMENTAL) -inline FutureBase::CompletionCallbackHandle FutureBase::AddOnCompletion( - CompletionCallback callback, void* user_data) const { - MutexLock lock(mutex_); - if (api_ != NULL) { // NOLINT - return api_->AddCompletionCallback(handle_, callback, user_data, nullptr, - /*clear_existing_callbacks=*/false); - } - return CompletionCallbackHandle(); -} - -inline void FutureBase::RemoveOnCompletion( - CompletionCallbackHandle completion_handle) const { - MutexLock lock(mutex_); - if (api_ != NULL) { // NOLINT - api_->RemoveCompletionCallback(handle_, completion_handle); - } -} -#endif // defined(INTERNAL_EXPERIMENTAL) - -#if defined(FIREBASE_USE_STD_FUNCTION) -inline void FutureBase::OnCompletion( - std::function callback) const { - MutexLock lock(mutex_); - if (api_ != NULL) { // NOLINT - api_->AddCompletionCallbackLambda(handle_, callback, - /*clear_existing_callbacks=*/true); - } -} - -#if defined(INTERNAL_EXPERIMENTAL) -inline FutureBase::CompletionCallbackHandle FutureBase::AddOnCompletion( - std::function callback) const { - MutexLock lock(mutex_); - if (api_ != NULL) { // NOLINT - return api_->AddCompletionCallbackLambda( - handle_, callback, - /*clear_existing_callbacks=*/false); - } - return CompletionCallbackHandle(); -} -#endif // defined(INTERNAL__EXPERIMENTAL) - -#endif // defined(FIREBASE_USE_STD_FUNCTION) - -// NOLINTNEXTLINE - allow namespace overridden -} // namespace firebase - -/// @endcond - -#endif // FIREBASE_APP_SRC_INCLUDE_FIREBASE_INTERNAL_FUTURE_IMPL_H_ diff --git a/vendors/firebase/include/firebase/internal/mutex.h b/vendors/firebase/include/firebase/internal/mutex.h deleted file mode 100644 index 86f6a45d1..000000000 --- a/vendors/firebase/include/firebase/internal/mutex.h +++ /dev/null @@ -1,100 +0,0 @@ -/* - * Copyright 2016 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef FIREBASE_APP_SRC_INCLUDE_FIREBASE_INTERNAL_MUTEX_H_ -#define FIREBASE_APP_SRC_INCLUDE_FIREBASE_INTERNAL_MUTEX_H_ - -#include "firebase/internal/platform.h" - -#if FIREBASE_PLATFORM_WINDOWS -#include -#else -#include -#endif // FIREBASE_PLATFORM_WINDOWS - -namespace firebase { - -#if !defined(DOXYGEN) - -/// @brief A simple synchronization lock. Only one thread at a time can Acquire. -class Mutex { - public: - // Bitfield that describes the mutex configuration. - enum Mode { - kModeNonRecursive = (0 << 0), - kModeRecursive = (1 << 0), - }; - - Mutex() : Mutex(kModeRecursive) {} - - explicit Mutex(Mode mode); - - ~Mutex(); - - // Acquires the lock for this mutex, blocking until it is available. - void Acquire(); - - // Releases the lock for this mutex acquired by a previous `Acquire()` call. - void Release(); - -// Returns the implementation-defined native mutex handle. -// Used by firebase::Thread implementation. -#if FIREBASE_PLATFORM_WINDOWS - HANDLE* native_handle() { return &synchronization_object_; } -#else - pthread_mutex_t* native_handle() { return &mutex_; } -#endif // FIREBASE_PLATFORM_WINDOWS - - private: - Mutex(const Mutex&) = delete; - Mutex& operator=(const Mutex&) = delete; - -#if FIREBASE_PLATFORM_WINDOWS - HANDLE synchronization_object_; - Mode mode_; -#else - pthread_mutex_t mutex_; -#endif // FIREBASE_PLATFORM_WINDOWS -}; - -/// @brief Acquire and hold a /ref Mutex, while in scope. -/// -/// Example usage: -/// \code{.cpp} -/// Mutex syncronization_mutex; -/// void MyFunctionThatRequiresSynchronization() { -/// MutexLock lock(syncronization_mutex); -/// // ... logic ... -/// } -/// \endcode -class MutexLock { - public: - explicit MutexLock(Mutex& mutex) : mutex_(&mutex) { mutex_->Acquire(); } - ~MutexLock() { mutex_->Release(); } - - private: - // Copy is disallowed. - MutexLock(const MutexLock& rhs); // NOLINT - MutexLock& operator=(const MutexLock& rhs); - - Mutex* mutex_; -}; - -#endif // !defined(DOXYGEN) - -} // namespace firebase - -#endif // FIREBASE_APP_SRC_INCLUDE_FIREBASE_INTERNAL_MUTEX_H_ diff --git a/vendors/firebase/include/firebase/internal/platform.h b/vendors/firebase/include/firebase/internal/platform.h deleted file mode 100644 index 17d64e32d..000000000 --- a/vendors/firebase/include/firebase/internal/platform.h +++ /dev/null @@ -1,110 +0,0 @@ -/* - * Copyright 2019 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef FIREBASE_APP_SRC_INCLUDE_FIREBASE_INTERNAL_PLATFORM_H_ -#define FIREBASE_APP_SRC_INCLUDE_FIREBASE_INTERNAL_PLATFORM_H_ - -// This header serts exactly one of these FIREBASE_PLATFORM macros to 1, and the -// rest to 0: -// -// FIREBASE_PLATFORM_ANDROID -// FIREBASE_PLATFORM_IOS -// FIREBASE_PLATFORM_TVOS -// FIREBASE_PLATFORM_OSX -// FIREBASE_PLATFORM_WINDOWS -// FIREBASE_PLATFORM_LINUX -// FIREBASE_PLATFORM_UNKNOWN -// -// You can use e.g. #if FIREBASE_PLATFORM_OSX to conditionally compile code -// after including this header. -// -// It also defines some convenience macros: -// FIREBASE_PLATFORM_DESKTOP (1 on OSX, WINDOWS, and LINUX, 0 otherwise) -// FIREBASE_PLATFORM_MOBILE (1 on IOS and ANDROID, 0 otherwise) - -#define FIREBASE_PLATFORM_ANDROID 0 -#define FIREBASE_PLATFORM_IOS 0 -#define FIREBASE_PLATFORM_TVOS 0 -#define FIREBASE_PLATFORM_OSX 0 -#define FIREBASE_PLATFORM_WINDOWS 0 -#define FIREBASE_PLATFORM_LINUX 0 -#define FIREBASE_PLATFORM_UNKNOWN 0 - -#ifdef __APPLE__ -#include "TargetConditionals.h" -#endif // __APPLE__ - -#if defined(__ANDROID__) -#undef FIREBASE_PLATFORM_ANDROID -#define FIREBASE_PLATFORM_ANDROID 1 -#elif defined(TARGET_OS_IOS) && TARGET_OS_IOS -#undef FIREBASE_PLATFORM_IOS -#define FIREBASE_PLATFORM_IOS 1 -#elif defined(TARGET_OS_TV) && TARGET_OS_TV -#undef FIREBASE_PLATFORM_TVOS -#define FIREBASE_PLATFORM_TVOS 1 -#elif defined(TARGET_OS_OSX) && TARGET_OS_OSX -#undef FIREBASE_PLATFORM_OSX -#define FIREBASE_PLATFORM_OSX 1 -#elif defined(_WIN32) -#undef FIREBASE_PLATFORM_WINDOWS -#define FIREBASE_PLATFORM_WINDOWS 1 -#elif defined(__linux__) -#undef FIREBASE_PLATFORM_LINUX -#define FIREBASE_PLATFORM_LINUX 1 -#else -#undef FIREBASE_PLATFORM_UNKNOWN -#define FIREBASE_PLATFORM_UNKNOWN 1 -#endif - -#if FIREBASE_PLATFORM_LINUX - -// Include std library header to get version defines -#include - -#if defined(__clang__) -#define FIREBASE_COMPILER_CLANG 1 -#elif defined(__GNUC__) -#define FIREBASE_COMPILER_GCC 1 -#endif - -#if defined(_LIBCPP_VERSION) -#define FIREBASE_STANDARD_LIBCPP 1 -#elif defined(__GLIBCXX__) -#define FIREBASE_STANDARD_LIBSTDCPP 1 -#endif - -#if (FIREBASE_COMPILER_CLANG && FIREBASE_STANDARD_LIBCPP) -#define FIREBASE_LINUX_BUILD_CONFIG_STRING "clang_libstdcpp" -#elif (FIREBASE_COMPILER_CLANG && FIREBASE_STANDARD_LIBSTDCPP) -#define FIREBASE_LINUX_BUILD_CONFIG_STRING "clang_libcpp" -#elif (FIREBASE_COMPILER_GCC && FIREBASE_STANDARD_LIBCPP) -#define FIREBASE_LINUX_BUILD_CONFIG_STRING "gcc_libstdcpp" -#elif (FIREBASE_COMPILER_GCC && FIREBASE_STANDARD_LIBSTDCPP) -#define FIREBASE_LINUX_BUILD_CONFIG_STRING "gcc_libcpp" -#else -#error "Unsupported compiler or standard library" -#endif - -#endif // FIREBASE_PLATFORM_LINUX - -#define FIREBASE_PLATFORM_MOBILE \ - (FIREBASE_PLATFORM_IOS || FIREBASE_PLATFORM_ANDROID) -#define FIREBASE_PLATFORM_DESKTOP \ - (FIREBASE_PLATFORM_LINUX || FIREBASE_PLATFORM_WINDOWS || \ - FIREBASE_PLATFORM_OSX) - -#endif // FIREBASE_APP_SRC_INCLUDE_FIREBASE_INTERNAL_PLATFORM_H_ diff --git a/vendors/firebase/include/firebase/internal/type_traits.h b/vendors/firebase/include/firebase/internal/type_traits.h deleted file mode 100644 index 7c465ea27..000000000 --- a/vendors/firebase/include/firebase/internal/type_traits.h +++ /dev/null @@ -1,134 +0,0 @@ -/* - * Copyright 2017 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef FIREBASE_APP_SRC_INCLUDE_FIREBASE_INTERNAL_TYPE_TRAITS_H_ -#define FIREBASE_APP_SRC_INCLUDE_FIREBASE_INTERNAL_TYPE_TRAITS_H_ - -#include -#include - -// Doxygen breaks trying to parse this file, and since it is internal logic, -// it doesn't need to be included in the generated documentation. -#ifndef DOXYGEN - -namespace firebase { - -template -struct remove_reference { - typedef T type; -}; - -template -struct remove_reference { - typedef T type; -}; - -template -struct remove_reference { - typedef T type; -}; - -template -struct is_array { - static constexpr bool value = false; -}; - -template -struct is_array { - static constexpr bool value = true; -}; - -template -struct is_array { - static constexpr bool value = true; -}; - -template -struct is_lvalue_reference { - static constexpr bool value = false; -}; - -template -struct is_lvalue_reference { - static constexpr bool value = true; -}; - -// STLPort does include header, but its contents are in `std::tr1` -// namespace. To work around this, use aliases. -// TODO(varconst): all of the reimplementations of traits above can be replaced -// with appropriate aliases. -// TODO(varconst): the traits in this file would be more conformant if they -// inherited from `std::integral_constant`. -#ifdef STLPORT -#define FIREBASE_TYPE_TRAITS_NS std::tr1 -#else -#define FIREBASE_TYPE_TRAITS_NS std -#endif - -template -using decay = FIREBASE_TYPE_TRAITS_NS::decay; - -template -using decay_t = typename decay::type; - -template -using enable_if = FIREBASE_TYPE_TRAITS_NS::enable_if; - -template -using is_floating_point = FIREBASE_TYPE_TRAITS_NS::is_floating_point; - -template -using is_integral = FIREBASE_TYPE_TRAITS_NS::is_integral; - -template -using is_same = FIREBASE_TYPE_TRAITS_NS::is_same; - -template -using integral_constant = FIREBASE_TYPE_TRAITS_NS::integral_constant; - -using true_type = FIREBASE_TYPE_TRAITS_NS::true_type; -using false_type = FIREBASE_TYPE_TRAITS_NS::false_type; - -#undef FIREBASE_TYPE_TRAITS_NS - -// `is_char::value` is true iff `T` is a character type (including `wchar_t` -// and C++11 fixed-width character types). -template -struct is_char { - static constexpr bool value = -#if __cplusplus >= 202002L - is_same::value || -#endif -#if __cplusplus >= 201103L - is_same::value || is_same::value || -#endif - is_same::value || is_same::value || - is_same::value || is_same::value; -}; - -// A subset of `std::is_integral`: excludes `bool` and character types. -template -struct is_integer { - static constexpr bool value = - is_integral::value && !is_same::value && !is_char::value; -}; - -// NOLINTNEXTLINE - allow namespace overridden -} // namespace firebase - -#endif // DOXYGEN - -#endif // FIREBASE_APP_SRC_INCLUDE_FIREBASE_INTERNAL_TYPE_TRAITS_H_ diff --git a/vendors/firebase/include/firebase/log.h b/vendors/firebase/include/firebase/log.h deleted file mode 100644 index 3d36ce37d..000000000 --- a/vendors/firebase/include/firebase/log.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2016 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef FIREBASE_APP_SRC_INCLUDE_FIREBASE_LOG_H_ -#define FIREBASE_APP_SRC_INCLUDE_FIREBASE_LOG_H_ - -/// @brief Namespace that encompasses all Firebase APIs. -namespace firebase { - -/// @brief Levels used when logging messages. -enum LogLevel { - /// Verbose Log Level - kLogLevelVerbose = 0, - /// Debug Log Level - kLogLevelDebug, - /// Info Log Level - kLogLevelInfo, - /// Warning Log Level - kLogLevelWarning, - /// Error Log Level - kLogLevelError, - /// Assert Log Level - kLogLevelAssert, -}; - -/// @brief Sets the logging verbosity. -/// All log messages at or above the specific log level. -/// -/// @param[in] level Log level to display, by default this is set to -/// kLogLevelInfo. -void SetLogLevel(LogLevel level); - -/// @brief Gets the logging verbosity. -/// -/// @return Get the currently configured logging verbosity. -LogLevel GetLogLevel(); - -// NOLINTNEXTLINE - allow namespace overridden -} // namespace firebase - -#endif // FIREBASE_APP_SRC_INCLUDE_FIREBASE_LOG_H_ diff --git a/vendors/firebase/include/firebase/messaging.h b/vendors/firebase/include/firebase/messaging.h deleted file mode 100644 index b3283b2b2..000000000 --- a/vendors/firebase/include/firebase/messaging.h +++ /dev/null @@ -1,728 +0,0 @@ -// Copyright 2016 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -#ifndef FIREBASE_MESSAGING_SRC_INCLUDE_FIREBASE_MESSAGING_H_ -#define FIREBASE_MESSAGING_SRC_INCLUDE_FIREBASE_MESSAGING_H_ - -#include - -#include -#include -#include - -#include "firebase/app.h" -#include "firebase/future.h" -#include "firebase/internal/common.h" - -#if !defined(DOXYGEN) && !defined(SWIG) -FIREBASE_APP_REGISTER_CALLBACKS_REFERENCE(messaging) -#endif // !defined(DOXYGEN) && !defined(SWIG) - -namespace firebase { - -/// @brief Firebase Cloud Messaging API. -/// -/// Firebase Cloud Messaging allows you to send data from your server to your -/// users' devices, and receive messages from devices on the same connection -/// if you're using a XMPP server. -/// -/// The FCM service handles all aspects of queueing of messages and delivery -/// to client applications running on target devices. -namespace messaging { - -/// @brief A class to configure the behavior of Firebase Cloud Messaging. -/// -/// This class contains various configuration options that control some of -/// Firebase Cloud Messaging's behavior. -struct MessagingOptions { - /// Default constructor. - MessagingOptions() : suppress_notification_permission_prompt(false) {} - - /// If true, do not display the prompt to the user requesting permission to - /// allow notifications to this app. If the prompt is suppressed in this way, - /// the developer must manually prompt the user for permission at some point - /// in the future using `RequestPermission()`. - /// - /// If this prompt has already been accepted once in the past the prompt will - /// not be displayed again. - /// - /// This option currently only applies to iOS. - bool suppress_notification_permission_prompt; -}; - -/// @brief Data structure for parameters that are unique to the Android -/// implementation. -struct AndroidNotificationParams { - /// The channel id that was provided when the message was sent. - std::string channel_id; -}; - -/// Used for messages that display a notification. -/// -/// On android, this requires that the app is using the Play Services client -/// library. -struct Notification { - Notification() : android(nullptr) {} - -#ifndef SWIG - /// Copy constructor. Makes a deep copy of this Message. - Notification(const Notification& other) : android(nullptr) { *this = other; } -#endif // !SWIG - -#ifndef SWIG - /// Copy assignment operator. Makes a deep copy of this Message. - Notification& operator=(const Notification& other) { - this->title = other.title; - this->body = other.body; - this->icon = other.icon; - this->sound = other.sound; - this->tag = other.tag; - this->color = other.color; - this->click_action = other.click_action; - this->body_loc_key = other.body_loc_key; - this->body_loc_args = other.body_loc_args; - this->title_loc_key = other.title_loc_key; - this->title_loc_args = other.title_loc_args; - delete this->android; - if (other.android) { - this->android = new AndroidNotificationParams(*other.android); - } else { - this->android = nullptr; - } - return *this; - } -#endif // !SWIG - - /// Destructor. - ~Notification() { delete android; } - - /// Indicates notification title. This field is not visible on iOS phones - /// and tablets. - std::string title; - - /// Indicates notification body text. - std::string body; - - /// Indicates notification icon. Sets value to myicon for drawable resource - /// myicon. - std::string icon; - - /// Indicates a sound to play when the device receives the notification. - /// Supports default, or the filename of a sound resource bundled in the - /// app. - /// - /// Android sound files must reside in /res/raw/, while iOS sound files - /// can be in the main bundle of the client app or in the Library/Sounds - /// folder of the app’s data container. - std::string sound; - - /// Indicates the badge on the client app home icon. iOS only. - std::string badge; - - /// Indicates whether each notification results in a new entry in the - /// notification drawer on Android. If not set, each request creates a new - /// notification. If set, and a notification with the same tag is already - /// being shown, the new notification replaces the existing one in the - /// notification drawer. - std::string tag; - - /// Indicates color of the icon, expressed in \#rrggbb format. Android only. - std::string color; - - /// The action associated with a user click on the notification. - /// - /// On Android, if this is set, an activity with a matching intent filter is - /// launched when user clicks the notification. - /// - /// If set on iOS, corresponds to category in APNS payload. - std::string click_action; - - /// Indicates the key to the body string for localization. - /// - /// On iOS, this corresponds to "loc-key" in APNS payload. - /// - /// On Android, use the key in the app's string resources when populating this - /// value. - std::string body_loc_key; - - /// Indicates the string value to replace format specifiers in body string - /// for localization. - /// - /// On iOS, this corresponds to "loc-args" in APNS payload. - /// - /// On Android, these are the format arguments for the string resource. For - /// more information, see [Formatting strings][1]. - /// - /// [1]: - /// https://developer.android.com/guide/topics/resources/string-resource.html#FormattingAndStyling - std::vector body_loc_args; - - /// Indicates the key to the title string for localization. - /// - /// On iOS, this corresponds to "title-loc-key" in APNS payload. - /// - /// On Android, use the key in the app's string resources when populating this - /// value. - std::string title_loc_key; - - /// Indicates the string value to replace format specifiers in title string - /// for localization. - /// - /// On iOS, this corresponds to "title-loc-args" in APNS payload. - /// - /// On Android, these are the format arguments for the string resource. For - /// more information, see [Formatting strings][1]. - /// - /// [1]: - /// https://developer.android.com/guide/topics/resources/string-resource.html#FormattingAndStyling - std::vector title_loc_args; - - /// Parameters that are unique to the Android implementation. - AndroidNotificationParams* android; -}; - -/// @brief Data structure used to send messages to, and receive messages from, -/// cloud messaging. -struct Message { - /// Initialize the message. - Message() - : time_to_live(0), - notification(nullptr), - notification_opened(false), - sent_time(0) {} - - /// Destructor. - ~Message() { delete notification; } - -#ifndef SWIG - /// Copy constructor. Makes a deep copy of this Message. - Message(const Message& other) : notification(nullptr) { *this = other; } -#endif // !SWIG - -#ifndef SWIG - /// Copy assignment operator. Makes a deep copy of this Message. - Message& operator=(const Message& other) { - this->from = other.from; - this->to = other.to; - this->collapse_key = other.collapse_key; - this->data = other.data; - this->raw_data = other.raw_data; - this->message_id = other.message_id; - this->message_type = other.message_type; - this->priority = other.priority; - this->original_priority = other.original_priority; - this->sent_time = other.sent_time; - this->time_to_live = other.time_to_live; - this->error = other.error; - this->error_description = other.error_description; - delete this->notification; - if (other.notification) { - this->notification = new Notification(*other.notification); - } else { - this->notification = nullptr; - } - this->notification_opened = other.notification_opened; - this->link = other.link; - return *this; - } -#endif // !SWIG - - /// Authenticated ID of the sender. This is a project number in most cases. - /// - /// Any value starting with google.com, goog. or gcm. are reserved. - /// - /// This field is only used for downstream messages received through - /// Listener::OnMessage(). - std::string from; - - /// This parameter specifies the recipient of a message. - /// - /// For example it can be a registration token, a topic name, an Instance ID - /// or project ID. - /// - /// PROJECT_ID@gcm.googleapis.com or Instance ID are accepted. - std::string to; - - /// This parameter identifies a group of messages (e.g., with collapse_key: - /// "Updates Available") that can be collapsed, so that only the last message - /// gets sent when delivery can be resumed. This is intended to avoid sending - /// too many of the same messages when the device comes back online or becomes - /// active. - /// - /// Note that there is no guarantee of the order in which messages get sent. - /// - /// Note: A maximum of 4 different collapse keys is allowed at any given time. - /// This means a FCM connection server can simultaneously store 4 different - /// send-to-sync messages per client app. If you exceed this number, there is - /// no guarantee which 4 collapse keys the FCM connection server will keep. - /// - /// This field is only used for downstream messages received through - /// Listener::OnMessage(). - std::string collapse_key; - - /// The metadata, including all original key/value pairs. Includes some of the - /// HTTP headers used when sending the message. `gcm`, `google` and `goog` - /// prefixes are reserved for internal use. - std::map data; - - /// Binary payload. - std::vector raw_data; - - /// Message ID. This can be specified by sender. Internally a hash of the - /// message ID and other elements will be used for storage. The ID must be - /// unique for each topic subscription - using the same ID may result in - /// overriding the original message or duplicate delivery. - std::string message_id; - - /// Equivalent with a content-type. - /// - /// Defined values: - /// - "deleted_messages" - indicates the server had too many messages and - /// dropped some, and the client should sync with his own server. - /// Current limit is 100 messages stored. - /// - "send_event" - indicates an upstream message has been pushed to the - /// FCM server. It does not guarantee the upstream destination received - /// it. - /// Parameters: "message_id" - /// - "send_error" - indicates an upstream message expired, without being - /// sent to the FCM server. - /// Parameters: "message_id" and "error" - /// - /// If this field is missing, the message is a regular message. - /// - /// This field is only used for downstream messages received through - /// Listener::OnMessage(). - std::string message_type; - - /// Sets the priority of the message. Valid values are "normal" and "high." On - /// iOS, these correspond to APNs priority 5 and 10. - /// - /// By default, messages are sent with normal priority. Normal priority - /// optimizes the client app's battery consumption, and should be used unless - /// immediate delivery is required. For messages with normal priority, the app - /// may receive the message with unspecified delay. - /// - /// When a message is sent with high priority, it is sent immediately, and the - /// app can wake a sleeping device and open a network connection to your - /// server. - /// - /// For more information, see [Setting the priority of a message][1]. - /// - /// This field is only used for downstream messages received through - /// Listener::OnMessage(). - /// - /// [1]: - /// https://firebase.google.com/docs/cloud-messaging/concept-options#setting-the-priority-of-a-message - std::string priority; - - /// This parameter specifies how long (in seconds) the message should be kept - /// in FCM storage if the device is offline. The maximum time to live - /// supported is 4 weeks, and the default value is 4 weeks. For more - /// information, see [Setting the lifespan of a message][1]. - /// - /// This field is only used for downstream messages received through - /// Listener::OnMessage(). - /// - /// [1]: https://firebase.google.com/docs/cloud-messaging/concept-options#ttl - int32_t time_to_live; - - /// Error code. Used in "nack" messages for CCS, and in responses from the - /// server. - /// See the CCS specification for the externally-supported list. - /// - /// This field is only used for downstream messages received through - /// Listener::OnMessage(). - std::string error; - - /// Human readable details about the error. - /// - /// This field is only used for downstream messages received through - /// Listener::OnMessage(). - std::string error_description; - - /// Optional notification to show. This only set if a notification was - /// received with this message, otherwise it is null. - /// - /// The notification is only guaranteed to be valid during the call to - /// Listener::OnMessage(). If you need to keep it around longer you will need - /// to make a copy of either the Message or Notification. Copying the Message - /// object implicitly makes a deep copy of the notification (allocated with - /// new) which is owned by the Message. - /// - /// This field is only used for downstream messages received through - /// Listener::OnMessage(). - Notification* notification; - - /// A flag indicating whether this message was opened by tapping a - /// notification in the OS system tray. If the message was received this way - /// this flag is set to true. - bool notification_opened; - - /// The link into the app from the message. - /// - /// This field is only used for downstream messages received through - /// Listener::OnMessage(). - std::string link; - - /// @cond FIREBASE_APP_INTERNAL - /// Original priority of the message. - std::string original_priority; - - /// UTC timestamp in milliseconds when the message was sent. - /// See https://en.wikipedia.org/wiki/Unix_time for details of UTC. - int64_t sent_time; - /// @endcond -}; - -/// @brief Base class used to receive messages from Firebase Cloud Messaging. -/// -/// You need to override base class methods to handle any events required by the -/// application. Methods are invoked asynchronously and may be invoked on other -/// threads. -class Listener { - public: - virtual ~Listener(); - - /// Called on the client when a message arrives. - /// - /// @param[in] message The data describing this message. - virtual void OnMessage(const Message& message) = 0; - - /// Called on the client when a registration token arrives. This function - /// will eventually be called in response to a call to - /// firebase::messaging::Initialize(...). - /// - /// @param[in] token The registration token. - virtual void OnTokenReceived(const char* token) = 0; -}; - -/// @brief Initialize Firebase Cloud Messaging. -/// -/// After Initialize is called, the implementation may call functions on the -/// Listener provided at any time. -/// -/// @param[in] app The Firebase App object for this application. -/// @param[in] listener A Listener object that listens for events from the -/// Firebase Cloud Messaging servers. -/// -/// @return kInitResultSuccess if initialization succeeded, or -/// kInitResultFailedMissingDependency on Android if Google Play services is -/// not available on the current device. -InitResult Initialize(const App& app, Listener* listener); - -/// @brief Initialize Firebase Cloud Messaging. -/// -/// After Initialize is called, the implementation may call functions on the -/// Listener provided at any time. -/// -/// @param[in] app The Firebase App object for this application. -/// @param[in] listener A Listener object that listens for events from the -/// Firebase Cloud Messaging servers. -/// @param[in] options A set of options that configure the -/// initialzation behavior of Firebase Cloud Messaging. -/// -/// @return kInitResultSuccess if initialization succeeded, or -/// kInitResultFailedMissingDependency on Android if Google Play services is -/// not available on the current device. -InitResult Initialize(const App& app, Listener* listener, - const MessagingOptions& options); - -/// @brief Terminate Firebase Cloud Messaging. -/// -/// Frees resources associated with Firebase Cloud Messaging. -/// -/// @note On Android, the services will not be shut down by this method. -void Terminate(); - -/// Determines if automatic token registration during initalization is enabled. -/// -/// @return true if auto token registration is enabled and false if disabled. -bool IsTokenRegistrationOnInitEnabled(); - -/// Enable or disable token registration during initialization of Firebase Cloud -/// Messaging. -/// -/// This token is what identifies the user to Firebase, so disabling this avoids -/// creating any new identity and automatically sending it to Firebase, unless -/// consent has been granted. -/// -/// If this setting is enabled, it triggers the token registration refresh -/// immediately. This setting is persisted across app restarts and overrides the -/// setting "firebase_messaging_auto_init_enabled" specified in your Android -/// manifest (on Android) or Info.plist (on iOS). -/// -///

By default, token registration during initialization is enabled. -/// -/// The registration happens before you can programmatically disable it, so -/// if you need to change the default, (for example, because you want to prompt -/// the user before FCM generates/refreshes a registration token on app -/// startup), add to your application’s manifest: -/// -/// -/// @if NOT_DOXYGEN -/// -/// @else -/// @code -/// <meta-data android:name="firebase_messaging_auto_init_enabled" -/// android:value="false" /> -/// @endcode -/// @endif -/// -/// or on iOS to your Info.plist: -/// -/// @if NOT_DOXYGEN -/// FirebaseMessagingAutoInitEnabled -/// -/// @else -/// @code -/// <key>FirebaseMessagingAutoInitEnabled</key> -/// <false/> -/// @endcode -/// @endif -/// -/// @param enable sets if a registration token should be requested on -/// initialization. -void SetTokenRegistrationOnInitEnabled(bool enable); - -#ifndef SWIG -/// @brief Set the listener for events from the Firebase Cloud Messaging -/// servers. -/// -/// A listener must be set for the application to receive messages from -/// the Firebase Cloud Messaging servers. The implementation may call functions -/// on the Listener provided at any time. -/// -/// @param[in] listener A Listener object that listens for events from the -/// Firebase Cloud Messaging servers. -/// -/// @return Pointer to the previously set listener. -Listener* SetListener(Listener* listener); -#endif // !SWIG - -/// Error code returned by Firebase Cloud Messaging C++ functions. -enum Error { - /// The operation was a success, no error occurred. - kErrorNone = 0, - /// Permission to receive notifications was not granted. - kErrorFailedToRegisterForRemoteNotifications, - /// Topic name is invalid for subscription/unsubscription. - kErrorInvalidTopicName, - /// Could not subscribe/unsubscribe because there is no registration token. - kErrorNoRegistrationToken, - /// Unknown error. - kErrorUnknown, -}; - -/// @brief Displays a prompt to the user requesting permission to display -/// notifications. -/// -/// The permission prompt only appears on iOS. If the user has already agreed to -/// allow notifications, no prompt is displayed and the returned future is -/// completed immediately. -/// -/// @return A future that completes when the notification prompt has been -/// dismissed. -Future RequestPermission(); - -/// @brief Gets the result of the most recent call to RequestPermission(); -/// -/// @return Result of the most recent call to RequestPermission(). -Future RequestPermissionLastResult(); - -/// @brief Subscribe to receive all messages to the specified topic. -/// -/// Subscribes an app instance to a topic, enabling it to receive messages -/// sent to that topic. -/// -/// Call this function from the main thread. FCM is not thread safe. -/// -/// @param[in] topic The name of the topic to subscribe. Must match the -/// following regular expression: `[a-zA-Z0-9-_.~%]{1,900}`. -Future Subscribe(const char* topic); - -/// @brief Gets the result of the most recent call to Unsubscribe(); -/// -/// @return Result of the most recent call to Unsubscribe(). -Future SubscribeLastResult(); - -/// @brief Unsubscribe from a topic. -/// -/// Unsubscribes an app instance from a topic, stopping it from receiving -/// any further messages sent to that topic. -/// -/// Call this function from the main thread. FCM is not thread safe. -/// -/// @param[in] topic The name of the topic to unsubscribe from. Must match the -/// following regular expression: `[a-zA-Z0-9-_.~%]{1,900}`. -Future Unsubscribe(const char* topic); - -/// @brief Gets the result of the most recent call to Unsubscribe(); -/// -/// @return Result of the most recent call to Unsubscribe(). -Future UnsubscribeLastResult(); - -/// Determines whether Firebase Cloud Messaging exports message delivery metrics -/// to BigQuery. -/// -/// This function is currently only implemented on Android, and returns false -/// with no other behavior on other platforms. -/// -/// @return true if Firebase Cloud Messaging exports message delivery metrics to -/// BigQuery. -bool DeliveryMetricsExportToBigQueryEnabled(); - -/// Enables or disables Firebase Cloud Messaging message delivery metrics export -/// to BigQuery. -/// -/// By default, message delivery metrics are not exported to BigQuery. Use this -/// method to enable or disable the export at runtime. In addition, you can -/// enable the export by adding to your manifest. Note that the run-time method -/// call will override the manifest value. -/// -/// -/// -/// This function is currently only implemented on Android, and has no behavior -/// on other platforms. -/// -/// @param[in] enable Whether Firebase Cloud Messaging should export message -/// delivery metrics to BigQuery. -void SetDeliveryMetricsExportToBigQuery(bool enable); - -/// @brief This creates a Firebase Installations ID, if one does not exist, and -/// sends information about the application and the device where it's running to -/// the Firebase backend. -/// -/// @return A future with the token. -Future GetToken(); - -/// @brief Gets the result of the most recent call to GetToken(); -/// -/// @return Result of the most recent call to GetToken(). -Future GetTokenLastResult(); - -/// @brief Deletes the default token for this Firebase project. -/// -/// Note that this does not delete the Firebase Installations ID that may have -/// been created when generating the token. See Installations.Delete() for -/// deleting that. -/// -/// @return A future that completes when the token is deleted. -Future DeleteToken(); - -/// @brief Gets the result of the most recent call to DeleteToken(); -/// -/// @return Result of the most recent call to DeleteToken(). -Future DeleteTokenLastResult(); - -class PollableListenerImpl; - -/// @brief A listener that can be polled to consume pending `Message`s. -/// -/// This class is intended to be used with applications that have a main loop -/// that frequently updates, such as in the case of a game that has a main -/// loop that updates 30 to 60 times a second. Rather than respond to incoming -/// messages and tokens via the `OnMessage` virtual function, this class will -/// queue up the message internally in a thread-safe manner so that it can be -/// consumed with `PollMessage`. For example: -/// -/// ::firebase::messaging::PollableListener listener; -/// ::firebase::messaging::Initialize(app, &listener); -/// -/// while (true) { -/// std::string token; -/// if (listener.PollRegistrationToken(&token)) { -/// LogMessage("Received a registration token"); -/// } -/// -/// ::firebase::messaging::Message message; -/// while (listener.PollMessage(&message)) { -/// LogMessage("Received a new message"); -/// } -/// -/// // Remainder of application logic... -/// } -class PollableListener : public Listener { - public: - /// @brief The default constructor. - PollableListener(); - - /// @brief The required virtual destructor. - virtual ~PollableListener(); - - /// @brief An implementation of `OnMessage` which adds the incoming messages - /// to a queue, which can be consumed by calling `PollMessage`. - virtual void OnMessage(const Message& message); - - /// @brief An implementation of `OnTokenReceived` which stores the incoming - /// token so that it can be consumed by calling `PollRegistrationToken`. - virtual void OnTokenReceived(const char* token); - - /// @brief Returns the first message queued up, if any. - /// - /// If one or more messages has been received, the first message in the - /// queue will be popped and used to populate the `message` argument and the - /// function will return `true`. If there are no pending messages, `false` is - /// returned. This function should be called in a loop until all messages have - /// been consumed, like so: - /// - /// ::firebase::messaging::Message message; - /// while (listener.PollMessage(&message)) { - /// LogMessage("Received a new message"); - /// } - /// - /// @param[out] message The `Message` struct to be populated. If there were no - /// pending messages, `message` is not modified. - /// - /// @return Returns `true` if there was a pending message, `false` otherwise. - bool PollMessage(Message* message); - - /// @brief Returns the registration key, if a new one has been received. - /// - /// When a new registration token is received, it is cached internally and can - /// be retrieved by calling `PollRegistrationToken`. The cached registration - /// token will be used to populate the `token` argument, then the cache will - /// be cleared and the function will return `true`. If there is no cached - /// registration token this function retuns `false`. - /// - /// std::string token; - /// if (listener.PollRegistrationToken(&token)) { - /// LogMessage("Received a registration token"); - /// } - /// - /// @param[out] token A string to be populated with the new token if one has - /// been received. If there were no new token, the string is left unmodified. - /// - /// @return Returns `true` if there was a new token, `false` otherwise. - bool PollRegistrationToken(std::string* token) { - bool got_token; - std::string token_received = PollRegistrationToken(&got_token); - if (got_token) { - *token = token_received; - } - return got_token; - } - - private: - std::string PollRegistrationToken(bool* got_token); - - // The implementation of the `PollableListener`. - PollableListenerImpl* impl_; -}; - -} // namespace messaging -} // namespace firebase - -#endif // FIREBASE_MESSAGING_SRC_INCLUDE_FIREBASE_MESSAGING_H_ diff --git a/vendors/firebase/include/firebase/remote_config.h b/vendors/firebase/include/firebase/remote_config.h deleted file mode 100644 index a2bd41775..000000000 --- a/vendors/firebase/include/firebase/remote_config.h +++ /dev/null @@ -1,526 +0,0 @@ -// Copyright 2016 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -#ifndef FIREBASE_REMOTE_CONFIG_SRC_INCLUDE_FIREBASE_REMOTE_CONFIG_H_ -#define FIREBASE_REMOTE_CONFIG_SRC_INCLUDE_FIREBASE_REMOTE_CONFIG_H_ - -#include -#include -#include - -#include "firebase/app.h" -#include "firebase/future.h" -#include "firebase/internal/common.h" -#include "firebase/internal/platform.h" -#ifndef SWIG -#include "firebase/variant.h" -#endif // SWIG - -#if !defined(DOXYGEN) && !defined(SWIG) -FIREBASE_APP_REGISTER_CALLBACKS_REFERENCE(remote_config) -#endif // !defined(DOXYGEN) && !defined(SWIG) - -/// @brief Namespace that encompasses all Firebase APIs. -namespace firebase { - -#ifndef SWIG -/// @brief Firebase Remote Config API. -/// -/// Firebase Remote Config is a cloud service that lets you change the -/// appearance and behavior of your app without requiring users to download an -/// app update. -#endif // SWIG -namespace remote_config { - -/// @brief Describes the most recent fetch request status. -enum LastFetchStatus { - /// The most recent fetch was a success, and its data is ready to be - /// applied, if you have not already done so. - kLastFetchStatusSuccess, - /// The most recent fetch request failed. - kLastFetchStatusFailure, - /// The most recent fetch is still in progress. - kLastFetchStatusPending, -}; - -/// @brief Describes the most recent fetch failure. -enum FetchFailureReason { - /// The fetch has not yet failed. - kFetchFailureReasonInvalid, - /// The most recent fetch failed because it was throttled by the server. - /// (You are sending too many fetch requests in too short a time.) - kFetchFailureReasonThrottled, - /// The most recent fetch failed for an unknown reason. - kFetchFailureReasonError, -}; - -/// @brief Describes the state of the most recent Fetch() call. -/// Normally returned as a result of the GetInfo() function. -struct ConfigInfo { - /// @brief The time (in milliseconds since the epoch) that the last fetch - /// operation completed. - uint64_t fetch_time; - - /// @brief The status of the last fetch request. - LastFetchStatus last_fetch_status; - - /// @brief The reason the most recent fetch failed. - FetchFailureReason last_fetch_failure_reason; - - /// @brief The time (in milliseconds since the epoch) when the refreshing of - /// Remote Config data is throttled. - uint64_t throttled_end_time; -}; - -/// @brief Describes the source a config value was retrieved from. -enum ValueSource { - /// The value was not specified and no default was specified, so a static - /// value (0 for numeric values, an empty string for strings) was returned. - kValueSourceStaticValue, - /// The value was found in the remote data store, and returned. - kValueSourceRemoteValue, - /// The value was not specified, so the specified default value was - /// returned instead. - kValueSourceDefaultValue, -}; - -/// @brief Describes a retrieved value. -struct ValueInfo { - /// Where the config value was retrieved from (Default Config or Active - /// Config). - ValueSource source; - /// If true this indicates conversion to the requested type - /// succeeded, otherwise conversion failed so the static value for the - /// requested type was retrieved instead. - bool conversion_successful; -}; - -/// @brief Keys of API settings. -/// -/// @see SetConfigSetting -/// @see GetConfigSetting -enum ConfigSetting { - /// Set the value associated with this key to "1" to enable developer mode - /// (i.e disable throttling) and "0" to disable. - kConfigSettingDeveloperMode, -}; - -/// @brief The default cache expiration used by Fetch(), equal to 12 hours, -/// in milliseconds. -static const uint64_t kDefaultCacheExpiration = 60 * 60 * 12 * 1000; - -/// @brief The default timeout used by Fetch(), equal to 30 seconds, -/// in milliseconds. -static const uint64_t kDefaultTimeoutInMilliseconds = 30 * 1000; - -/// @brief Describes a mapping of a key to a string value. Used to set default -/// values. -struct ConfigKeyValue { - /// The lookup key string. -#ifndef SWIG - /// - /// @note Ensure this string stays valid for the duration of the - /// call to SetDefaults. -#endif // SWIG - const char* key; - /// The value string to be stored. -#ifndef SWIG - /// - /// @note Ensure this string stays valid for the duration of the - /// call to SetDefaults. -#endif // SWIG - const char* value; -}; - -#ifndef SWIG -/// @brief Describes a mapping of a key to a value of any type. Used to set -/// default values. -struct ConfigKeyValueVariant { - /// The lookup key string. - /// - /// @note Ensure this string stays valid for the duration of the - /// call to SetDefaults. - const char* key; - /// The value to be stored. The type of the Variant determines the type of - /// default data for the given key. - /// - /// @note If you use a Variant of type StaticString, ensure it stays - /// valid for the duration of the call to SetDefaults. - Variant value; -}; -#endif // SWIG - -/// @brief Configurations for Remote Config behavior. -struct ConfigSettings { - /// The timeout specifies how long the client should wait for a connection to - /// the Firebase Remote Config servers. - /// - /// @note A fetch call will fail if it takes longer than the specified timeout - /// to connect to the Remote Config servers. Default is 60 seconds. - uint64_t fetch_timeout_in_milliseconds = kDefaultTimeoutInMilliseconds; - - /// The minimum interval between successive fetch calls. - /// - /// @note Fetches less than duration seconds after the last fetch from the - /// Firebase Remote Config server would use values returned during the last - /// fetch. Default is 12 hours. - uint64_t minimum_fetch_interval_in_milliseconds = kDefaultCacheExpiration; -}; - -namespace internal { -class RemoteConfigInternal; -} // namespace internal - -#ifndef SWIG -/// @brief Entry point for the Firebase C++ SDK for Remote Config. -/// -/// To use the SDK, call firebase::remote_config::RemoteConfig::GetInstance() to -/// obtain an instance of RemoteConfig, then call operations on that instance. -/// The instance contains the complete set of FRC parameter values available to -/// your app. The instance also stores values fetched from the FRC Server until -/// they are made available for use with a call to @ref Activate(). -#endif // SWIG -class RemoteConfig { - public: - ~RemoteConfig(); - - /// @brief Returns a Future that contains ConfigInfo representing the - /// initialization status of this Firebase Remote Config instance. - /// Use this method to ensure Set/Get call not being blocked. - Future EnsureInitialized(); - - /// @brief Get the (possibly still pending) results of the most recent - /// EnsureInitialized() call. - /// - /// @return The future result from the last call to EnsureInitialized(). - Future EnsureInitializedLastResult(); - - /// Asynchronously activates the most recently fetched configs, so that the - /// fetched key value pairs take effect. - /// - /// @return A Future that contains true if fetched configs were - /// activated. The future will contain false if the configs were already - /// activated. - Future Activate(); - - /// @brief Get the (possibly still pending) results of the most recent - /// Activate() call. - /// - /// @return The future result from the last call to Activate(). - Future ActivateLastResult(); - - /// Asynchronously fetches and then activates the fetched configs. - /// - /// If the time elapsed since the last fetch from the Firebase Remote Config - /// backend is more than the default minimum fetch interval, configs are - /// fetched from the backend. - /// - /// After the fetch is complete, the configs are activated so that the fetched - /// key value pairs take effect. - /// - /// @return A Future that contains true if the current call - /// activated the fetched configs; if no configs were fetched from the backend - /// and the local fetched configs have already been activated, the future will - /// contain false. - Future FetchAndActivate(); - - /// @brief Get the (possibly still pending) results of the most recent - /// FetchAndActivate() call. - /// - /// @return The future result from the last call to FetchAndActivate(). - Future FetchAndActivateLastResult(); - - /// @brief Fetches config data from the server. - /// - /// @note This does not actually apply the data or make it accessible, - /// it merely retrieves it and caches it. To accept and access the newly - /// retrieved values, you must call @ref Activate(). - /// - /// Note that this function is asynchronous, and will normally take an - /// unspecified amount of time before completion. - /// - /// @return A Future which can be used to determine when the fetch is - /// complete. - Future Fetch(); - - /// @brief Fetches config data from the server. - /// - /// @note This does not actually apply the data or make it accessible, - /// it merely retrieves it and caches it. To accept and access the newly - /// retrieved values, you must call @ref Activate(). - /// Note that this function is asynchronous, and will normally take an - /// unspecified amount of time before completion. - /// - /// @param[in] cache_expiration_in_seconds The number of seconds to keep - /// previously fetch data available. If cached data is available that is - /// newer than cache_expiration_in_seconds, then the function returns - /// immediately and does not fetch any data. A cache_expiration_in_seconds of - /// zero will always cause a fetch. - /// - /// @return A Future which can be used to determine when the fetch is - /// complete. - Future Fetch(uint64_t cache_expiration_in_seconds); - - /// @brief Get the (possibly still pending) results of the most recent Fetch() - /// call. - /// - /// @return The future result from the last call to Fetch(). - Future FetchLastResult(); - -#if defined(__ANDROID__) - /// @brief Sets the default values, using an XML resource. - /// - /// @note This method is specific to the Android implementation. - /// - /// This completely overwrites all previous default values. - /// - /// @param[in] defaults_resource_id Id for the XML resource, which should be - /// in your applications res/xml folder. - /// - /// @return a Future which can be used to determine when the operation is - /// complete. - Future SetDefaults(int defaults_resource_id); -#endif // __ANDROID__ - -#ifndef SWIG - /// @brief Sets the default values based on a mapping of string to Variant. - /// This allows you to specify defaults of type other than string. - /// - /// The type of each Variant in the map determines the type of data for which - /// you are providing a default. For example, boolean values can be retrieved - /// with GetBool(), integer values can be retrieved with GetLong(), double - /// values can be retrieved with GetDouble(), string values can be retrieved - /// with GetString(), and binary data can be retrieved with GetData(). - /// Aggregate Variant types are not allowed. - /// - /// @see firebase::Variant for more information on how to create a Variant of - /// each type. - /// - /// @note This completely overrides all previous values. - /// - /// @param defaults Array of ConfigKeyValueVariant, representing the new set - /// of defaults to apply. If the same key is specified multiple times, the - /// value associated with the last duplicate key is applied. - /// @param number_of_defaults Number of elements in the defaults array. - /// - /// @return a Future which can be used to determine when the operation is - /// complete. - Future SetDefaults(const ConfigKeyValueVariant* defaults, - size_t number_of_defaults); -#endif // SWIG - - /// @brief Sets the default values based on a string map. - /// - /// @note This completely overrides all previous values. - /// - /// @param defaults Array of ConfigKeyValue, representing the new set of - /// defaults to apply. If the same key is specified multiple times, the - /// value associated with the last duplicate key is applied. - /// @param number_of_defaults Number of elements in the defaults array. - /// - /// @return a Future which can be used to determine when the operation is - /// complete. - Future SetDefaults(const ConfigKeyValue* defaults, - size_t number_of_defaults); - - /// @brief Get the (possibly still pending) results of the most recent - /// SetDefaults() call. - /// - /// @return The future result from the last call to SetDefaults(). - Future SetDefaultsLastResult(); - - /// @brief Asynchronously changes the settings for this Remote Config - /// instance. - /// - /// @param settings The new settings to be applied. - /// - /// @return a Future which can be used to determine when the operation is - /// complete. - Future SetConfigSettings(ConfigSettings settings); - - /// @brief Gets the current settings of the RemoteConfig object. - /// - /// @return A ConfigSettings struct. - ConfigSettings GetConfigSettings(); - - /// @brief Get the (possibly still pending) results of the most recent - /// SetConfigSettings() call. - /// - /// @return The future result from the last call to SetConfigSettings(). - Future SetConfigSettingsLastResult(); - - /// @brief Returns the value associated with a key, converted to a bool. - /// - /// Values of "1", "true", "t", "yes", "y" and "on" are interpreted (case - /// insensitive) as true and "0", "false", "f", "no", "n", "off", - /// and empty strings are interpreted (case insensitive) as - /// false. - /// - /// @param[in] key Key of the value to be retrieved. - /// - /// @return Value associated with the specified key converted to a boolean - /// value. - bool GetBoolean(const char* key); - - /// @brief Returns the value associated with a key, converted to a bool. - /// - /// Values of "1", "true", "t", "yes", "y" and "on" are interpreted (case - /// insensitive) as true and "0", "false", "f", "no", "n", "off", - /// and empty strings are interpreted (case insensitive) as - /// false. - /// - /// @param[in] key Key of the value to be retrieved. - /// @param[out] info A return value, specifying the source of the returned - /// value. - /// - /// @return Value associated with the specified key converted to a boolean - /// value. - bool GetBoolean(const char* key, ValueInfo* info); - - /// @brief Returns the value associated with a key, converted to a 64-bit - /// integer. - /// - /// @param[in] key Key of the value to be retrieved. - /// - /// @return Value associated with the specified key converted to a 64-bit - /// integer. - int64_t GetLong(const char* key); - - /// @brief Returns the value associated with a key, converted to a 64-bit - /// integer. - /// - /// @param[in] key Key of the value to be retrieved. - /// @param[out] info A return value, specifying the source of the returned - /// value. - /// - /// @return Value associated with the specified key converted to a 64-bit - /// integer. - int64_t GetLong(const char* key, ValueInfo* info); - - /// @brief Returns the value associated with a key, converted to a double. - /// - /// @param[in] key Key of the value to be retrieved. - /// - /// @return Value associated with the specified key converted to a double. - double GetDouble(const char* key); - - /// @brief Returns the value associated with a key, converted to a double. - /// - /// @param[in] key Key of the value to be retrieved. - /// @param[out] info A return value, specifying the source of the returned - /// value. - /// - /// @return Value associated with the specified key converted to a double. - double GetDouble(const char* key, ValueInfo* info); - - /// @brief Returns the value associated with a key, converted to a string. - /// - /// @param[in] key Key of the value to be retrieved. - /// - /// @return Value as a string associated with the specified key. - std::string GetString(const char* key); - - /// @brief Returns the value associated with a key, converted to a string. - /// - /// @param[in] key Key of the value to be retrieved. - /// @param[out] info A return value, specifying the source of the returned - /// value. - /// - /// @return Value as a string associated with the specified key. - std::string GetString(const char* key, ValueInfo* info); - - /// @brief Returns the value associated with a key, as a vector of raw - /// byte-data. - /// - /// @param[in] key Key of the value to be retrieved. - /// - /// @return Vector of bytes. - std::vector GetData(const char* key); - - /// @brief Returns the value associated with a key, as a vector of raw - /// byte-data. - /// - /// @param[in] key Key of the value to be retrieved. - /// @param[out] info A return value, specifying the source of the returned - /// value. - /// - /// @return Vector of bytes. - std::vector GetData(const char* key, ValueInfo* info); - - /// @brief Gets the set of keys that start with the given prefix. - /// - /// @param[in] prefix The key prefix to look for. If empty or null, this - /// method will return all keys. - /// - /// @return Set of Remote Config parameter keys that start with the specified - /// prefix. Will return an empty set if there are no keys with the given - /// prefix. - std::vector GetKeysByPrefix(const char* prefix); - - /// @brief Gets the set of all keys. - /// - /// @return Set of all Remote Config parameter keys. - std::vector GetKeys(); - - /// @brief Returns a Map of Firebase Remote Config key value pairs. - /// - /// Evaluates the values of the parameters in the following order: - /// The activated value, if the last successful @ref Activate() contained the - /// key. The default value, if the key was set with @ref SetDefaults(). - std::map GetAll(); - - /// @brief Returns information about the last fetch request, in the form - /// of a ConfigInfo struct. - /// - /// @return A ConfigInfo struct, containing fields reflecting the state - /// of the most recent fetch request. - const ConfigInfo GetInfo(); - - /// Gets the App this remote config object is connected to. - App* app() { return app_; } - - /// Returns the RemoteConfig object for an App. Creates the RemoteConfig if - /// required. - /// - /// To get the RemoteConfig object for the default app, use, - /// GetInstance(GetDefaultFirebaseApp()); - /// - /// If the library RemoteConfig fails to initialize, init_result_out will be - /// written with the result status (if a pointer is given). - /// - /// @param[in] app The App to use for the RemoteConfig object. - static RemoteConfig* GetInstance(App* app); - - private: - explicit RemoteConfig(App* app); - - // Find RemoteConfig instance using App. Return null if the instance does not - // exist. - static RemoteConfig* FindRemoteConfig(App* app); - - // Clean up RemoteConfig instance. - void DeleteInternal(); - - /// The Firebase App this remote config is connected to. - App* app_; - - bool InitInternal(); - - internal::RemoteConfigInternal* internal_; -}; - -} // namespace remote_config -} // namespace firebase - -#endif // FIREBASE_REMOTE_CONFIG_SRC_INCLUDE_FIREBASE_REMOTE_CONFIG_H_ diff --git a/vendors/firebase/include/firebase/storage.h b/vendors/firebase/include/firebase/storage.h deleted file mode 100644 index 8d081e4c0..000000000 --- a/vendors/firebase/include/firebase/storage.h +++ /dev/null @@ -1,161 +0,0 @@ -// Copyright 2016 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -#ifndef FIREBASE_STORAGE_SRC_INCLUDE_FIREBASE_STORAGE_H_ -#define FIREBASE_STORAGE_SRC_INCLUDE_FIREBASE_STORAGE_H_ - -#include - -#include "firebase/app.h" -#include "firebase/internal/common.h" -#include "firebase/storage/common.h" -#include "firebase/storage/controller.h" -#include "firebase/storage/listener.h" -#include "firebase/storage/metadata.h" -#include "firebase/storage/storage_reference.h" - -#if !defined(DOXYGEN) -#ifndef SWIG -FIREBASE_APP_REGISTER_CALLBACKS_REFERENCE(storage) -#endif // SWIG -#endif // !defined(DOXYGEN) - -namespace firebase { - -/// Namespace for the Firebase C++ SDK for Cloud Storage. -namespace storage { - -namespace internal { -class StorageInternal; -class MetadataInternal; -} // namespace internal - -class StorageReference; - -#ifndef SWIG -/// @brief Entry point for the Firebase C++ SDK for Cloud Storage. -/// -/// To use the SDK, call firebase::storage::Storage::GetInstance() to -/// obtain an instance of Storage, then use GetReference() to obtain references -/// to child blobs. From there you can upload data with -/// StorageReference::PutStream(), get data via StorageReference::GetStream(). -#endif // SWIG -class Storage { - public: - /// @brief Destructor. You may delete an instance of Storage when - /// you are finished using it, to shut down the Storage library. - ~Storage(); - - /// @brief Get an instance of Storage corresponding to the given App. - /// - /// Cloud Storage uses firebase::App to communicate with Firebase - /// Authentication to authenticate users to the server backend. - /// - /// @param[in] app An instance of firebase::App. Cloud Storage will use - /// this to communicate with Firebase Authentication. - /// @param[out] init_result_out Optional: If provided, write the init result - /// here. Will be set to kInitResultSuccess if initialization succeeded, or - /// kInitResultFailedMissingDependency on Android if Google Play services is - /// not available on the current device. - /// - /// @returns An instance of Storage corresponding to the given App. - static Storage* GetInstance(::firebase::App* app, - InitResult* init_result_out = nullptr); - - /// @brief Get an instance of Storage corresponding to the given App, - /// with the given Cloud Storage URL. - /// - /// Cloud Storage uses firebase::App to communicate with Firebase - /// Authentication to authenticate users to the server backend. - /// - /// @param[in] app An instance of firebase::App. Cloud Storage will use - /// this to communicate with Firebase Authentication. - /// @param[in] url Cloud Storage URL. - /// @param[out] init_result_out Optional: If provided, write the init result - /// here. Will be set to kInitResultSuccess if initialization succeeded, or - /// kInitResultFailedMissingDependency on Android if Google Play services is - /// not available on the current device. - /// - /// @returns An instance of Storage corresponding to the given App. - static Storage* GetInstance(::firebase::App* app, const char* url, - InitResult* init_result_out = nullptr); - - /// @brief Get the firease::App that this Storage was created with. - /// - /// @returns The firebase::App this Storage was created with. - ::firebase::App* app(); - - /// @brief Get the URL that this Storage was created with. - /// - /// @returns The URL this Storage was created with, or an empty - /// string if this Storage was created with default parameters. - std::string url(); - - /// @brief Get a StorageReference to the root of the database. - StorageReference GetReference() const; - - /// @brief Get a StorageReference for the specified path. - StorageReference GetReference(const char* path) const; - /// @brief Get a StorageReference for the specified path. - StorageReference GetReference(const std::string& path) const { - return GetReference(path.c_str()); - } - - /// @brief Get a StorageReference for the provided URL. - StorageReference GetReferenceFromUrl(const char* url) const; - /// @brief Get a StorageReference for the provided URL. - StorageReference GetReferenceFromUrl(const std::string& url) const { - return GetReferenceFromUrl(url.c_str()); - } - - /// @brief Returns the maximum time in seconds to retry a download if a - /// failure occurs. - double max_download_retry_time(); - /// @brief Sets the maximum time to retry a download if a failure occurs. - /// Defaults to 600 seconds (10 minutes). - void set_max_download_retry_time(double max_transfer_retry_seconds); - - /// @brief Returns the maximum time to retry an upload if a failure occurs. - double max_upload_retry_time(); - /// @brief Sets the maximum time to retry an upload if a failure occurs. - /// Defaults to 600 seconds (10 minutes). - void set_max_upload_retry_time(double max_transfer_retry_seconds); - - /// @brief Returns the maximum time to retry operations other than upload - /// and download if a failure occurs. - double max_operation_retry_time(); - /// @brief Sets the maximum time to retry operations other than upload and - /// download if a failure occurs. Defaults to 120 seconds (2 minutes). - void set_max_operation_retry_time(double max_transfer_retry_seconds); - - private: - /// @cond FIREBASE_APP_INTERNAL - friend class Metadata; - friend class internal::MetadataInternal; - - Storage(::firebase::App* app, const char* url); - Storage(const Storage& src); - Storage& operator=(const Storage& src); - - // Destroy the internal_ object. - void DeleteInternal(); - - internal::StorageInternal* internal_; - /// @endcond -}; - -} // namespace storage -} // namespace firebase - -#endif // FIREBASE_STORAGE_SRC_INCLUDE_FIREBASE_STORAGE_H_ diff --git a/vendors/firebase/include/firebase/storage/common.h b/vendors/firebase/include/firebase/storage/common.h deleted file mode 100644 index 567ed7149..000000000 --- a/vendors/firebase/include/firebase/storage/common.h +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2016 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -#ifndef FIREBASE_STORAGE_SRC_INCLUDE_FIREBASE_STORAGE_COMMON_H_ -#define FIREBASE_STORAGE_SRC_INCLUDE_FIREBASE_STORAGE_COMMON_H_ - -namespace firebase { -namespace storage { - -/// Error code returned by Cloud Storage C++ functions. -enum Error { - /// The operation was a success, no error occurred. - kErrorNone = 0, - /// An unknown error occurred. - kErrorUnknown, - /// No object exists at the desired reference. - kErrorObjectNotFound, - /// No bucket is configured for Cloud Storage. - kErrorBucketNotFound, - /// No project is configured for Cloud Storage. - kErrorProjectNotFound, - /// Quota on your Cloud Storage bucket has been exceeded. - kErrorQuotaExceeded, - /// User is unauthenticated. - kErrorUnauthenticated, - /// User is not authorized to perform the desired action. - kErrorUnauthorized, - /// The maximum time limit on an operation (upload, download, delete, etc.) - /// has been exceeded. - kErrorRetryLimitExceeded, - /// File on the client does not match the checksum of the file received by the - /// server. - kErrorNonMatchingChecksum, - /// Size of the downloaded file exceeds the amount of memory allocated for the - /// download. - kErrorDownloadSizeExceeded, - /// User cancelled the operation. - kErrorCancelled, -}; - -/// @brief Get the human-readable error message corresponding to an error code. -/// -/// @param[in] error Error code to get the error message for. -/// -/// @returns Statically-allocated string describing the error. -const char* GetErrorMessage(Error error); - -} // namespace storage -} // namespace firebase - -#endif // FIREBASE_STORAGE_SRC_INCLUDE_FIREBASE_STORAGE_COMMON_H_ diff --git a/vendors/firebase/include/firebase/storage/controller.h b/vendors/firebase/include/firebase/storage/controller.h deleted file mode 100644 index 42f29aa0c..000000000 --- a/vendors/firebase/include/firebase/storage/controller.h +++ /dev/null @@ -1,146 +0,0 @@ -// Copyright 2016 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -#ifndef FIREBASE_STORAGE_SRC_INCLUDE_FIREBASE_STORAGE_CONTROLLER_H_ -#define FIREBASE_STORAGE_SRC_INCLUDE_FIREBASE_STORAGE_CONTROLLER_H_ - -#include "firebase/storage/storage_reference.h" - -namespace firebase { -namespace storage { - -/// @cond FIREBASE_APP_INTERNAL -namespace internal { -class ControllerInternal; -class ListenerInternal; -class RestOperation; -} // namespace internal -/// @endcond - -/// @brief Controls an ongoing operation, allowing the caller to Pause, Resume -/// or Cancel an ongoing download or upload. -/// -/// An instance of Controller can be constructed and passed to -/// StorageReference::GetBytes(), StorageReference::GetFile(), -/// StorageReference::PutBytes(), or StorageReference::PutFile() to become -/// associated with it. Each Controller can only be associated with one -/// operation at a time. -/// -/// A Controller is also passed as an argument to Listener's callbacks. The -/// Controller passed to a StorageReference operation is not the same object -/// passed to Listener callbacks (though it refers to the same operation), so -/// there are no restrictions on the lifetime of the Controller the user creates -/// (but the Controller passed into a Listener callbacks should only be used -/// from within that callback). -/// -/// This class is currently not thread safe and can only be called on the main -/// thread. -class Controller { - public: - /// @brief Default constructor. - /// - /// You may construct your own Controller to pass into various - /// StorageReference operations. - Controller(); - - /// @brief Destructor. - ~Controller(); - - /// @brief Copy constructor. - /// - /// @param[in] other Controller to copy from. - Controller(const Controller& other); - - /// @brief Copy assignment operator. - /// - /// @param[in] other Controller to copy from. - /// - /// @returns Reference to the destination Controller. - Controller& operator=(const Controller& other); - -#if defined(FIREBASE_USE_MOVE_OPERATORS) || defined(DOXYGEN) - /// @brief Move constructor. Moving is an efficient operation for - /// Controller instances. - /// - /// @param[in] other Controller to move from. - Controller(Controller&& other); - - /// @brief Move assignment operator. Moving is an efficient operation for - /// Controller instances. - /// - /// @param[in] other Controller to move from. - /// - /// @returns Reference to the destination Controller. - Controller& operator=(Controller&& other); -#endif // defined(FIREBASE_USE_MOVE_OPERATORS) || defined(DOXYGEN) - - /// @brief Pauses the operation currently in progress. - /// - /// @returns True if the operation was successfully paused, false otherwise. - bool Pause(); - - /// @brief Resumes the operation that is paused. - /// - /// @returns True if the operation was successfully resumed, false otherwise. - bool Resume(); - - /// @brief Cancels the operation currently in progress. - /// - /// @returns True if the operation was successfully canceled, false otherwise. - bool Cancel(); - - /// @brief Returns true if the operation is paused. - bool is_paused() const; - - /// @brief Returns the number of bytes transferred so far. - /// - /// @returns The number of bytes transferred so far. - int64_t bytes_transferred() const; - - /// @brief Returns the total bytes to be transferred. - /// - /// @returns The total bytes to be transferred. This will return -1 if - /// the size of the transfer is unknown. - int64_t total_byte_count() const; - - /// @brief Returns the StorageReference associated with this Controller. - /// - /// @returns The StorageReference associated with this Controller. - StorageReference GetReference() const; - - /// @brief Returns true if this Controller is valid, false if it is not - /// valid. An invalid Controller is one that is not associated with an - /// operation. - /// - /// @returns true if this Controller is valid, false if this Controller is - /// invalid. - bool is_valid() const; - - private: - /// @cond FIREBASE_APP_INTERNAL - friend class internal::StorageReferenceInternal; - friend class internal::ControllerInternal; - friend class internal::ListenerInternal; - friend class internal::RestOperation; - - Controller(internal::ControllerInternal* internal); - - internal::ControllerInternal* internal_; - /// @endcond -}; - -} // namespace storage -} // namespace firebase - -#endif // FIREBASE_STORAGE_SRC_INCLUDE_FIREBASE_STORAGE_CONTROLLER_H_ diff --git a/vendors/firebase/include/firebase/storage/listener.h b/vendors/firebase/include/firebase/storage/listener.h deleted file mode 100644 index 8bd624f61..000000000 --- a/vendors/firebase/include/firebase/storage/listener.h +++ /dev/null @@ -1,74 +0,0 @@ -// Copyright 2016 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -#ifndef FIREBASE_STORAGE_SRC_INCLUDE_FIREBASE_STORAGE_LISTENER_H_ -#define FIREBASE_STORAGE_SRC_INCLUDE_FIREBASE_STORAGE_LISTENER_H_ - -#include "firebase/storage/controller.h" - -namespace firebase { -namespace storage { - -/// @cond FIREBASE_APP_INTERNAL -namespace internal { -class ListenerInternal; -class StorageInternal; -class StorageReferenceInternal; -class RestOperation; -} // namespace internal -/// @endcond - -/// @brief Base class used to receive pause and progress events on a running -/// read or write operation. -/// -/// Subclasses of this listener class can be used to receive events about data -/// transfer progress a location. Attach the listener to a location using -/// StorageReference::GetBytes(), StorageReference::GetFile(), -/// StorageReference::PutBytes(), and StorageReference::PutFile(); then -/// OnPaused() will be called whenever the Read or Write operation is paused, -/// and OnProgress() will be called periodically as the transfer makes progress. -class Listener { - public: - /// @brief Constructor. - Listener(); - - /// @brief Virtual destructor. - virtual ~Listener(); - - /// @brief The operation was paused. - /// - /// @param[in] controller A controller that can be used to check the status - /// and make changes to the ongoing operation. - virtual void OnPaused(Controller* controller) = 0; - - /// @brief There has been progress event. - /// - /// @param[in] controller A controller that can be used to check the status - /// and make changes to the ongoing operation. - virtual void OnProgress(Controller* controller) = 0; - - private: - /// @cond FIREBASE_APP_INTERNAL - friend class internal::StorageReferenceInternal; - friend class internal::RestOperation; - - // Platform specific data. - internal::ListenerInternal* impl_; - /// @endcond -}; - -} // namespace storage -} // namespace firebase - -#endif // FIREBASE_STORAGE_SRC_INCLUDE_FIREBASE_STORAGE_LISTENER_H_ diff --git a/vendors/firebase/include/firebase/storage/metadata.h b/vendors/firebase/include/firebase/storage/metadata.h deleted file mode 100644 index 8d697c107..000000000 --- a/vendors/firebase/include/firebase/storage/metadata.h +++ /dev/null @@ -1,276 +0,0 @@ -// Copyright 2016 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -#ifndef FIREBASE_STORAGE_SRC_INCLUDE_FIREBASE_STORAGE_METADATA_H_ -#define FIREBASE_STORAGE_SRC_INCLUDE_FIREBASE_STORAGE_METADATA_H_ - -#include -#include -#include -#include - -#include "firebase/internal/common.h" - -namespace firebase { -namespace storage { - -namespace internal { -class MetadataInternal; -class MetadataInternalCommon; -class StorageInternal; -class StorageReferenceInternal; -} // namespace internal - -class Storage; -class StorageReference; - -/// @brief Metadata stores default attributes such as size and content type. -/// -/// Metadata for a StorageReference. You may also store custom metadata key -/// value pairs. Metadata values may be used to authorize operations using -/// declarative validation rules. -class Metadata { - public: - /// @brief Create a default Metadata that you can modify and use. - Metadata(); - -#ifdef INTERNAL_EXPERIMENTAL - Metadata(internal::MetadataInternal* internal); -#endif - - /// @brief Copy constructor. - /// - /// @param[in] other Metadata to copy from. - Metadata(const Metadata& other); - - /// @brief Copy assignment operator. - /// - /// @param[in] other Metadata to copy from. - /// - /// @returns Reference to the destination Metadata. - Metadata& operator=(const Metadata& other); - -#if defined(FIREBASE_USE_MOVE_OPERATORS) || defined(DOXYGEN) - /// @brief Move constructor. Moving is an efficient operation for Metadata. - /// - /// @param[in] other Metadata to move from. - Metadata(Metadata&& other); - - /// @brief Move assignment operator. Moving is an efficient operation for - /// Metadata. - /// - /// @param[in] other Metadata to move from. - /// - /// @returns Reference to the destination Metadata. - Metadata& operator=(Metadata&& other); -#endif // defined(FIREBASE_USE_MOVE_OPERATORS) || defined(DOXYGEN) - - ~Metadata(); - - /// @brief Return the owning Google Cloud Storage bucket for the - /// StorageReference. - /// - /// @returns The owning Google Cloud Storage bucket for the StorageReference. - const char* bucket() const; - - /// @brief Set the Cache Control setting of the StorageReference. - /// - /// @see https://tools.ietf.org/html/rfc7234#section-5.2 - void set_cache_control(const char* cache_control); - - /// @brief Set the Cache Control setting of the StorageReference. - /// - /// @see https://tools.ietf.org/html/rfc7234#section-5.2 - void set_cache_control(const std::string& cache_control) { - set_cache_control(cache_control.c_str()); - } - - /// @brief Return the Cache Control setting of the StorageReference. - /// - /// @returns The Cache Control setting of the StorageReference. - /// - /// @see https://tools.ietf.org/html/rfc7234#section-5.2 - const char* cache_control() const; - - /// @brief Set the content disposition of the StorageReference. - /// - /// @see https://tools.ietf.org/html/rfc6266 - void set_content_disposition(const char* disposition); - - /// @brief Set the content disposition of the StorageReference. - /// - /// @see https://tools.ietf.org/html/rfc6266 - void set_content_disposition(const std::string& disposition) { - set_content_disposition(disposition.c_str()); - } - - /// @brief Return the content disposition of the StorageReference. - /// - /// @returns The content disposition of the StorageReference. - /// - /// @see https://tools.ietf.org/html/rfc6266 - const char* content_disposition() const; - - /// @brief Set the content encoding for the StorageReference. - /// - /// @see https://tools.ietf.org/html/rfc2616#section-14.11 - void set_content_encoding(const char* encoding); - - /// @brief Set the content encoding for the StorageReference. - /// - /// @see https://tools.ietf.org/html/rfc2616#section-14.11 - void set_content_encoding(const std::string& encoding) { - set_content_encoding(encoding.c_str()); - } - - /// @brief Return the content encoding for the StorageReference. - /// - /// @returns The content encoding for the StorageReference. - /// - /// @see https://tools.ietf.org/html/rfc2616#section-14.11 - const char* content_encoding() const; - - /// @brief Set the content language for the StorageReference. - /// - /// @see https://tools.ietf.org/html/rfc2616#section-14.12 - void set_content_language(const char* language); - - /// @brief Set the content language for the StorageReference. - /// - /// This must be an ISO 639-1 two-letter language code. - /// E.g. "zh", "es", "en". - /// - /// @see https://www.loc.gov/standards/iso639-2/php/code_list.php - void set_content_language(const std::string& language) { - set_content_language(language.c_str()); - } - - /// @brief Return the content language for the StorageReference. - /// - /// @returns The content language for the StorageReference. - /// - /// @see https://tools.ietf.org/html/rfc2616#section-14.12 - const char* content_language() const; - - /// @brief Set the content type of the StorageReference. - /// - /// @see https://tools.ietf.org/html/rfc2616#section-14.17 - void set_content_type(const char* type); - - /// @brief Set the content type of the StorageReference. - /// - /// @see https://tools.ietf.org/html/rfc2616#section-14.17 - void set_content_type(const std::string& type) { - set_content_type(type.c_str()); - } - - /// @brief Return the content type of the StorageReference. - /// - /// @returns The content type of the StorageReference. - /// - /// @see https://tools.ietf.org/html/rfc2616#section-14.17 - const char* content_type() const; - - /// @brief Return the time the StorageReference was created in milliseconds - /// since the epoch. - /// - /// @returns The time the StorageReference was created in milliseconds since - /// the epoch. - int64_t creation_time() const; - - /// @brief Return a map of custom metadata key value pairs. - /// - /// The pointer returned is only valid during the lifetime of the Metadata - /// object that owns it. - /// - /// @returns The keys for custom metadata. - std::map* custom_metadata() const; - - // download_url() and download_urls() are deprecated and removed. - // Please use StorageReference::GetDownloadUrl() instead. - - /// @brief Return a version String indicating what version of the - /// StorageReference. - /// - /// @returns A value indicating the version of the StorageReference. - int64_t generation() const; - - /// @brief Return a version String indicating the version of this - /// StorageMetadata. - /// - /// @returns A value indicating the version of this StorageMetadata. - int64_t metadata_generation() const; - - /// @brief Return a simple name of the StorageReference object. - /// - /// @returns A simple name of the StorageReference object. - const char* name() const; - - /// @brief Return the path of the StorageReference object. - /// - /// @returns The path of the StorageReference object. - const char* path() const; - - /// @brief Return the associated StorageReference to which this Metadata - /// belongs. - /// - /// @returns The associated StorageReference to which this Metadata belongs. - /// If this Metadata is invalid or is not associated with any file, an invalid - /// StorageReference is returned. - StorageReference GetReference() const; - - /// @brief Return the stored Size in bytes of the StorageReference object. - /// - /// @returns The stored Size in bytes of the StorageReference object. - int64_t size_bytes() const; - - /// @brief Return the time the StorageReference was last updated in - /// milliseconds since the epoch. - /// - /// @return The time the StorageReference was last updated in milliseconds - /// since the epoch. - int64_t updated_time() const; - - /// @brief Returns true if this Metadata is valid, false if it is not - /// valid. An invalid Metadata is returned when a method such as - /// StorageReference::GetMetadata() completes with an error. - /// - /// @returns true if this Metadata is valid, false if this Metadata is - /// invalid. - bool is_valid() const; - - /// @brief MD5 hash of the data; encoded using base64. - /// - /// @returns MD5 hash of the data; encoded using base64. - const char* md5_hash() const; - - private: - /// @cond FIREBASE_APP_INTERNAL - friend class StorageReference; - friend class internal::MetadataInternal; - friend class internal::MetadataInternalCommon; - friend class internal::StorageReferenceInternal; - -#ifndef INTERNAL_EXPERIMENTAL - Metadata(internal::MetadataInternal* internal); -#endif - - internal::MetadataInternal* internal_; - /// @endcond -}; - -} // namespace storage -} // namespace firebase - -#endif // FIREBASE_STORAGE_SRC_INCLUDE_FIREBASE_STORAGE_METADATA_H_ diff --git a/vendors/firebase/include/firebase/storage/storage_reference.h b/vendors/firebase/include/firebase/storage/storage_reference.h deleted file mode 100644 index e5c7c2f85..000000000 --- a/vendors/firebase/include/firebase/storage/storage_reference.h +++ /dev/null @@ -1,361 +0,0 @@ -// Copyright 2016 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -#ifndef FIREBASE_STORAGE_SRC_INCLUDE_FIREBASE_STORAGE_STORAGE_REFERENCE_H_ -#define FIREBASE_STORAGE_SRC_INCLUDE_FIREBASE_STORAGE_STORAGE_REFERENCE_H_ - -#include -#include - -#include "firebase/future.h" -#include "firebase/internal/common.h" -#include "firebase/storage/metadata.h" - -namespace firebase { -namespace storage { - -class Controller; -class Listener; -class Storage; - -/// @cond FIREBASE_APP_INTERNAL -namespace internal { -class ControllerInternal; -class MetadataInternal; -class StorageInternal; -class StorageReferenceInternalCommon; -class StorageReferenceInternal; -} // namespace internal -/// @endcond FIREBASE_APP_INTERNAL - -#ifndef SWIG -/// Represents a reference to a Cloud Storage object. -/// Developers can upload and download objects, get/set object metadata, and -/// delete an object at a specified path. -#endif // SWIG -class StorageReference { - public: - /// @brief Default constructor. This creates an invalid StorageReference. - /// Attempting to perform any operations on this reference will fail unless a - /// valid StorageReference has been assigned to it. - StorageReference() : internal_(nullptr) {} - - ~StorageReference(); - - /// @brief Copy constructor. It's totally okay (and efficient) to copy - /// StorageReference instances, as they simply point to the same location. - /// - /// @param[in] reference StorageReference to copy from. - StorageReference(const StorageReference& reference); - - /// @brief Copy assignment operator. It's totally okay (and efficient) to copy - /// StorageReference instances, as they simply point to the same location. - /// - /// @param[in] reference StorageReference to copy from. - /// - /// @returns Reference to the destination StorageReference. - StorageReference& operator=(const StorageReference& reference); - -#if defined(FIREBASE_USE_MOVE_OPERATORS) || defined(DOXYGEN) - /// @brief Move constructor. Moving is an efficient operation for - /// StorageReference instances. - /// - /// @param[in] other StorageReference to move data from. - StorageReference(StorageReference&& other); - - /// @brief Move assignment operator. Moving is an efficient operation for - /// StorageReference instances. - /// - /// @param[in] other StorageReference to move data from. - /// - /// @returns Reference to the destination StorageReference. - StorageReference& operator=(StorageReference&& other); -#endif // defined(FIREBASE_USE_MOVE_OPERATORS) || defined(DOXYGEN) - - /// @brief Gets the firebase::storage::Storage instance to which we refer. - /// - /// The pointer will remain valid indefinitely. - /// - /// @returns The firebase::storage::Storage instance that this - /// StorageReference refers to. - Storage* storage(); - - /// @brief Gets a reference to a location relative to this one. - /// - /// @param[in] path Path relative to this reference's location. - /// The pointer only needs to be valid during this call. - /// - /// @returns Child relative to this location. - StorageReference Child(const char* path) const; - - /// @brief Gets a reference to a location relative to this one. - /// - /// @param[in] path Path relative to this reference's location. - /// - /// @returns Child relative to this location. - StorageReference Child(const std::string& path) const { - return Child(path.c_str()); - } - - /// @brief Deletes the object at the current path. - /// - /// @returns A Future result, which will complete when the operation either - /// succeeds or fails. When the Future is completed, if its Error is - /// kErrorNone, the operation succeeded. - Future Delete(); - - /// @brief Returns the result of the most recent call to RemoveValue(); - /// - /// @returns The result of the most recent call to RemoveValue(); - Future DeleteLastResult(); - - /// @brief Return the Google Cloud Storage bucket that holds this object. - /// - /// @returns The bucket. - std::string bucket(); - - /// @brief Return the full path of the storage reference, not including - /// the Google Cloud Storage bucket. - /// - /// @returns Full path to the storage reference, not including GCS bucket. - /// For example, for the reference "gs://bucket/path/to/object.txt", the full - /// path would be "path/to/object.txt". - std::string full_path(); - - /// @brief Asynchronously downloads the object from this StorageReference. - /// - /// A byte array will be allocated large enough to hold the entire file in - /// memory. Therefore, using this method will impact memory usage of your - /// process. - /// - /// @param[in] path Path to local file on device to download into. - /// @param[in] listener A listener that will respond to events on this read - /// operation. If not nullptr, a listener that will respond to events on this - /// read operation. The caller is responsible for allocating and deallocating - /// the listener. The same listener can be used for multiple operations. - /// @param[out] controller_out Controls the write operation, providing the - /// ability to pause, resume or cancel an ongoing write operation. If not - /// nullptr, this method will output a Controller here that you can use to - /// control the write operation. - /// - /// @returns A future that returns the number of bytes read. - Future GetFile(const char* path, Listener* listener = nullptr, - Controller* controller_out = nullptr); - - /// @brief Returns the result of the most recent call to GetFile(); - /// - /// @returns The result of the most recent call to GetFile(); - Future GetFileLastResult(); - - /// @brief Asynchronously downloads the object from this StorageReference. - /// - /// A byte array will be allocated large enough to hold the entire file in - /// memory. Therefore, using this method will impact memory usage of your - /// process. - /// - /// @param[in] buffer A byte buffer to read the data into. This buffer must - /// be valid for the duration of the transfer. - /// @param[in] buffer_size The size of the byte buffer. - /// @param[in] listener A listener that will respond to events on this read - /// operation. If not nullptr, a listener that will respond to events on this - /// read operation. The caller is responsible for allocating and deallocating - /// the listener. The same listener can be used for multiple operations. - /// @param[out] controller_out Controls the write operation, providing the - /// ability to pause, resume or cancel an ongoing write operation. If not - /// nullptr, this method will output a Controller here that you can use to - /// control the write operation. - /// - /// @returns A future that returns the number of bytes read. - Future GetBytes(void* buffer, size_t buffer_size, - Listener* listener = nullptr, - Controller* controller_out = nullptr); - - /// @brief Returns the result of the most recent call to GetBytes(); - /// - /// @returns The result of the most recent call to GetBytes(); - Future GetBytesLastResult(); - - /// @brief Asynchronously retrieves a long lived download URL with a revokable - /// token. - /// - /// This can be used to share the file with others, but can be revoked by a - /// developer in the Firebase Console if desired. - /// - /// @returns A Future result, which will complete when the operation either - /// succeeds or fails. When the Future is completed, if its Error is - /// kErrorNone, the operation succeeded and the URL is returned. - Future GetDownloadUrl(); - - /// @brief Returns the result of the most recent call to GetDownloadUrl(); - /// - /// @returns The result of the most recent call to GetDownloadUrl(); - Future GetDownloadUrlLastResult(); - - /// @brief Retrieves metadata associated with an object at this - /// StorageReference. - /// - /// @returns A Future result, which will complete when the operation either - /// succeeds or fails. When the Future is completed, if its Error is - /// kErrorNone, the operation succeeded and the Metadata is returned. - Future GetMetadata(); - - /// @brief Returns the result of the most recent call to GetMetadata(); - /// - /// @returns The result of the most recent call to GetMetadata(); - Future GetMetadataLastResult(); - - /// @brief Updates the metadata associated with this StorageReference. - /// - /// @returns A Future result, which will complete when the operation either - /// succeeds or fails. When the Future is completed, if its Error is - /// kErrorNone, the operation succeeded and the Metadata is returned. - Future UpdateMetadata(const Metadata& metadata); - - /// @brief Returns the result of the most recent call to UpdateMetadata(); - /// - /// @returns The result of the most recent call to UpdateMetadata(); - Future UpdateMetadataLastResult(); - - /// @brief Returns the short name of this object. - /// - /// @returns the short name of this object. - std::string name(); - - /// @brief Returns a new instance of StorageReference pointing to the parent - /// location or null if this instance references the root location. - /// - /// @returns The parent StorageReference. - StorageReference GetParent(); - - /// @brief Asynchronously uploads data to the currently specified - /// StorageReference, without additional metadata. - /// - /// @param[in] buffer A byte buffer to write data from. This buffer must be - /// valid for the duration of the transfer. - /// @param[in] buffer_size The size of the byte buffer. - /// @param[in] listener A listener that will respond to events on this read - /// operation. If not nullptr, a listener that will respond to events on this - /// write operation. The caller is responsible for allocating and deallocating - /// the listener. The same listener can be used for multiple operations. - /// @param[out] controller_out Controls the write operation, providing the - /// ability to pause, resume or cancel an ongoing write operation. If not - /// nullptr, this method will output a Controller here that you can use to - /// control the write operation. - /// - /// @returns A future that returns the Metadata. - Future PutBytes(const void* buffer, size_t buffer_size, - Listener* listener = nullptr, - Controller* controller_out = nullptr); - - /// @brief Asynchronously uploads data to the currently specified - /// StorageReference, without additional metadata. - /// - /// @param[in] buffer A byte buffer to write data from. This buffer must be - /// valid for the duration of the transfer. - /// @param[in] buffer_size The number of bytes to write. - /// @param[in] metadata Metadata containing additional information (MIME type, - /// etc.) about the object being uploaded. - /// @param[in] listener A listener that will respond to events on this read - /// operation. If not nullptr, a listener that will respond to events on this - /// write operation. The caller is responsible for allocating and deallocating - /// the listener. The same listener can be used for multiple operations. - /// @param[out] controller_out Controls the write operation, providing the - /// ability to pause, resume or cancel an ongoing write operation. If not - /// nullptr, this method will output a Controller here that you can use to - /// control the write operation. - /// - /// @returns A future that returns the Metadata. - Future PutBytes(const void* buffer, size_t buffer_size, - const Metadata& metadata, - Listener* listener = nullptr, - Controller* controller_out = nullptr); - - /// @brief Returns the result of the most recent call to PutBytes(); - /// - /// @returns The result of the most recent call to PutBytes(); - Future PutBytesLastResult(); - - /// @brief Asynchronously uploads data to the currently specified - /// StorageReference, without additional metadata. - /// - /// @param[in] path Path to local file on device to upload to Firebase - /// Storage. - /// @param[in] listener A listener that will respond to events on this read - /// operation. If not nullptr, a listener that will respond to events on this - /// write operation. The caller is responsible for allocating and deallocating - /// the listener. The same listener can be used for multiple operations. - /// @param[out] controller_out Controls the write operation, providing the - /// ability to pause, resume or cancel an ongoing write operation. If not - /// nullptr, this method will output a Controller here that you can use to - /// control the write operation. - /// - /// @returns A future that returns the Metadata. - Future PutFile(const char* path, Listener* listener = nullptr, - Controller* controller_out = nullptr); - - /// @brief Asynchronously uploads data to the currently specified - /// StorageReference, without additional metadata. - /// - /// @param[in] path Path to local file on device to upload to Firebase - /// Storage. - /// @param[in] metadata Metadata containing additional information (MIME type, - /// etc.) about the object being uploaded. - /// @param[in] listener A listener that will respond to events on this read - /// operation. If not nullptr, a listener that will respond to events on this - /// write operation. The caller is responsible for allocating and deallocating - /// the listener. The same listener can be used for multiple operations. - /// @param[out] controller_out Controls the write operation, providing the - /// ability to pause, resume or cancel an ongoing write operation. If not - /// nullptr, this method will output a Controller here that you can use to - /// control the write operation. - /// - /// @returns A future that returns the Metadata. - Future PutFile(const char* path, const Metadata& metadata, - Listener* listener = nullptr, - Controller* controller_out = nullptr); - - /// @brief Returns the result of the most recent call to PutFile(); - /// - /// @returns The result of the most recent call to PutFile(); - Future PutFileLastResult(); - - /// @brief Returns true if this StorageReference is valid, false if it is not - /// valid. An invalid StorageReference indicates that the reference is - /// uninitialized (created with the default constructor) or that there was an - /// error retrieving the reference. - /// - /// @returns true if this StorageReference is valid, false if this - /// StorageReference is invalid. - bool is_valid() const; - - private: - /// @cond FIREBASE_APP_INTERNAL - friend class Controller; - friend class internal::ControllerInternal; - friend class Metadata; - friend class internal::MetadataInternal; - friend class Storage; - friend class internal::StorageReferenceInternal; - friend class internal::StorageReferenceInternalCommon; - - StorageReference(internal::StorageReferenceInternal* internal); - - internal::StorageReferenceInternal* internal_; - /// @endcond -}; - -} // namespace storage -} // namespace firebase - -#endif // FIREBASE_STORAGE_SRC_INCLUDE_FIREBASE_STORAGE_STORAGE_REFERENCE_H_ diff --git a/vendors/firebase/include/firebase/util.h b/vendors/firebase/include/firebase/util.h deleted file mode 100644 index 4c78d45f3..000000000 --- a/vendors/firebase/include/firebase/util.h +++ /dev/null @@ -1,101 +0,0 @@ -/* - * Copyright 2016 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef FIREBASE_APP_SRC_INCLUDE_FIREBASE_UTIL_H_ -#define FIREBASE_APP_SRC_INCLUDE_FIREBASE_UTIL_H_ - -#include "firebase/app.h" -#include "firebase/future.h" - -namespace firebase { - -struct ModuleInitializerData; - -/// @brief Utility class to help with initializing Firebase modules. -/// -/// This optional class handles a basic Firebase C++ SDK code pattern: attempt -/// to initialize a Firebase module, and if the initialization fails on Android -/// due to Google Play services being unavailable, prompt the user to -/// update/enable Google Play services on their device. -/// -/// If the developer wants more advanced behavior (for example, wait to prompt -/// the user to update or enable Google Play services until later, or opt not to -/// use Firebase modules), they can still initialize each Firebase module -/// individually, and use google_play_services::MakeAvailable() directly if any -/// initializations fail. -class ModuleInitializer { - public: - /// @brief Initialization function, which should initialize a single Firebase - /// module and return the InitResult. - typedef InitResult (*InitializerFn)(App* app, void* context); - - ModuleInitializer(); - virtual ~ModuleInitializer(); - - /// @brief Initialize Firebase modules by calling one or more user-supplied - /// functions, each of which must initialize at most one library, and should - /// return the InitResult of the initialization. - /// - /// This function will run the initializers in order, checking the return - /// value of each. On Android, if the InitResult returned is - /// kInitResultFailedMissingDependency, this indicates that Google Play - /// services is not available and a Firebase module requires it. This function - /// will attempt to fix Google Play services, and will retry initializations - /// where it left off, beginning with the one that failed. - /// - /// @returns A future result. When all of the initializers are completed, the - /// Future will be completed with Error() = 0. If an initializer fails and the - /// situation cannot be fixed, the Future will be completed with Error() equal - /// to the number of initializers that did not succeed (since they are run in - /// order, this tells you which ones failed). - /// - /// @param[in] app The firebase::App that will be passed to the initializers, - /// as well as used to fix Google Play services on Android if needed. - /// - /// @param[in] context User-defined context, which will be passed to the - /// initializer functions. If you don't need this, you can use nullptr. - /// - /// @param[in] init_fns Your initialization functions to call, in an array. At - /// their simplest, these will each simply call a single Firebase module's - /// Initialize(app) and return the result, but you can perform more complex - /// logic if you prefer. - /// - /// @param[in] init_fns_count Number of initialization functions in the - /// supplied array. - /// - /// @note If a pending Initialize() is already running, this function will - /// return the existing Future rather than adding any new functions to the - /// initializer list. - Future Initialize(App* app, void* context, - const InitializerFn* init_fns, size_t init_fns_count); - - /// @brief Initialize one Firebase module by calling a single user-supplied - /// function that should initialize a Firebase module and return the - /// InitResult. @see Initialize(::firebase::App*, void*, const InitializerFn*) - /// for more information. - Future Initialize(App* app, void* context, InitializerFn init_fn); - - /// @brief Get the result of the most recent call to @see Initialize(). - Future InitializeLastResult(); - - private: - ModuleInitializerData* data_; -}; - -// NOLINTNEXTLINE - allow namespace overridden -} // namespace firebase - -#endif // FIREBASE_APP_SRC_INCLUDE_FIREBASE_UTIL_H_ diff --git a/vendors/firebase/include/firebase/variant.h b/vendors/firebase/include/firebase/variant.h deleted file mode 100644 index ef1d552df..000000000 --- a/vendors/firebase/include/firebase/variant.h +++ /dev/null @@ -1,1197 +0,0 @@ -/* - * Copyright 2016 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef FIREBASE_APP_SRC_INCLUDE_FIREBASE_VARIANT_H_ -#define FIREBASE_APP_SRC_INCLUDE_FIREBASE_VARIANT_H_ - -#include - -#include -#include -#include -#include -#include - -#include "firebase/internal/common.h" - -/// @brief Namespace that encompasses all Firebase APIs. - -namespace firebase { -namespace internal { -class VariantInternal; -} -} // namespace firebase - -namespace firebase { - -// -// SWIG uses the Variant class as a readonly object, and so ignores most of the -// functions. In order to keep things clean, functions that should be exposed -// are explicitly listed in app.SWIG, and everything else is ignored. -// - -/// Variant data type used by Firebase libraries. -class Variant { - public: - /// Type of data that this variant object contains. - enum Type { - /// Null, or no data. - kTypeNull, - /// A 64-bit integer. - kTypeInt64, - /// A double-precision floating point number. - kTypeDouble, - /// A boolean value. - kTypeBool, - /// A statically-allocated string we point to. - kTypeStaticString, - /// A std::string. - kTypeMutableString, - /// A std::vector of Variant. - kTypeVector, - /// A std::map, mapping Variant to Variant. - kTypeMap, - /// An statically-allocated blob of data that we point to. Never constructed - /// by default. Use Variant::FromStaticBlob() to create a Variant of this - /// type. - kTypeStaticBlob, - /// A blob of data that the Variant holds. Never constructed by default. Use - /// Variant::FromMutableBlob() to create a Variant of this type, and copy - /// binary data from an existing source. - kTypeMutableBlob, - - // Note: If you add new types update enum InternalType; - }; - -// -// Because of the VariantVariantMap C# class, we need to hide the constructors -// explicitly, as the SWIG ignore does not seem to work with that macro. -// -#ifndef SWIG - /// @brief Construct a null Variant. - /// - /// The Variant constructed will be of type Null. - Variant() : type_(kInternalTypeNull), value_({}) {} - - /// @brief Construct a Variant with the given templated type. - /// - /// @param[in] value The value to construct the variant. - /// - /// Valid types for this constructor are `int`, `int64_t`, `float`, `double`, - /// `bool`, `const char*`, and `char*` (but see below for additional Variant - /// types). - /// - /// - /// Type `int` or `int64_t`: - /// * The Variant constructed will be of type Int64. - /// - /// Type `double` or `float`: - /// * The Variant constructed will be of type Double. - /// - /// Type `bool`: - /// * The Variant constructed will be of type Bool. - /// - /// Type `const char*`: - /// * The Variant constructed will be of type StaticString, and is_string() - /// will return true. **Note:** If you use this constructor, you must - /// ensure that the memory pointed to stays valid for the life of the - /// Variant, otherwise call mutable_string() or set_mutable_string(), - /// which will copy the string to an internal buffer. - /// - /// Type `char*`: - /// * The Variant constructed will be of type MutableString, and is_string() - /// will return true. - /// - /// Other types will result in compiler error unless using the following - /// constructor overloads: - /// * `std::string` - /// * `std::vector` - /// * `std::vector` where T is convertible to variant type - /// * `T*`, `size_t` where T is convertible to variant type - /// * `std::map` - /// * `std::map` where K and V is convertible to variant type - template - Variant(T value) // NOLINT - : type_(kInternalTypeNull) { - set_value_t(value); - } - - /// @brief Construct a Variant containing the given string value (makes a - /// copy). - /// - /// The Variant constructed will be of type MutableString, and is_string() - /// will return true. - /// - /// @param[in] value The string to use for the Variant. - Variant(const std::string& value) // NOLINT - : type_(kInternalTypeNull) { - set_mutable_string(value); - } - - /// @brief Construct a Variant containing the given std::vector of Variant. - /// - /// The Variant constructed will be of type Vector. - /// - /// @param[in] value The STL vector to copy into the Variant. - Variant(const std::vector& value) // NOLINT - : type_(kInternalTypeNull) { - set_vector(value); - } - - /// @brief Construct a Variant containing the given std::vector of something - /// that can be constructed into a Variant. - /// - /// The Variant constructed will be of type Vector. - /// - /// @param[in] value An STL vector containing elements that can be converted - /// to Variant (such as ints, strings, vectors). A Variant will be created for - /// each element, and copied into the Vector Variant constructed here. - template - Variant(const std::vector& value) // NOLINT - : type_(kInternalTypeNull) { - Clear(kTypeVector); - vector().reserve(value.size()); - for (size_t i = 0; i < value.size(); i++) { - vector().push_back(Variant(static_cast(value[i]))); - } - } - - /// @brief Construct a Variant from an array of supported types into a Vector. - /// - /// The Variant constructed will be of type Vector. - /// - /// @param[in] array_of_values A C array containing elements that can be - /// converted to Variant (such as ints, strings, vectors). A Variant will be - /// created for each element, and copied into the Vector Variant constructed - /// here. - /// @param[in] array_size Number of elements of the array. - template - Variant(const T array_of_values[], size_t array_size) - : type_(kInternalTypeNull) { - Clear(kTypeVector); - vector().reserve(array_size); - for (size_t i = 0; i < array_size; i++) { - vector()[i] = Variant(array_of_values[i]); - } - } - - /// @brief Construct a Variatn containing the given std::map of Variant to - /// Variant. - /// - /// The Variant constructed will be of type Map. - /// - /// @param[in] value The STL map to copy into the Variant. - Variant(const std::map& value) // NOLINT - : type_(kInternalTypeNull) { - set_map(value); - } - - /// @brief Construct a Variant containing the given std::map of something that - /// can be constructed into a Variant, to something that can be constructed - /// into a Variant. - /// - /// The Variant constructed will be of type Map. - /// - /// @param[in] value An STL map containing keys and values that can be - /// converted to Variant (such as ints, strings, vectors). A Variant will be - /// created for each key and for each value, and copied by pairs into the Map - /// Variant constructed here. - template - Variant(const std::map& value) // NOLINT - : type_(kInternalTypeNull) { - Clear(kTypeMap); - for (typename std::map::const_iterator i = value.begin(); - i != value.end(); ++i) { - map().insert(std::make_pair(Variant(i->first), Variant(i->second))); - } - } - - /// @brief Copy constructor. Performs a deep copy. - /// - /// @param[in] other Source Variant to copy from. - Variant(const Variant& other) : type_(kInternalTypeNull) { *this = other; } - - /// @brief Copy assignment operator. Performs a deep copy. - /// - /// @param[in] other Source Variant to copy from. - Variant& operator=(const Variant& other); - -#if defined(FIREBASE_USE_MOVE_OPERATORS) || defined(DOXYGEN) - - /// @brief Move constructor. Efficiently moves the more complex data types by - /// simply reassigning pointer ownership. - /// - /// @param[in] other Source Variant to move from. - Variant(Variant&& other) noexcept : type_(kInternalTypeNull) { - *this = std::move(other); - } - - /// @brief Move assignment operator. Efficiently moves the more complex data - /// types by simply reassigning pointer ownership. - /// - /// @param[in] other Source Variant to move from. - Variant& operator=(Variant&& other) noexcept; - -#endif // defined(FIREBASE_USE_MOVE_OPERATORS) || defined(DOXYGEN) -#endif // SWIG - - /// Destructor. Frees the memory that this Variant owns. - ~Variant() { Clear(); } - - /// @brief Equality operator. Both the type and the value must be equal - /// (except that static strings CAN be == to mutable strings). For container - /// types, element-by-element comparison is performed. For strings, string - /// comparison is performed. - /// - /// @param[in] other Variant to compare to. - /// - /// @return True if the Variants are of identical types and values, false - /// otherwise. - bool operator==(const Variant& other) const; - - /// @brief Inequality operator, only meant for internal use. - /// - /// Explanation: In order to use Variant as a key for std::map, we must - /// provide a comparison function. This comparison function is ONLY for - /// std::map to be able to use a Variant as a map key. - /// - /// We define v1 < v2 IFF: - /// * If different types, compare type as int: v1.type() < v2.type() - /// (note: this means that Variant(1) < Variant(0.0) - be careful!) - /// * If both are int64: v1.int64_value() < v2.int64_value(); - /// * If both are double: v1.double_value() < v2.double_value() - /// * If both are bool: v1.bool_value() < v2.bool_value(); - /// * If both are either static or mutable strings: strcmp(v1, v2) < 0 - /// * If both are vectors: - /// * If v1[0] < v2[0], that means v1 < v2 == true. Otherwise: - /// * If v1[0] > v2[0], that means v1 < v2 == false. Otherwise: - /// * Continue to the next element of both vectors and compare again. - /// * If you reach the end of one vector first, that vector is considered - /// to be lesser. - /// * If both are maps, iterate similar to vectors (since maps are ordered), - /// but for each element, first compare the key, then the value. - /// * If both are blobs, the smaller-sized blob is considered lesser. If both - /// blobs are the same size, use memcmp to compare the bytes. - /// - /// We have defined this operation such that if !(v1 < v2) && !(v2 < v1), it - /// must follow that v1 == v2. - /// - /// @param[in] other Variant to compare to. - /// - /// @return Results of the comparison, as described in this documentation. - /// - /// @note This will not give you the results you expect if you compare - /// Variants of different types! For example, Variant(0.0) < Variant(1). - bool operator<(const Variant& other) const; - - /// @brief Inequality operator: x != y is evaluated as !(x == y). - /// - /// @param[in] other Variant to compare to. - /// - /// @return Results of the comparison. - bool operator!=(const Variant& other) const { return !(*this == other); } - - /// @brief Inequality operator: x > y is evaluated as y < x - /// - /// @param[in] other Variant to compare to. - /// - /// @return Results of the comparison. - bool operator>(const Variant& other) const { return other < *this; } - - /// @brief Inequality operator: x >= y is evaluated as !(x < y) - /// - /// @param[in] other Variant to compare to. - /// - /// @return Results of the comparison. - bool operator>=(const Variant& other) const { return !(*this < other); } - - /// @brief Inequality operator: x <= y is evaluated as !(x > y) - /// - /// @param[in] other Variant to compare to. - /// - /// @return Results of the comparison. - bool operator<=(const Variant& other) const { return !(*this > other); } - - /// @brief Clear the given Variant data, optionally into a new type. Frees up - /// any memory that might have been allocated. After calling this, you can - /// access the Variant as the new type. - /// - /// @param[in] new_type Optional new type to clear the Variant to. You may - /// immediately begin using the Variant as that new type. - void Clear(Type new_type = kTypeNull); - - // Convenience functions (used similarly to constants). - - /// @brief Get a Variant of type Null. - /// - /// @return A Variant of type Null. - static Variant Null() { return Variant(); } - - /// @brief Get a Variant of integer value 0. - /// - /// @return A Variant of type Int64, with value 0. - static Variant Zero() { return Variant::FromInt64(0L); } - - /// @brief Get a Variant of integer value 1. - /// - /// @return A Variant of type Int64, with value 1. - static Variant One() { return Variant::FromInt64(1L); } - - /// @brief Get a Variant of double value 0.0. - /// - /// @return A Variant of type Double, with value 0.0. - static Variant ZeroPointZero() { return Variant::FromDouble(0.0); } - - /// @brief Get a Variant of double value 1.0. - /// - /// @return A Variant of type Double, with value 1.0. - static Variant OnePointZero() { return Variant::FromDouble(1.0); } - - /// @brief Get a Variant of bool value false. - /// - /// @return A Variant of type Bool, with value false. - static Variant False() { return Variant::FromBool(false); } - - /// @brief Get a Variant of bool value true. - /// - /// @return A Variant of type Bool, with value true. - static Variant True() { return Variant::FromBool(true); } - - /// @brief Get an empty string variant. - /// - /// @return A Variant of type StaticString, referring to an empty string. - static Variant EmptyString() { return Variant::FromStaticString(""); } - - /// @brief Get a Variant containing an empty mutable string. - /// - /// @return A Variant of type MutableString, containing an empty string. - static Variant EmptyMutableString() { - Variant v; - v.Clear(kTypeMutableString); - return v; - } - - /// @brief Get a Variant containing an empty vector. You can immediately call - /// vector() on it to work with the vector it contains. - /// - /// @return A Variant of type Vector, containing no elements. - static Variant EmptyVector() { - Variant v; - v.Clear(kTypeVector); - return v; - } - - /// @brief Get a Variant containing an empty map. You can immediately call - /// map() on - /// it to work with the map it contains. - /// - /// @return A Variant of type Map, containing no elements. - static Variant EmptyMap() { - Variant v; - v.Clear(kTypeMap); - return v; - } - - /// @brief Return a Variant containing an empty mutable blob of the requested - /// size, filled with 0-bytes. - /// - /// @param[in] size_bytes Size of the buffer you want, in bytes. - /// - /// @returns A Variant containing a mutable blob of the requested size, filled - /// with 0-bytes. - static Variant EmptyMutableBlob(size_t size_bytes) { - Variant v; - uint8_t* blank_data = new uint8_t[size_bytes]; - memset(blank_data, 0, size_bytes); - v.Clear(kTypeMutableBlob); - v.set_blob_pointer(blank_data, size_bytes); - return v; - } - - /// @brief Get the current type contained in this Variant. - /// - /// @return The Variant's type. - Type type() const { - // To avoid breaking user code, alias the small string type to mutable - // string. - if (type_ == kInternalTypeSmallString) { - return kTypeMutableString; - } - - return static_cast(type_); - } - - /// @brief Get whether this Variant is currently null. - /// - /// @return True if the Variant is Null, false otherwise. - bool is_null() const { return type() == kTypeNull; } - - /// @brief Get whether this Variant contains an integer. - /// - /// @return True if the Variant's type is Int64, false otherwise. - bool is_int64() const { return type() == kTypeInt64; } - - /// @brief Get whether this Variant contains a double. - /// - /// @return True if the Variant's type is Double, false otherwise. - bool is_double() const { return type() == kTypeDouble; } - - /// @brief Get whether this Variant contains a bool. - /// - /// @return True if the Variant's type is Bool, false otherwise. - bool is_bool() const { return type() == kTypeBool; } - - /// @brief Get whether this Variant contains a vector. - /// - /// @return True if the Variant's type is Vector, false otherwise. - bool is_vector() const { return type() == kTypeVector; } - - /// @brief Get whether this Variant contains a map. - /// - /// @return True if the Variant's type is Map, false otherwise. - bool is_map() const { return type() == kTypeMap; } - - /// @brief Get whether this Variant contains a static string. - /// - /// @return True if the Variant's type is StaticString, false otherwise. - bool is_static_string() const { return type() == kTypeStaticString; } - - /// @brief Get whether this Variant contains a mutable string. - /// - /// @return True if the Variant's type is MutableString, false otherwise. - bool is_mutable_string() const { return type() == kTypeMutableString; } - - /// @brief Get whether this Variant contains a string. - /// - /// @return True if the Variant's type is either StaticString or - /// MutableString or SmallString; false otherwise. - /// - /// @note No matter which type of string the Variant contains, you can read - /// its value via string_value(). - bool is_string() const { - return is_static_string() || is_mutable_string() || is_small_string(); - } - - /// @brief Get whether this Variant contains a static blob. - /// - /// @return True if the Variant's type is StaticBlob, false otherwise. - bool is_static_blob() const { return type() == kTypeStaticBlob; } - - /// @brief Get whether this Variant contains a mutable blob. - /// - /// @return True if the Variant's type is MutableBlob, false otherwise. - bool is_mutable_blob() const { return type() == kTypeMutableBlob; } - - /// @brief Get whether this Variant contains a blob. - /// - /// @return True if the Variant's type is either StaticBlob or - /// MutableBlob; false otherwise. - /// - /// @note No matter which type of blob the Variant contains, you can read - /// its data via blob_data() and get its size via blob_size(). - bool is_blob() const { return is_static_blob() || is_mutable_blob(); } - - /// @brief Get whether this Variant contains a numeric type, Int64 or Double. - /// - /// @return True if the Variant's type is either Int64 or Double; false - /// otherwise. - bool is_numeric() const { return is_int64() || is_double(); } - - /// @brief Get whether this Variant contains a fundamental type: Null, Int64, - /// Double, Bool, or one of the two String types. Essentially - /// !is_containerType(). - /// - /// @return True if the Variant's type is Int64, Double, Bool, or Null; false - /// otherwise. - bool is_fundamental_type() const { - return is_int64() || is_double() || is_string() || is_bool() || is_null(); - } - - /// @brief Get whether this Variant contains a container type: Vector or Map. - /// - /// @return True if the Variant's type is Vector or Map; false otherwise. - bool is_container_type() const { return is_vector() || is_map(); } - - /// @brief Get the current Variant converted into a string. Only valid for - /// fundamental types. - /// - /// Special cases: Booleans will be returned as "true" or "false". Null will - /// be returned as an empty string. The returned string may be either mutable - /// or static, depending on the source type. All other cases will return an - /// empty string. - /// - /// @return A Variant containing a String that represents the value of this - /// original Variant. - Variant AsString() const; - - /// @brief Get the current Variant converted into an integer. Only valid for - /// fundamental types. - /// - /// Special cases: If a String can be parsed as a number - /// via strtol(), it will be. If a Bool is true, this will return 1. All other - /// cases (including non-fundamental types) will return 0. - /// - /// @return A Variant containing an Int64 that represents the value of this - /// original Variant. - Variant AsInt64() const; - - /// @brief Get the current Variant converted into a floating-point - /// number. Only valid for fundamental types. - /// - /// Special cases: If a Bool is true, this will return 1. All other cases will - /// return 0. - /// - /// @return A Variant containing a Double that represents the value of this - /// original Variant. - Variant AsDouble() const; - - /// @brief Get the current Variant converted into a boolean. Null, 0, 0.0, - /// empty strings, empty vectors, empty maps, blobs of size 0, and "false" - /// (case-sensitive) are all considered false. All other values are true. - /// - /// @return A Variant of type Bool containing the original Variant interpreted - /// as a Bool. - Variant AsBool() const; - - /// @brief Mutable accessor for a Variant containing a string. - /// - /// If the Variant contains a static string, it will be converted into a - /// mutable string, which copies the const char*'s data into a std::string. - /// - /// @return Reference to the string contained in this Variant. - /// - /// @note If the Variant is not one of the two String types, this will assert. - std::string& mutable_string() { - if (type_ == kInternalTypeStaticString || - type_ == kInternalTypeSmallString) { - // Automatically promote a static or small string to a mutable string. - set_mutable_string(string_value(), false); - } - assert_is_type(kTypeMutableString); - return *value_.mutable_string_value; - } - - /// @brief Get the size of a blob. This method works with both static - /// and mutable blobs. - /// - /// @return Number of bytes of binary data contained in the blob. - size_t blob_size() const { - assert_is_blob(); - return value_.blob_value.size; - } - - /// @brief Get the pointer to the binary data contained in a blob. - /// This method works with both static and mutable blob. - /// - /// @return Pointer to the binary data. Use blob_size() to get the - /// number of bytes. - const uint8_t* blob_data() const { - assert_is_blob(); - return value_.blob_value.ptr; - } - - /// @brief Get a mutable pointer to the binary data contained in - /// a blob. - /// - /// If the Variant contains a static blob, it will be converted into a mutable - /// blob, which copies the binary data into the Variant's buffer. - /// - /// @returns Pointer to a mutable buffer of binary data. The size of the - /// buffer cannot be changed, but the contents are mutable. - uint8_t* mutable_blob_data() { - if (type_ == kInternalTypeStaticBlob) { - // Automatically promote a static blob to a mutable blob. - set_mutable_blob(blob_data(), blob_size()); - } - assert_is_type(kTypeMutableBlob); - return const_cast(value_.blob_value.ptr); - } - - /// @brief Const accessor for a Variant contianing mutable blob data. - /// - /// @note Unlike the non-const accessor, this accessor cannot "promote" a - /// static blob to mutable, and thus will assert if the Variant you pass in - /// is not of MutableBlob type. - /// - /// @returns Pointer to a mutable buffer of binary data. The size of the - /// buffer cannot be changed, but the contents are mutable. - uint8_t* mutable_blob_data() const { - assert_is_type(kTypeMutableBlob); - return const_cast(value_.blob_value.ptr); - } - - /// @brief Mutable accessor for a Variant containing a vector of Variant - /// data. - /// - /// @return Reference to the vector contained in this Variant. - /// - /// @note If the Variant is not of Vector type, this will assert. - std::vector& vector() { - assert_is_type(kTypeVector); - return *value_.vector_value; - } - /// @brief Mutable accessor for a Variant containing a map of Variant data. - /// - /// @return Reference to the map contained in this Variant. - /// - /// @note If the Variant is not of Map type, this will assert. - std::map& map() { - assert_is_type(kTypeMap); - return *value_.map_value; - } - - /// @brief Const accessor for a Variant containing an integer. - /// - /// @return The integer contained in this Variant. - /// - /// @note If the Variant is not of Int64 type, this will assert. - int64_t int64_value() const { - assert_is_type(kTypeInt64); - return value_.int64_value; - } - - /// @brief Const accessor for a Variant containing a double. - /// - /// @return The double contained in this Variant. - /// - /// @note If the Variant is not of Double type, this will assert. - double double_value() const { - assert_is_type(kTypeDouble); - return value_.double_value; - } - - /// @brief Const accessor for a Variant containing a bool. - /// - /// @return The bool contained in this Variant. - /// - /// @note If the Variant is not of Bool type, this will assert. - const bool& bool_value() const { - assert_is_type(kTypeBool); - return value_.bool_value; - } - - /// @brief Const accessor for a Variant containing a string. - /// - /// This can return both static and mutable strings. The pointer is only - /// guaranteed to persist if this Variant's type is StaticString. - /// - /// @return The string contained in this Variant. - /// - /// @note If the Variant is not of StaticString or MutableString type, this - /// will assert. - const char* string_value() const { - assert_is_string(); - if (type_ == kInternalTypeMutableString) - return value_.mutable_string_value->c_str(); - else if (type_ == kInternalTypeStaticString) - return value_.static_string_value; - else // if (type_ == kInternalTypeSmallString) - return value_.small_string; - } - - /// @brief Const accessor for a Variant containing a string. - /// - /// @note Unlike the non-const accessor, this accessor cannot "promote" a - /// static string to mutable, and thus returns a std::string copy instead of a - /// const reference to a std::string - /// - /// @return std::string with the string contents contained in this Variant. - std::string mutable_string() const { - assert_is_string(); - return string_value(); - } - - /// @brief Const accessor for a Variant containing a vector of Variant data. - /// - /// @return Reference to the vector contained in this Variant. - /// - /// @note If the Variant is not of Vector type, this will assert. - const std::vector& vector() const { - assert_is_type(kTypeVector); - return *value_.vector_value; - } - - /// @brief Const accessor for a Variant containing a map of strings to - /// Variant - /// data. - /// - /// @return Reference to the map contained in this Variant. - /// - /// @note If the Variant is not of Map type, this will assert. - const std::map& map() const { - assert_is_type(kTypeMap); - return *value_.map_value; - } - - /// @brief Sets the Variant value to null. - /// - /// The Variant's type will be Null. - void set_null() { Clear(kTypeNull); } - - /// @brief Sets the Variant to an 64-bit integer value. - /// - /// The Variant's type will be set to Int64. - /// - /// @param[in] value The 64-bit integer value for the Variant. - void set_int64_value(int64_t value) { - Clear(kTypeInt64); - value_.int64_value = value; - } - - /// @brief Sets the Variant to an double-precision floating point value. - /// - /// The Variant's type will be set to Double. - /// - /// @param[in] value The double-precision floating point value for the - /// Variant. - void set_double_value(double value) { - Clear(kTypeDouble); - value_.double_value = value; - } - - /// @brief Sets the Variant to the given boolean value. - /// - /// The Variant's type will be set to Bool. - /// - /// @param[in] value The boolean value for the Variant. - void set_bool_value(bool value) { - Clear(kTypeBool); - value_.bool_value = value; - } - - /// @brief Sets the Variant to point to a static string buffer. - /// - /// The Variant's type will be set to StaticString. - /// - /// @note If you use this method, you must ensure that the memory pointed to - /// stays valid for the life of the Variant, or otherwise call - /// mutable_string() or set_mutable_string(), which will copy the string to an - /// internal buffer. - /// - /// @param[in] value A pointer to the static null-terminated string for the - /// Variant. - void set_string_value(const char* value) { - Clear(kTypeStaticString); - value_.static_string_value = value; - } - - /// @brief Sets the Variant to a mutable string. - /// - /// The Variant's type will be set to MutableString. - /// - /// @param[in] value A pointer to a null-terminated string, which will be - /// copied into to the Variant. - void set_string_value(char* value) { - size_t len = strlen(value); - if (len < kMaxSmallStringSize) { - Clear(static_cast(kInternalTypeSmallString)); - strncpy(value_.small_string, value, len + 1); - } else { - set_mutable_string(std::string(value, len)); - } - } - - /// @brief Sets the Variant to a mutable string. - /// - /// The Variant's type will be set to MutableString. - /// - /// @param[in] value The string to use for the Variant. - void set_string_value(const std::string& value) { set_mutable_string(value); } - - /// @brief Sets the Variant to a copy of the given string. - /// - /// The Variant's type will be set to SmallString if the size of the string is - /// less than kMaxSmallStringSize (8 bytes on x86, 16 bytes on x64) or - /// otherwise set to MutableString. - /// - /// @param[in] value The string to use for the Variant. - /// @param[in] use_small_string Check to see if the input string should be - /// treated as a small string or left as a mutable string - void set_mutable_string(const std::string& value, - bool use_small_string = true) { - if (value.size() < kMaxSmallStringSize && use_small_string) { - Clear(static_cast(kInternalTypeSmallString)); - strncpy(value_.small_string, value.data(), value.size() + 1); - } else { - Clear(kTypeMutableString); - *value_.mutable_string_value = value; - } - } - - /// @brief Sets the Variant to a copy of the given binary data. - /// - /// The Variant's type will be set to MutableBlob. - /// - /// @param[in] src_data The data to use for the Variant. If you - /// pass in nullptr, no data will be copied, but a buffer of the - /// requested size will be allocated. - /// @param[in] size_bytes The size of the data, in bytes. - void set_mutable_blob(const void* src_data, size_t size_bytes) { - uint8_t* dest_data = new uint8_t[size_bytes]; // Will be deleted when - // `this` is deleted. - if (src_data != nullptr) { - memcpy(dest_data, src_data, size_bytes); - } - Clear(kTypeMutableBlob); - set_blob_pointer(dest_data, size_bytes); - } - - /// @brief Sets the Variant to point to static binary data. - /// - /// The Variant's type will be set to kTypeStaticBlob. - /// - /// @param[in] static_data Pointer to statically-allocated binary data. The - /// Variant will point to the data, not copy it. - /// @param[in] size_bytes Size of the data, in bytes. - /// - /// @note If you use this method, you must ensure that the memory pointer to - /// stays valid for the life of the Variant, or otherwise call - /// mutable_blob_data() or set_mutable_blob(), which will copy the data into - /// an internal buffer. - void set_static_blob(const void* static_data, size_t size_bytes) { - Clear(kTypeStaticBlob); - set_blob_pointer(static_data, size_bytes); - } - - /// @brief Sets the Variant to a copy of the given vector. - /// - /// The Variant's type will be set to Vector. - /// - /// @param[in] value The STL vector to copy into the Variant. - - void set_vector(const std::vector& value) { - Clear(kTypeVector); - *value_.vector_value = value; - } - - /// @brief Sets the Variant to a copy of the given map. - /// - /// The Variant's type will be set to Map. - /// - /// @param[in] value The STL map to copy into the Variant. - void set_map(const std::map& value) { - Clear(kTypeMap); - *value_.map_value = value; - } - - /// @brief Assigns an existing string which was allocated on the heap into the - /// Variant without performing a copy. This object will take over ownership of - /// the pointer, and will set the std::string* you pass in to NULL. - /// - /// The Variant's type will be set to MutableString. - /// - /// @param[in, out] str Pointer to a pointer to an STL string. The Variant - /// will take over ownership of the pointer to the string, and set the - /// pointer - /// you passed in to NULL. - void AssignMutableString(std::string** str) { - Clear(kTypeNull); - type_ = kInternalTypeMutableString; - value_.mutable_string_value = *str; - *str = NULL; // NOLINT - } - - /// @brief Assigns an existing vector which was allocated on the heap into the - /// Variant without performing a copy. This object will take over ownership of - /// the pointer, and will set the std::vector* you pass in to NULL. - /// - /// The Variant's type will be set to Vector. - /// - /// @param[in, out] vect Pointer to a pointer to an STL vector. The Variant - /// will take over ownership of the pointer to the vector, and set the - /// pointer - /// you passed in to NULL. - void AssignVector(std::vector** vect) { - Clear(kTypeNull); - type_ = kInternalTypeVector; - value_.vector_value = *vect; - *vect = NULL; // NOLINT - } - - /// @brief Assigns an existing map which was allocated on the heap into the - /// Variant without performing a copy. This object will take over ownership - /// of - /// the map, and will set the std::map** you pass in to NULL. - /// - /// The Variant's type will be set to Map. - /// - /// @param[in, out] map Pointer to a pointer to an STL map. The Variant will - /// take over ownership of the pointer to the map, and set the pointer you - /// passed in to NULL. - void AssignMap(std::map** map) { - Clear(kTypeNull); - type_ = kInternalTypeMap; - value_.map_value = *map; - *map = NULL; // NOLINT - } - - // Convenience methods for the times when constructors are too ambiguious. - - /// @brief Return a Variant from a 64-bit integer. - /// - /// @param[in] value 64-bit integer value to put into the Variant. - /// - /// @returns A Variant containing the 64-bit integer. - static Variant FromInt64(int64_t value) { return Variant(value); } - - /// @brief Return a Variant from a double-precision floating point number. - /// - /// @param[in] value Double-precision floating point value to put into the - /// Variant; - /// - /// @returns A Variant containing the double-precision floating point number. - static Variant FromDouble(double value) { return Variant(value); } - - /// @brief Return a Variant from a boolean. - /// - /// @param[in] value Boolean value to put into the Variant. - /// - /// @returns A Variant containing the Boolean. - static Variant FromBool(bool value) { return Variant(value); } - - /// @brief Return a Variant from a static string. - /// - /// @param[in] value Pointer to statically-allocated null-terminated string. - /// - /// @returns A Variant referring to the string pointer you passed in. - /// - /// @note If you use this function, you must ensure that the memory pointed - /// to stays valid for the life of the Variant, otherwise call - /// mutable_string() or set_mutable_string(), which will copy the string to an - /// internal buffer. - static Variant FromStaticString(const char* value) { return Variant(value); } - - /// @brief Return a Variant from a string. - /// - /// This method makes a copy of the string. - /// - /// @param[in] value String value to copy into the Variant. - /// - /// @returns A Variant containing a copy of the string. - static Variant FromMutableString(const std::string& value) { - return Variant(value); - } - - /// @brief Return a Variant that points to static binary data. - /// - /// @param[in] static_data Pointer to statically-allocated binary data. The - /// Variant will point to the data, not copy it. - /// @param[in] size_bytes Size of the data, in bytes. - /// - /// @returns A Variant pointing to the binary data. - /// - /// @note If you use this function, you must ensure that the memory pointed - /// to stays valid for the life of the Variant, otherwise call - /// mutable_blob() or set_mutable_blob(), which will copy the data to an - /// internal buffer. - static Variant FromStaticBlob(const void* static_data, size_t size_bytes) { - Variant v; - v.set_static_blob(static_data, size_bytes); - return v; - } - - /// @brief Return a Variant containing a copy of binary data. - /// - /// @param[in] src_data Pointer to binary data to be copied into the Variant. - /// @param[in] size_bytes Size of the data, in bytes. - /// - /// @returns A Variant containing a copy of the binary data. - static Variant FromMutableBlob(const void* src_data, size_t size_bytes) { - Variant v; - v.set_mutable_blob(src_data, size_bytes); - return v; - } - - /// @brief Return a Variant from a string, but make it mutable. - /// - /// Only copies the string once, unlike Variant(std::string(value)), which - /// copies the string twice. - /// - /// @param[in] value String value to copy into the Variant and make mutable. - /// - /// @returns A Variant containing a mutable copy of the string. - static Variant MutableStringFromStaticString(const char* value) { - std::string* str = new std::string(value); - Variant v; - v.AssignMutableString(&str); - return v; - } - - /// @brief Get the human-readable type name of a Variant type. - /// - /// @param[in] type Variant type to describe. - /// - /// @returns A string describing the type, suitable for error messages or - /// debugging. For example "Int64" or "MutableString". - static const char* TypeName(Type type); - - private: - // Internal Type of data that this variant object contains to avoid breaking - // API - enum InternalType { - /// Null, or no data. - kInternalTypeNull = kTypeNull, - /// A 64-bit integer. - kInternalTypeInt64 = kTypeInt64, - /// A double-precision floating point number. - kInternalTypeDouble = kTypeDouble, - /// A boolean value. - kInternalTypeBool = kTypeBool, - /// A statically-allocated string we point to. - kInternalTypeStaticString = kTypeStaticString, - /// A std::string. - kInternalTypeMutableString = kTypeMutableString, - /// A std::vector of Variant. - kInternalTypeVector = kTypeVector, - /// A std::map, mapping Variant to Variant. - kInternalTypeMap = kTypeMap, - /// An statically-allocated blob of data that we point to. Never constructed - /// by default. Use Variant::FromStaticBlob() to create a Variant of this - /// type. - kInternalTypeStaticBlob = kTypeStaticBlob, - /// A blob of data that the Variant holds. Never constructed by default. Use - /// Variant::FromMutableBlob() to create a Variant of this type, and copy - /// binary data from an existing source. - kInternalTypeMutableBlob = kTypeMutableBlob, - // A c string stored in the Variant internal data blob as opposed to be - // newed as a std::string. Max size is 16 bytes on x64 and 8 bytes on x86. - kInternalTypeSmallString = kTypeMutableBlob + 1, - // Not a valid type. Used to get the total number of Variant types. - kMaxTypeValue, - }; - - /// Human-readable type names, for error logging. - static const char* const kTypeNames[]; - - /// Assert that this Variant is of the given type, failing if it is not. - void assert_is_type(Type type) const; - - /// Assert that this Variant is NOT of the given type, failing if it is. - void assert_is_not_type(Type type) const; - - /// Assert that this Variant is a static string or mutable string, failing if - /// it is not. - void assert_is_string() const; - - /// Assert that this Variant is a static blob or mutable blob, failing if - /// it is not. - void assert_is_blob() const; - - /// Sets the blob's data pointer, for kTypeStaticBlob and kTypeMutableBlob. - /// Asserts if the Variant isn't a blob. Caller is responsible for managing - /// the pointer's memory and deleting any existing data at the location. - void set_blob_pointer(const void* blob_ptr, size_t size) { - assert_is_blob(); - value_.blob_value.ptr = static_cast(blob_ptr); - value_.blob_value.size = size; - } - - // If you hit a compiler error here it means you are trying to construct a - // variant with unsupported type. Ether cast to correct type or add support - // below. - template - void set_value_t(T value) = delete; - - // Get whether this Variant contains a small string. - bool is_small_string() const { return type_ == kInternalTypeSmallString; } - - // Current type contained in this Variant. - InternalType type_; - - // Older versions of visual studio cant have this inline in the union and do - // sizeof for small string - typedef struct { - const uint8_t* ptr; - size_t size; - } BlobValue; - - // Union of plain old data (scalars or pointers). - union Value { - int64_t int64_value; - double double_value; - bool bool_value; - const char* static_string_value; - std::string* mutable_string_value; - std::vector* vector_value; - std::map* map_value; - BlobValue blob_value; - char small_string[sizeof(BlobValue)]; - } value_; - - static constexpr size_t kMaxSmallStringSize = sizeof(Value::small_string); - - friend class firebase::internal::VariantInternal; -}; - -template <> -inline void Variant::set_value_t(int64_t value) { - set_int64_value(value); -} - -template <> -inline void Variant::set_value_t(int value) { - set_int64_value(static_cast(value)); -} - -template <> -inline void Variant::set_value_t(int16_t value) { - set_int64_value(static_cast(value)); -} - -template <> -inline void Variant::set_value_t(uint8_t value) { - set_int64_value(static_cast(value)); -} - -template <> -inline void Variant::set_value_t(int8_t value) { - set_int64_value(static_cast(value)); -} - -template <> -inline void Variant::set_value_t(char value) { - set_int64_value(static_cast(value)); -} - -template <> -inline void Variant::set_value_t(double value) { - set_double_value(value); -} - -template <> -inline void Variant::set_value_t(float value) { - set_double_value(static_cast(value)); -} - -template <> -inline void Variant::set_value_t(bool value) { - set_bool_value(value); -} - -template <> -inline void Variant::set_value_t(const char* value) { - set_string_value(value); -} - -template <> -inline void Variant::set_value_t(char* value) { - set_mutable_string(value); -} - -// NOLINTNEXTLINE - allow namespace overridden -} // namespace firebase - -#endif // FIREBASE_APP_SRC_INCLUDE_FIREBASE_VARIANT_H_ diff --git a/vendors/firebase/include/firebase/version.h b/vendors/firebase/include/firebase/version.h deleted file mode 100644 index 2a1e5b3e2..000000000 --- a/vendors/firebase/include/firebase/version.h +++ /dev/null @@ -1,68 +0,0 @@ -// Copyright 2016 Google Inc. All Rights Reserved. - -#ifndef FIREBASE_APP_CLIENT_CPP_SRC_VERSION_H_ -#define FIREBASE_APP_CLIENT_CPP_SRC_VERSION_H_ - -/// @def FIREBASE_VERSION_MAJOR -/// @brief Major version number of the Firebase C++ SDK. -/// @see kFirebaseVersionString -#define FIREBASE_VERSION_MAJOR 10 -/// @def FIREBASE_VERSION_MINOR -/// @brief Minor version number of the Firebase C++ SDK. -/// @see kFirebaseVersionString -#define FIREBASE_VERSION_MINOR 0 -/// @def FIREBASE_VERSION_REVISION -/// @brief Revision number of the Firebase C++ SDK. -/// @see kFirebaseVersionString -#define FIREBASE_VERSION_REVISION 0 - -/// @cond FIREBASE_APP_INTERNAL -#define FIREBASE_STRING_EXPAND(X) #X -#define FIREBASE_STRING(X) FIREBASE_STRING_EXPAND(X) -/// @endcond - -// Version number. -// clang-format off -#define FIREBASE_VERSION_NUMBER_STRING \ - FIREBASE_STRING(FIREBASE_VERSION_MAJOR) "." \ - FIREBASE_STRING(FIREBASE_VERSION_MINOR) "." \ - FIREBASE_STRING(FIREBASE_VERSION_REVISION) -// clang-format on - -// Identifier for version string, e.g. kFirebaseVersionString. -#define FIREBASE_VERSION_IDENTIFIER(library) k##library##VersionString - -// Concatenated version string, e.g. "Firebase C++ x.y.z". -#define FIREBASE_VERSION_STRING(library) \ - #library " C++ " FIREBASE_VERSION_NUMBER_STRING - -#if !defined(DOXYGEN) -#if !defined(_WIN32) && !defined(__CYGWIN__) -#define DEFINE_FIREBASE_VERSION_STRING(library) \ - extern volatile __attribute__((weak)) \ - const char* FIREBASE_VERSION_IDENTIFIER(library); \ - volatile __attribute__((weak)) \ - const char* FIREBASE_VERSION_IDENTIFIER(library) = \ - FIREBASE_VERSION_STRING(library) -#else -#define DEFINE_FIREBASE_VERSION_STRING(library) \ - static const char* FIREBASE_VERSION_IDENTIFIER(library) = \ - FIREBASE_VERSION_STRING(library) -#endif // !defined(_WIN32) && !defined(__CYGWIN__) -#else // if defined(DOXYGEN) - -/// @brief Namespace that encompasses all Firebase APIs. -namespace firebase { - -/// @brief String which identifies the current version of the Firebase C++ -/// SDK. -/// -/// @see FIREBASE_VERSION_MAJOR -/// @see FIREBASE_VERSION_MINOR -/// @see FIREBASE_VERSION_REVISION -static const char* kFirebaseVersionString = FIREBASE_VERSION_STRING; - -} // namespace firebase -#endif // !defined(DOXYGEN) - -#endif // FIREBASE_APP_CLIENT_CPP_SRC_VERSION_H_ diff --git a/vendors/firebase/include/google_play_services/availability.h b/vendors/firebase/include/google_play_services/availability.h deleted file mode 100644 index ecb0e2586..000000000 --- a/vendors/firebase/include/google_play_services/availability.h +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Copyright 2016 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef FIREBASE_APP_SRC_INCLUDE_GOOGLE_PLAY_SERVICES_AVAILABILITY_H_ -#define FIREBASE_APP_SRC_INCLUDE_GOOGLE_PLAY_SERVICES_AVAILABILITY_H_ - -#if defined(__ANDROID__) || defined(DOXYGEN) - -#if !defined(SWIG_BUILD) -#include -#endif -#include "firebase/future.h" - -/// @brief Google Play services APIs included with the Firebase C++ SDK. -/// These APIs are Android-specific. -namespace google_play_services { - -/// @brief Possible availability states for Google Play services. -enum Availability { - /// Google Play services are available. - kAvailabilityAvailable, - - /// Google Play services is disabled in Settings. - kAvailabilityUnavailableDisabled, - - /// Google Play services is invalid. - kAvailabilityUnavailableInvalid, - - /// Google Play services is not installed. - kAvailabilityUnavailableMissing, - - /// Google Play services does not have the correct permissions. - kAvailabilityUnavailablePermissions, - - /// Google Play services need to be updated. - kAvailabilityUnavailableUpdateRequired, - - /// Google Play services is currently updating. - kAvailabilityUnavailableUpdating, - - /// Some other error occurred. - kAvailabilityUnavailableOther, -}; - -/// @brief Check whether Google Play services is available on this device. -/// -/// @return True if Google Play services is available and up-to-date, false if -/// not. If false was returned, you can call MakeAvailable() to attempt to -/// resolve the issue. -/// -/// @see MakeAvailable() -/// -/// @note This function is Android-specific. -Availability CheckAvailability(JNIEnv* env, jobject activity); - -/// @brief Attempt to make Google Play services available, by installing, -/// updating, activating, or whatever else needs to be done. -/// -/// @return A future result. When completed, the Error will be 0 if Google Play -/// services are now available, or nonzero if still unavailable. -/// -/// @note This function is Android-specific. -::firebase::Future MakeAvailable(JNIEnv* env, jobject activity); - -/// @brief Get the future result from the most recent call to MakeAvailable(). -/// -/// @return The future result from the most recent call to MakeAvailable(). When -/// completed, the Error will be 0 if Google Play services are now available, or -/// nonzero if still unavailable. -/// -/// @see MakeAvailable() -/// -/// @note This function is Android-specific. -::firebase::Future MakeAvailableLastResult(); - -} // namespace google_play_services - -#endif // defined(__ANDROID__) || defined(DOXYGEN) - -#endif // FIREBASE_APP_SRC_INCLUDE_GOOGLE_PLAY_SERVICES_AVAILABILITY_H_ diff --git a/vendors/firebase/lib/darwin/libfirebase_admob.a b/vendors/firebase/lib/darwin/libfirebase_admob.a deleted file mode 100644 index 449b32f84..000000000 Binary files a/vendors/firebase/lib/darwin/libfirebase_admob.a and /dev/null differ diff --git a/vendors/firebase/lib/darwin/libfirebase_analytics.a b/vendors/firebase/lib/darwin/libfirebase_analytics.a deleted file mode 100644 index 71513c076..000000000 Binary files a/vendors/firebase/lib/darwin/libfirebase_analytics.a and /dev/null differ diff --git a/vendors/firebase/lib/darwin/libfirebase_app.a b/vendors/firebase/lib/darwin/libfirebase_app.a deleted file mode 100644 index 44672acab..000000000 Binary files a/vendors/firebase/lib/darwin/libfirebase_app.a and /dev/null differ diff --git a/vendors/firebase/lib/darwin/libfirebase_auth.a b/vendors/firebase/lib/darwin/libfirebase_auth.a deleted file mode 100644 index 6c04323aa..000000000 Binary files a/vendors/firebase/lib/darwin/libfirebase_auth.a and /dev/null differ diff --git a/vendors/firebase/lib/darwin/libfirebase_database.a b/vendors/firebase/lib/darwin/libfirebase_database.a deleted file mode 100644 index 6933e99f5..000000000 Binary files a/vendors/firebase/lib/darwin/libfirebase_database.a and /dev/null differ diff --git a/vendors/firebase/lib/darwin/libfirebase_dynamic_links.a b/vendors/firebase/lib/darwin/libfirebase_dynamic_links.a deleted file mode 100644 index 863db02b3..000000000 Binary files a/vendors/firebase/lib/darwin/libfirebase_dynamic_links.a and /dev/null differ diff --git a/vendors/firebase/lib/darwin/libfirebase_firestore.a b/vendors/firebase/lib/darwin/libfirebase_firestore.a deleted file mode 100644 index 5c8960d4a..000000000 Binary files a/vendors/firebase/lib/darwin/libfirebase_firestore.a and /dev/null differ diff --git a/vendors/firebase/lib/darwin/libfirebase_functions.a b/vendors/firebase/lib/darwin/libfirebase_functions.a deleted file mode 100644 index 985dc6f6a..000000000 Binary files a/vendors/firebase/lib/darwin/libfirebase_functions.a and /dev/null differ diff --git a/vendors/firebase/lib/darwin/libfirebase_gma.a b/vendors/firebase/lib/darwin/libfirebase_gma.a deleted file mode 100644 index 5032d8d41..000000000 Binary files a/vendors/firebase/lib/darwin/libfirebase_gma.a and /dev/null differ diff --git a/vendors/firebase/lib/darwin/libfirebase_installations.a b/vendors/firebase/lib/darwin/libfirebase_installations.a deleted file mode 100644 index 301a88ddc..000000000 Binary files a/vendors/firebase/lib/darwin/libfirebase_installations.a and /dev/null differ diff --git a/vendors/firebase/lib/darwin/libfirebase_messaging.a b/vendors/firebase/lib/darwin/libfirebase_messaging.a deleted file mode 100644 index 435d18008..000000000 Binary files a/vendors/firebase/lib/darwin/libfirebase_messaging.a and /dev/null differ diff --git a/vendors/firebase/lib/darwin/libfirebase_remote_config.a b/vendors/firebase/lib/darwin/libfirebase_remote_config.a deleted file mode 100644 index 469f108a5..000000000 Binary files a/vendors/firebase/lib/darwin/libfirebase_remote_config.a and /dev/null differ diff --git a/vendors/firebase/lib/darwin/libfirebase_storage.a b/vendors/firebase/lib/darwin/libfirebase_storage.a deleted file mode 100644 index fb6a93689..000000000 Binary files a/vendors/firebase/lib/darwin/libfirebase_storage.a and /dev/null differ diff --git a/vendors/firebase/lib/linux_32/libfirebase_admob.a b/vendors/firebase/lib/linux_32/libfirebase_admob.a deleted file mode 100644 index 96100d761..000000000 Binary files a/vendors/firebase/lib/linux_32/libfirebase_admob.a and /dev/null differ diff --git a/vendors/firebase/lib/linux_32/libfirebase_analytics.a b/vendors/firebase/lib/linux_32/libfirebase_analytics.a deleted file mode 100644 index 7060aeea1..000000000 Binary files a/vendors/firebase/lib/linux_32/libfirebase_analytics.a and /dev/null differ diff --git a/vendors/firebase/lib/linux_32/libfirebase_app.a b/vendors/firebase/lib/linux_32/libfirebase_app.a deleted file mode 100644 index 8ff0c5635..000000000 Binary files a/vendors/firebase/lib/linux_32/libfirebase_app.a and /dev/null differ diff --git a/vendors/firebase/lib/linux_32/libfirebase_auth.a b/vendors/firebase/lib/linux_32/libfirebase_auth.a deleted file mode 100644 index dff03b95c..000000000 Binary files a/vendors/firebase/lib/linux_32/libfirebase_auth.a and /dev/null differ diff --git a/vendors/firebase/lib/linux_32/libfirebase_database.a b/vendors/firebase/lib/linux_32/libfirebase_database.a deleted file mode 100644 index da5b18626..000000000 Binary files a/vendors/firebase/lib/linux_32/libfirebase_database.a and /dev/null differ diff --git a/vendors/firebase/lib/linux_32/libfirebase_dynamic_links.a b/vendors/firebase/lib/linux_32/libfirebase_dynamic_links.a deleted file mode 100644 index 9602f99f9..000000000 Binary files a/vendors/firebase/lib/linux_32/libfirebase_dynamic_links.a and /dev/null differ diff --git a/vendors/firebase/lib/linux_32/libfirebase_firestore.a b/vendors/firebase/lib/linux_32/libfirebase_firestore.a deleted file mode 100644 index 9df05ed52..000000000 Binary files a/vendors/firebase/lib/linux_32/libfirebase_firestore.a and /dev/null differ diff --git a/vendors/firebase/lib/linux_32/libfirebase_functions.a b/vendors/firebase/lib/linux_32/libfirebase_functions.a deleted file mode 100644 index a7a960167..000000000 Binary files a/vendors/firebase/lib/linux_32/libfirebase_functions.a and /dev/null differ diff --git a/vendors/firebase/lib/linux_32/libfirebase_gma.a b/vendors/firebase/lib/linux_32/libfirebase_gma.a deleted file mode 100644 index a7d600248..000000000 Binary files a/vendors/firebase/lib/linux_32/libfirebase_gma.a and /dev/null differ diff --git a/vendors/firebase/lib/linux_32/libfirebase_installations.a b/vendors/firebase/lib/linux_32/libfirebase_installations.a deleted file mode 100644 index 235c4c65b..000000000 Binary files a/vendors/firebase/lib/linux_32/libfirebase_installations.a and /dev/null differ diff --git a/vendors/firebase/lib/linux_32/libfirebase_messaging.a b/vendors/firebase/lib/linux_32/libfirebase_messaging.a deleted file mode 100644 index beeb80862..000000000 Binary files a/vendors/firebase/lib/linux_32/libfirebase_messaging.a and /dev/null differ diff --git a/vendors/firebase/lib/linux_32/libfirebase_remote_config.a b/vendors/firebase/lib/linux_32/libfirebase_remote_config.a deleted file mode 100644 index 4a36e7103..000000000 Binary files a/vendors/firebase/lib/linux_32/libfirebase_remote_config.a and /dev/null differ diff --git a/vendors/firebase/lib/linux_32/libfirebase_storage.a b/vendors/firebase/lib/linux_32/libfirebase_storage.a deleted file mode 100644 index abea428bb..000000000 Binary files a/vendors/firebase/lib/linux_32/libfirebase_storage.a and /dev/null differ diff --git a/vendors/firebase/lib/linux_64/libfirebase_admob.a b/vendors/firebase/lib/linux_64/libfirebase_admob.a deleted file mode 100644 index 6bc667242..000000000 Binary files a/vendors/firebase/lib/linux_64/libfirebase_admob.a and /dev/null differ diff --git a/vendors/firebase/lib/linux_64/libfirebase_analytics.a b/vendors/firebase/lib/linux_64/libfirebase_analytics.a deleted file mode 100644 index 0d4a972b2..000000000 Binary files a/vendors/firebase/lib/linux_64/libfirebase_analytics.a and /dev/null differ diff --git a/vendors/firebase/lib/linux_64/libfirebase_app.a b/vendors/firebase/lib/linux_64/libfirebase_app.a deleted file mode 100644 index 69ff9a262..000000000 Binary files a/vendors/firebase/lib/linux_64/libfirebase_app.a and /dev/null differ diff --git a/vendors/firebase/lib/linux_64/libfirebase_auth.a b/vendors/firebase/lib/linux_64/libfirebase_auth.a deleted file mode 100644 index 4de90e2de..000000000 Binary files a/vendors/firebase/lib/linux_64/libfirebase_auth.a and /dev/null differ diff --git a/vendors/firebase/lib/linux_64/libfirebase_database.a b/vendors/firebase/lib/linux_64/libfirebase_database.a deleted file mode 100644 index 0e81b6312..000000000 Binary files a/vendors/firebase/lib/linux_64/libfirebase_database.a and /dev/null differ diff --git a/vendors/firebase/lib/linux_64/libfirebase_dynamic_links.a b/vendors/firebase/lib/linux_64/libfirebase_dynamic_links.a deleted file mode 100644 index ec0120ec8..000000000 Binary files a/vendors/firebase/lib/linux_64/libfirebase_dynamic_links.a and /dev/null differ diff --git a/vendors/firebase/lib/linux_64/libfirebase_firestore.a b/vendors/firebase/lib/linux_64/libfirebase_firestore.a deleted file mode 100644 index 5bb8d8251..000000000 Binary files a/vendors/firebase/lib/linux_64/libfirebase_firestore.a and /dev/null differ diff --git a/vendors/firebase/lib/linux_64/libfirebase_functions.a b/vendors/firebase/lib/linux_64/libfirebase_functions.a deleted file mode 100644 index a8e4c7ac4..000000000 Binary files a/vendors/firebase/lib/linux_64/libfirebase_functions.a and /dev/null differ diff --git a/vendors/firebase/lib/linux_64/libfirebase_gma.a b/vendors/firebase/lib/linux_64/libfirebase_gma.a deleted file mode 100644 index 1bc6f4be5..000000000 Binary files a/vendors/firebase/lib/linux_64/libfirebase_gma.a and /dev/null differ diff --git a/vendors/firebase/lib/linux_64/libfirebase_installations.a b/vendors/firebase/lib/linux_64/libfirebase_installations.a deleted file mode 100644 index 73e3596d5..000000000 Binary files a/vendors/firebase/lib/linux_64/libfirebase_installations.a and /dev/null differ diff --git a/vendors/firebase/lib/linux_64/libfirebase_messaging.a b/vendors/firebase/lib/linux_64/libfirebase_messaging.a deleted file mode 100644 index 0c8afcfd3..000000000 Binary files a/vendors/firebase/lib/linux_64/libfirebase_messaging.a and /dev/null differ diff --git a/vendors/firebase/lib/linux_64/libfirebase_remote_config.a b/vendors/firebase/lib/linux_64/libfirebase_remote_config.a deleted file mode 100644 index ceaa466f4..000000000 Binary files a/vendors/firebase/lib/linux_64/libfirebase_remote_config.a and /dev/null differ diff --git a/vendors/firebase/lib/linux_64/libfirebase_storage.a b/vendors/firebase/lib/linux_64/libfirebase_storage.a deleted file mode 100644 index 5040ed20a..000000000 Binary files a/vendors/firebase/lib/linux_64/libfirebase_storage.a and /dev/null differ diff --git a/vendors/firebase/lib/win_32/Debug/firebase_admob.lib b/vendors/firebase/lib/win_32/Debug/firebase_admob.lib deleted file mode 100644 index 92ba2923a..000000000 --- a/vendors/firebase/lib/win_32/Debug/firebase_admob.lib +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:058e8d98f06a14809fcb4406f8e898b8d64da4caed0269cd5c893597437a0167 -size 1830860 diff --git a/vendors/firebase/lib/win_32/Debug/firebase_analytics.lib b/vendors/firebase/lib/win_32/Debug/firebase_analytics.lib deleted file mode 100644 index 869c48e87..000000000 --- a/vendors/firebase/lib/win_32/Debug/firebase_analytics.lib +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ed64c5ad39a738a59cb38971f87242d64fa66fb649b2d09bfffcd5425b5e9f6c -size 572878 diff --git a/vendors/firebase/lib/win_32/Debug/firebase_app.lib b/vendors/firebase/lib/win_32/Debug/firebase_app.lib deleted file mode 100644 index 157ed4025..000000000 --- a/vendors/firebase/lib/win_32/Debug/firebase_app.lib +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2639a499f6cc8353bdae838e19134b7d3a2f3f22cc5db565421b9d1f20fb940a -size 46441466 diff --git a/vendors/firebase/lib/win_32/Debug/firebase_auth.lib b/vendors/firebase/lib/win_32/Debug/firebase_auth.lib deleted file mode 100644 index 9af0ba60a..000000000 --- a/vendors/firebase/lib/win_32/Debug/firebase_auth.lib +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:87919fc2830a4f15975f892dd75c17279f13a77a62148d5d4873d24f02bcb6ab -size 36839346 diff --git a/vendors/firebase/lib/win_32/Debug/firebase_database.lib b/vendors/firebase/lib/win_32/Debug/firebase_database.lib deleted file mode 100644 index b1b5849df..000000000 --- a/vendors/firebase/lib/win_32/Debug/firebase_database.lib +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:eba58d9c04cb584e4c4d0734a5be56b8bf71a9bd89587796f3a045d8402726b9 -size 50172874 diff --git a/vendors/firebase/lib/win_32/Debug/firebase_dynamic_links.lib b/vendors/firebase/lib/win_32/Debug/firebase_dynamic_links.lib deleted file mode 100644 index 3369486cb..000000000 --- a/vendors/firebase/lib/win_32/Debug/firebase_dynamic_links.lib +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1d006bf23be13b2f2708df20330acee51e05d72b1a7349c891765f002b2364c5 -size 965198 diff --git a/vendors/firebase/lib/win_32/Debug/firebase_firestore.lib b/vendors/firebase/lib/win_32/Debug/firebase_firestore.lib deleted file mode 100644 index cdba066c3..000000000 --- a/vendors/firebase/lib/win_32/Debug/firebase_firestore.lib +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0caee29007b7c36460711170179f2c415157b33ab9797b474fd235eb9812d263 -size 544920672 diff --git a/vendors/firebase/lib/win_32/Debug/firebase_functions.lib b/vendors/firebase/lib/win_32/Debug/firebase_functions.lib deleted file mode 100644 index 14ce12653..000000000 --- a/vendors/firebase/lib/win_32/Debug/firebase_functions.lib +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0577b0b865f1e88203a7ce9e26e4d133d7241a0018ef7b68b290e94c2ca5b054 -size 2637596 diff --git a/vendors/firebase/lib/win_32/Debug/firebase_gma.lib b/vendors/firebase/lib/win_32/Debug/firebase_gma.lib deleted file mode 100644 index 84d93ef0d..000000000 --- a/vendors/firebase/lib/win_32/Debug/firebase_gma.lib +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:52163c6cf032c3a8ef7f2df6f379abd26671189f517e9358d2e72a9636ad1907 -size 3756130 diff --git a/vendors/firebase/lib/win_32/Debug/firebase_installations.lib b/vendors/firebase/lib/win_32/Debug/firebase_installations.lib deleted file mode 100644 index 7076db429..000000000 --- a/vendors/firebase/lib/win_32/Debug/firebase_installations.lib +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f67885fafc9730b2e5ebf332b9f6444bd525a0170ad9a6baaed27349aaef6f09 -size 689828 diff --git a/vendors/firebase/lib/win_32/Debug/firebase_messaging.lib b/vendors/firebase/lib/win_32/Debug/firebase_messaging.lib deleted file mode 100644 index 6015f9e36..000000000 --- a/vendors/firebase/lib/win_32/Debug/firebase_messaging.lib +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:faf0400efe9a406e30e91098b4c4c8073d6e736aadca923eae2035f6e6fd37c8 -size 1029272 diff --git a/vendors/firebase/lib/win_32/Debug/firebase_remote_config.lib b/vendors/firebase/lib/win_32/Debug/firebase_remote_config.lib deleted file mode 100644 index a66f2904a..000000000 --- a/vendors/firebase/lib/win_32/Debug/firebase_remote_config.lib +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e0e43043ae4caf61904a75d6d6e9e0ea8f461a51a5a350899f59e33a19e8f5fd -size 12225590 diff --git a/vendors/firebase/lib/win_32/Debug/firebase_storage.lib b/vendors/firebase/lib/win_32/Debug/firebase_storage.lib deleted file mode 100644 index 45bf2b53a..000000000 --- a/vendors/firebase/lib/win_32/Debug/firebase_storage.lib +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:906461bf4fe5a96aede36c738f8de935b78a7374a3c728f2603df3ac57c8f06f -size 7638640 diff --git a/vendors/firebase/lib/win_32/Release/firebase_admob.lib b/vendors/firebase/lib/win_32/Release/firebase_admob.lib deleted file mode 100644 index 456fb89a7..000000000 --- a/vendors/firebase/lib/win_32/Release/firebase_admob.lib +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:705abc6ac4be20ca01dabe0e2b5fc632be1b9c8bf1b1d4270a623630e5163795 -size 330146 diff --git a/vendors/firebase/lib/win_32/Release/firebase_analytics.lib b/vendors/firebase/lib/win_32/Release/firebase_analytics.lib deleted file mode 100644 index 63df56ada..000000000 --- a/vendors/firebase/lib/win_32/Release/firebase_analytics.lib +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1d0eca015f0fd98e6440fe4dc65d55849136dc0d2266cbe36b91faf3e07ef8c5 -size 87166 diff --git a/vendors/firebase/lib/win_32/Release/firebase_app.lib b/vendors/firebase/lib/win_32/Release/firebase_app.lib deleted file mode 100644 index 14c82ff3d..000000000 --- a/vendors/firebase/lib/win_32/Release/firebase_app.lib +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:208c049a4c5bb92a2b8dd23a8dace966ca2bb0ac9d63efb43503b9a47c623abd -size 9029908 diff --git a/vendors/firebase/lib/win_32/Release/firebase_auth.lib b/vendors/firebase/lib/win_32/Release/firebase_auth.lib deleted file mode 100644 index c5fe18791..000000000 --- a/vendors/firebase/lib/win_32/Release/firebase_auth.lib +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0fee166439ba95f4066a7a58a436d6f56d79a3ec15da445c76ee4148bb4c2e6c -size 3688440 diff --git a/vendors/firebase/lib/win_32/Release/firebase_database.lib b/vendors/firebase/lib/win_32/Release/firebase_database.lib deleted file mode 100644 index dcfa839f0..000000000 --- a/vendors/firebase/lib/win_32/Release/firebase_database.lib +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:89f352f1938b59f6722e7be006393b517ec9d5e912bdf9942e5121be4fd81e40 -size 7251390 diff --git a/vendors/firebase/lib/win_32/Release/firebase_dynamic_links.lib b/vendors/firebase/lib/win_32/Release/firebase_dynamic_links.lib deleted file mode 100644 index e73de38b5..000000000 --- a/vendors/firebase/lib/win_32/Release/firebase_dynamic_links.lib +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2dd98ac940ed1f303f918b6bdb5eb054ae745af84fc9eb0773649554351c5131 -size 133894 diff --git a/vendors/firebase/lib/win_32/Release/firebase_firestore.lib b/vendors/firebase/lib/win_32/Release/firebase_firestore.lib deleted file mode 100644 index 78f35db14..000000000 --- a/vendors/firebase/lib/win_32/Release/firebase_firestore.lib +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ad7a7093274258e7694ebfef1a63b73869f9a5bfe5cada513fcb8a338b465e04 -size 62708766 diff --git a/vendors/firebase/lib/win_32/Release/firebase_functions.lib b/vendors/firebase/lib/win_32/Release/firebase_functions.lib deleted file mode 100644 index 545ff27e7..000000000 --- a/vendors/firebase/lib/win_32/Release/firebase_functions.lib +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e272ea8dfd9291786e8fa8b6f90530d617a9731a11ef9d719be4587e84b37d30 -size 273474 diff --git a/vendors/firebase/lib/win_32/Release/firebase_gma.lib b/vendors/firebase/lib/win_32/Release/firebase_gma.lib deleted file mode 100644 index 363a68b20..000000000 --- a/vendors/firebase/lib/win_32/Release/firebase_gma.lib +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e1c2649db6d2a8a6661691c89b507fa5bcd5d4f383ab998a6699406a9dd63d45 -size 461908 diff --git a/vendors/firebase/lib/win_32/Release/firebase_installations.lib b/vendors/firebase/lib/win_32/Release/firebase_installations.lib deleted file mode 100644 index 896dbbd3b..000000000 --- a/vendors/firebase/lib/win_32/Release/firebase_installations.lib +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2861e490ee47c688d2d7d2f17f91c1ce17b38790c211df4076b3d1119f642194 -size 94082 diff --git a/vendors/firebase/lib/win_32/Release/firebase_messaging.lib b/vendors/firebase/lib/win_32/Release/firebase_messaging.lib deleted file mode 100644 index cbb2222e2..000000000 --- a/vendors/firebase/lib/win_32/Release/firebase_messaging.lib +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f10a6bc11b4e574e57ce9510127cea12e70719dc1359a2d826ea7f5eeb74b18f -size 136518 diff --git a/vendors/firebase/lib/win_32/Release/firebase_remote_config.lib b/vendors/firebase/lib/win_32/Release/firebase_remote_config.lib deleted file mode 100644 index 3b2e87792..000000000 --- a/vendors/firebase/lib/win_32/Release/firebase_remote_config.lib +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2c19611798153a213227246eafbcc8b18e9b72d607c187bfc1fd7ae824eca68f -size 1262712 diff --git a/vendors/firebase/lib/win_32/Release/firebase_storage.lib b/vendors/firebase/lib/win_32/Release/firebase_storage.lib deleted file mode 100644 index ba8cc33f4..000000000 --- a/vendors/firebase/lib/win_32/Release/firebase_storage.lib +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1b3cd2a0ccae4838bb62a3bb385b13e558fa584953f850981024a863be21b5e4 -size 962404 diff --git a/vendors/firebase/lib/win_64/Debug/firebase_admob.lib b/vendors/firebase/lib/win_64/Debug/firebase_admob.lib deleted file mode 100644 index e7d4775ad..000000000 --- a/vendors/firebase/lib/win_64/Debug/firebase_admob.lib +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:941c2dba162656bd98ca70e570ddee4fd3e0e65440b4f998ef40bd4eca68ffc3 -size 2059494 diff --git a/vendors/firebase/lib/win_64/Debug/firebase_analytics.lib b/vendors/firebase/lib/win_64/Debug/firebase_analytics.lib deleted file mode 100644 index 04a30dfeb..000000000 --- a/vendors/firebase/lib/win_64/Debug/firebase_analytics.lib +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:58d80ab2cf057cdb48b89a35e8cc48532117bdd3f372bea6b323162a29095ad8 -size 650262 diff --git a/vendors/firebase/lib/win_64/Debug/firebase_app.lib b/vendors/firebase/lib/win_64/Debug/firebase_app.lib deleted file mode 100644 index b57851b5c..000000000 --- a/vendors/firebase/lib/win_64/Debug/firebase_app.lib +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:bfa929ef2e9e19bcf3ef708752d9e2d2330c5a7f8fcf93b0cd66d01bf77a2741 -size 56136516 diff --git a/vendors/firebase/lib/win_64/Debug/firebase_auth.lib b/vendors/firebase/lib/win_64/Debug/firebase_auth.lib deleted file mode 100644 index ee6000f84..000000000 --- a/vendors/firebase/lib/win_64/Debug/firebase_auth.lib +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:01a017b8e641347904c50a04b07fe6a1c16ac2615927223d393bd0724faf7813 -size 44197070 diff --git a/vendors/firebase/lib/win_64/Debug/firebase_database.lib b/vendors/firebase/lib/win_64/Debug/firebase_database.lib deleted file mode 100644 index 53ac044e5..000000000 --- a/vendors/firebase/lib/win_64/Debug/firebase_database.lib +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:20061339707ebf0c2e8e98014871adbe1541a811fb94f51c88577e936c57c263 -size 61064418 diff --git a/vendors/firebase/lib/win_64/Debug/firebase_dynamic_links.lib b/vendors/firebase/lib/win_64/Debug/firebase_dynamic_links.lib deleted file mode 100644 index 95bbf0f2b..000000000 --- a/vendors/firebase/lib/win_64/Debug/firebase_dynamic_links.lib +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f42d8494c2703c27564eacd690cd491f71ea9c19d1e31831dff33b1b1125e909 -size 1139460 diff --git a/vendors/firebase/lib/win_64/Debug/firebase_firestore.lib b/vendors/firebase/lib/win_64/Debug/firebase_firestore.lib deleted file mode 100644 index b54786917..000000000 --- a/vendors/firebase/lib/win_64/Debug/firebase_firestore.lib +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:090369eb0f8bf164d6b44ca9b2642cb93515914167a0adca0e9fe3e10832fa51 -size 657682414 diff --git a/vendors/firebase/lib/win_64/Debug/firebase_functions.lib b/vendors/firebase/lib/win_64/Debug/firebase_functions.lib deleted file mode 100644 index bab12f369..000000000 --- a/vendors/firebase/lib/win_64/Debug/firebase_functions.lib +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0c16f161c212c6f0c5d06cae68a5e820b714a7b8b3353dba9547330e7db70ab6 -size 3047398 diff --git a/vendors/firebase/lib/win_64/Debug/firebase_gma.lib b/vendors/firebase/lib/win_64/Debug/firebase_gma.lib deleted file mode 100644 index fd93a91a0..000000000 --- a/vendors/firebase/lib/win_64/Debug/firebase_gma.lib +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:aa0639066c01c653c73f01c91d10c9f58daf5d4ef6460e63dd37710c99d14be2 -size 4341452 diff --git a/vendors/firebase/lib/win_64/Debug/firebase_installations.lib b/vendors/firebase/lib/win_64/Debug/firebase_installations.lib deleted file mode 100644 index 5fdbeba0c..000000000 --- a/vendors/firebase/lib/win_64/Debug/firebase_installations.lib +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1e878d6a90cccf21b90ad64f318a1125058ee3afd3df59cdd14c1ea34e633791 -size 821428 diff --git a/vendors/firebase/lib/win_64/Debug/firebase_messaging.lib b/vendors/firebase/lib/win_64/Debug/firebase_messaging.lib deleted file mode 100644 index 3c3335726..000000000 --- a/vendors/firebase/lib/win_64/Debug/firebase_messaging.lib +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:70ac542d4a000cd4d4715a28fa1d99e2fdfc70c1322e4e32005f10136b9cbbc0 -size 1212078 diff --git a/vendors/firebase/lib/win_64/Debug/firebase_remote_config.lib b/vendors/firebase/lib/win_64/Debug/firebase_remote_config.lib deleted file mode 100644 index 2fdb8945e..000000000 --- a/vendors/firebase/lib/win_64/Debug/firebase_remote_config.lib +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d3f1ea63c1a7b8b156e5a4b2053e3cf6e52154080d9b0545aa674f7160ff3b5a -size 15106506 diff --git a/vendors/firebase/lib/win_64/Debug/firebase_storage.lib b/vendors/firebase/lib/win_64/Debug/firebase_storage.lib deleted file mode 100644 index 071a83695..000000000 --- a/vendors/firebase/lib/win_64/Debug/firebase_storage.lib +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:010d863f6f8e7f85e82a4b3309364e2f23dfcad15033e8b6cf8a6e299ec5792b -size 8745030 diff --git a/vendors/firebase/lib/win_64/Release/firebase_admob.lib b/vendors/firebase/lib/win_64/Release/firebase_admob.lib deleted file mode 100644 index 384c9b17f..000000000 --- a/vendors/firebase/lib/win_64/Release/firebase_admob.lib +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4b0b8f8878ad4c9b9a00522b619f15259d009a83825913d410f592b2ca0dc10c -size 402064 diff --git a/vendors/firebase/lib/win_64/Release/firebase_analytics.lib b/vendors/firebase/lib/win_64/Release/firebase_analytics.lib deleted file mode 100644 index a4dc076cb..000000000 --- a/vendors/firebase/lib/win_64/Release/firebase_analytics.lib +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e666475ce5680edaa81569437c44f07127db790fb95b9c730e6ebce4c193273d -size 103692 diff --git a/vendors/firebase/lib/win_64/Release/firebase_app.lib b/vendors/firebase/lib/win_64/Release/firebase_app.lib deleted file mode 100644 index a9cdef045..000000000 --- a/vendors/firebase/lib/win_64/Release/firebase_app.lib +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:aa1315edbd3bc11ad9fb16970425bff6eca787a36b7706f3c4484de4902dcf41 -size 12230250 diff --git a/vendors/firebase/lib/win_64/Release/firebase_auth.lib b/vendors/firebase/lib/win_64/Release/firebase_auth.lib deleted file mode 100644 index 4d577f23c..000000000 --- a/vendors/firebase/lib/win_64/Release/firebase_auth.lib +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:094f6ffda3d96eb058766f6f69b476a41282a3b99994c7aca4345fff2986d459 -size 5419156 diff --git a/vendors/firebase/lib/win_64/Release/firebase_database.lib b/vendors/firebase/lib/win_64/Release/firebase_database.lib deleted file mode 100644 index 3745c7299..000000000 --- a/vendors/firebase/lib/win_64/Release/firebase_database.lib +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d1a3d31964a10d1514e1c21bcf420471629c618ae4b915674810d29f02fd869f -size 9888348 diff --git a/vendors/firebase/lib/win_64/Release/firebase_dynamic_links.lib b/vendors/firebase/lib/win_64/Release/firebase_dynamic_links.lib deleted file mode 100644 index 2e753c386..000000000 --- a/vendors/firebase/lib/win_64/Release/firebase_dynamic_links.lib +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d096e3aadfc314cb3f6269778caa50e2892b21498caf6668ad3d9496eabad094 -size 174258 diff --git a/vendors/firebase/lib/win_64/Release/firebase_firestore.lib b/vendors/firebase/lib/win_64/Release/firebase_firestore.lib deleted file mode 100644 index f0495266d..000000000 --- a/vendors/firebase/lib/win_64/Release/firebase_firestore.lib +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d9a0b1e419c278ed2bce9cfcbf0bb6517bc7271b5aa7052c2149e1ae260e67ac -size 84053996 diff --git a/vendors/firebase/lib/win_64/Release/firebase_functions.lib b/vendors/firebase/lib/win_64/Release/firebase_functions.lib deleted file mode 100644 index b8143f654..000000000 --- a/vendors/firebase/lib/win_64/Release/firebase_functions.lib +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7d76afc8bebb9b965cc641f2d932445c4640e61659d3fa5d22e9348cd3197dcf -size 351004 diff --git a/vendors/firebase/lib/win_64/Release/firebase_gma.lib b/vendors/firebase/lib/win_64/Release/firebase_gma.lib deleted file mode 100644 index 8d4f1793d..000000000 --- a/vendors/firebase/lib/win_64/Release/firebase_gma.lib +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d7289eb47f5470af05ab23d34677ea94af85b683b94917a61d7774e938e8da83 -size 585638 diff --git a/vendors/firebase/lib/win_64/Release/firebase_installations.lib b/vendors/firebase/lib/win_64/Release/firebase_installations.lib deleted file mode 100644 index 0aca2ba8b..000000000 --- a/vendors/firebase/lib/win_64/Release/firebase_installations.lib +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5ea7d6b4dabf399085b74d8136c3661f57a6ce5c4bf668c56134b49607f4a7e9 -size 112444 diff --git a/vendors/firebase/lib/win_64/Release/firebase_messaging.lib b/vendors/firebase/lib/win_64/Release/firebase_messaging.lib deleted file mode 100644 index a5f7a35d3..000000000 --- a/vendors/firebase/lib/win_64/Release/firebase_messaging.lib +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e5884f59c95f9edeb8d8ba8a29271ee070ab8070445cca063fea2169290cd2e8 -size 179548 diff --git a/vendors/firebase/lib/win_64/Release/firebase_remote_config.lib b/vendors/firebase/lib/win_64/Release/firebase_remote_config.lib deleted file mode 100644 index 12110cbdd..000000000 --- a/vendors/firebase/lib/win_64/Release/firebase_remote_config.lib +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:64318432aafe9f94eca5e3ff31b78a60d2818977ed429a9f645e13abc3c82d46 -size 1795648 diff --git a/vendors/firebase/lib/win_64/Release/firebase_storage.lib b/vendors/firebase/lib/win_64/Release/firebase_storage.lib deleted file mode 100644 index 9e6cfcd09..000000000 --- a/vendors/firebase/lib/win_64/Release/firebase_storage.lib +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7a0262247abfa6000f93b849f110af7fb313633c2f39ed3a9692d6182a7c3267 -size 1273854 diff --git a/vendors/galaxy/CMakeLists.txt b/vendors/galaxy/CMakeLists.txt deleted file mode 100644 index 8e4d58789..000000000 --- a/vendors/galaxy/CMakeLists.txt +++ /dev/null @@ -1,10 +0,0 @@ -add_library(GalaxySDK STATIC dummy.cpp) -target_include_directories(GalaxySDK PUBLIC "Include") - -if (CMAKE_CL_64) - target_link_directories(GalaxySDK PUBLIC "Libraries") - add_custom_command(TARGET GalaxySDK POST_BUILD - COMMAND ${CMAKE_COMMAND} -E copy "${CMAKE_CURRENT_SOURCE_DIR}/Libraries/Galaxy64.dll" "${CMAKE_BINARY_DIR}/bin" - ) - target_link_libraries(GalaxySDK PUBLIC Galaxy64) -endif () diff --git a/vendors/galaxy/Docs/Errors_8h.html b/vendors/galaxy/Docs/Errors_8h.html deleted file mode 100644 index c577b275e..000000000 --- a/vendors/galaxy/Docs/Errors_8h.html +++ /dev/null @@ -1,152 +0,0 @@ - - - - - - - -GOG Galaxy: Errors.h File Reference - - - - - - - - - - - - - - -

-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
Errors.h File Reference
-
-
- -

Contains classes representing exceptions. -More...

-
#include "GalaxyExport.h"
-
-Include dependency graph for Errors.h:
-
-
-
-
-
-This graph shows which files directly or indirectly include this file:
-
-
-
-
-
-

Go to the source code of this file.

- - - - - - - - - - - - - - - - - -

-Classes

class  IError
 Base interface for exceptions. More...
 
class  IUnauthorizedAccessError
 The exception thrown when calling Galaxy interfaces while the user is not signed in and thus not authorized for any interaction. More...
 
class  IInvalidArgumentError
 The exception thrown to report that a method was called with an invalid argument. More...
 
class  IInvalidStateError
 The exception thrown to report that a method was called while the callee is in an invalid state, i.e. More...
 
class  IRuntimeError
 The exception thrown to report errors that can only be detected during runtime. More...
 
- - - - -

-Functions

GALAXY_DLL_EXPORT const IError *GALAXY_CALLTYPE GetError ()
 Retrieves error connected with the last API call on the local thread. More...
 
-

Detailed Description

-

Contains classes representing exceptions.

-
-
- - - - diff --git a/vendors/galaxy/Docs/Errors_8h.js b/vendors/galaxy/Docs/Errors_8h.js deleted file mode 100644 index 1c942fcfd..000000000 --- a/vendors/galaxy/Docs/Errors_8h.js +++ /dev/null @@ -1,4 +0,0 @@ -var Errors_8h = -[ - [ "GetError", "Errors_8h.html#ga11169dd939f560d09704770a1ba4612b", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/Errors_8h__dep__incl.map b/vendors/galaxy/Docs/Errors_8h__dep__incl.map deleted file mode 100644 index 3ac279312..000000000 --- a/vendors/galaxy/Docs/Errors_8h__dep__incl.map +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/vendors/galaxy/Docs/Errors_8h__dep__incl.md5 b/vendors/galaxy/Docs/Errors_8h__dep__incl.md5 deleted file mode 100644 index 2c8328b71..000000000 --- a/vendors/galaxy/Docs/Errors_8h__dep__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -452ce4b8d0563a6033d3623296d5f29d \ No newline at end of file diff --git a/vendors/galaxy/Docs/Errors_8h__dep__incl.svg b/vendors/galaxy/Docs/Errors_8h__dep__incl.svg deleted file mode 100644 index e6a3ffe70..000000000 --- a/vendors/galaxy/Docs/Errors_8h__dep__incl.svg +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - -Errors.h - - -Node2 - - -Errors.h - - - - -Node3 - - -GalaxyApi.h - - - - -Node2->Node3 - - - - -Node4 - - -GalaxyExceptionHelper.h - - - - -Node2->Node4 - - - - -Node5 - - -GalaxyGameServerApi.h - - - - -Node2->Node5 - - - - - diff --git a/vendors/galaxy/Docs/Errors_8h__incl.map b/vendors/galaxy/Docs/Errors_8h__incl.map deleted file mode 100644 index 79eeb23e5..000000000 --- a/vendors/galaxy/Docs/Errors_8h__incl.map +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/vendors/galaxy/Docs/Errors_8h__incl.md5 b/vendors/galaxy/Docs/Errors_8h__incl.md5 deleted file mode 100644 index 728335975..000000000 --- a/vendors/galaxy/Docs/Errors_8h__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -7b3d8cde25064ba1ea5b60d1712f173c \ No newline at end of file diff --git a/vendors/galaxy/Docs/Errors_8h__incl.svg b/vendors/galaxy/Docs/Errors_8h__incl.svg deleted file mode 100644 index cda1f8656..000000000 --- a/vendors/galaxy/Docs/Errors_8h__incl.svg +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - -Errors.h - - -Node0 - - -Errors.h - - - - -Node1 - - -GalaxyExport.h - - - - -Node0->Node1 - - - - - diff --git a/vendors/galaxy/Docs/Errors_8h_source.html b/vendors/galaxy/Docs/Errors_8h_source.html deleted file mode 100644 index 8f12efaea..000000000 --- a/vendors/galaxy/Docs/Errors_8h_source.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - - - -GOG Galaxy: Errors.h Source File - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
Errors.h
-
-
-Go to the documentation of this file.
1 #ifndef GALAXY_ERRORS_H
2 #define GALAXY_ERRORS_H
3 
9 #include "GalaxyExport.h"
10 
11 namespace galaxy
12 {
13  namespace api
14  {
23  class IError
24  {
25  public:
26 
27  virtual ~IError()
28  {
29  }
30 
36  virtual const char* GetName() const = 0;
37 
43  virtual const char* GetMsg() const = 0;
44 
48  enum Type
49  {
50  UNAUTHORIZED_ACCESS,
51  INVALID_ARGUMENT,
52  INVALID_STATE,
53  RUNTIME_ERROR
54  };
55 
61  virtual Type GetType() const = 0;
62  };
63 
69  {
70  };
71 
76  {
77  };
78 
83  class IInvalidStateError : public IError
84  {
85  };
86 
90  class IRuntimeError : public IError
91  {
92  };
93 
99  GALAXY_DLL_EXPORT const IError* GALAXY_CALLTYPE GetError();
100 
102  }
103 }
104 
105 #endif
Contains a macro used for DLL export.
-
Base interface for exceptions.
Definition: Errors.h:23
-
Type
Type of error.
Definition: Errors.h:48
-
GALAXY_DLL_EXPORT const IError *GALAXY_CALLTYPE GetError()
Retrieves error connected with the last API call on the local thread.
-
The exception thrown to report that a method was called while the callee is in an invalid state,...
Definition: Errors.h:83
-
virtual const char * GetMsg() const =0
Returns the error message.
-
The exception thrown to report errors that can only be detected during runtime.
Definition: Errors.h:90
-
virtual Type GetType() const =0
Returns the type of the error.
-
virtual const char * GetName() const =0
Returns the name of the error.
-
The exception thrown to report that a method was called with an invalid argument.
Definition: Errors.h:75
-
The exception thrown when calling Galaxy interfaces while the user is not signed in and thus not auth...
Definition: Errors.h:68
-
-
- - - - diff --git a/vendors/galaxy/Docs/GalaxyAllocator_8h.html b/vendors/galaxy/Docs/GalaxyAllocator_8h.html deleted file mode 100644 index 37de14d3f..000000000 --- a/vendors/galaxy/Docs/GalaxyAllocator_8h.html +++ /dev/null @@ -1,147 +0,0 @@ - - - - - - - -GOG Galaxy: GalaxyAllocator.h File Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
GalaxyAllocator.h File Reference
-
-
- -

Contains definition of custom memory allocator. -More...

-
#include "stdint.h"
-#include <cstddef>
-
-Include dependency graph for GalaxyAllocator.h:
-
-
-
-
-
-This graph shows which files directly or indirectly include this file:
-
-
-
-
-
-

Go to the source code of this file.

- - - - - -

-Classes

struct  GalaxyAllocator
 Custom memory allocator for GOG Galaxy SDK. More...
 
- - - - - - - - - - -

-Typedefs

typedef void *(* GalaxyMalloc) (uint32_t size, const char *typeName)
 Allocate function. More...
 
typedef void *(* GalaxyRealloc) (void *ptr, uint32_t newSize, const char *typeName)
 Reallocate function. More...
 
typedef void(* GalaxyFree) (void *ptr)
 Free function. More...
 
-

Detailed Description

-

Contains definition of custom memory allocator.

-
-
- - - - diff --git a/vendors/galaxy/Docs/GalaxyAllocator_8h.js b/vendors/galaxy/Docs/GalaxyAllocator_8h.js deleted file mode 100644 index f5872531e..000000000 --- a/vendors/galaxy/Docs/GalaxyAllocator_8h.js +++ /dev/null @@ -1,6 +0,0 @@ -var GalaxyAllocator_8h = -[ - [ "GalaxyFree", "GalaxyAllocator_8h.html#ga088429be4e622eaf0e7b66bbde64fbf6", null ], - [ "GalaxyMalloc", "GalaxyAllocator_8h.html#ga75ffb9cb99a62cae423601071be95b4b", null ], - [ "GalaxyRealloc", "GalaxyAllocator_8h.html#ga243f15d68e0aad3b5311b5829e90f2eb", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/GalaxyAllocator_8h__dep__incl.map b/vendors/galaxy/Docs/GalaxyAllocator_8h__dep__incl.map deleted file mode 100644 index bde8a03de..000000000 --- a/vendors/galaxy/Docs/GalaxyAllocator_8h__dep__incl.map +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/vendors/galaxy/Docs/GalaxyAllocator_8h__dep__incl.md5 b/vendors/galaxy/Docs/GalaxyAllocator_8h__dep__incl.md5 deleted file mode 100644 index 86f03e727..000000000 --- a/vendors/galaxy/Docs/GalaxyAllocator_8h__dep__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -75016bf77cf7b4344313f9fa45bd6c4b \ No newline at end of file diff --git a/vendors/galaxy/Docs/GalaxyAllocator_8h__dep__incl.svg b/vendors/galaxy/Docs/GalaxyAllocator_8h__dep__incl.svg deleted file mode 100644 index 1a6106fa8..000000000 --- a/vendors/galaxy/Docs/GalaxyAllocator_8h__dep__incl.svg +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - -GalaxyAllocator.h - - -Node3 - - -GalaxyAllocator.h - - - - -Node4 - - -InitOptions.h - - - - -Node3->Node4 - - - - -Node5 - - -GalaxyApi.h - - - - -Node4->Node5 - - - - -Node6 - - -GalaxyGameServerApi.h - - - - -Node4->Node6 - - - - - diff --git a/vendors/galaxy/Docs/GalaxyAllocator_8h__incl.map b/vendors/galaxy/Docs/GalaxyAllocator_8h__incl.map deleted file mode 100644 index d21c07e14..000000000 --- a/vendors/galaxy/Docs/GalaxyAllocator_8h__incl.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/vendors/galaxy/Docs/GalaxyAllocator_8h__incl.md5 b/vendors/galaxy/Docs/GalaxyAllocator_8h__incl.md5 deleted file mode 100644 index 06c2426b1..000000000 --- a/vendors/galaxy/Docs/GalaxyAllocator_8h__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -4f8942d6d7fea52f75ba78b3e1c834e2 \ No newline at end of file diff --git a/vendors/galaxy/Docs/GalaxyAllocator_8h__incl.svg b/vendors/galaxy/Docs/GalaxyAllocator_8h__incl.svg deleted file mode 100644 index 9fe90a2e2..000000000 --- a/vendors/galaxy/Docs/GalaxyAllocator_8h__incl.svg +++ /dev/null @@ -1,52 +0,0 @@ - - - - - - -GalaxyAllocator.h - - -Node0 - - -GalaxyAllocator.h - - - - -Node1 - - -stdint.h - - - - -Node0->Node1 - - - - -Node2 - - -cstddef - - - - -Node0->Node2 - - - - -Node1->Node1 - - - - - diff --git a/vendors/galaxy/Docs/GalaxyAllocator_8h_source.html b/vendors/galaxy/Docs/GalaxyAllocator_8h_source.html deleted file mode 100644 index c88ca9fab..000000000 --- a/vendors/galaxy/Docs/GalaxyAllocator_8h_source.html +++ /dev/null @@ -1,113 +0,0 @@ - - - - - - - -GOG Galaxy: GalaxyAllocator.h Source File - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
GalaxyAllocator.h
-
-
-Go to the documentation of this file.
1 #ifndef GALAXY_I_ALLOCATOR_H
2 #define GALAXY_I_ALLOCATOR_H
3 
9 #include "stdint.h"
10 #include <cstddef>
11 
12 namespace galaxy
13 {
14  namespace api
15  {
28  typedef void* (*GalaxyMalloc)(uint32_t size, const char* typeName);
29 
38  typedef void* (*GalaxyRealloc)(void* ptr, uint32_t newSize, const char* typeName);
39 
45  typedef void (*GalaxyFree)(void* ptr);
46 
51  {
56  : galaxyMalloc(NULL)
57  , galaxyRealloc(NULL)
58  , galaxyFree(NULL)
59  {}
60 
68  GalaxyAllocator(GalaxyMalloc _galaxyMalloc, GalaxyRealloc _galaxyRealloc, GalaxyFree _galaxyFree)
69  : galaxyMalloc(_galaxyMalloc)
70  , galaxyRealloc(_galaxyRealloc)
71  , galaxyFree(_galaxyFree)
72  {}
73 
77  };
78 
80  }
81 }
82 
83 #endif
GalaxyMalloc galaxyMalloc
Allocation function.
Definition: GalaxyAllocator.h:74
-
void *(* GalaxyRealloc)(void *ptr, uint32_t newSize, const char *typeName)
Reallocate function.
Definition: GalaxyAllocator.h:38
-
GalaxyAllocator(GalaxyMalloc _galaxyMalloc, GalaxyRealloc _galaxyRealloc, GalaxyFree _galaxyFree)
GalaxyAllocator constructor.
Definition: GalaxyAllocator.h:68
-
Custom memory allocator for GOG Galaxy SDK.
Definition: GalaxyAllocator.h:50
-
GalaxyFree galaxyFree
Free function.
Definition: GalaxyAllocator.h:76
-
GalaxyRealloc galaxyRealloc
Reallocation function.
Definition: GalaxyAllocator.h:75
-
void *(* GalaxyMalloc)(uint32_t size, const char *typeName)
Allocate function.
Definition: GalaxyAllocator.h:28
-
GalaxyAllocator()
GalaxyAllocator default constructor.
Definition: GalaxyAllocator.h:55
-
void(* GalaxyFree)(void *ptr)
Free function.
Definition: GalaxyAllocator.h:45
-
-
- - - - diff --git a/vendors/galaxy/Docs/GalaxyApi_8h.html b/vendors/galaxy/Docs/GalaxyApi_8h.html deleted file mode 100644 index 461f23304..000000000 --- a/vendors/galaxy/Docs/GalaxyApi_8h.html +++ /dev/null @@ -1,184 +0,0 @@ - - - - - - - -GOG Galaxy: GalaxyApi.h File Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
GalaxyApi.h File Reference
-
-
- -

Includes all other files that are needed to work with the Galaxy library. -More...

-
#include "GalaxyExport.h"
-#include "InitOptions.h"
-#include "IUser.h"
-#include "IFriends.h"
-#include "IChat.h"
-#include "IMatchmaking.h"
-#include "INetworking.h"
-#include "IStats.h"
-#include "IUtils.h"
-#include "IApps.h"
-#include "IStorage.h"
-#include "ICustomNetworking.h"
-#include "ILogger.h"
-#include "ITelemetry.h"
-#include "Errors.h"
-#include <cstddef>
-
-Include dependency graph for GalaxyApi.h:
-
-
-
-
-
-

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Functions

GALAXY_DLL_EXPORT void GALAXY_CALLTYPE Init (const InitOptions &initOptions)
 Initializes the Galaxy Peer with specified credentials. More...
 
GALAXY_DLL_EXPORT void GALAXY_CALLTYPE Shutdown ()
 Shuts down the Galaxy Peer. More...
 
GALAXY_DLL_EXPORT IUser *GALAXY_CALLTYPE User ()
 Returns an instance of IUser. More...
 
GALAXY_DLL_EXPORT IFriends *GALAXY_CALLTYPE Friends ()
 Returns an instance of IFriends. More...
 
GALAXY_DLL_EXPORT IChat *GALAXY_CALLTYPE Chat ()
 Returns an instance of IChat. More...
 
GALAXY_DLL_EXPORT IMatchmaking *GALAXY_CALLTYPE Matchmaking ()
 Returns an instance of IMatchmaking. More...
 
GALAXY_DLL_EXPORT INetworking *GALAXY_CALLTYPE Networking ()
 Returns an instance of INetworking that allows to communicate as a regular lobby member. More...
 
GALAXY_DLL_EXPORT IStats *GALAXY_CALLTYPE Stats ()
 Returns an instance of IStats. More...
 
GALAXY_DLL_EXPORT IUtils *GALAXY_CALLTYPE Utils ()
 Returns an instance of IUtils. More...
 
GALAXY_DLL_EXPORT IApps *GALAXY_CALLTYPE Apps ()
 Returns an instance of IApps. More...
 
GALAXY_DLL_EXPORT IStorage *GALAXY_CALLTYPE Storage ()
 Returns an instance of IStorage. More...
 
GALAXY_DLL_EXPORT ICustomNetworking *GALAXY_CALLTYPE CustomNetworking ()
 Returns an instance of ICustomNetworking. More...
 
GALAXY_DLL_EXPORT ILogger *GALAXY_CALLTYPE Logger ()
 Returns an instance of ILogger. More...
 
GALAXY_DLL_EXPORT ITelemetry *GALAXY_CALLTYPE Telemetry ()
 Returns an instance of ITelemetry. More...
 
GALAXY_DLL_EXPORT void GALAXY_CALLTYPE ProcessData ()
 Makes the Galaxy Peer process its input and output streams. More...
 
-

Detailed Description

-

Includes all other files that are needed to work with the Galaxy library.

-
-
- - - - diff --git a/vendors/galaxy/Docs/GalaxyApi_8h.js b/vendors/galaxy/Docs/GalaxyApi_8h.js deleted file mode 100644 index b1b7a0a5c..000000000 --- a/vendors/galaxy/Docs/GalaxyApi_8h.js +++ /dev/null @@ -1,18 +0,0 @@ -var GalaxyApi_8h = -[ - [ "Apps", "GalaxyApi_8h.html#ga50e879fbb5841e146b85e5ec419b3041", null ], - [ "Chat", "GalaxyApi_8h.html#ga6e9cbdfb79b685a75bc2312ef19e2079", null ], - [ "CustomNetworking", "GalaxyApi_8h.html#gaa7632d0a4bcbae1fb58b1837cb82ddda", null ], - [ "Friends", "GalaxyApi_8h.html#ga27e073630c24a0ed20def15bdaf1aa52", null ], - [ "Init", "GalaxyApi_8h.html#ga7d13610789657b6aebe0ba0aa542196f", null ], - [ "Logger", "GalaxyApi_8h.html#gaa1c9d39dfa5f8635983a7a2448cb0c39", null ], - [ "Matchmaking", "GalaxyApi_8h.html#ga4d96db1436295a3104a435b3afd4eeb8", null ], - [ "Networking", "GalaxyApi_8h.html#ga269daf0c541ae9d76f6a27f293804677", null ], - [ "ProcessData", "GalaxyApi_8h.html#ga1e437567d7fb43c9845809b22c567ca7", null ], - [ "Shutdown", "GalaxyApi_8h.html#ga07e40f3563405d786ecd0c6501a14baf", null ], - [ "Stats", "GalaxyApi_8h.html#ga5c02ab593c2ea0b88eaa320f85b0dc2f", null ], - [ "Storage", "GalaxyApi_8h.html#ga1332e023e6736114f1c1ee8553155185", null ], - [ "Telemetry", "GalaxyApi_8h.html#ga4b69eca19751e086638ca6038d76d331", null ], - [ "User", "GalaxyApi_8h.html#gae38960649548d817130298258e0c461a", null ], - [ "Utils", "GalaxyApi_8h.html#ga07f13c08529578f0e4aacde7bab29b10", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/GalaxyApi_8h__incl.map b/vendors/galaxy/Docs/GalaxyApi_8h__incl.map deleted file mode 100644 index 59a84a0d1..000000000 --- a/vendors/galaxy/Docs/GalaxyApi_8h__incl.map +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/vendors/galaxy/Docs/GalaxyApi_8h__incl.md5 b/vendors/galaxy/Docs/GalaxyApi_8h__incl.md5 deleted file mode 100644 index 62d80ef6c..000000000 --- a/vendors/galaxy/Docs/GalaxyApi_8h__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -904229ec7956a91181436b6b482de27e \ No newline at end of file diff --git a/vendors/galaxy/Docs/GalaxyApi_8h__incl.svg b/vendors/galaxy/Docs/GalaxyApi_8h__incl.svg deleted file mode 100644 index 19e2ed65a..000000000 --- a/vendors/galaxy/Docs/GalaxyApi_8h__incl.svg +++ /dev/null @@ -1,440 +0,0 @@ - - - - - - -GalaxyApi.h - - -Node0 - - -GalaxyApi.h - - - - -Node1 - - -GalaxyExport.h - - - - -Node0->Node1 - - - - -Node2 - - -InitOptions.h - - - - -Node0->Node2 - - - - -Node5 - - -cstddef - - - - -Node0->Node5 - - - - -Node7 - - -IUser.h - - - - -Node0->Node7 - - - - -Node12 - - -IFriends.h - - - - -Node0->Node12 - - - - -Node13 - - -IChat.h - - - - -Node0->Node13 - - - - -Node14 - - -IMatchmaking.h - - - - -Node0->Node14 - - - - -Node15 - - -INetworking.h - - - - -Node0->Node15 - - - - -Node16 - - -IStats.h - - - - -Node0->Node16 - - - - -Node17 - - -IUtils.h - - - - -Node0->Node17 - - - - -Node18 - - -IApps.h - - - - -Node0->Node18 - - - - -Node19 - - -IStorage.h - - - - -Node0->Node19 - - - - -Node20 - - -ICustomNetworking.h - - - - -Node0->Node20 - - - - -Node21 - - -ILogger.h - - - - -Node0->Node21 - - - - -Node22 - - -ITelemetry.h - - - - -Node0->Node22 - - - - -Node23 - - -Errors.h - - - - -Node0->Node23 - - - - -Node3 - - -GalaxyAllocator.h - - - - -Node2->Node3 - - - - -Node4 - - -stdint.h - - - - -Node2->Node4 - - - - -Node2->Node5 - - - - -Node6 - - -GalaxyThread.h - - - - -Node2->Node6 - - - - -Node3->Node4 - - - - -Node3->Node5 - - - - -Node4->Node4 - - - - -Node8 - - -GalaxyID.h - - - - -Node7->Node8 - - - - -Node10 - - -IListenerRegistrar.h - - - - -Node7->Node10 - - - - -Node8->Node4 - - - - -Node9 - - -assert.h - - - - -Node8->Node9 - - - - -Node10->Node1 - - - - -Node10->Node4 - - - - -Node11 - - -stdlib.h - - - - -Node10->Node11 - - - - -Node12->Node8 - - - - -Node12->Node10 - - - - -Node13->Node8 - - - - -Node13->Node10 - - - - -Node14->Node8 - - - - -Node14->Node10 - - - - -Node15->Node8 - - - - -Node15->Node10 - - - - -Node16->Node8 - - - - -Node16->Node10 - - - - -Node17->Node10 - - - - -Node18->Node10 - - - - -Node19->Node8 - - - - -Node19->Node10 - - - - -Node20->Node10 - - - - -Node22->Node10 - - - - -Node23->Node1 - - - - - diff --git a/vendors/galaxy/Docs/GalaxyApi_8h_source.html b/vendors/galaxy/Docs/GalaxyApi_8h_source.html deleted file mode 100644 index f1d745a10..000000000 --- a/vendors/galaxy/Docs/GalaxyApi_8h_source.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - -GOG Galaxy: GalaxyApi.h Source File - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
GalaxyApi.h
-
-
-Go to the documentation of this file.
1 #ifndef GALAXY_API_H
2 #define GALAXY_API_H
3 
9 #include "GalaxyExport.h"
10 #include "InitOptions.h"
11 #include "IUser.h"
12 #include "IFriends.h"
13 #include "IChat.h"
14 #include "IMatchmaking.h"
15 #include "INetworking.h"
16 #include "IStats.h"
17 #include "IUtils.h"
18 #include "IApps.h"
19 #include "IStorage.h"
20 #include "ICustomNetworking.h"
21 #include "ILogger.h"
22 #include "ITelemetry.h"
23 #include "Errors.h"
24 
25 #include <cstddef>
26 
27 namespace galaxy
28 {
29  namespace api
30  {
340  GALAXY_DLL_EXPORT void GALAXY_CALLTYPE Init(const InitOptions& initOptions);
341 
350  GALAXY_DLL_EXPORT void GALAXY_CALLTYPE Shutdown();
351 
357  GALAXY_DLL_EXPORT IUser* GALAXY_CALLTYPE User();
358 
364  GALAXY_DLL_EXPORT IFriends* GALAXY_CALLTYPE Friends();
365 
371  GALAXY_DLL_EXPORT IChat* GALAXY_CALLTYPE Chat();
372 
378  GALAXY_DLL_EXPORT IMatchmaking* GALAXY_CALLTYPE Matchmaking();
379 
386  GALAXY_DLL_EXPORT INetworking* GALAXY_CALLTYPE Networking();
387 
393  GALAXY_DLL_EXPORT IStats* GALAXY_CALLTYPE Stats();
394 
400  GALAXY_DLL_EXPORT IUtils* GALAXY_CALLTYPE Utils();
401 
407  GALAXY_DLL_EXPORT IApps* GALAXY_CALLTYPE Apps();
408 
414  GALAXY_DLL_EXPORT IStorage* GALAXY_CALLTYPE Storage();
415 
421  GALAXY_DLL_EXPORT ICustomNetworking* GALAXY_CALLTYPE CustomNetworking();
422 
428  GALAXY_DLL_EXPORT ILogger* GALAXY_CALLTYPE Logger();
429 
435  GALAXY_DLL_EXPORT ITelemetry* GALAXY_CALLTYPE Telemetry();
436 
449  GALAXY_DLL_EXPORT void GALAXY_CALLTYPE ProcessData();
450 
455  }
456 }
457 
458 #endif
Contains a macro used for DLL export.
-
GALAXY_DLL_EXPORT void GALAXY_CALLTYPE Shutdown()
Shuts down the Galaxy Peer.
-
Contains classes representing exceptions.
-
Contains data structures and interfaces related to logging.
-
GALAXY_DLL_EXPORT IChat *GALAXY_CALLTYPE Chat()
Returns an instance of IChat.
-
GALAXY_DLL_EXPORT void GALAXY_CALLTYPE Init(const InitOptions &initOptions)
Initializes the Galaxy Peer with specified credentials.
-
GALAXY_DLL_EXPORT INetworking *GALAXY_CALLTYPE Networking()
Returns an instance of INetworking that allows to communicate as a regular lobby member.
-
GALAXY_DLL_EXPORT ITelemetry *GALAXY_CALLTYPE Telemetry()
Returns an instance of ITelemetry.
-
GALAXY_DLL_EXPORT IMatchmaking *GALAXY_CALLTYPE Matchmaking()
Returns an instance of IMatchmaking.
-
GALAXY_DLL_EXPORT IStorage *GALAXY_CALLTYPE Storage()
Returns an instance of IStorage.
-
Contains data structures and interfaces related to statistics, achievements and leaderboards.
-
Contains data structures and interfaces related to user account.
-
Contains data structures and interfaces related to common activities.
-
Contains data structures and interfaces related to chat communication with other Galaxy Users.
-
Contains data structures and interfaces related to matchmaking.
-
GALAXY_DLL_EXPORT IUtils *GALAXY_CALLTYPE Utils()
Returns an instance of IUtils.
-
GALAXY_DLL_EXPORT ICustomNetworking *GALAXY_CALLTYPE CustomNetworking()
Returns an instance of ICustomNetworking.
-
GALAXY_DLL_EXPORT IApps *GALAXY_CALLTYPE Apps()
Returns an instance of IApps.
-
GALAXY_DLL_EXPORT ILogger *GALAXY_CALLTYPE Logger()
Returns an instance of ILogger.
-
Contains data structures and interfaces related to storage activities.
-
GALAXY_DLL_EXPORT IUser *GALAXY_CALLTYPE User()
Returns an instance of IUser.
-
GALAXY_DLL_EXPORT void GALAXY_CALLTYPE ProcessData()
Makes the Galaxy Peer process its input and output streams.
-
Contains class that holds Galaxy initialization parameters.
-
Contains data structures and interfaces related to communicating with other Galaxy Peers.
-
Contains data structures and interfaces related to application activities.
-
GALAXY_DLL_EXPORT IStats *GALAXY_CALLTYPE Stats()
Returns an instance of IStats.
-
Contains data structures and interfaces related to social activities.
-
Contains data structures and interfaces related to communicating with custom endpoints.
-
GALAXY_DLL_EXPORT IFriends *GALAXY_CALLTYPE Friends()
Returns an instance of IFriends.
-
Contains data structures and interfaces related to telemetry.
-
-
- - - - diff --git a/vendors/galaxy/Docs/GalaxyExceptionHelper_8h_source.html b/vendors/galaxy/Docs/GalaxyExceptionHelper_8h_source.html deleted file mode 100644 index b3fa39aff..000000000 --- a/vendors/galaxy/Docs/GalaxyExceptionHelper_8h_source.html +++ /dev/null @@ -1,106 +0,0 @@ - - - - - - - -GOG Galaxy: GalaxyExceptionHelper.h Source File - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
GalaxyExceptionHelper.h
-
-
-
1 #ifndef GALAXY_EXCEPTION_HELPER_H
2 #define GALAXY_EXCEPTION_HELPER_H
3 
4 #include "Errors.h"
5 #include <string>
6 
7 namespace galaxy
8 {
9  namespace api
10  {
11  namespace details
12  {
13 
14 #define GALAXY_EXCEPTION_HELPER_ERROR_CLASS(Exception, ExceptionInterface, ErrorType) \
15 class Exception : public ExceptionInterface \
16 {\
17 public: \
18  explicit Exception(const IError* exception) : message(exception->GetMsg()) {}\
19  const char* GetName() const override { return #ExceptionInterface; } \
20  const char* GetMsg() const override { return message.c_str(); } \
21  api::IError::Type GetType() const override { return ErrorType; } \
22 \
23 private: \
24  const std::string message; \
25 }
26 
27  GALAXY_EXCEPTION_HELPER_ERROR_CLASS(UnauthorizedAccessError, IUnauthorizedAccessError, IError::UNAUTHORIZED_ACCESS);
28  GALAXY_EXCEPTION_HELPER_ERROR_CLASS(InvalidArgumentError, IInvalidArgumentError, IError::INVALID_ARGUMENT);
29  GALAXY_EXCEPTION_HELPER_ERROR_CLASS(InvalidStateError, IInvalidStateError, IError::INVALID_STATE);
30  GALAXY_EXCEPTION_HELPER_ERROR_CLASS(RuntimeError, IRuntimeError, IError::RUNTIME_ERROR);
31 
32  }
33 
34  inline void ThrowIfGalaxyError()
35  {
36  const IError* error = GetError();
37  if (error)
38  {
39  switch (error->GetType())
40  {
41  case IError::UNAUTHORIZED_ACCESS: throw details::UnauthorizedAccessError(error);
42  case IError::INVALID_ARGUMENT: throw details::InvalidArgumentError(error);
43  case IError::INVALID_STATE: throw details::InvalidStateError(error);
44  default: throw details::RuntimeError(error);
45  }
46  }
47  }
48 
49  }
50 }
51 
52 #endif
Contains classes representing exceptions.
-
GALAXY_DLL_EXPORT const IError *GALAXY_CALLTYPE GetError()
Retrieves error connected with the last API call on the local thread.
-
-
- - - - diff --git a/vendors/galaxy/Docs/GalaxyExport_8h.html b/vendors/galaxy/Docs/GalaxyExport_8h.html deleted file mode 100644 index e9585bedf..000000000 --- a/vendors/galaxy/Docs/GalaxyExport_8h.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - -GOG Galaxy: GalaxyExport.h File Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
GalaxyExport.h File Reference
-
-
- -

Contains a macro used for DLL export. -More...

-
-This graph shows which files directly or indirectly include this file:
-
-
-
-
-
-

Go to the source code of this file.

-

Detailed Description

-

Contains a macro used for DLL export.

-
-
- - - - diff --git a/vendors/galaxy/Docs/GalaxyExport_8h.js b/vendors/galaxy/Docs/GalaxyExport_8h.js deleted file mode 100644 index 259b8625c..000000000 --- a/vendors/galaxy/Docs/GalaxyExport_8h.js +++ /dev/null @@ -1,5 +0,0 @@ -var GalaxyExport_8h = -[ - [ "GALAXY_CALLTYPE", "GalaxyExport_8h.html#a8b1c00d8c18fa44e1762e7e7163e5065", null ], - [ "GALAXY_DLL_EXPORT", "GalaxyExport_8h.html#ad4fe29abd38af8e52004db26ea275486", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/GalaxyExport_8h__dep__incl.map b/vendors/galaxy/Docs/GalaxyExport_8h__dep__incl.map deleted file mode 100644 index 2a0ec6abc..000000000 --- a/vendors/galaxy/Docs/GalaxyExport_8h__dep__incl.map +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - - - - - - - - - - - - diff --git a/vendors/galaxy/Docs/GalaxyExport_8h__dep__incl.md5 b/vendors/galaxy/Docs/GalaxyExport_8h__dep__incl.md5 deleted file mode 100644 index 9c8a04255..000000000 --- a/vendors/galaxy/Docs/GalaxyExport_8h__dep__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -cb2dea5fa903d3c0df69c557c9c19c85 \ No newline at end of file diff --git a/vendors/galaxy/Docs/GalaxyExport_8h__dep__incl.svg b/vendors/galaxy/Docs/GalaxyExport_8h__dep__incl.svg deleted file mode 100644 index 40a9dcf34..000000000 --- a/vendors/galaxy/Docs/GalaxyExport_8h__dep__incl.svg +++ /dev/null @@ -1,319 +0,0 @@ - - - - - - -GalaxyExport.h - - -Node1 - - -GalaxyExport.h - - - - -Node2 - - -Errors.h - - - - -Node1->Node2 - - - - -Node3 - - -GalaxyApi.h - - - - -Node1->Node3 - - - - -Node5 - - -GalaxyGameServerApi.h - - - - -Node1->Node5 - - - - -Node6 - - -IListenerRegistrar.h - - - - -Node1->Node6 - - - - -Node2->Node3 - - - - -Node4 - - -GalaxyExceptionHelper.h - - - - -Node2->Node4 - - - - -Node2->Node5 - - - - -Node7 - - -IUser.h - - - - -Node6->Node7 - - - - -Node8 - - -IFriends.h - - - - -Node6->Node8 - - - - -Node9 - - -IChat.h - - - - -Node6->Node9 - - - - -Node10 - - -IMatchmaking.h - - - - -Node6->Node10 - - - - -Node11 - - -INetworking.h - - - - -Node6->Node11 - - - - -Node12 - - -IStats.h - - - - -Node6->Node12 - - - - -Node13 - - -IUtils.h - - - - -Node6->Node13 - - - - -Node14 - - -IApps.h - - - - -Node6->Node14 - - - - -Node15 - - -IStorage.h - - - - -Node6->Node15 - - - - -Node16 - - -ICustomNetworking.h - - - - -Node6->Node16 - - - - -Node17 - - -ITelemetry.h - - - - -Node6->Node17 - - - - -Node7->Node3 - - - - -Node7->Node5 - - - - -Node8->Node3 - - - - -Node9->Node3 - - - - -Node10->Node3 - - - - -Node10->Node5 - - - - -Node11->Node3 - - - - -Node11->Node5 - - - - -Node12->Node3 - - - - -Node13->Node3 - - - - -Node13->Node5 - - - - -Node14->Node3 - - - - -Node15->Node3 - - - - -Node16->Node3 - - - - -Node17->Node3 - - - - -Node17->Node5 - - - - - diff --git a/vendors/galaxy/Docs/GalaxyExport_8h_source.html b/vendors/galaxy/Docs/GalaxyExport_8h_source.html deleted file mode 100644 index ff307e93e..000000000 --- a/vendors/galaxy/Docs/GalaxyExport_8h_source.html +++ /dev/null @@ -1,104 +0,0 @@ - - - - - - - -GOG Galaxy: GalaxyExport.h Source File - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
GalaxyExport.h
-
-
-Go to the documentation of this file.
1 #ifndef GALAXY_EXPORT_H
2 #define GALAXY_EXPORT_H
3 
9 #if defined(_WIN32) || defined(_XBOX_ONE) || defined(__ORBIS__)
10  #if defined(GALAXY_EXPORT)
11  #define GALAXY_DLL_EXPORT __declspec(dllexport)
12  #else
13  #define GALAXY_DLL_EXPORT __declspec(dllimport)
14  #endif
15 #else
16  #define GALAXY_DLL_EXPORT
17 #endif
18 
19 #if defined(_WIN32) && !defined(__ORBIS__) && !defined(_XBOX_ONE)
20  #define GALAXY_CALLTYPE __cdecl
21 #else
22  #define GALAXY_CALLTYPE
23 #endif
24 
25 #endif
-
- - - - diff --git a/vendors/galaxy/Docs/GalaxyGameServerApi_8h.html b/vendors/galaxy/Docs/GalaxyGameServerApi_8h.html deleted file mode 100644 index a08d2cc63..000000000 --- a/vendors/galaxy/Docs/GalaxyGameServerApi_8h.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - - - -GOG Galaxy: GalaxyGameServerApi.h File Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
GalaxyGameServerApi.h File Reference
-
-
- -

Contains the main interface for controlling the Galaxy Game Server. -More...

-
#include "GalaxyExport.h"
-#include "InitOptions.h"
-#include "IUser.h"
-#include "IMatchmaking.h"
-#include "INetworking.h"
-#include "IUtils.h"
-#include "ITelemetry.h"
-#include "ILogger.h"
-#include "Errors.h"
-#include <cstddef>
-
-Include dependency graph for GalaxyGameServerApi.h:
-
-
-
-
-
-

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Functions

GALAXY_DLL_EXPORT void GALAXY_CALLTYPE InitGameServer (const InitOptions &initOptions)
 Initializes the Galaxy Game Server with specified credentials. More...
 
GALAXY_DLL_EXPORT void GALAXY_CALLTYPE ShutdownGameServer ()
 Shuts down the Galaxy Game Server. More...
 
GALAXY_DLL_EXPORT IUser *GALAXY_CALLTYPE GameServerUser ()
 Returns an instance of IUser interface for the Game Server entity. More...
 
GALAXY_DLL_EXPORT IMatchmaking *GALAXY_CALLTYPE GameServerMatchmaking ()
 Returns an instance of IMatchmaking interface for the Game Server entity. More...
 
GALAXY_DLL_EXPORT INetworking *GALAXY_CALLTYPE GameServerNetworking ()
 Returns an instance of INetworking interface for the Game Server entity that allows to communicate as the lobby host. More...
 
GALAXY_DLL_EXPORT IUtils *GALAXY_CALLTYPE GameServerUtils ()
 Returns an instance of IUtils interface for the Game Server entity. More...
 
GALAXY_DLL_EXPORT ITelemetry *GALAXY_CALLTYPE GameServerTelemetry ()
 Returns an instance of ITelemetry. More...
 
GALAXY_DLL_EXPORT ILogger *GALAXY_CALLTYPE GameServerLogger ()
 Returns an instance of ILogger interface for the Game Server entity. More...
 
GALAXY_DLL_EXPORT void GALAXY_CALLTYPE ProcessGameServerData ()
 Makes the Game Server process its input and output streams. More...
 
-

Detailed Description

-

Contains the main interface for controlling the Galaxy Game Server.

-
-
- - - - diff --git a/vendors/galaxy/Docs/GalaxyGameServerApi_8h.js b/vendors/galaxy/Docs/GalaxyGameServerApi_8h.js deleted file mode 100644 index d2d2fd9ee..000000000 --- a/vendors/galaxy/Docs/GalaxyGameServerApi_8h.js +++ /dev/null @@ -1,12 +0,0 @@ -var GalaxyGameServerApi_8h = -[ - [ "GameServerLogger", "GalaxyGameServerApi_8h.html#ga9393370179cb8f2e8561ba860c0d4022", null ], - [ "GameServerMatchmaking", "GalaxyGameServerApi_8h.html#ga2a3635741b0b2a84ee3e9b5c21a576dd", null ], - [ "GameServerNetworking", "GalaxyGameServerApi_8h.html#ga1abe6d85bc8550b6a9faa67ab8f46a25", null ], - [ "GameServerTelemetry", "GalaxyGameServerApi_8h.html#ga5051973a07fdf16670a40f8ef50e20f7", null ], - [ "GameServerUser", "GalaxyGameServerApi_8h.html#gad4c301b492cac512564dbc296054e384", null ], - [ "GameServerUtils", "GalaxyGameServerApi_8h.html#ga537b6c1a62c749a3146f7ab8676393bc", null ], - [ "InitGameServer", "GalaxyGameServerApi_8h.html#ga521fad9446956ce69e3d11ca4a7fbc0e", null ], - [ "ProcessGameServerData", "GalaxyGameServerApi_8h.html#gacd909ec5a3dd8571d26efa1ad6484548", null ], - [ "ShutdownGameServer", "GalaxyGameServerApi_8h.html#ga6da0a2c22f694061d1814cdf521379fe", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/GalaxyGameServerApi_8h__incl.map b/vendors/galaxy/Docs/GalaxyGameServerApi_8h__incl.map deleted file mode 100644 index eba9770f0..000000000 --- a/vendors/galaxy/Docs/GalaxyGameServerApi_8h__incl.map +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - - - - - - - - - - - - - - diff --git a/vendors/galaxy/Docs/GalaxyGameServerApi_8h__incl.md5 b/vendors/galaxy/Docs/GalaxyGameServerApi_8h__incl.md5 deleted file mode 100644 index 5a8e90bda..000000000 --- a/vendors/galaxy/Docs/GalaxyGameServerApi_8h__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -fff5474d8d60f3562a0fea3a6e6c425e \ No newline at end of file diff --git a/vendors/galaxy/Docs/GalaxyGameServerApi_8h__incl.svg b/vendors/galaxy/Docs/GalaxyGameServerApi_8h__incl.svg deleted file mode 100644 index 12cb4bcc0..000000000 --- a/vendors/galaxy/Docs/GalaxyGameServerApi_8h__incl.svg +++ /dev/null @@ -1,312 +0,0 @@ - - - - - - -GalaxyGameServerApi.h - - -Node0 - - -GalaxyGameServerApi.h - - - - -Node1 - - -GalaxyExport.h - - - - -Node0->Node1 - - - - -Node2 - - -InitOptions.h - - - - -Node0->Node2 - - - - -Node5 - - -cstddef - - - - -Node0->Node5 - - - - -Node7 - - -IUser.h - - - - -Node0->Node7 - - - - -Node12 - - -IMatchmaking.h - - - - -Node0->Node12 - - - - -Node13 - - -INetworking.h - - - - -Node0->Node13 - - - - -Node14 - - -IUtils.h - - - - -Node0->Node14 - - - - -Node15 - - -ITelemetry.h - - - - -Node0->Node15 - - - - -Node16 - - -ILogger.h - - - - -Node0->Node16 - - - - -Node17 - - -Errors.h - - - - -Node0->Node17 - - - - -Node3 - - -GalaxyAllocator.h - - - - -Node2->Node3 - - - - -Node4 - - -stdint.h - - - - -Node2->Node4 - - - - -Node2->Node5 - - - - -Node6 - - -GalaxyThread.h - - - - -Node2->Node6 - - - - -Node3->Node4 - - - - -Node3->Node5 - - - - -Node4->Node4 - - - - -Node8 - - -GalaxyID.h - - - - -Node7->Node8 - - - - -Node10 - - -IListenerRegistrar.h - - - - -Node7->Node10 - - - - -Node8->Node4 - - - - -Node9 - - -assert.h - - - - -Node8->Node9 - - - - -Node10->Node1 - - - - -Node10->Node4 - - - - -Node11 - - -stdlib.h - - - - -Node10->Node11 - - - - -Node12->Node8 - - - - -Node12->Node10 - - - - -Node13->Node8 - - - - -Node13->Node10 - - - - -Node14->Node10 - - - - -Node15->Node10 - - - - -Node17->Node1 - - - - - diff --git a/vendors/galaxy/Docs/GalaxyGameServerApi_8h_source.html b/vendors/galaxy/Docs/GalaxyGameServerApi_8h_source.html deleted file mode 100644 index d57a624e7..000000000 --- a/vendors/galaxy/Docs/GalaxyGameServerApi_8h_source.html +++ /dev/null @@ -1,122 +0,0 @@ - - - - - - - -GOG Galaxy: GalaxyGameServerApi.h Source File - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
GalaxyGameServerApi.h
-
-
-Go to the documentation of this file.
1 #ifndef GALAXY_GALAXY_GAME_SERVER_API_H
2 #define GALAXY_GALAXY_GAME_SERVER_API_H
3 
9 #include "GalaxyExport.h"
10 #include "InitOptions.h"
11 #include "IUser.h"
12 #include "IMatchmaking.h"
13 #include "INetworking.h"
14 #include "IUtils.h"
15 #include "ITelemetry.h"
16 #include "ILogger.h"
17 #include "Errors.h"
18 
19 #include <cstddef>
20 
21 namespace galaxy
22 {
23  namespace api
24  {
84  GALAXY_DLL_EXPORT void GALAXY_CALLTYPE InitGameServer(const InitOptions& initOptions);
85 
94  GALAXY_DLL_EXPORT void GALAXY_CALLTYPE ShutdownGameServer();
95 
101  GALAXY_DLL_EXPORT IUser* GALAXY_CALLTYPE GameServerUser();
102 
108  GALAXY_DLL_EXPORT IMatchmaking* GALAXY_CALLTYPE GameServerMatchmaking();
109 
116  GALAXY_DLL_EXPORT INetworking* GALAXY_CALLTYPE GameServerNetworking();
117 
123  GALAXY_DLL_EXPORT IUtils* GALAXY_CALLTYPE GameServerUtils();
124 
130  GALAXY_DLL_EXPORT ITelemetry* GALAXY_CALLTYPE GameServerTelemetry();
131 
137  GALAXY_DLL_EXPORT ILogger* GALAXY_CALLTYPE GameServerLogger();
138 
151  GALAXY_DLL_EXPORT void GALAXY_CALLTYPE ProcessGameServerData();
152 
156  }
157 }
158 
159 #endif
Contains a macro used for DLL export.
-
Contains classes representing exceptions.
-
Contains data structures and interfaces related to logging.
-
GALAXY_DLL_EXPORT void GALAXY_CALLTYPE ShutdownGameServer()
Shuts down the Galaxy Game Server.
-
GALAXY_DLL_EXPORT IUtils *GALAXY_CALLTYPE GameServerUtils()
Returns an instance of IUtils interface for the Game Server entity.
-
GALAXY_DLL_EXPORT IMatchmaking *GALAXY_CALLTYPE GameServerMatchmaking()
Returns an instance of IMatchmaking interface for the Game Server entity.
-
Contains data structures and interfaces related to user account.
-
Contains data structures and interfaces related to common activities.
-
Contains data structures and interfaces related to matchmaking.
-
GALAXY_DLL_EXPORT ITelemetry *GALAXY_CALLTYPE GameServerTelemetry()
Returns an instance of ITelemetry.
-
GALAXY_DLL_EXPORT IUser *GALAXY_CALLTYPE GameServerUser()
Returns an instance of IUser interface for the Game Server entity.
-
GALAXY_DLL_EXPORT void GALAXY_CALLTYPE ProcessGameServerData()
Makes the Game Server process its input and output streams.
-
Contains class that holds Galaxy initialization parameters.
-
GALAXY_DLL_EXPORT INetworking *GALAXY_CALLTYPE GameServerNetworking()
Returns an instance of INetworking interface for the Game Server entity that allows to communicate as...
-
GALAXY_DLL_EXPORT void GALAXY_CALLTYPE InitGameServer(const InitOptions &initOptions)
Initializes the Galaxy Game Server with specified credentials.
-
Contains data structures and interfaces related to communicating with other Galaxy Peers.
-
GALAXY_DLL_EXPORT ILogger *GALAXY_CALLTYPE GameServerLogger()
Returns an instance of ILogger interface for the Game Server entity.
-
Contains data structures and interfaces related to telemetry.
-
-
- - - - diff --git a/vendors/galaxy/Docs/GalaxyID_8h.html b/vendors/galaxy/Docs/GalaxyID_8h.html deleted file mode 100644 index 31391bb38..000000000 --- a/vendors/galaxy/Docs/GalaxyID_8h.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - -GOG Galaxy: GalaxyID.h File Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
GalaxyID.h File Reference
-
-
- -

Contains GalaxyID, which is the class that represents the ID of an entity used by Galaxy Peer. -More...

-
#include "stdint.h"
-#include <assert.h>
-
-Include dependency graph for GalaxyID.h:
-
-
-
-
-
-This graph shows which files directly or indirectly include this file:
-
-
-
-
-
-

Go to the source code of this file.

- - - - - -

-Classes

class  GalaxyID
 Represents the ID of an entity used by Galaxy Peer. More...
 
-

Detailed Description

-

Contains GalaxyID, which is the class that represents the ID of an entity used by Galaxy Peer.

-
-
- - - - diff --git a/vendors/galaxy/Docs/GalaxyID_8h__dep__incl.map b/vendors/galaxy/Docs/GalaxyID_8h__dep__incl.map deleted file mode 100644 index 5fc012e2e..000000000 --- a/vendors/galaxy/Docs/GalaxyID_8h__dep__incl.map +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - diff --git a/vendors/galaxy/Docs/GalaxyID_8h__dep__incl.md5 b/vendors/galaxy/Docs/GalaxyID_8h__dep__incl.md5 deleted file mode 100644 index 0e56adba9..000000000 --- a/vendors/galaxy/Docs/GalaxyID_8h__dep__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -ea631dc57d1af48221456c57506bffd6 \ No newline at end of file diff --git a/vendors/galaxy/Docs/GalaxyID_8h__dep__incl.svg b/vendors/galaxy/Docs/GalaxyID_8h__dep__incl.svg deleted file mode 100644 index fff415c33..000000000 --- a/vendors/galaxy/Docs/GalaxyID_8h__dep__incl.svg +++ /dev/null @@ -1,178 +0,0 @@ - - - - - - -GalaxyID.h - - -Node3 - - -GalaxyID.h - - - - -Node4 - - -IUser.h - - - - -Node3->Node4 - - - - -Node7 - - -IFriends.h - - - - -Node3->Node7 - - - - -Node8 - - -IChat.h - - - - -Node3->Node8 - - - - -Node9 - - -IMatchmaking.h - - - - -Node3->Node9 - - - - -Node10 - - -INetworking.h - - - - -Node3->Node10 - - - - -Node11 - - -IStats.h - - - - -Node3->Node11 - - - - -Node12 - - -IStorage.h - - - - -Node3->Node12 - - - - -Node5 - - -GalaxyApi.h - - - - -Node4->Node5 - - - - -Node6 - - -GalaxyGameServerApi.h - - - - -Node4->Node6 - - - - -Node7->Node5 - - - - -Node8->Node5 - - - - -Node9->Node5 - - - - -Node9->Node6 - - - - -Node10->Node5 - - - - -Node10->Node6 - - - - -Node11->Node5 - - - - -Node12->Node5 - - - - - diff --git a/vendors/galaxy/Docs/GalaxyID_8h__incl.map b/vendors/galaxy/Docs/GalaxyID_8h__incl.map deleted file mode 100644 index f1e85d731..000000000 --- a/vendors/galaxy/Docs/GalaxyID_8h__incl.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/vendors/galaxy/Docs/GalaxyID_8h__incl.md5 b/vendors/galaxy/Docs/GalaxyID_8h__incl.md5 deleted file mode 100644 index f5c568877..000000000 --- a/vendors/galaxy/Docs/GalaxyID_8h__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -8299c59958002244522e4f7f934abf4a \ No newline at end of file diff --git a/vendors/galaxy/Docs/GalaxyID_8h__incl.svg b/vendors/galaxy/Docs/GalaxyID_8h__incl.svg deleted file mode 100644 index 5e59d15b6..000000000 --- a/vendors/galaxy/Docs/GalaxyID_8h__incl.svg +++ /dev/null @@ -1,52 +0,0 @@ - - - - - - -GalaxyID.h - - -Node0 - - -GalaxyID.h - - - - -Node1 - - -stdint.h - - - - -Node0->Node1 - - - - -Node2 - - -assert.h - - - - -Node0->Node2 - - - - -Node1->Node1 - - - - - diff --git a/vendors/galaxy/Docs/GalaxyID_8h_source.html b/vendors/galaxy/Docs/GalaxyID_8h_source.html deleted file mode 100644 index 06f205e1e..000000000 --- a/vendors/galaxy/Docs/GalaxyID_8h_source.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - -GOG Galaxy: GalaxyID.h Source File - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
GalaxyID.h
-
-
-Go to the documentation of this file.
1 #ifndef GALAXY_GALAXY_ID_H
2 #define GALAXY_GALAXY_ID_H
3 
10 #include "stdint.h"
11 #include <assert.h>
12 
13 namespace galaxy
14 {
15  namespace api
16  {
22 #pragma pack( push, 1 )
23 
29  class GalaxyID
30  {
31  public:
32 
36  enum IDType {
37  ID_TYPE_UNASSIGNED,
38  ID_TYPE_LOBBY,
39  ID_TYPE_USER
40  };
41 
45  static const uint64_t UNASSIGNED_VALUE = 0;
46 
54  static GalaxyID FromRealID(IDType type, uint64_t value)
55  {
56  assert(type != ID_TYPE_UNASSIGNED);
57  assert(value != UNASSIGNED_VALUE);
58  assert(static_cast<IDType>(value >> 56) == ID_TYPE_UNASSIGNED);
59  return GalaxyID(static_cast<uint64_t>(type) << 56 | value);
60  }
61 
67  GalaxyID(void) : value(UNASSIGNED_VALUE)
68  {
69  }
70 
76  GalaxyID(uint64_t _value) : value(_value)
77  {
78  }
79 
87  GalaxyID(const GalaxyID& galaxyID) : value(galaxyID.value)
88  {
89  }
90 
97  GalaxyID& operator=(const GalaxyID& other)
98  {
99  value = other.value;
100  return *this;
101  }
102 
110  bool operator<(const GalaxyID& other) const
111  {
112  assert(IsValid() && other.IsValid());
113  return value < other.value;
114  }
115 
122  bool operator==(const GalaxyID& other) const
123  {
124  return value == other.value;
125  }
126 
133  bool operator!=(const GalaxyID& other) const
134  {
135  return !(*this == other);
136  }
137 
143  bool IsValid() const
144  {
145  return value != UNASSIGNED_VALUE;
146  }
147 
158  uint64_t ToUint64() const
159  {
160  return value;
161  }
162 
170  uint64_t GetRealID() const
171  {
172  return value & 0xffffffffffffff;
173  }
174 
181  {
182  return static_cast<IDType>(value >> 56);
183  }
184 
185  private:
186 
187  uint64_t value;
188  };
189 
190 #pragma pack( pop )
191 
193  }
194 }
195 
196 #endif
GalaxyID(uint64_t _value)
Creates an instance of GalaxyID of a specified value.
Definition: GalaxyID.h:76
-
static GalaxyID FromRealID(IDType type, uint64_t value)
Creates GalaxyID from real ID and type.
Definition: GalaxyID.h:54
-
IDType GetIDType() const
Returns the type of the ID.
Definition: GalaxyID.h:180
-
Represents the ID of an entity used by Galaxy Peer.
Definition: GalaxyID.h:29
-
bool operator!=(const GalaxyID &other) const
The inequality operator.
Definition: GalaxyID.h:133
-
uint64_t ToUint64() const
Returns the numerical value of the ID.
Definition: GalaxyID.h:158
-
bool operator==(const GalaxyID &other) const
The equality operator.
Definition: GalaxyID.h:122
-
GalaxyID & operator=(const GalaxyID &other)
The assignment operator.
Definition: GalaxyID.h:97
-
static const uint64_t UNASSIGNED_VALUE
The numerical value used when the instance of GalaxyID is not valid.
Definition: GalaxyID.h:45
-
bool IsValid() const
Checks if the ID is valid and is assigned to an entity.
Definition: GalaxyID.h:143
-
uint64_t GetRealID() const
Returns the numerical value of the real ID, without any extra flags.
Definition: GalaxyID.h:170
-
IDType
The type of the ID.
Definition: GalaxyID.h:36
-
GalaxyID(const GalaxyID &galaxyID)
Copy constructor.
Definition: GalaxyID.h:87
-
bool operator<(const GalaxyID &other) const
The lower operator.
Definition: GalaxyID.h:110
-
GalaxyID(void)
Default constructor.
Definition: GalaxyID.h:67
-
-
- - - - diff --git a/vendors/galaxy/Docs/GalaxyThread_8h_source.html b/vendors/galaxy/Docs/GalaxyThread_8h_source.html deleted file mode 100644 index c38bc57b5..000000000 --- a/vendors/galaxy/Docs/GalaxyThread_8h_source.html +++ /dev/null @@ -1,112 +0,0 @@ - - - - - - - -GOG Galaxy: GalaxyThread.h Source File - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
GalaxyThread.h
-
-
-
1 #ifndef GALAXY_THREAD_H
2 #define GALAXY_THREAD_H
3 
4 namespace galaxy
5 {
6  namespace api
7  {
8 
17  typedef void* ThreadEntryParam;
18 
23 
28  {
29  public:
30 
36  virtual void Join() = 0;
37 
43  virtual bool Joinable() = 0;
44 
50  virtual void Detach() = 0;
51 
52  virtual ~IGalaxyThread() {};
53  };
54 
59  {
60  public:
61 
73  virtual IGalaxyThread* SpawnThread(ThreadEntryFunction const entryPoint, ThreadEntryParam param) = 0;
74 
75  virtual ~IGalaxyThreadFactory() {};
76  };
77 
79  }
80 }
81 
82 #endif
void(* ThreadEntryFunction)(ThreadEntryParam)
The entry point function which shall be started in a new thread.
Definition: GalaxyThread.h:22
-
virtual void Detach()=0
Detach the thread.
-
virtual void Join()=0
Join the thread.
-
virtual IGalaxyThread * SpawnThread(ThreadEntryFunction const entryPoint, ThreadEntryParam param)=0
Spawn new internal Galaxy SDK thread.
-
Custom thread spawner for the Galaxy SDK.
Definition: GalaxyThread.h:58
-
void * ThreadEntryParam
The parameter for the thread entry point.
Definition: GalaxyThread.h:17
-
The interface representing a thread object.
Definition: GalaxyThread.h:27
-
virtual bool Joinable()=0
Checks if the IGalaxyThread is ready to Join().
-
-
- - - - diff --git a/vendors/galaxy/Docs/IApps_8h.html b/vendors/galaxy/Docs/IApps_8h.html deleted file mode 100644 index 08eb5df13..000000000 --- a/vendors/galaxy/Docs/IApps_8h.html +++ /dev/null @@ -1,141 +0,0 @@ - - - - - - - -GOG Galaxy: IApps.h File Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
IApps.h File Reference
-
-
- -

Contains data structures and interfaces related to application activities. -More...

-
-Include dependency graph for IApps.h:
-
-
-
-
-
-This graph shows which files directly or indirectly include this file:
-
-
-
-
-
-

Go to the source code of this file.

- - - - - -

-Classes

class  IApps
 The interface for managing application activities. More...
 
- - - - -

-Typedefs

-typedef uint64_t ProductID
 The ID of the DLC.
 
-

Detailed Description

-

Contains data structures and interfaces related to application activities.

-
-
- - - - diff --git a/vendors/galaxy/Docs/IApps_8h.js b/vendors/galaxy/Docs/IApps_8h.js deleted file mode 100644 index c093c5db3..000000000 --- a/vendors/galaxy/Docs/IApps_8h.js +++ /dev/null @@ -1,4 +0,0 @@ -var IApps_8h = -[ - [ "ProductID", "IApps_8h.html#ga198e4cda00bc65d234ae7cac252eed60", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/IApps_8h__dep__incl.map b/vendors/galaxy/Docs/IApps_8h__dep__incl.map deleted file mode 100644 index bf2d45ad5..000000000 --- a/vendors/galaxy/Docs/IApps_8h__dep__incl.map +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/vendors/galaxy/Docs/IApps_8h__dep__incl.md5 b/vendors/galaxy/Docs/IApps_8h__dep__incl.md5 deleted file mode 100644 index 476ba1eb4..000000000 --- a/vendors/galaxy/Docs/IApps_8h__dep__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -8b97aad6b08951d14942209c93eca0ef \ No newline at end of file diff --git a/vendors/galaxy/Docs/IApps_8h__dep__incl.svg b/vendors/galaxy/Docs/IApps_8h__dep__incl.svg deleted file mode 100644 index 2ed2c7fec..000000000 --- a/vendors/galaxy/Docs/IApps_8h__dep__incl.svg +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - -IApps.h - - -Node5 - - -IApps.h - - - - -Node6 - - -GalaxyApi.h - - - - -Node5->Node6 - - - - - diff --git a/vendors/galaxy/Docs/IApps_8h__incl.map b/vendors/galaxy/Docs/IApps_8h__incl.map deleted file mode 100644 index 62a788d82..000000000 --- a/vendors/galaxy/Docs/IApps_8h__incl.map +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/vendors/galaxy/Docs/IApps_8h__incl.md5 b/vendors/galaxy/Docs/IApps_8h__incl.md5 deleted file mode 100644 index cc2b59c0d..000000000 --- a/vendors/galaxy/Docs/IApps_8h__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -de8700d4443a4ab919c11c46588d112f \ No newline at end of file diff --git a/vendors/galaxy/Docs/IApps_8h__incl.svg b/vendors/galaxy/Docs/IApps_8h__incl.svg deleted file mode 100644 index 3fd9ee190..000000000 --- a/vendors/galaxy/Docs/IApps_8h__incl.svg +++ /dev/null @@ -1,78 +0,0 @@ - - - - - - -IApps.h - - -Node0 - - -IApps.h - - - - -Node1 - - -IListenerRegistrar.h - - - - -Node0->Node1 - - - - -Node2 - - -stdint.h - - - - -Node1->Node2 - - - - -Node3 - - -stdlib.h - - - - -Node1->Node3 - - - - -Node4 - - -GalaxyExport.h - - - - -Node1->Node4 - - - - -Node2->Node2 - - - - - diff --git a/vendors/galaxy/Docs/IApps_8h_source.html b/vendors/galaxy/Docs/IApps_8h_source.html deleted file mode 100644 index 3a82d4fac..000000000 --- a/vendors/galaxy/Docs/IApps_8h_source.html +++ /dev/null @@ -1,110 +0,0 @@ - - - - - - - -GOG Galaxy: IApps.h Source File - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
IApps.h
-
-
-Go to the documentation of this file.
1 #ifndef GALAXY_I_APPS_H
2 #define GALAXY_I_APPS_H
3 
9 #include "IListenerRegistrar.h"
10 
11 namespace galaxy
12 {
13  namespace api
14  {
23  typedef uint64_t ProductID;
24 
31  class IApps
32  {
33  public:
34 
35  virtual ~IApps()
36  {
37  }
38 
45  virtual bool IsDlcInstalled(ProductID productID) = 0;
46 
53  virtual const char* GetCurrentGameLanguage(ProductID productID = 0) = 0;
54 
63  virtual void GetCurrentGameLanguageCopy(char* buffer, uint32_t bufferLength, ProductID productID = 0) = 0;
64  };
65 
67  }
68 }
69 
70 #endif
uint64_t ProductID
The ID of the DLC.
Definition: IApps.h:23
-
virtual void GetCurrentGameLanguageCopy(char *buffer, uint32_t bufferLength, ProductID productID=0)=0
Copies the current game language for given product ID to a buffer.
-
The interface for managing application activities.
Definition: IApps.h:31
-
Contains data structures and interfaces related to callback listeners.
-
virtual const char * GetCurrentGameLanguage(ProductID productID=0)=0
Returns current game language for given product ID.
-
virtual bool IsDlcInstalled(ProductID productID)=0
Checks if specified DLC is installed.
-
-
- - - - diff --git a/vendors/galaxy/Docs/IChat_8h.html b/vendors/galaxy/Docs/IChat_8h.html deleted file mode 100644 index 94fe8b95d..000000000 --- a/vendors/galaxy/Docs/IChat_8h.html +++ /dev/null @@ -1,184 +0,0 @@ - - - - - - - -GOG Galaxy: IChat.h File Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
IChat.h File Reference
-
-
- -

Contains data structures and interfaces related to chat communication with other Galaxy Users. -More...

-
#include "IListenerRegistrar.h"
-#include "GalaxyID.h"
-
-Include dependency graph for IChat.h:
-
-
-
-
-
-This graph shows which files directly or indirectly include this file:
-
-
-
-
-
-

Go to the source code of this file.

- - - - - - - - - - - - - - - - - -

-Classes

class  IChatRoomWithUserRetrieveListener
 Listener for the event of retrieving a chat room with a specified user. More...
 
class  IChatRoomMessageSendListener
 Listener for the event of sending a chat room message. More...
 
class  IChatRoomMessagesListener
 Listener for the event of receiving chat room messages. More...
 
class  IChatRoomMessagesRetrieveListener
 Listener for the event of retrieving chat room messages in a specified chat room. More...
 
class  IChat
 The interface for chat communication with other Galaxy Users. More...
 
- - - - - - - - - - - - - - - - - - - -

-Typedefs

-typedef uint64_t ChatRoomID
 The ID of a chat room.
 
-typedef uint64_t ChatMessageID
 Global ID of a chat message.
 
-typedef SelfRegisteringListener< IChatRoomWithUserRetrieveListener > GlobalChatRoomWithUserRetrieveListener
 Globally self-registering version of IChatRoomWithUserRetrieveListener.
 
-typedef SelfRegisteringListener< IChatRoomMessageSendListener > GlobalChatRoomMessageSendListener
 Globally self-registering version of IChatRoomMessageSendListener.
 
-typedef SelfRegisteringListener< IChatRoomMessagesListener > GlobalChatRoomMessagesListener
 Globally self-registering version of IChatRoomMessagesListener.
 
-typedef SelfRegisteringListener< IChatRoomMessagesRetrieveListener > GlobalChatRoomMessagesRetrieveListener
 Globally self-registering version of IChatRoomMessagesRetrieveListener.
 
- - - - -

-Enumerations

enum  ChatMessageType { CHAT_MESSAGE_TYPE_UNKNOWN, -CHAT_MESSAGE_TYPE_CHAT_MESSAGE, -CHAT_MESSAGE_TYPE_GAME_INVITATION - }
 The type of a chat message. More...
 
-

Detailed Description

-

Contains data structures and interfaces related to chat communication with other Galaxy Users.

-
-
- - - - diff --git a/vendors/galaxy/Docs/IChat_8h.js b/vendors/galaxy/Docs/IChat_8h.js deleted file mode 100644 index 1a10b6b4d..000000000 --- a/vendors/galaxy/Docs/IChat_8h.js +++ /dev/null @@ -1,14 +0,0 @@ -var IChat_8h = -[ - [ "ChatMessageID", "IChat_8h.html#ga42d3784b96327d589928dd3b443fb6a1", null ], - [ "ChatRoomID", "IChat_8h.html#ga8f62afb8807584e4588df6ae21eb8811", null ], - [ "GlobalChatRoomMessageSendListener", "IChat_8h.html#ga1caa22fa58bf71920aa98b74c3d120b2", null ], - [ "GlobalChatRoomMessagesListener", "IChat_8h.html#gab22757c7b50857f421db7d59be1ae210", null ], - [ "GlobalChatRoomMessagesRetrieveListener", "IChat_8h.html#ga25b363fb856af48d0a3cbff918e46375", null ], - [ "GlobalChatRoomWithUserRetrieveListener", "IChat_8h.html#gaad3a25903efbfe5fc99d0057981f76fd", null ], - [ "ChatMessageType", "IChat_8h.html#gad1921a6afb665af4c7e7d243e2b762e9", [ - [ "CHAT_MESSAGE_TYPE_UNKNOWN", "IChat_8h.html#ggad1921a6afb665af4c7e7d243e2b762e9ad1f406f6b4feac6d276267b6502dcb47", null ], - [ "CHAT_MESSAGE_TYPE_CHAT_MESSAGE", "IChat_8h.html#ggad1921a6afb665af4c7e7d243e2b762e9a6b08ec004a476f5ad71ba54259541c67", null ], - [ "CHAT_MESSAGE_TYPE_GAME_INVITATION", "IChat_8h.html#ggad1921a6afb665af4c7e7d243e2b762e9a569cef091eeb0adc8ab44cec802dab57", null ] - ] ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/IChat_8h__dep__incl.map b/vendors/galaxy/Docs/IChat_8h__dep__incl.map deleted file mode 100644 index 1feca5e3e..000000000 --- a/vendors/galaxy/Docs/IChat_8h__dep__incl.map +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/vendors/galaxy/Docs/IChat_8h__dep__incl.md5 b/vendors/galaxy/Docs/IChat_8h__dep__incl.md5 deleted file mode 100644 index 6f95633bd..000000000 --- a/vendors/galaxy/Docs/IChat_8h__dep__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -59dccb3ce05400c96e37e3ee9b2f9206 \ No newline at end of file diff --git a/vendors/galaxy/Docs/IChat_8h__dep__incl.svg b/vendors/galaxy/Docs/IChat_8h__dep__incl.svg deleted file mode 100644 index df1e8cc41..000000000 --- a/vendors/galaxy/Docs/IChat_8h__dep__incl.svg +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - -IChat.h - - -Node7 - - -IChat.h - - - - -Node8 - - -GalaxyApi.h - - - - -Node7->Node8 - - - - - diff --git a/vendors/galaxy/Docs/IChat_8h__incl.map b/vendors/galaxy/Docs/IChat_8h__incl.map deleted file mode 100644 index 99e7acc19..000000000 --- a/vendors/galaxy/Docs/IChat_8h__incl.map +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/vendors/galaxy/Docs/IChat_8h__incl.md5 b/vendors/galaxy/Docs/IChat_8h__incl.md5 deleted file mode 100644 index 6be097a89..000000000 --- a/vendors/galaxy/Docs/IChat_8h__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -8579b9c09f36b261179fe094b237dd24 \ No newline at end of file diff --git a/vendors/galaxy/Docs/IChat_8h__incl.svg b/vendors/galaxy/Docs/IChat_8h__incl.svg deleted file mode 100644 index e76e23d0b..000000000 --- a/vendors/galaxy/Docs/IChat_8h__incl.svg +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - -IChat.h - - -Node0 - - -IChat.h - - - - -Node1 - - -IListenerRegistrar.h - - - - -Node0->Node1 - - - - -Node5 - - -GalaxyID.h - - - - -Node0->Node5 - - - - -Node2 - - -stdint.h - - - - -Node1->Node2 - - - - -Node3 - - -stdlib.h - - - - -Node1->Node3 - - - - -Node4 - - -GalaxyExport.h - - - - -Node1->Node4 - - - - -Node2->Node2 - - - - -Node5->Node2 - - - - -Node6 - - -assert.h - - - - -Node5->Node6 - - - - - diff --git a/vendors/galaxy/Docs/IChat_8h_source.html b/vendors/galaxy/Docs/IChat_8h_source.html deleted file mode 100644 index 7007c5566..000000000 --- a/vendors/galaxy/Docs/IChat_8h_source.html +++ /dev/null @@ -1,151 +0,0 @@ - - - - - - - -GOG Galaxy: IChat.h Source File - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
IChat.h
-
-
-Go to the documentation of this file.
1 #ifndef GALAXY_I_CHAT_H
2 #define GALAXY_I_CHAT_H
3 
10 #include "IListenerRegistrar.h"
11 #include "GalaxyID.h"
12 
13 namespace galaxy
14 {
15  namespace api
16  {
25  typedef uint64_t ChatRoomID;
26 
30  typedef uint64_t ChatMessageID;
31 
36  {
40  };
41 
45  class IChatRoomWithUserRetrieveListener : public GalaxyTypeAwareListener<CHAT_ROOM_WITH_USER_RETRIEVE_LISTENER>
46  {
47  public:
48 
55  virtual void OnChatRoomWithUserRetrieveSuccess(GalaxyID userID, ChatRoomID chatRoomID) = 0;
56 
61  {
65  };
66 
73  virtual void OnChatRoomWithUserRetrieveFailure(GalaxyID userID, FailureReason failureReason) = 0;
74  };
75 
80 
84  class IChatRoomMessageSendListener : public GalaxyTypeAwareListener<CHAT_ROOM_MESSAGE_SEND_LISTENER>
85  {
86  public:
87 
96  virtual void OnChatRoomMessageSendSuccess(ChatRoomID chatRoomID, uint32_t sentMessageIndex, ChatMessageID messageID, uint32_t sendTime) = 0;
97 
102  {
106  };
107 
115  virtual void OnChatRoomMessageSendFailure(ChatRoomID chatRoomID, uint32_t sentMessageIndex, FailureReason failureReason) = 0;
116  };
117 
122 
126  class IChatRoomMessagesListener : public GalaxyTypeAwareListener<CHAT_ROOM_MESSAGES_LISTENER>
127  {
128  public:
129 
143  virtual void OnChatRoomMessagesReceived(ChatRoomID chatRoomID, uint32_t messageCount, uint32_t longestMessageLenght) = 0;
144  };
145 
150 
154  class IChatRoomMessagesRetrieveListener : public GalaxyTypeAwareListener<CHAT_ROOM_MESSAGES_RETRIEVE_LISTENER>
155  {
156  public:
157 
167  virtual void OnChatRoomMessagesRetrieveSuccess(ChatRoomID chatRoomID, uint32_t messageCount, uint32_t longestMessageLenght) = 0;
168 
173  {
177  };
178 
185  virtual void OnChatRoomMessagesRetrieveFailure(ChatRoomID chatRoomID, FailureReason failureReason) = 0;
186  };
187 
192 
196  class IChat
197  {
198  public:
199 
200  virtual ~IChat()
201  {
202  }
203 
214  virtual void RequestChatRoomWithUser(GalaxyID userID, IChatRoomWithUserRetrieveListener* const listener = NULL) = 0;
215 
231  virtual void RequestChatRoomMessages(ChatRoomID chatRoomID, uint32_t limit, ChatMessageID referenceMessageID = 0, IChatRoomMessagesRetrieveListener* const listener = NULL) = 0;
232 
251  virtual uint32_t SendChatRoomMessage(ChatRoomID chatRoomID, const char* msg, IChatRoomMessageSendListener* const listener = NULL) = 0;
252 
275  virtual uint32_t GetChatRoomMessageByIndex(uint32_t index, ChatMessageID& messageID, ChatMessageType& messageType, GalaxyID& senderID, uint32_t& sendTime, char* buffer, uint32_t bufferLength) = 0;
276 
283  virtual uint32_t GetChatRoomMemberCount(ChatRoomID chatRoomID) = 0;
284 
294  virtual GalaxyID GetChatRoomMemberUserIDByIndex(ChatRoomID chatRoomID, uint32_t index) = 0;
295 
304  virtual uint32_t GetChatRoomUnreadMessageCount(ChatRoomID chatRoomID) = 0;
305 
315  virtual void MarkChatRoomAsRead(ChatRoomID chatRoomID) = 0;
316  };
317 
319  }
320 }
321 
322 #endif
virtual GalaxyID GetChatRoomMemberUserIDByIndex(ChatRoomID chatRoomID, uint32_t index)=0
Returns the GalaxyID of a user in a specified chat room.
-
FailureReason
The reason of a failure in retrieving chat room messages in a specified chat room.
Definition: IChat.h:172
-
Game invitation.
Definition: IChat.h:39
-
SelfRegisteringListener< IChatRoomMessageSendListener > GlobalChatRoomMessageSendListener
Globally self-registering version of IChatRoomMessageSendListener.
Definition: IChat.h:121
- -
Unable to communicate with backend services.
Definition: IChat.h:176
-
Sending messages to the chat room is forbidden for the user.
Definition: IChat.h:104
-
Listener for the event of sending a chat room message.
Definition: IChat.h:84
-
Retrieving messages from the chat room is forbidden for the user.
Definition: IChat.h:175
-
Unknown message type.
Definition: IChat.h:37
-
The class that is inherited by all specific callback listeners and provides a static method that retu...
Definition: IListenerRegistrar.h:112
-
virtual void RequestChatRoomMessages(ChatRoomID chatRoomID, uint32_t limit, ChatMessageID referenceMessageID=0, IChatRoomMessagesRetrieveListener *const listener=NULL)=0
Retrieves historical messages in a specified chat room.
-
Listener for the event of retrieving chat room messages in a specified chat room.
Definition: IChat.h:154
-
Represents the ID of an entity used by Galaxy Peer.
Definition: GalaxyID.h:29
-
virtual uint32_t SendChatRoomMessage(ChatRoomID chatRoomID, const char *msg, IChatRoomMessageSendListener *const listener=NULL)=0
Sends a message to a chat room.
- -
virtual void RequestChatRoomWithUser(GalaxyID userID, IChatRoomWithUserRetrieveListener *const listener=NULL)=0
Creates new, or retrieves already existing one-on-one chat room with a specified user.
-
virtual uint32_t GetChatRoomUnreadMessageCount(ChatRoomID chatRoomID)=0
Returns the number of unread messages in a specified chat room.
-
virtual uint32_t GetChatRoomMemberCount(ChatRoomID chatRoomID)=0
Returns the number of users in a specified chat room.
-
virtual void MarkChatRoomAsRead(ChatRoomID chatRoomID)=0
Marks a specified chat room as read.
-
virtual void OnChatRoomWithUserRetrieveFailure(GalaxyID userID, FailureReason failureReason)=0
Notification for the event of a failure in retrieving a chat room with a specified user.
-
Listener for the event of retrieving a chat room with a specified user.
Definition: IChat.h:45
-
SelfRegisteringListener< IChatRoomWithUserRetrieveListener > GlobalChatRoomWithUserRetrieveListener
Globally self-registering version of IChatRoomWithUserRetrieveListener.
Definition: IChat.h:79
-
ChatMessageType
The type of a chat message.
Definition: IChat.h:35
-
virtual void OnChatRoomWithUserRetrieveSuccess(GalaxyID userID, ChatRoomID chatRoomID)=0
Notification for the event of retrieving a chat room with a specified user.
-
uint64_t ChatMessageID
Global ID of a chat message.
Definition: IChat.h:30
-
SelfRegisteringListener< IChatRoomMessagesRetrieveListener > GlobalChatRoomMessagesRetrieveListener
Globally self-registering version of IChatRoomMessagesRetrieveListener.
Definition: IChat.h:191
-
virtual void OnChatRoomMessagesRetrieveFailure(ChatRoomID chatRoomID, FailureReason failureReason)=0
Notification for the event of a failure in retrieving chat room messages in a specified chat room.
-
SelfRegisteringListener< IChatRoomMessagesListener > GlobalChatRoomMessagesListener
Globally self-registering version of IChatRoomMessagesListener.
Definition: IChat.h:149
-
Chat message.
Definition: IChat.h:38
-
The class that is inherited by the self-registering versions of all specific callback listeners.
Definition: IListenerRegistrar.h:206
-
virtual void OnChatRoomMessagesRetrieveSuccess(ChatRoomID chatRoomID, uint32_t messageCount, uint32_t longestMessageLenght)=0
Notification for the event of retrieving chat room messages in a specified chat room.
-
Contains GalaxyID, which is the class that represents the ID of an entity used by Galaxy Peer.
-
Unable to communicate with backend services.
Definition: IChat.h:105
-
virtual uint32_t GetChatRoomMessageByIndex(uint32_t index, ChatMessageID &messageID, ChatMessageType &messageType, GalaxyID &senderID, uint32_t &sendTime, char *buffer, uint32_t bufferLength)=0
Reads an incoming chat room message by index.
-
Listener for the event of receiving chat room messages.
Definition: IChat.h:126
-
virtual void OnChatRoomMessageSendFailure(ChatRoomID chatRoomID, uint32_t sentMessageIndex, FailureReason failureReason)=0
Notification for the event of a failure in sending a message to a chat room.
-
The interface for chat communication with other Galaxy Users.
Definition: IChat.h:196
-
FailureReason
The reason of a failure in sending a message to a chat room.
Definition: IChat.h:101
-
virtual void OnChatRoomMessagesReceived(ChatRoomID chatRoomID, uint32_t messageCount, uint32_t longestMessageLenght)=0
Notification for the event of receiving chat room messages.
-
Contains data structures and interfaces related to callback listeners.
- -
uint64_t ChatRoomID
The ID of a chat room.
Definition: IChat.h:25
-
virtual void OnChatRoomMessageSendSuccess(ChatRoomID chatRoomID, uint32_t sentMessageIndex, ChatMessageID messageID, uint32_t sendTime)=0
Notification for the event of sending a chat room message.
-
FailureReason
The reason of a failure in retrieving a chat room with a specified user.
Definition: IChat.h:60
-
Communication with a specified user is not allowed.
Definition: IChat.h:63
-
Unable to communicate with backend services.
Definition: IChat.h:64
-
-
- - - - diff --git a/vendors/galaxy/Docs/ICustomNetworking_8h.html b/vendors/galaxy/Docs/ICustomNetworking_8h.html deleted file mode 100644 index 50a9520b4..000000000 --- a/vendors/galaxy/Docs/ICustomNetworking_8h.html +++ /dev/null @@ -1,163 +0,0 @@ - - - - - - - -GOG Galaxy: ICustomNetworking.h File Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
ICustomNetworking.h File Reference
-
-
- -

Contains data structures and interfaces related to communicating with custom endpoints. -More...

-
-Include dependency graph for ICustomNetworking.h:
-
-
-
-
-
-This graph shows which files directly or indirectly include this file:
-
-
-
-
-
-

Go to the source code of this file.

- - - - - - - - - - - - - - -

-Classes

class  IConnectionOpenListener
 Listener for the events related to opening a connection. More...
 
class  IConnectionCloseListener
 Listener for the event of closing a connection. More...
 
class  IConnectionDataListener
 Listener for the event of receiving data over the connection. More...
 
class  ICustomNetworking
 The interface for communicating with a custom endpoint. More...
 
- - - - - - - - - - - - - -

-Typedefs

-typedef uint64_t ConnectionID
 ID of a connection.
 
-typedef SelfRegisteringListener< IConnectionOpenListener > GlobalConnectionOpenListener
 Globally self-registering version of IConnectionOpenListener.
 
-typedef SelfRegisteringListener< IConnectionCloseListener > GlobalConnectionCloseListener
 Globally self-registering version of IConnectionCloseListener.
 
-typedef SelfRegisteringListener< IConnectionDataListener > GlobalConnectionDataListener
 Globally self-registering version of IConnectionDataListener.
 
-

Detailed Description

-

Contains data structures and interfaces related to communicating with custom endpoints.

-
Warning
This API is experimental and can be changed or removed in following releases.
-
-
- - - - diff --git a/vendors/galaxy/Docs/ICustomNetworking_8h.js b/vendors/galaxy/Docs/ICustomNetworking_8h.js deleted file mode 100644 index 485453608..000000000 --- a/vendors/galaxy/Docs/ICustomNetworking_8h.js +++ /dev/null @@ -1,7 +0,0 @@ -var ICustomNetworking_8h = -[ - [ "ConnectionID", "ICustomNetworking_8h.html#ga4e2490f675d3a2b8ae3d250fcd32bc0d", null ], - [ "GlobalConnectionCloseListener", "ICustomNetworking_8h.html#ga229f437bc05b09019dd5410bf3906c15", null ], - [ "GlobalConnectionDataListener", "ICustomNetworking_8h.html#ga6d91c24045928db57e5178b22f97f51c", null ], - [ "GlobalConnectionOpenListener", "ICustomNetworking_8h.html#ga6b3ac9dcf60c437a72f42083dd41c69d", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/ICustomNetworking_8h__dep__incl.map b/vendors/galaxy/Docs/ICustomNetworking_8h__dep__incl.map deleted file mode 100644 index ca211eedb..000000000 --- a/vendors/galaxy/Docs/ICustomNetworking_8h__dep__incl.map +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/vendors/galaxy/Docs/ICustomNetworking_8h__dep__incl.md5 b/vendors/galaxy/Docs/ICustomNetworking_8h__dep__incl.md5 deleted file mode 100644 index ba3aeb037..000000000 --- a/vendors/galaxy/Docs/ICustomNetworking_8h__dep__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -e784944434b347be59b9f932daf2f4b8 \ No newline at end of file diff --git a/vendors/galaxy/Docs/ICustomNetworking_8h__dep__incl.svg b/vendors/galaxy/Docs/ICustomNetworking_8h__dep__incl.svg deleted file mode 100644 index a99040ef5..000000000 --- a/vendors/galaxy/Docs/ICustomNetworking_8h__dep__incl.svg +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - -ICustomNetworking.h - - -Node5 - - -ICustomNetworking.h - - - - -Node6 - - -GalaxyApi.h - - - - -Node5->Node6 - - - - - diff --git a/vendors/galaxy/Docs/ICustomNetworking_8h__incl.map b/vendors/galaxy/Docs/ICustomNetworking_8h__incl.map deleted file mode 100644 index 44d362f8f..000000000 --- a/vendors/galaxy/Docs/ICustomNetworking_8h__incl.map +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/vendors/galaxy/Docs/ICustomNetworking_8h__incl.md5 b/vendors/galaxy/Docs/ICustomNetworking_8h__incl.md5 deleted file mode 100644 index 59e139dc1..000000000 --- a/vendors/galaxy/Docs/ICustomNetworking_8h__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -b5061df557e1b51b1eb8b5396ae72cda \ No newline at end of file diff --git a/vendors/galaxy/Docs/ICustomNetworking_8h__incl.svg b/vendors/galaxy/Docs/ICustomNetworking_8h__incl.svg deleted file mode 100644 index b637584b5..000000000 --- a/vendors/galaxy/Docs/ICustomNetworking_8h__incl.svg +++ /dev/null @@ -1,78 +0,0 @@ - - - - - - -ICustomNetworking.h - - -Node0 - - -ICustomNetworking.h - - - - -Node1 - - -IListenerRegistrar.h - - - - -Node0->Node1 - - - - -Node2 - - -stdint.h - - - - -Node1->Node2 - - - - -Node3 - - -stdlib.h - - - - -Node1->Node3 - - - - -Node4 - - -GalaxyExport.h - - - - -Node1->Node4 - - - - -Node2->Node2 - - - - - diff --git a/vendors/galaxy/Docs/ICustomNetworking_8h_source.html b/vendors/galaxy/Docs/ICustomNetworking_8h_source.html deleted file mode 100644 index bf7c33666..000000000 --- a/vendors/galaxy/Docs/ICustomNetworking_8h_source.html +++ /dev/null @@ -1,132 +0,0 @@ - - - - - - - -GOG Galaxy: ICustomNetworking.h Source File - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
ICustomNetworking.h
-
-
-Go to the documentation of this file.
1 #ifndef GALAXY_I_CUSTOM_NETWORKING_H
2 #define GALAXY_I_CUSTOM_NETWORKING_H
3 
10 #include "IListenerRegistrar.h"
11 
12 namespace galaxy
13 {
14  namespace api
15  {
24  typedef uint64_t ConnectionID;
25 
29  class IConnectionOpenListener : public GalaxyTypeAwareListener<CUSTOM_NETWORKING_CONNECTION_OPEN>
30  {
31  public:
32 
39  virtual void OnConnectionOpenSuccess(const char* connectionString, ConnectionID connectionID) = 0;
40 
45  {
49  };
50 
57  virtual void OnConnectionOpenFailure(const char* connectionString, FailureReason failureReason) = 0;
58  };
59 
64 
69  class IConnectionCloseListener : public GalaxyTypeAwareListener<CUSTOM_NETWORKING_CONNECTION_CLOSE>
70  {
71  public:
72 
77  {
79  };
80 
87  virtual void OnConnectionClosed(ConnectionID connectionID, CloseReason closeReason) = 0;
88  };
89 
94 
98  class IConnectionDataListener : public GalaxyTypeAwareListener<CUSTOM_NETWORKING_CONNECTION_DATA>
99  {
100  public:
101 
108  virtual void OnConnectionDataReceived(ConnectionID connectionID, uint32_t dataSize) = 0;
109  };
110 
115 
120  {
121  public:
122 
123  virtual ~ICustomNetworking()
124  {
125  }
126 
137  virtual void OpenConnection(const char* connectionString, IConnectionOpenListener* const listener = NULL) = 0;
138 
147  virtual void CloseConnection(ConnectionID connectionID, IConnectionCloseListener* const listener = NULL) = 0;
148 
156  virtual void SendData(ConnectionID connectionID, const void* data, uint32_t dataSize) = 0;
157 
164  virtual uint32_t GetAvailableDataSize(ConnectionID connectionID) = 0;
165 
174  virtual void PeekData(ConnectionID connectionID, void* dest, uint32_t dataSize) = 0;
175 
184  virtual void ReadData(ConnectionID connectionID, void* dest, uint32_t dataSize) = 0;
185 
192  virtual void PopData(ConnectionID connectionID, uint32_t dataSize) = 0;
193  };
194 
196  }
197 }
198 
199 #endif
The class that is inherited by all specific callback listeners and provides a static method that retu...
Definition: IListenerRegistrar.h:112
-
virtual void OnConnectionOpenFailure(const char *connectionString, FailureReason failureReason)=0
Notification for the event of a failure in opening a connection.
-
virtual void OpenConnection(const char *connectionString, IConnectionOpenListener *const listener=NULL)=0
Open a connection with a specific endpoint.
-
SelfRegisteringListener< IConnectionDataListener > GlobalConnectionDataListener
Globally self-registering version of IConnectionDataListener.
Definition: ICustomNetworking.h:114
-
The interface for communicating with a custom endpoint.
Definition: ICustomNetworking.h:119
-
virtual void OnConnectionOpenSuccess(const char *connectionString, ConnectionID connectionID)=0
Notification for the event of a success in opening a connection.
-
uint64_t ConnectionID
ID of a connection.
Definition: ICustomNetworking.h:24
-
virtual void SendData(ConnectionID connectionID, const void *data, uint32_t dataSize)=0
Send binary data over a specific connection.
-
virtual void OnConnectionDataReceived(ConnectionID connectionID, uint32_t dataSize)=0
Notification for the event of receiving data over the connection.
-
Listener for the event of closing a connection.
Definition: ICustomNetworking.h:69
-
virtual uint32_t GetAvailableDataSize(ConnectionID connectionID)=0
Returns the number of bytes in a specific connection incoming buffer.
-
SelfRegisteringListener< IConnectionCloseListener > GlobalConnectionCloseListener
Globally self-registering version of IConnectionCloseListener.
Definition: ICustomNetworking.h:93
-
FailureReason
The reason of a failure in opening a connection.
Definition: ICustomNetworking.h:44
-
Listener for the events related to opening a connection.
Definition: ICustomNetworking.h:29
-
Unable to communicate with backend services.
Definition: ICustomNetworking.h:47
-
SelfRegisteringListener< IConnectionOpenListener > GlobalConnectionOpenListener
Globally self-registering version of IConnectionOpenListener.
Definition: ICustomNetworking.h:63
-
virtual void OnConnectionClosed(ConnectionID connectionID, CloseReason closeReason)=0
Notification for the event of closing a connection.
-
Client is unauthorized.
Definition: ICustomNetworking.h:48
-
The class that is inherited by the self-registering versions of all specific callback listeners.
Definition: IListenerRegistrar.h:206
-
virtual void PeekData(ConnectionID connectionID, void *dest, uint32_t dataSize)=0
Reads binary data received from a specific connection.
-
virtual void CloseConnection(ConnectionID connectionID, IConnectionCloseListener *const listener=NULL)=0
Close a connection.
-
Unspecified reason.
Definition: ICustomNetworking.h:78
-
Listener for the event of receiving data over the connection.
Definition: ICustomNetworking.h:98
-
Contains data structures and interfaces related to callback listeners.
-
virtual void PopData(ConnectionID connectionID, uint32_t dataSize)=0
Removes a given number of bytes from a specific connection incomming buffer.
-
Unspecified error.
Definition: ICustomNetworking.h:46
-
virtual void ReadData(ConnectionID connectionID, void *dest, uint32_t dataSize)=0
Reads binary data received from a specific connection.
-
CloseReason
The reason of closing a connection.
Definition: ICustomNetworking.h:76
-
-
- - - - diff --git a/vendors/galaxy/Docs/IFriends_8h.html b/vendors/galaxy/Docs/IFriends_8h.html deleted file mode 100644 index 00b919580..000000000 --- a/vendors/galaxy/Docs/IFriends_8h.html +++ /dev/null @@ -1,277 +0,0 @@ - - - - - - - -GOG Galaxy: IFriends.h File Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
IFriends.h File Reference
-
-
- -

Contains data structures and interfaces related to social activities. -More...

-
#include "GalaxyID.h"
-#include "IListenerRegistrar.h"
-
-Include dependency graph for IFriends.h:
-
-
-
-
-
-This graph shows which files directly or indirectly include this file:
-
-
-
-
-
-

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Classes

class  IPersonaDataChangedListener
 Listener for the event of changing persona data. More...
 
class  IUserInformationRetrieveListener
 Listener for the event of retrieving requested user's information. More...
 
class  IFriendListListener
 Listener for the event of retrieving requested list of friends. More...
 
class  IFriendInvitationSendListener
 Listener for the event of sending a friend invitation. More...
 
class  IFriendInvitationListRetrieveListener
 Listener for the event of retrieving requested list of incoming friend invitations. More...
 
class  ISentFriendInvitationListRetrieveListener
 Listener for the event of retrieving requested list of outgoing friend invitations. More...
 
class  IFriendInvitationListener
 Listener for the event of receiving a friend invitation. More...
 
class  IFriendInvitationRespondToListener
 Listener for the event of responding to a friend invitation. More...
 
class  IFriendAddListener
 Listener for the event of a user being added to the friend list. More...
 
class  IFriendDeleteListener
 Listener for the event of removing a user from the friend list. More...
 
class  IRichPresenceChangeListener
 Listener for the event of rich presence modification. More...
 
class  IRichPresenceListener
 Listener for the event of any user rich presence update. More...
 
class  IRichPresenceRetrieveListener
 Listener for the event of retrieving requested user's rich presence. More...
 
class  IGameJoinRequestedListener
 Event of requesting a game join by user. More...
 
class  IGameInvitationReceivedListener
 Event of receiving a game invitation. More...
 
class  ISendInvitationListener
 Listener for the event of sending an invitation without using the overlay. More...
 
class  IUserFindListener
 Listener for the event of searching a user. More...
 
class  IFriends
 The interface for managing social info and activities. More...
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Typedefs

-typedef uint32_t AvatarCriteria
 The bit sum of the AvatarType.
 
-typedef SelfRegisteringListener< IPersonaDataChangedListener > GlobalPersonaDataChangedListener
 Globally self-registering version of IPersonaDataChangedListener.
 
-typedef SelfRegisteringListener< IUserInformationRetrieveListener > GlobalUserInformationRetrieveListener
 Globally self-registering version of IUserInformationRetrieveListener.
 
-typedef SelfRegisteringListener< IFriendListListener > GlobalFriendListListener
 Globally self-registering version of IFriendListListener.
 
-typedef SelfRegisteringListener< IFriendInvitationSendListener > GlobalFriendInvitationSendListener
 Globally self-registering version of IFriendInvitationSendListener.
 
-typedef SelfRegisteringListener< IFriendInvitationListRetrieveListener > GlobalFriendInvitationListRetrieveListener
 Globally self-registering version of IFriendInvitationListRetrieveListener.
 
-typedef SelfRegisteringListener< ISentFriendInvitationListRetrieveListener > GlobalSentFriendInvitationListRetrieveListener
 Globally self-registering version of ISentFriendInvitationListRetrieveListener.
 
-typedef SelfRegisteringListener< IFriendInvitationListener > GlobalFriendInvitationListener
 Globally self-registering version of IFriendInvitationListener.
 
-typedef SelfRegisteringListener< IFriendInvitationRespondToListener > GlobalFriendInvitationRespondToListener
 Globally self-registering version of IFriendInvitationRespondToListener.
 
-typedef SelfRegisteringListener< IFriendAddListener > GlobalFriendAddListener
 Globally self-registering version of IFriendAddListener.
 
-typedef SelfRegisteringListener< IFriendDeleteListener > GlobalFriendDeleteListener
 Globally self-registering version of IFriendDeleteListener.
 
-typedef SelfRegisteringListener< IRichPresenceChangeListener > GlobalRichPresenceChangeListener
 Globally self-registering version of IRichPresenceChangeListener.
 
-typedef SelfRegisteringListener< IRichPresenceListener > GlobalRichPresenceListener
 Globally self-registering version of IRichPresenceListener.
 
-typedef SelfRegisteringListener< IRichPresenceRetrieveListener > GlobalRichPresenceRetrieveListener
 Globally self-registering version of IRichPresenceRetrieveListener.
 
-typedef SelfRegisteringListener< IGameJoinRequestedListener > GlobalGameJoinRequestedListener
 Globally self-registering version of IGameJoinRequestedListener.
 
-typedef SelfRegisteringListener< IGameInvitationReceivedListener > GlobalGameInvitationReceivedListener
 Globally self-registering version of IGameInvitationReceivedListener.
 
-typedef SelfRegisteringListener< ISendInvitationListener > GlobalSendInvitationListener
 Globally self-registering version of ISendInvitationListener.
 
-typedef SelfRegisteringListener< IUserFindListener > GlobalUserFindListener
 Globally self-registering version of IUserFindListener.
 
- - - - - - - -

-Enumerations

enum  AvatarType { AVATAR_TYPE_NONE = 0x0000, -AVATAR_TYPE_SMALL = 0x0001, -AVATAR_TYPE_MEDIUM = 0x0002, -AVATAR_TYPE_LARGE = 0x0004 - }
 The type of avatar. More...
 
enum  PersonaState { PERSONA_STATE_OFFLINE, -PERSONA_STATE_ONLINE - }
 The state of the user. More...
 
-

Detailed Description

-

Contains data structures and interfaces related to social activities.

-
-
- - - - diff --git a/vendors/galaxy/Docs/IFriends_8h.js b/vendors/galaxy/Docs/IFriends_8h.js deleted file mode 100644 index 6ba765286..000000000 --- a/vendors/galaxy/Docs/IFriends_8h.js +++ /dev/null @@ -1,31 +0,0 @@ -var IFriends_8h = -[ - [ "AvatarCriteria", "IFriends_8h.html#ga0b4e285695fff5cdad470ce7fd65d232", null ], - [ "GlobalFriendAddListener", "IFriends_8h.html#ga1d833290a4ae392fabc7b87ca6d49b7e", null ], - [ "GlobalFriendDeleteListener", "IFriends_8h.html#ga7718927f50b205a80397e521448d2a36", null ], - [ "GlobalFriendInvitationListener", "IFriends_8h.html#ga89ff60f1104ad4f2157a6d85503899bd", null ], - [ "GlobalFriendInvitationListRetrieveListener", "IFriends_8h.html#ga3b2231cc3ab28023cfc5a9b382c3dc8b", null ], - [ "GlobalFriendInvitationRespondToListener", "IFriends_8h.html#ga9d1949990154592b751ce7eac0f879cc", null ], - [ "GlobalFriendInvitationSendListener", "IFriends_8h.html#ga7a0908d19dd99ad941762285d8203b23", null ], - [ "GlobalFriendListListener", "IFriends_8h.html#ga3c47abf20e566dc0cd0b8bcbc3bc386d", null ], - [ "GlobalGameInvitationReceivedListener", "IFriends_8h.html#ga041cd7c0c92d31f5fc67e1154e2f8de7", null ], - [ "GlobalGameJoinRequestedListener", "IFriends_8h.html#gadab0159681deec55f64fa6d1df5d543c", null ], - [ "GlobalPersonaDataChangedListener", "IFriends_8h.html#gad9c8e014e3ae811c6bd56b7c5b3704f6", null ], - [ "GlobalRichPresenceChangeListener", "IFriends_8h.html#ga76d003ff80cd39b871a45886762ee2b0", null ], - [ "GlobalRichPresenceListener", "IFriends_8h.html#gaed6410df8d42c1f0de2696e5726fb286", null ], - [ "GlobalRichPresenceRetrieveListener", "IFriends_8h.html#gae3a957dca3c9de0984f77cb2cb82dbed", null ], - [ "GlobalSendInvitationListener", "IFriends_8h.html#ga1e06a9d38e42bdfd72b78b4f72460604", null ], - [ "GlobalSentFriendInvitationListRetrieveListener", "IFriends_8h.html#ga32fa1f7ffccbe5e990ce550040ddc96c", null ], - [ "GlobalUserFindListener", "IFriends_8h.html#ga83310c5c4a6629c16919c694db327526", null ], - [ "GlobalUserInformationRetrieveListener", "IFriends_8h.html#ga3feb79b21f28d5d678f51c47c168adc6", null ], - [ "AvatarType", "IFriends_8h.html#ga51ba11764e2176ad2cc364635fac294e", [ - [ "AVATAR_TYPE_NONE", "IFriends_8h.html#gga51ba11764e2176ad2cc364635fac294ea91228793d738e332f5e41ef12ba1f586", null ], - [ "AVATAR_TYPE_SMALL", "IFriends_8h.html#gga51ba11764e2176ad2cc364635fac294eab4d1c5b4099a3d2844181e6fd02b7f44", null ], - [ "AVATAR_TYPE_MEDIUM", "IFriends_8h.html#gga51ba11764e2176ad2cc364635fac294eaa77de76e722c9a94aa7b3be97936f070", null ], - [ "AVATAR_TYPE_LARGE", "IFriends_8h.html#gga51ba11764e2176ad2cc364635fac294eaff15caabaef36eb4474c64eca3adf8ef", null ] - ] ], - [ "PersonaState", "IFriends_8h.html#ga608f6267eb31cafa281d634bc45ef356", [ - [ "PERSONA_STATE_OFFLINE", "IFriends_8h.html#gga608f6267eb31cafa281d634bc45ef356a77d5dff40751392f545c34823c5f77d1", null ], - [ "PERSONA_STATE_ONLINE", "IFriends_8h.html#gga608f6267eb31cafa281d634bc45ef356a8d560591609f716efa688497cd9def5b", null ] - ] ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/IFriends_8h__dep__incl.map b/vendors/galaxy/Docs/IFriends_8h__dep__incl.map deleted file mode 100644 index 29e98bbba..000000000 --- a/vendors/galaxy/Docs/IFriends_8h__dep__incl.map +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/vendors/galaxy/Docs/IFriends_8h__dep__incl.md5 b/vendors/galaxy/Docs/IFriends_8h__dep__incl.md5 deleted file mode 100644 index 7dcfcddc1..000000000 --- a/vendors/galaxy/Docs/IFriends_8h__dep__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -06ab6a3897d5d9f20df7648087d42736 \ No newline at end of file diff --git a/vendors/galaxy/Docs/IFriends_8h__dep__incl.svg b/vendors/galaxy/Docs/IFriends_8h__dep__incl.svg deleted file mode 100644 index ebe6b99af..000000000 --- a/vendors/galaxy/Docs/IFriends_8h__dep__incl.svg +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - -IFriends.h - - -Node7 - - -IFriends.h - - - - -Node8 - - -GalaxyApi.h - - - - -Node7->Node8 - - - - - diff --git a/vendors/galaxy/Docs/IFriends_8h__incl.map b/vendors/galaxy/Docs/IFriends_8h__incl.map deleted file mode 100644 index 4a8408518..000000000 --- a/vendors/galaxy/Docs/IFriends_8h__incl.map +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/vendors/galaxy/Docs/IFriends_8h__incl.md5 b/vendors/galaxy/Docs/IFriends_8h__incl.md5 deleted file mode 100644 index c490f435b..000000000 --- a/vendors/galaxy/Docs/IFriends_8h__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -726ae7e741005a9344b97b9f21a4aa78 \ No newline at end of file diff --git a/vendors/galaxy/Docs/IFriends_8h__incl.svg b/vendors/galaxy/Docs/IFriends_8h__incl.svg deleted file mode 100644 index 416525bec..000000000 --- a/vendors/galaxy/Docs/IFriends_8h__incl.svg +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - -IFriends.h - - -Node0 - - -IFriends.h - - - - -Node1 - - -GalaxyID.h - - - - -Node0->Node1 - - - - -Node4 - - -IListenerRegistrar.h - - - - -Node0->Node4 - - - - -Node2 - - -stdint.h - - - - -Node1->Node2 - - - - -Node3 - - -assert.h - - - - -Node1->Node3 - - - - -Node2->Node2 - - - - -Node4->Node2 - - - - -Node5 - - -stdlib.h - - - - -Node4->Node5 - - - - -Node6 - - -GalaxyExport.h - - - - -Node4->Node6 - - - - - diff --git a/vendors/galaxy/Docs/IFriends_8h_source.html b/vendors/galaxy/Docs/IFriends_8h_source.html deleted file mode 100644 index 9a723bade..000000000 --- a/vendors/galaxy/Docs/IFriends_8h_source.html +++ /dev/null @@ -1,275 +0,0 @@ - - - - - - - -GOG Galaxy: IFriends.h Source File - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
IFriends.h
-
-
-Go to the documentation of this file.
1 #ifndef GALAXY_I_FRIENDS_H
2 #define GALAXY_I_FRIENDS_H
3 
9 #include "GalaxyID.h"
10 #include "IListenerRegistrar.h"
11 
12 namespace galaxy
13 {
14  namespace api
15  {
25  {
26  AVATAR_TYPE_NONE = 0x0000,
27  AVATAR_TYPE_SMALL = 0x0001,
28  AVATAR_TYPE_MEDIUM = 0x0002,
30  };
31 
35  typedef uint32_t AvatarCriteria;
36 
41  {
44  };
45 
49  class IPersonaDataChangedListener : public GalaxyTypeAwareListener<PERSONA_DATA_CHANGED>
50  {
51  public:
52 
57  {
65  };
66 
73  virtual void OnPersonaDataChanged(GalaxyID userID, uint32_t personaStateChange) = 0;
74  };
75 
80 
84  class IUserInformationRetrieveListener : public GalaxyTypeAwareListener<USER_INFORMATION_RETRIEVE_LISTENER>
85  {
86  public:
87 
93  virtual void OnUserInformationRetrieveSuccess(GalaxyID userID) = 0;
94 
99  {
102  };
103 
110  virtual void OnUserInformationRetrieveFailure(GalaxyID userID, FailureReason failureReason) = 0;
111  };
112 
117 
121  class IFriendListListener : public GalaxyTypeAwareListener<FRIEND_LIST_RETRIEVE>
122  {
123  public:
124 
130  virtual void OnFriendListRetrieveSuccess() = 0;
131 
136  {
139  };
140 
146  virtual void OnFriendListRetrieveFailure(FailureReason failureReason) = 0;
147  };
148 
153 
157  class IFriendInvitationSendListener : public GalaxyTypeAwareListener<FRIEND_INVITATION_SEND_LISTENER>
158  {
159  public:
160 
166  virtual void OnFriendInvitationSendSuccess(GalaxyID userID) = 0;
167 
172  {
178  };
179 
186  virtual void OnFriendInvitationSendFailure(GalaxyID userID, FailureReason failureReason) = 0;
187  };
188 
193 
197  class IFriendInvitationListRetrieveListener : public GalaxyTypeAwareListener<FRIEND_INVITATION_LIST_RETRIEVE_LISTENER>
198  {
199  public:
200 
206  virtual void OnFriendInvitationListRetrieveSuccess() = 0;
207 
212  {
215  };
216 
222  virtual void OnFriendInvitationListRetrieveFailure(FailureReason failureReason) = 0;
223 
224  };
225 
230 
234  class ISentFriendInvitationListRetrieveListener : public GalaxyTypeAwareListener<SENT_FRIEND_INVITATION_LIST_RETRIEVE_LISTENER>
235  {
236  public:
237 
244 
249  {
252  };
253 
259  virtual void OnSentFriendInvitationListRetrieveFailure(FailureReason failureReason) = 0;
260  };
261 
266 
270  class IFriendInvitationListener : public GalaxyTypeAwareListener<FRIEND_INVITATION_LISTENER>
271  {
272  public:
273 
280  virtual void OnFriendInvitationReceived(GalaxyID userID, uint32_t sendTime) = 0;
281  };
282 
287 
291  class IFriendInvitationRespondToListener : public GalaxyTypeAwareListener<FRIEND_INVITATION_RESPOND_TO_LISTENER>
292  {
293  public:
294 
301  virtual void OnFriendInvitationRespondToSuccess(GalaxyID userID, bool accept) = 0;
302 
307  {
313  };
314 
321  virtual void OnFriendInvitationRespondToFailure(GalaxyID userID, FailureReason failureReason) = 0;
322  };
323 
328 
332  class IFriendAddListener : public GalaxyTypeAwareListener<FRIEND_ADD_LISTENER>
333  {
334  public:
335 
340  {
343  };
344 
351  virtual void OnFriendAdded(GalaxyID userID, InvitationDirection invitationDirection) = 0;
352  };
353 
358 
362  class IFriendDeleteListener : public GalaxyTypeAwareListener<FRIEND_DELETE_LISTENER>
363  {
364  public:
365 
371  virtual void OnFriendDeleteSuccess(GalaxyID userID) = 0;
372 
377  {
380  };
381 
388  virtual void OnFriendDeleteFailure(GalaxyID userID, FailureReason failureReason) = 0;
389  };
390 
395 
399  class IRichPresenceChangeListener : public GalaxyTypeAwareListener<RICH_PRESENCE_CHANGE_LISTENER>
400  {
401  public:
402 
406  virtual void OnRichPresenceChangeSuccess() = 0;
407 
412  {
415  };
416 
422  virtual void OnRichPresenceChangeFailure(FailureReason failureReason) = 0;
423  };
424 
429 
433  class IRichPresenceListener : public GalaxyTypeAwareListener<RICH_PRESENCE_LISTENER>
434  {
435  public:
436 
442  virtual void OnRichPresenceUpdated(GalaxyID userID) = 0;
443  };
444 
449 
453  class IRichPresenceRetrieveListener : public GalaxyTypeAwareListener<RICH_PRESENCE_RETRIEVE_LISTENER>
454  {
455  public:
456 
462  virtual void OnRichPresenceRetrieveSuccess(GalaxyID userID) = 0;
463 
468  {
471  };
472 
479  virtual void OnRichPresenceRetrieveFailure(GalaxyID userID, FailureReason failureReason) = 0;
480  };
481 
486 
493  class IGameJoinRequestedListener : public GalaxyTypeAwareListener<GAME_JOIN_REQUESTED_LISTENER>
494  {
495  public:
496 
503  virtual void OnGameJoinRequested(GalaxyID userID, const char* connectionString) = 0;
504  };
505 
510 
516  class IGameInvitationReceivedListener : public GalaxyTypeAwareListener<GAME_INVITATION_RECEIVED_LISTENER>
517  {
518  public:
519 
526  virtual void OnGameInvitationReceived(GalaxyID userID, const char* connectionString) = 0;
527  };
528 
533 
537  class ISendInvitationListener : public GalaxyTypeAwareListener<INVITATION_SEND>
538  {
539  public:
540 
547  virtual void OnInvitationSendSuccess(GalaxyID userID, const char* connectionString) = 0;
548 
553  {
561  };
562 
570  virtual void OnInvitationSendFailure(GalaxyID userID, const char* connectionString, FailureReason failureReason) = 0;
571  };
572 
577 
581  class IUserFindListener : public GalaxyTypeAwareListener<USER_FIND_LISTENER>
582  {
583  public:
584 
591  virtual void OnUserFindSuccess(const char* userSpecifier, GalaxyID userID) = 0;
592 
597  {
601  };
602 
609  virtual void OnUserFindFailure(const char* userSpecifier, FailureReason failureReason) = 0;
610  };
611 
616 
620  class IFriends
621  {
622  public:
623 
624  virtual ~IFriends()
625  {
626  }
627 
634 
643  virtual void SetDefaultAvatarCriteria(AvatarCriteria defaultAvatarCriteria) = 0;
644 
664  virtual void RequestUserInformation(
665  GalaxyID userID,
666  AvatarCriteria avatarCriteria = AVATAR_TYPE_NONE,
667  IUserInformationRetrieveListener* const listener = NULL) = 0;
668 
677  virtual bool IsUserInformationAvailable(GalaxyID userID) = 0;
678 
686  virtual const char* GetPersonaName() = 0;
687 
694  virtual void GetPersonaNameCopy(char* buffer, uint32_t bufferLength) = 0;
695 
701  virtual PersonaState GetPersonaState() = 0;
702 
713  virtual const char* GetFriendPersonaName(GalaxyID userID) = 0;
714 
724  virtual void GetFriendPersonaNameCopy(GalaxyID userID, char* buffer, uint32_t bufferLength) = 0;
725 
734  virtual PersonaState GetFriendPersonaState(GalaxyID userID) = 0;
735 
747  virtual const char* GetFriendAvatarUrl(GalaxyID userID, AvatarType avatarType) = 0;
748 
759  virtual void GetFriendAvatarUrlCopy(GalaxyID userID, AvatarType avatarType, char* buffer, uint32_t bufferLength) = 0;
760 
771  virtual uint32_t GetFriendAvatarImageID(GalaxyID userID, AvatarType avatarType) = 0;
772 
786  virtual void GetFriendAvatarImageRGBA(GalaxyID userID, AvatarType avatarType, void* buffer, uint32_t bufferLength) = 0;
787 
795  virtual bool IsFriendAvatarImageRGBAAvailable(GalaxyID userID, AvatarType avatarType) = 0;
796 
804  virtual void RequestFriendList(IFriendListListener* const listener = NULL) = 0;
805 
814  virtual bool IsFriend(GalaxyID userID) = 0;
815 
823  virtual uint32_t GetFriendCount() = 0;
824 
833  virtual GalaxyID GetFriendByIndex(uint32_t index) = 0;
834 
843  virtual void SendFriendInvitation(GalaxyID userID, IFriendInvitationSendListener* const listener = NULL) = 0;
844 
852  virtual void RequestFriendInvitationList(IFriendInvitationListRetrieveListener* const listener = NULL) = 0;
853 
861  virtual void RequestSentFriendInvitationList(ISentFriendInvitationListRetrieveListener* const listener = NULL) = 0;
862 
870  virtual uint32_t GetFriendInvitationCount() = 0;
871 
881  virtual void GetFriendInvitationByIndex(uint32_t index, GalaxyID& userID, uint32_t& sendTime) = 0;
882 
892  virtual void RespondToFriendInvitation(GalaxyID userID, bool accept, IFriendInvitationRespondToListener* const listener = NULL) = 0;
893 
902  virtual void DeleteFriend(GalaxyID userID, IFriendDeleteListener* const listener = NULL) = 0;
903 
924  virtual void SetRichPresence(const char* key, const char* value, IRichPresenceChangeListener* const listener = NULL) = 0;
925 
936  virtual void DeleteRichPresence(const char* key, IRichPresenceChangeListener* const listener = NULL) = 0;
937 
945  virtual void ClearRichPresence(IRichPresenceChangeListener* const listener = NULL) = 0;
946 
956  virtual void RequestRichPresence(GalaxyID userID = GalaxyID(), IRichPresenceRetrieveListener* const listener = NULL) = 0;
957 
969  virtual const char* GetRichPresence(const char* key, GalaxyID userID = GalaxyID()) = 0;
970 
981  virtual void GetRichPresenceCopy(const char* key, char* buffer, uint32_t bufferLength, GalaxyID userID = GalaxyID()) = 0;
982 
989  virtual uint32_t GetRichPresenceCount(GalaxyID userID = GalaxyID()) = 0;
990 
1003  virtual void GetRichPresenceByIndex(uint32_t index, char* key, uint32_t keyLength, char* value, uint32_t valueLength, GalaxyID userID = GalaxyID()) = 0;
1004 
1018  virtual void ShowOverlayInviteDialog(const char* connectionString) = 0;
1019 
1034  virtual void SendInvitation(GalaxyID userID, const char* connectionString, ISendInvitationListener* const listener = NULL) = 0;
1035 
1047  virtual void FindUser(const char* userSpecifier, IUserFindListener* const listener = NULL) = 0;
1048 
1057  virtual bool IsUserInTheSameGame(GalaxyID userID) const = 0;
1058  };
1059 
1061  }
1062 }
1063 
1064 #endif
SelfRegisteringListener< IFriendInvitationSendListener > GlobalFriendInvitationSendListener
Globally self-registering version of IFriendInvitationSendListener.
Definition: IFriends.h:192
-
Listener for the event of retrieving requested user's rich presence.
Definition: IFriends.h:453
-
Unable to communicate with backend services.
Definition: IFriends.h:560
-
virtual void SetDefaultAvatarCriteria(AvatarCriteria defaultAvatarCriteria)=0
Sets the default avatar criteria.
-
virtual void OnUserFindSuccess(const char *userSpecifier, GalaxyID userID)=0
Notification for the event of success in finding a user.
-
virtual void SetRichPresence(const char *key, const char *value, IRichPresenceChangeListener *const listener=NULL)=0
Sets the variable value under a specified name.
-
Unable to communicate with backend services.
Definition: IFriends.h:101
-
Small avatar image has been downloaded.
Definition: IFriends.h:61
-
Event of requesting a game join by user.
Definition: IFriends.h:493
-
virtual void OnFriendDeleteFailure(GalaxyID userID, FailureReason failureReason)=0
Notification for the event of a failure in removing a user from the friend list.
-
virtual const char * GetRichPresence(const char *key, GalaxyID userID=GalaxyID())=0
Returns the rich presence of a specified user.
-
Any avatar images have been downloaded.
Definition: IFriends.h:64
-
Unspecified error.
Definition: IFriends.h:137
-
SelfRegisteringListener< IRichPresenceRetrieveListener > GlobalRichPresenceRetrieveListener
Globally self-registering version of IRichPresenceRetrieveListener.
Definition: IFriends.h:485
-
virtual void OnRichPresenceRetrieveFailure(GalaxyID userID, FailureReason failureReason)=0
Notification for the event of a failure in retrieving the user's rich presence.
-
SelfRegisteringListener< ISendInvitationListener > GlobalSendInvitationListener
Globally self-registering version of ISendInvitationListener.
Definition: IFriends.h:576
-
Listener for the event of retrieving requested list of incoming friend invitations.
Definition: IFriends.h:197
-
Sender blocked by receiver. Will also occur if both users blocked each other.
Definition: IFriends.h:559
-
Unable to communicate with backend services.
Definition: IFriends.h:312
-
virtual void OnFriendInvitationRespondToFailure(GalaxyID userID, FailureReason failureReason)=0
Notification for the event of a failure in responding to a friend invitation.
-
FailureReason
The reason of a failure in sending a friend invitation.
Definition: IFriends.h:171
-
virtual void SendFriendInvitation(GalaxyID userID, IFriendInvitationSendListener *const listener=NULL)=0
Sends a friend invitation.
-
Unspecified error.
Definition: IFriends.h:378
-
virtual PersonaState GetPersonaState()=0
Returns the user's state.
-
virtual void OnFriendListRetrieveFailure(FailureReason failureReason)=0
Notification for the event of a failure in retrieving the user's list of friends.
-
virtual void OnFriendListRetrieveSuccess()=0
Notification for the event of a success in retrieving the user's list of friends.
-
virtual bool IsUserInformationAvailable(GalaxyID userID)=0
Checks if the information of specified user is available.
-
Listener for the event of sending a friend invitation.
Definition: IFriends.h:157
-
SelfRegisteringListener< IUserInformationRetrieveListener > GlobalUserInformationRetrieveListener
Globally self-registering version of IUserInformationRetrieveListener.
Definition: IFriends.h:116
-
FailureReason
The reason of a failure in retrieving the user's list of incoming friend invitations.
Definition: IFriends.h:211
-
virtual void OnUserInformationRetrieveSuccess(GalaxyID userID)=0
Notification for the event of a success in retrieving the user's information.
- -
Avatar resolution size: 64x64.
Definition: IFriends.h:28
-
Listener for the event of responding to a friend invitation.
Definition: IFriends.h:291
-
Unable to communicate with backend services.
Definition: IFriends.h:177
-
virtual bool IsUserInTheSameGame(GalaxyID userID) const =0
Checks if a specified user is playing the same game.
-
The class that is inherited by all specific callback listeners and provides a static method that retu...
Definition: IListenerRegistrar.h:112
-
SelfRegisteringListener< IRichPresenceChangeListener > GlobalRichPresenceChangeListener
Globally self-registering version of IRichPresenceChangeListener.
Definition: IFriends.h:428
-
Unable to communicate with backend services.
Definition: IFriends.h:214
-
Large avatar image has been downloaded.
Definition: IFriends.h:63
-
virtual void GetFriendAvatarImageRGBA(GalaxyID userID, AvatarType avatarType, void *buffer, uint32_t bufferLength)=0
Copies the avatar of a specified user.
-
virtual void GetPersonaNameCopy(char *buffer, uint32_t bufferLength)=0
Copies the user's nickname to a buffer.
-
PersonaStateChange
Describes what has changed about a user.
Definition: IFriends.h:56
-
Listener for the event of rich presence modification.
Definition: IFriends.h:399
-
Represents the ID of an entity used by Galaxy Peer.
Definition: GalaxyID.h:29
-
FailureReason
The reason of a failure in retrieving the user's information.
Definition: IFriends.h:98
-
virtual void RequestSentFriendInvitationList(ISentFriendInvitationListRetrieveListener *const listener=NULL)=0
Performs a request for the user's list of outgoing friend invitations.
-
virtual PersonaState GetFriendPersonaState(GalaxyID userID)=0
Returns the state of a specified user.
-
SelfRegisteringListener< IUserFindListener > GlobalUserFindListener
Globally self-registering version of IUserFindListener.
Definition: IFriends.h:615
-
FailureReason
The reason of a failure in searching a user.
Definition: IFriends.h:596
-
Unable to communicate with backend services.
Definition: IFriends.h:414
-
SelfRegisteringListener< IFriendDeleteListener > GlobalFriendDeleteListener
Globally self-registering version of IFriendDeleteListener.
Definition: IFriends.h:394
-
Unable to communicate with backend services.
Definition: IFriends.h:470
-
virtual void RequestFriendList(IFriendListListener *const listener=NULL)=0
Performs a request for the user's list of friends.
-
virtual void OnSentFriendInvitationListRetrieveSuccess()=0
Notification for the event of a success in retrieving the user's list of outgoing friend invitations.
-
Listener for the event of removing a user from the friend list.
Definition: IFriends.h:362
-
The user indicated in the notification was the invitee.
Definition: IFriends.h:342
-
Event of receiving a game invitation.
Definition: IFriends.h:516
-
FailureReason
The reason of a failure in retrieving the user's list of outgoing friend invitations.
Definition: IFriends.h:248
-
SelfRegisteringListener< IFriendAddListener > GlobalFriendAddListener
Globally self-registering version of IFriendAddListener.
Definition: IFriends.h:357
- -
virtual GalaxyID GetFriendByIndex(uint32_t index)=0
Returns the GalaxyID for a friend.
-
virtual void ClearRichPresence(IRichPresenceChangeListener *const listener=NULL)=0
Removes all rich presence data for the user.
-
virtual void OnPersonaDataChanged(GalaxyID userID, uint32_t personaStateChange)=0
Notification for the event of changing persona data.
- - -
virtual void RequestUserInformation(GalaxyID userID, AvatarCriteria avatarCriteria=AVATAR_TYPE_NONE, IUserInformationRetrieveListener *const listener=NULL)=0
Performs a request for information about specified user.
-
User is logged on.
Definition: IFriends.h:43
-
virtual const char * GetPersonaName()=0
Returns the user's nickname.
-
Avatar resolution size: 32x32.
Definition: IFriends.h:27
-
FailureReason
The reason of a failure in retrieving the user's list of friends.
Definition: IFriends.h:135
-
virtual void GetRichPresenceByIndex(uint32_t index, char *key, uint32_t keyLength, char *value, uint32_t valueLength, GalaxyID userID=GalaxyID())=0
Returns a property from the rich presence storage by index.
-
Receiver does not allow inviting.
Definition: IFriends.h:556
-
virtual void OnGameInvitationReceived(GalaxyID userID, const char *connectionString)=0
Notification for the event of receiving a game invitation.
-
virtual void RequestFriendInvitationList(IFriendInvitationListRetrieveListener *const listener=NULL)=0
Performs a request for the user's list of incoming friend invitations.
-
Receiver does not exist.
Definition: IFriends.h:555
-
User already on the friend list.
Definition: IFriends.h:176
-
Unable to communicate with backend services.
Definition: IFriends.h:138
-
Sender does not allow inviting.
Definition: IFriends.h:557
-
Listener for the event of retrieving requested list of outgoing friend invitations.
Definition: IFriends.h:234
-
PersonaState
The state of the user.
Definition: IFriends.h:40
-
SelfRegisteringListener< IFriendInvitationListener > GlobalFriendInvitationListener
Globally self-registering version of IFriendInvitationListener.
Definition: IFriends.h:286
-
virtual uint32_t GetFriendInvitationCount()=0
Returns the number of retrieved friend invitations.
-
virtual void GetFriendInvitationByIndex(uint32_t index, GalaxyID &userID, uint32_t &sendTime)=0
Reads the details of the friend invitation.
-
virtual void OnUserInformationRetrieveFailure(GalaxyID userID, FailureReason failureReason)=0
Notification for the event of a failure in retrieving the user's information.
-
virtual void OnRichPresenceRetrieveSuccess(GalaxyID userID)=0
Notification for the event of a success in retrieving the user's rich presence.
- -
AvatarType
The type of avatar.
Definition: IFriends.h:24
-
virtual void OnFriendAdded(GalaxyID userID, InvitationDirection invitationDirection)=0
Notification for the event of a user being added to the friend list.
-
virtual void OnRichPresenceUpdated(GalaxyID userID)=0
Notification for the event of successful rich presence update.
-
Listener for the event of retrieving requested user's information.
Definition: IFriends.h:84
-
The user indicated in the notification was the inviter.
Definition: IFriends.h:341
-
virtual void DeleteRichPresence(const char *key, IRichPresenceChangeListener *const listener=NULL)=0
Removes the variable value under a specified name.
-
virtual void RespondToFriendInvitation(GalaxyID userID, bool accept, IFriendInvitationRespondToListener *const listener=NULL)=0
Responds to the friend invitation.
-
Friend invitation already sent to the user.
Definition: IFriends.h:175
-
Receiver blocked by sender.
Definition: IFriends.h:558
-
No information has changed.
Definition: IFriends.h:58
-
Avatar, i.e. its URL, has changed.
Definition: IFriends.h:60
-
virtual void OnFriendInvitationListRetrieveFailure(FailureReason failureReason)=0
Notification for the event of a failure in retrieving the user's list of incoming friend invitations.
-
Listener for the event of retrieving requested list of friends.
Definition: IFriends.h:121
-
The class that is inherited by the self-registering versions of all specific callback listeners.
Definition: IListenerRegistrar.h:206
-
Avatar resolution size: 184x184.
Definition: IFriends.h:29
-
FailureReason
The reason of a failure in responding to a friend invitation.
Definition: IFriends.h:306
-
Listener for the event of sending an invitation without using the overlay.
Definition: IFriends.h:537
-
Contains GalaxyID, which is the class that represents the ID of an entity used by Galaxy Peer.
-
User already on the friend list.
Definition: IFriends.h:311
-
SelfRegisteringListener< IGameInvitationReceivedListener > GlobalGameInvitationReceivedListener
Globally self-registering version of IGameInvitationReceivedListener.
Definition: IFriends.h:532
-
virtual bool IsFriendAvatarImageRGBAAvailable(GalaxyID userID, AvatarType avatarType)=0
Checks if a specified avatar image is available.
-
Unable to communicate with backend services.
Definition: IFriends.h:379
-
virtual void OnRichPresenceChangeSuccess()=0
Notification for the event of successful rich presence change.
-
Listener for the event of searching a user.
Definition: IFriends.h:581
-
Unable to communicate with backend services.
Definition: IFriends.h:600
- -
Persona name has changed.
Definition: IFriends.h:59
-
InvitationDirection
The direction of the invitation that initiated the change in the friend list.
Definition: IFriends.h:339
-
User is not currently logged on.
Definition: IFriends.h:42
-
virtual void GetFriendAvatarUrlCopy(GalaxyID userID, AvatarType avatarType, char *buffer, uint32_t bufferLength)=0
Copies URL of the avatar of a specified user.
-
virtual void OnInvitationSendFailure(GalaxyID userID, const char *connectionString, FailureReason failureReason)=0
Notification for the event of a failure in sending an invitation.
-
virtual void OnFriendInvitationSendFailure(GalaxyID userID, FailureReason failureReason)=0
Notification for the event of a failure in sending a friend invitation.
-
virtual void GetFriendPersonaNameCopy(GalaxyID userID, char *buffer, uint32_t bufferLength)=0
Copies the nickname of a specified user.
-
virtual bool IsFriend(GalaxyID userID)=0
Checks if a specified user is a friend.
-
No avatar type specified.
Definition: IFriends.h:26
-
FailureReason
The reason of a failure in retrieving the user's rich presence.
Definition: IFriends.h:467
-
Contains data structures and interfaces related to callback listeners.
-
FailureReason
The reason of a failure in rich presence modification.
Definition: IFriends.h:411
-
virtual AvatarCriteria GetDefaultAvatarCriteria()=0
Returns the default avatar criteria.
-
SelfRegisteringListener< IFriendInvitationRespondToListener > GlobalFriendInvitationRespondToListener
Globally self-registering version of IFriendInvitationRespondToListener.
Definition: IFriends.h:327
-
Unspecified error.
Definition: IFriends.h:554
-
SelfRegisteringListener< IPersonaDataChangedListener > GlobalPersonaDataChangedListener
Globally self-registering version of IPersonaDataChangedListener.
Definition: IFriends.h:79
-
Unspecified error.
Definition: IFriends.h:413
-
virtual void RequestRichPresence(GalaxyID userID=GalaxyID(), IRichPresenceRetrieveListener *const listener=NULL)=0
Performs a request for the user's rich presence.
-
virtual void DeleteFriend(GalaxyID userID, IFriendDeleteListener *const listener=NULL)=0
Removes a user from the friend list.
-
virtual void OnFriendInvitationSendSuccess(GalaxyID userID)=0
Notification for the event of a success in sending a friend invitation.
-
virtual void OnRichPresenceChangeFailure(FailureReason failureReason)=0
Notification for the event of failure to modify rich presence.
-
virtual void ShowOverlayInviteDialog(const char *connectionString)=0
Shows game invitation dialog that allows to invite users to game.
-
SelfRegisteringListener< IFriendInvitationListRetrieveListener > GlobalFriendInvitationListRetrieveListener
Globally self-registering version of IFriendInvitationListRetrieveListener.
Definition: IFriends.h:229
-
Unspecified error.
Definition: IFriends.h:598
-
virtual void OnInvitationSendSuccess(GalaxyID userID, const char *connectionString)=0
Notification for the event of success in sending an invitation.
-
virtual const char * GetFriendAvatarUrl(GalaxyID userID, AvatarType avatarType)=0
Returns the URL of the avatar of a specified user.
- -
uint32_t AvatarCriteria
The bit sum of the AvatarType.
Definition: IFriends.h:35
-
virtual uint32_t GetFriendAvatarImageID(GalaxyID userID, AvatarType avatarType)=0
Returns the ID of the avatar of a specified user.
-
SelfRegisteringListener< IRichPresenceListener > GlobalRichPresenceListener
Globally self-registering version of IRichPresenceListener.
Definition: IFriends.h:448
-
Listener for the event of receiving a friend invitation.
Definition: IFriends.h:270
-
virtual void OnSentFriendInvitationListRetrieveFailure(FailureReason failureReason)=0
Notification for the event of a failure in retrieving the user's list of outgoing friend invitations.
-
SelfRegisteringListener< ISentFriendInvitationListRetrieveListener > GlobalSentFriendInvitationListRetrieveListener
Globally self-registering version of ISentFriendInvitationListRetrieveListener.
Definition: IFriends.h:265
-
virtual void SendInvitation(GalaxyID userID, const char *connectionString, ISendInvitationListener *const listener=NULL)=0
Sends a game invitation without using the overlay.
-
virtual void OnUserFindFailure(const char *userSpecifier, FailureReason failureReason)=0
Notification for the event of a failure in finding a user.
-
virtual void OnFriendInvitationRespondToSuccess(GalaxyID userID, bool accept)=0
Notification for the event of a success in responding to a friend invitation.
-
virtual void OnGameJoinRequested(GalaxyID userID, const char *connectionString)=0
Notification for the event of accepting a game invitation.
-
Listener for the event of a user being added to the friend list.
Definition: IFriends.h:332
-
Unable to communicate with backend services.
Definition: IFriends.h:251
- - -
virtual void OnFriendInvitationReceived(GalaxyID userID, uint32_t sendTime)=0
Notification for the event of receiving a friend invitation.
-
SelfRegisteringListener< IFriendListListener > GlobalFriendListListener
Globally self-registering version of IFriendListListener.
Definition: IFriends.h:152
-
The interface for managing social info and activities.
Definition: IFriends.h:620
-
SelfRegisteringListener< IGameJoinRequestedListener > GlobalGameJoinRequestedListener
Globally self-registering version of IGameJoinRequestedListener.
Definition: IFriends.h:509
-
virtual const char * GetFriendPersonaName(GalaxyID userID)=0
Returns the nickname of a specified user.
-
virtual void GetRichPresenceCopy(const char *key, char *buffer, uint32_t bufferLength, GalaxyID userID=GalaxyID())=0
Copies the rich presence of a specified user to a buffer.
-
virtual void OnFriendDeleteSuccess(GalaxyID userID)=0
Notification for the event of a success in removing a user from the friend list.
-
virtual void OnFriendInvitationListRetrieveSuccess()=0
Notification for the event of a success in retrieving the user's list of incoming friend invitations.
-
virtual uint32_t GetRichPresenceCount(GalaxyID userID=GalaxyID())=0
Returns the number of retrieved properties in user's rich presence.
-
virtual void FindUser(const char *userSpecifier, IUserFindListener *const listener=NULL)=0
Finds a specified user.
-
FailureReason
The reason of a failure in removing a user from the friend list.
Definition: IFriends.h:376
-
Listener for the event of any user rich presence update.
Definition: IFriends.h:433
-
Specified user was not found.
Definition: IFriends.h:599
-
Listener for the event of changing persona data.
Definition: IFriends.h:49
-
Medium avatar image has been downloaded.
Definition: IFriends.h:62
-
virtual uint32_t GetFriendCount()=0
Returns the number of retrieved friends in the user's list of friends.
-
FailureReason
The reason of a failure in sending an invitation.
Definition: IFriends.h:552
-
-
- - - - diff --git a/vendors/galaxy/Docs/IListenerRegistrar_8h.html b/vendors/galaxy/Docs/IListenerRegistrar_8h.html deleted file mode 100644 index 86f95d08a..000000000 --- a/vendors/galaxy/Docs/IListenerRegistrar_8h.html +++ /dev/null @@ -1,242 +0,0 @@ - - - - - - - -GOG Galaxy: IListenerRegistrar.h File Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
IListenerRegistrar.h File Reference
-
-
- -

Contains data structures and interfaces related to callback listeners. -More...

-
#include "stdint.h"
-#include <stdlib.h>
-#include "GalaxyExport.h"
-
-Include dependency graph for IListenerRegistrar.h:
-
-
-
-
-
-This graph shows which files directly or indirectly include this file:
-
-
-
-
-
-

Go to the source code of this file.

- - - - - - - - - - - - - - -

-Classes

class  IGalaxyListener
 The interface that is implemented by all specific callback listeners. More...
 
class  GalaxyTypeAwareListener< type >
 The class that is inherited by all specific callback listeners and provides a static method that returns the type of the specific listener. More...
 
class  IListenerRegistrar
 The class that enables and disables global registration of the instances of specific listeners. More...
 
class  SelfRegisteringListener< _TypeAwareListener, _Registrar >
 The class that is inherited by the self-registering versions of all specific callback listeners. More...
 
- - - - -

-Enumerations

enum  ListenerType {
-  LISTENER_TYPE_BEGIN, -LOBBY_LIST = LISTENER_TYPE_BEGIN, -LOBBY_CREATED, -LOBBY_ENTERED, -
-  LOBBY_LEFT, -LOBBY_DATA, -LOBBY_MEMBER_STATE, -LOBBY_OWNER_CHANGE, -
-  AUTH, -LOBBY_MESSAGE, -NETWORKING, -_SERVER_NETWORKING, -
-  USER_DATA, -USER_STATS_AND_ACHIEVEMENTS_RETRIEVE, -STATS_AND_ACHIEVEMENTS_STORE, -ACHIEVEMENT_CHANGE, -
-  LEADERBOARDS_RETRIEVE, -LEADERBOARD_ENTRIES_RETRIEVE, -LEADERBOARD_SCORE_UPDATE_LISTENER, -PERSONA_DATA_CHANGED, -
-  RICH_PRESENCE_CHANGE_LISTENER, -GAME_JOIN_REQUESTED_LISTENER, -OPERATIONAL_STATE_CHANGE, -_OVERLAY_STATE_CHANGE, -
-  FRIEND_LIST_RETRIEVE, -ENCRYPTED_APP_TICKET_RETRIEVE, -ACCESS_TOKEN_CHANGE, -LEADERBOARD_RETRIEVE, -
-  SPECIFIC_USER_DATA, -INVITATION_SEND, -RICH_PRESENCE_LISTENER, -GAME_INVITATION_RECEIVED_LISTENER, -
-  NOTIFICATION_LISTENER, -LOBBY_DATA_RETRIEVE, -USER_TIME_PLAYED_RETRIEVE, -OTHER_SESSION_START, -
-  _STORAGE_SYNCHRONIZATION, -FILE_SHARE, -SHARED_FILE_DOWNLOAD, -CUSTOM_NETWORKING_CONNECTION_OPEN, -
-  CUSTOM_NETWORKING_CONNECTION_CLOSE, -CUSTOM_NETWORKING_CONNECTION_DATA, -OVERLAY_INITIALIZATION_STATE_CHANGE, -OVERLAY_VISIBILITY_CHANGE, -
-  CHAT_ROOM_WITH_USER_RETRIEVE_LISTENER, -CHAT_ROOM_MESSAGE_SEND_LISTENER, -CHAT_ROOM_MESSAGES_LISTENER, -FRIEND_INVITATION_SEND_LISTENER, -
-  FRIEND_INVITATION_LIST_RETRIEVE_LISTENER, -FRIEND_INVITATION_LISTENER, -FRIEND_INVITATION_RESPOND_TO_LISTENER, -FRIEND_ADD_LISTENER, -
-  FRIEND_DELETE_LISTENER, -CHAT_ROOM_MESSAGES_RETRIEVE_LISTENER, -USER_FIND_LISTENER, -NAT_TYPE_DETECTION, -
-  SENT_FRIEND_INVITATION_LIST_RETRIEVE_LISTENER, -LOBBY_DATA_UPDATE_LISTENER, -LOBBY_MEMBER_DATA_UPDATE_LISTENER, -USER_INFORMATION_RETRIEVE_LISTENER, -
-  RICH_PRESENCE_RETRIEVE_LISTENER, -GOG_SERVICES_CONNECTION_STATE_LISTENER, -TELEMETRY_EVENT_SEND_LISTENER, -LISTENER_TYPE_END -
- }
 Listener type. More...
 
- - - - - - - -

-Functions

GALAXY_DLL_EXPORT IListenerRegistrar *GALAXY_CALLTYPE ListenerRegistrar ()
 Returns an instance of IListenerRegistrar. More...
 
GALAXY_DLL_EXPORT IListenerRegistrar *GALAXY_CALLTYPE GameServerListenerRegistrar ()
 Returns an instance of IListenerRegistrar interface the for Game Server entity. More...
 
-

Detailed Description

-

Contains data structures and interfaces related to callback listeners.

-
-
- - - - diff --git a/vendors/galaxy/Docs/IListenerRegistrar_8h.js b/vendors/galaxy/Docs/IListenerRegistrar_8h.js deleted file mode 100644 index c3a930f79..000000000 --- a/vendors/galaxy/Docs/IListenerRegistrar_8h.js +++ /dev/null @@ -1,71 +0,0 @@ -var IListenerRegistrar_8h = -[ - [ "ListenerType", "IListenerRegistrar_8h.html#ga187ae2b146c2a18d18a60fbb66cb1325", [ - [ "LISTENER_TYPE_BEGIN", "IListenerRegistrar_8h.html#gga187ae2b146c2a18d18a60fbb66cb1325a2550722395b71677daa582a5b9c81475", null ], - [ "LOBBY_LIST", "IListenerRegistrar_8h.html#gga187ae2b146c2a18d18a60fbb66cb1325a961649662a019865d4dd71363a4281dc", null ], - [ "LOBBY_CREATED", "IListenerRegistrar_8h.html#gga187ae2b146c2a18d18a60fbb66cb1325a72b400c0cb9db505acdf2d141bcb2e80", null ], - [ "LOBBY_ENTERED", "IListenerRegistrar_8h.html#gga187ae2b146c2a18d18a60fbb66cb1325a4a2114245474500da2ab887ddf173c9a", null ], - [ "LOBBY_LEFT", "IListenerRegistrar_8h.html#gga187ae2b146c2a18d18a60fbb66cb1325a27105c2e9a00c8d321918ebe8ce1c166", null ], - [ "LOBBY_DATA", "IListenerRegistrar_8h.html#gga187ae2b146c2a18d18a60fbb66cb1325a753c6fa3b59b26d70414aba9627c4de3", null ], - [ "LOBBY_MEMBER_STATE", "IListenerRegistrar_8h.html#gga187ae2b146c2a18d18a60fbb66cb1325aa53647cf33f944bbe7f8055b34c7d4f0", null ], - [ "LOBBY_OWNER_CHANGE", "IListenerRegistrar_8h.html#gga187ae2b146c2a18d18a60fbb66cb1325a925a790bff1b18803f5bed2b92736842", null ], - [ "AUTH", "IListenerRegistrar_8h.html#gga187ae2b146c2a18d18a60fbb66cb1325a8b22fbb60fcbd7a4a5e1e6ff6ee38218", null ], - [ "LOBBY_MESSAGE", "IListenerRegistrar_8h.html#gga187ae2b146c2a18d18a60fbb66cb1325a7facde2105ca77872d8e8fe396066cee", null ], - [ "NETWORKING", "IListenerRegistrar_8h.html#gga187ae2b146c2a18d18a60fbb66cb1325a649576b72b8563d824386a69916c2563", null ], - [ "_SERVER_NETWORKING", "IListenerRegistrar_8h.html#gga187ae2b146c2a18d18a60fbb66cb1325ae11a4d882c1d0cb7c39a9e0b9f6cfa59", null ], - [ "USER_DATA", "IListenerRegistrar_8h.html#gga187ae2b146c2a18d18a60fbb66cb1325ac4dcfccaa8f91257de6b916546d214ae", null ], - [ "USER_STATS_AND_ACHIEVEMENTS_RETRIEVE", "IListenerRegistrar_8h.html#gga187ae2b146c2a18d18a60fbb66cb1325a81a36542e8d6bd75d289199a7bf182a1", null ], - [ "STATS_AND_ACHIEVEMENTS_STORE", "IListenerRegistrar_8h.html#gga187ae2b146c2a18d18a60fbb66cb1325ae8b38cb47d52f0f5e4a34ebe6fd85cf2", null ], - [ "ACHIEVEMENT_CHANGE", "IListenerRegistrar_8h.html#gga187ae2b146c2a18d18a60fbb66cb1325a1cdca9604979711a1f3d65e0d6b50d88", null ], - [ "LEADERBOARDS_RETRIEVE", "IListenerRegistrar_8h.html#gga187ae2b146c2a18d18a60fbb66cb1325afefaa48dc75f328fe84a6e08b84c48a6", null ], - [ "LEADERBOARD_ENTRIES_RETRIEVE", "IListenerRegistrar_8h.html#gga187ae2b146c2a18d18a60fbb66cb1325a5d6bf6ca50e1a386b070149ea65b4481", null ], - [ "LEADERBOARD_SCORE_UPDATE_LISTENER", "IListenerRegistrar_8h.html#gga187ae2b146c2a18d18a60fbb66cb1325a00741befc273de8d805f72124cf992d2", null ], - [ "PERSONA_DATA_CHANGED", "IListenerRegistrar_8h.html#gga187ae2b146c2a18d18a60fbb66cb1325ac7bd820abf43d2123cdff4bfbabc6f7b", null ], - [ "RICH_PRESENCE_CHANGE_LISTENER", "IListenerRegistrar_8h.html#gga187ae2b146c2a18d18a60fbb66cb1325a361625a6cac0741a13d082bd6aa2101a", null ], - [ "GAME_JOIN_REQUESTED_LISTENER", "IListenerRegistrar_8h.html#gga187ae2b146c2a18d18a60fbb66cb1325ac4207f87ebbafefd3f72814ada7a1f78", null ], - [ "OPERATIONAL_STATE_CHANGE", "IListenerRegistrar_8h.html#gga187ae2b146c2a18d18a60fbb66cb1325aca0df0259978a48310bd08d22cb144ce", null ], - [ "_OVERLAY_STATE_CHANGE", "IListenerRegistrar_8h.html#gga187ae2b146c2a18d18a60fbb66cb1325a9036578ca8f1f8050f532dfba4abac6f", null ], - [ "FRIEND_LIST_RETRIEVE", "IListenerRegistrar_8h.html#gga187ae2b146c2a18d18a60fbb66cb1325a21da77db9d7caf59cd2853a9d9f10e06", null ], - [ "ENCRYPTED_APP_TICKET_RETRIEVE", "IListenerRegistrar_8h.html#gga187ae2b146c2a18d18a60fbb66cb1325ae1b91722e7da1bf2b0018eea873e5258", null ], - [ "ACCESS_TOKEN_CHANGE", "IListenerRegistrar_8h.html#gga187ae2b146c2a18d18a60fbb66cb1325a140f38619b5a219594bed0ce3f607d77", null ], - [ "LEADERBOARD_RETRIEVE", "IListenerRegistrar_8h.html#gga187ae2b146c2a18d18a60fbb66cb1325a983abedbfba5255913b547b11219c5be", null ], - [ "SPECIFIC_USER_DATA", "IListenerRegistrar_8h.html#gga187ae2b146c2a18d18a60fbb66cb1325abb91289964fd00dcda77ffbecffcbf0d", null ], - [ "INVITATION_SEND", "IListenerRegistrar_8h.html#gga187ae2b146c2a18d18a60fbb66cb1325aad9c8117c9c6011003e6128d17a80083", null ], - [ "RICH_PRESENCE_LISTENER", "IListenerRegistrar_8h.html#gga187ae2b146c2a18d18a60fbb66cb1325a5ee4a49360fbeee9a9386c03e0adff83", null ], - [ "GAME_INVITATION_RECEIVED_LISTENER", "IListenerRegistrar_8h.html#gga187ae2b146c2a18d18a60fbb66cb1325a5fffa6c24763d7583b9534afa24524fe", null ], - [ "NOTIFICATION_LISTENER", "IListenerRegistrar_8h.html#gga187ae2b146c2a18d18a60fbb66cb1325acf5bdce9fa3fee58610918c7e9bbd3a8", null ], - [ "LOBBY_DATA_RETRIEVE", "IListenerRegistrar_8h.html#gga187ae2b146c2a18d18a60fbb66cb1325a1cc0ee94dc2d746b9561dbd2c7d38cb3", null ], - [ "USER_TIME_PLAYED_RETRIEVE", "IListenerRegistrar_8h.html#gga187ae2b146c2a18d18a60fbb66cb1325a4ebce3e1d104d7c3fb7c54415bb076e2", null ], - [ "OTHER_SESSION_START", "IListenerRegistrar_8h.html#gga187ae2b146c2a18d18a60fbb66cb1325a38475d66217b64b92a4b3e25e77fa48c", null ], - [ "_STORAGE_SYNCHRONIZATION", "IListenerRegistrar_8h.html#gga187ae2b146c2a18d18a60fbb66cb1325a9ef1002a95c2e0156bc151419caafa83", null ], - [ "FILE_SHARE", "IListenerRegistrar_8h.html#gga187ae2b146c2a18d18a60fbb66cb1325ab548e05dec73185c51357ce89e32540b", null ], - [ "SHARED_FILE_DOWNLOAD", "IListenerRegistrar_8h.html#gga187ae2b146c2a18d18a60fbb66cb1325a5c727004e7704c79d985dc2ea1e3b219", null ], - [ "CUSTOM_NETWORKING_CONNECTION_OPEN", "IListenerRegistrar_8h.html#gga187ae2b146c2a18d18a60fbb66cb1325a4d71b1bf3846cdf037472757971f7a01", null ], - [ "CUSTOM_NETWORKING_CONNECTION_CLOSE", "IListenerRegistrar_8h.html#gga187ae2b146c2a18d18a60fbb66cb1325ad86f20ec9ad84b2cde53d43f84530819", null ], - [ "CUSTOM_NETWORKING_CONNECTION_DATA", "IListenerRegistrar_8h.html#gga187ae2b146c2a18d18a60fbb66cb1325ad8a8714f03b0ab8ac1f3eca36ec1eede", null ], - [ "OVERLAY_INITIALIZATION_STATE_CHANGE", "IListenerRegistrar_8h.html#gga187ae2b146c2a18d18a60fbb66cb1325abe9b0298ab57ec2c240abd1ca9c3e2e5", null ], - [ "OVERLAY_VISIBILITY_CHANGE", "IListenerRegistrar_8h.html#gga187ae2b146c2a18d18a60fbb66cb1325a59c448707c0e8e973b8ed190629959ad", null ], - [ "CHAT_ROOM_WITH_USER_RETRIEVE_LISTENER", "IListenerRegistrar_8h.html#gga187ae2b146c2a18d18a60fbb66cb1325a1480ce82560fd8f4a62da6b9ce3e3a38", null ], - [ "CHAT_ROOM_MESSAGE_SEND_LISTENER", "IListenerRegistrar_8h.html#gga187ae2b146c2a18d18a60fbb66cb1325a12700c589db879536b4283a5912faa8f", null ], - [ "CHAT_ROOM_MESSAGES_LISTENER", "IListenerRegistrar_8h.html#gga187ae2b146c2a18d18a60fbb66cb1325a873e878d3dc00df44b36a2535b34624f", null ], - [ "FRIEND_INVITATION_SEND_LISTENER", "IListenerRegistrar_8h.html#gga187ae2b146c2a18d18a60fbb66cb1325a1feb0b8df63e25370e9ecc716761d0ec", null ], - [ "FRIEND_INVITATION_LIST_RETRIEVE_LISTENER", "IListenerRegistrar_8h.html#gga187ae2b146c2a18d18a60fbb66cb1325acf9249464a9b14ddfe4deb86fd383718", null ], - [ "FRIEND_INVITATION_LISTENER", "IListenerRegistrar_8h.html#gga187ae2b146c2a18d18a60fbb66cb1325a5a3d72d3b844e13e5d62cf064d056992", null ], - [ "FRIEND_INVITATION_RESPOND_TO_LISTENER", "IListenerRegistrar_8h.html#gga187ae2b146c2a18d18a60fbb66cb1325aeda03f2a3a56e74628529e5eb5531ba7", null ], - [ "FRIEND_ADD_LISTENER", "IListenerRegistrar_8h.html#gga187ae2b146c2a18d18a60fbb66cb1325a9d114ff52d63ce2d091f265089d2093c", null ], - [ "FRIEND_DELETE_LISTENER", "IListenerRegistrar_8h.html#gga187ae2b146c2a18d18a60fbb66cb1325ac4e0c9466447897ecea72d44fbfe9ce3", null ], - [ "CHAT_ROOM_MESSAGES_RETRIEVE_LISTENER", "IListenerRegistrar_8h.html#gga187ae2b146c2a18d18a60fbb66cb1325a57a196ab47d0b16f92d31fe1aa5e905a", null ], - [ "USER_FIND_LISTENER", "IListenerRegistrar_8h.html#gga187ae2b146c2a18d18a60fbb66cb1325a4c062f52b68d1d424a5079891f7c1d36", null ], - [ "NAT_TYPE_DETECTION", "IListenerRegistrar_8h.html#gga187ae2b146c2a18d18a60fbb66cb1325a614fb2383e33ca93e4e368295ae865f2", null ], - [ "SENT_FRIEND_INVITATION_LIST_RETRIEVE_LISTENER", "IListenerRegistrar_8h.html#gga187ae2b146c2a18d18a60fbb66cb1325a35e645d702087e697dd2ad385c6e0499", null ], - [ "LOBBY_DATA_UPDATE_LISTENER", "IListenerRegistrar_8h.html#gga187ae2b146c2a18d18a60fbb66cb1325a65d18157851cca7ee4247bca3b9fc7bc", null ], - [ "LOBBY_MEMBER_DATA_UPDATE_LISTENER", "IListenerRegistrar_8h.html#gga187ae2b146c2a18d18a60fbb66cb1325ad6aa2cb0b9595bf4ccabbf5cd737ac9b", null ], - [ "USER_INFORMATION_RETRIEVE_LISTENER", "IListenerRegistrar_8h.html#gga187ae2b146c2a18d18a60fbb66cb1325aa1a67cebe36541c17c7e35322e77d6a9", null ], - [ "RICH_PRESENCE_RETRIEVE_LISTENER", "IListenerRegistrar_8h.html#gga187ae2b146c2a18d18a60fbb66cb1325ab72196badaba734e27acb04eb78c2c78", null ], - [ "GOG_SERVICES_CONNECTION_STATE_LISTENER", "IListenerRegistrar_8h.html#gga187ae2b146c2a18d18a60fbb66cb1325a7aeb4604c9a6dd5d0bf61dc8a43978f0", null ], - [ "TELEMETRY_EVENT_SEND_LISTENER", "IListenerRegistrar_8h.html#gga187ae2b146c2a18d18a60fbb66cb1325ab3ab76e1a23f449ed52c2f411d97941a", null ], - [ "LISTENER_TYPE_END", "IListenerRegistrar_8h.html#gga187ae2b146c2a18d18a60fbb66cb1325a27c65d867aa81d580b8f6b6835e17ee6", null ] - ] ], - [ "GameServerListenerRegistrar", "IListenerRegistrar_8h.html#ga3e6a00bad9497d9e055f1bf6aff01c37", null ], - [ "ListenerRegistrar", "IListenerRegistrar_8h.html#ga1f7ee19b74d0fd9db6703b2c35df7bf5", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/IListenerRegistrar_8h__dep__incl.map b/vendors/galaxy/Docs/IListenerRegistrar_8h__dep__incl.map deleted file mode 100644 index 7dee24196..000000000 --- a/vendors/galaxy/Docs/IListenerRegistrar_8h__dep__incl.map +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - - - - - - - - diff --git a/vendors/galaxy/Docs/IListenerRegistrar_8h__dep__incl.md5 b/vendors/galaxy/Docs/IListenerRegistrar_8h__dep__incl.md5 deleted file mode 100644 index e4ef57fab..000000000 --- a/vendors/galaxy/Docs/IListenerRegistrar_8h__dep__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -f3d9a4d7a269b4044e033710c7604243 \ No newline at end of file diff --git a/vendors/galaxy/Docs/IListenerRegistrar_8h__dep__incl.svg b/vendors/galaxy/Docs/IListenerRegistrar_8h__dep__incl.svg deleted file mode 100644 index 29c86b913..000000000 --- a/vendors/galaxy/Docs/IListenerRegistrar_8h__dep__incl.svg +++ /dev/null @@ -1,260 +0,0 @@ - - - - - - -IListenerRegistrar.h - - -Node4 - - -IListenerRegistrar.h - - - - -Node5 - - -IUser.h - - - - -Node4->Node5 - - - - -Node8 - - -IFriends.h - - - - -Node4->Node8 - - - - -Node9 - - -IChat.h - - - - -Node4->Node9 - - - - -Node10 - - -IMatchmaking.h - - - - -Node4->Node10 - - - - -Node11 - - -INetworking.h - - - - -Node4->Node11 - - - - -Node12 - - -IStats.h - - - - -Node4->Node12 - - - - -Node13 - - -IUtils.h - - - - -Node4->Node13 - - - - -Node14 - - -IApps.h - - - - -Node4->Node14 - - - - -Node15 - - -IStorage.h - - - - -Node4->Node15 - - - - -Node16 - - -ICustomNetworking.h - - - - -Node4->Node16 - - - - -Node17 - - -ITelemetry.h - - - - -Node4->Node17 - - - - -Node6 - - -GalaxyApi.h - - - - -Node5->Node6 - - - - -Node7 - - -GalaxyGameServerApi.h - - - - -Node5->Node7 - - - - -Node8->Node6 - - - - -Node9->Node6 - - - - -Node10->Node6 - - - - -Node10->Node7 - - - - -Node11->Node6 - - - - -Node11->Node7 - - - - -Node12->Node6 - - - - -Node13->Node6 - - - - -Node13->Node7 - - - - -Node14->Node6 - - - - -Node15->Node6 - - - - -Node16->Node6 - - - - -Node17->Node6 - - - - -Node17->Node7 - - - - - diff --git a/vendors/galaxy/Docs/IListenerRegistrar_8h__incl.map b/vendors/galaxy/Docs/IListenerRegistrar_8h__incl.map deleted file mode 100644 index 7df0ba58f..000000000 --- a/vendors/galaxy/Docs/IListenerRegistrar_8h__incl.map +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/vendors/galaxy/Docs/IListenerRegistrar_8h__incl.md5 b/vendors/galaxy/Docs/IListenerRegistrar_8h__incl.md5 deleted file mode 100644 index accbd8d62..000000000 --- a/vendors/galaxy/Docs/IListenerRegistrar_8h__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -37e2aa9df9e1bf7ff64c5daaaaf421f7 \ No newline at end of file diff --git a/vendors/galaxy/Docs/IListenerRegistrar_8h__incl.svg b/vendors/galaxy/Docs/IListenerRegistrar_8h__incl.svg deleted file mode 100644 index 4cf5cc403..000000000 --- a/vendors/galaxy/Docs/IListenerRegistrar_8h__incl.svg +++ /dev/null @@ -1,65 +0,0 @@ - - - - - - -IListenerRegistrar.h - - -Node0 - - -IListenerRegistrar.h - - - - -Node1 - - -stdint.h - - - - -Node0->Node1 - - - - -Node2 - - -stdlib.h - - - - -Node0->Node2 - - - - -Node3 - - -GalaxyExport.h - - - - -Node0->Node3 - - - - -Node1->Node1 - - - - - diff --git a/vendors/galaxy/Docs/IListenerRegistrar_8h_source.html b/vendors/galaxy/Docs/IListenerRegistrar_8h_source.html deleted file mode 100644 index 76c807ff1..000000000 --- a/vendors/galaxy/Docs/IListenerRegistrar_8h_source.html +++ /dev/null @@ -1,180 +0,0 @@ - - - - - - - -GOG Galaxy: IListenerRegistrar.h Source File - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
IListenerRegistrar.h
-
-
-Go to the documentation of this file.
1 #ifndef GALAXY_I_LISTENER_REGISTRAR_H
2 #define GALAXY_I_LISTENER_REGISTRAR_H
3 
9 #include "stdint.h"
10 #include <stdlib.h>
11 #include "GalaxyExport.h"
12 
13 namespace galaxy
14 {
15  namespace api
16  {
29  {
38  AUTH,
87  LOBBY_DATA_UPDATE_LISTENER,
94  };
95 
100  {
101  public:
102 
103  virtual ~IGalaxyListener()
104  {
105  }
106  };
107 
112  template<ListenerType type> class GalaxyTypeAwareListener : public IGalaxyListener
113  {
114  public:
115 
122  {
123  return type;
124  }
125  };
126 
133  {
134  public:
135 
136  virtual ~IListenerRegistrar()
137  {
138  }
139 
150  virtual void Register(ListenerType listenerType, IGalaxyListener* listener) = 0;
151 
161  virtual void Unregister(ListenerType listenerType, IGalaxyListener* listener) = 0;
162  };
163 
174  GALAXY_DLL_EXPORT IListenerRegistrar* GALAXY_CALLTYPE ListenerRegistrar();
175 
188  GALAXY_DLL_EXPORT IListenerRegistrar* GALAXY_CALLTYPE GameServerListenerRegistrar();
189 
205  template<typename _TypeAwareListener, IListenerRegistrar*(*_Registrar)() = ListenerRegistrar>
206  class SelfRegisteringListener : public _TypeAwareListener
207  {
208  public:
209 
217  {
218  if (_Registrar())
219  _Registrar()->Register(_TypeAwareListener::GetListenerType(), this);
220  }
221 
228  {
229  if (_Registrar())
230  _Registrar()->Unregister(_TypeAwareListener::GetListenerType(), this);
231  }
232  };
233 
235  }
236 }
237 
238 #endif
Definition: IListenerRegistrar.h:66
-
Used by ISentFriendInvitationListRetrieveListener.
Definition: IListenerRegistrar.h:86
-
Used by IOverlayInitializationStateChangeListener.
Definition: IListenerRegistrar.h:72
-
Used by IUserFindListener.
Definition: IListenerRegistrar.h:84
-
Used by IOtherSessionStartListener.
Definition: IListenerRegistrar.h:65
-
Contains a macro used for DLL export.
-
Used by ILobbyMemberStateListener.
Definition: IListenerRegistrar.h:36
-
Used by IFriendAddListener.
Definition: IListenerRegistrar.h:81
-
Used by IOperationalStateChangeListener.
Definition: IListenerRegistrar.h:52
-
Used by IRichPresenceListener.
Definition: IListenerRegistrar.h:60
-
Used by IConnectionCloseListener.
Definition: IListenerRegistrar.h:70
-
~SelfRegisteringListener()
Destroys the instance of SelfRegisteringListener and unregisters it with the instance of IListenerReg...
Definition: IListenerRegistrar.h:227
-
Used by ILobbyEnteredListener.
Definition: IListenerRegistrar.h:33
-
Used by IChatRoomMessageSendListener.
Definition: IListenerRegistrar.h:75
-
Used by IAuthListener.
Definition: IListenerRegistrar.h:38
-
Used by ILobbyDataRetrieveListener.
Definition: IListenerRegistrar.h:63
-
virtual void Unregister(ListenerType listenerType, IGalaxyListener *listener)=0
Unregisters a listener previously globally registered with Register() or registered for specific acti...
-
The class that is inherited by all specific callback listeners and provides a static method that retu...
Definition: IListenerRegistrar.h:112
-
Used by ILeaderboardsRetrieveListener.
Definition: IListenerRegistrar.h:46
-
Used by IGameJoinRequested.
Definition: IListenerRegistrar.h:51
-
Used by ISendInvitationListener.
Definition: IListenerRegistrar.h:59
-
Used by IAccessTokenListener.
Definition: IListenerRegistrar.h:56
-
ListenerType
Listener type.
Definition: IListenerRegistrar.h:28
-
Used by ITelemetryEventSendListener.
Definition: IListenerRegistrar.h:92
-
Used by IFileShareListener.
Definition: IListenerRegistrar.h:67
-
< Used by ILobbyDataUpdateListener.
Definition: IListenerRegistrar.h:88
-
Used by IPersonaDataChangedListener.
Definition: IListenerRegistrar.h:49
-
Used for iterating over listener types.
Definition: IListenerRegistrar.h:93
-
Used by INotificationListener.
Definition: IListenerRegistrar.h:62
-
Used by ISpecificUserDataListener.
Definition: IListenerRegistrar.h:58
-
Used by IUserTimePlayedRetrieveListener.
Definition: IListenerRegistrar.h:64
-
Used by IGameInvitationReceivedListener.
Definition: IListenerRegistrar.h:61
-
Used by IOverlayVisibilityChangeListener.
Definition: IListenerRegistrar.h:73
-
Used by ILobbyListListener.
Definition: IListenerRegistrar.h:31
-
SelfRegisteringListener()
Creates an instance of SelfRegisteringListener and registers it with the IListenerRegistrar provided ...
Definition: IListenerRegistrar.h:216
-
GALAXY_DLL_EXPORT IListenerRegistrar *GALAXY_CALLTYPE GameServerListenerRegistrar()
Returns an instance of IListenerRegistrar interface the for Game Server entity.
-
GALAXY_DLL_EXPORT IListenerRegistrar *GALAXY_CALLTYPE ListenerRegistrar()
Returns an instance of IListenerRegistrar.
-
Used by IFriendInvitationRespondToListener.
Definition: IListenerRegistrar.h:80
-
Used by ILobbyLeftListener.
Definition: IListenerRegistrar.h:34
-
Used by IEncryptedAppTicketListener.
Definition: IListenerRegistrar.h:55
-
Used by IFriendInvitationListener.
Definition: IListenerRegistrar.h:79
-
Used by IChatRoomMessagesListener.
Definition: IListenerRegistrar.h:76
-
Used by ISharedFileDownloadListener.
Definition: IListenerRegistrar.h:68
-
Used by ILobbyDataListener.
Definition: IListenerRegistrar.h:35
-
The class that enables and disables global registration of the instances of specific listeners.
Definition: IListenerRegistrar.h:132
-
Used by ILobbyMessageListener.
Definition: IListenerRegistrar.h:39
-
Used by ILeaderboardEntriesRetrieveListener.
Definition: IListenerRegistrar.h:47
-
The class that is inherited by the self-registering versions of all specific callback listeners.
Definition: IListenerRegistrar.h:206
-
Definition: IListenerRegistrar.h:53
-
Used by IGogServicesConnectionStateListener.
Definition: IListenerRegistrar.h:91
-
Used for iterating over listener types.
Definition: IListenerRegistrar.h:30
-
< Used by ILobbyDataUpdateListener.
Definition: IListenerRegistrar.h:89
-
Used by IFriendInvitationSendListener.
Definition: IListenerRegistrar.h:77
-
The interface that is implemented by all specific callback listeners.
Definition: IListenerRegistrar.h:99
-
Used by IRichPresenceChangeListener.
Definition: IListenerRegistrar.h:50
-
Used by IChatRoomMessagesRetrieveListener.
Definition: IListenerRegistrar.h:83
-
Used by ILobbyCreatedListener.
Definition: IListenerRegistrar.h:32
-
Used by IConnectionOpenListener.
Definition: IListenerRegistrar.h:69
-
Used by ILeaderboardScoreUpdateListener.
Definition: IListenerRegistrar.h:48
-
Used by IConnectionDataListener.
Definition: IListenerRegistrar.h:71
-
Used by ILobbyOwnerChangeListener.
Definition: IListenerRegistrar.h:37
-
Used by IRichPresenceRetrieveListener.
Definition: IListenerRegistrar.h:90
-
Used by IFriendDeleteListener.
Definition: IListenerRegistrar.h:82
-
Used by INetworkingListener.
Definition: IListenerRegistrar.h:40
-
static ListenerType GetListenerType()
Returns the type of the listener.
Definition: IListenerRegistrar.h:121
-
Used by IStatsAndAchievementsStoreListener.
Definition: IListenerRegistrar.h:44
-
Used by INatTypeDetectionListener.
Definition: IListenerRegistrar.h:85
-
Used by IAchievementChangeListener.
Definition: IListenerRegistrar.h:45
-
virtual void Register(ListenerType listenerType, IGalaxyListener *listener)=0
Globally registers a callback listener that inherits from IGalaxyListener and is of any of the standa...
-
Used by ILeaderboardRetrieveListener.
Definition: IListenerRegistrar.h:57
-
Used by IUserDataListener.
Definition: IListenerRegistrar.h:42
-
Definition: IListenerRegistrar.h:41
-
Used by IFriendListListener.
Definition: IListenerRegistrar.h:54
-
Used by IFriendInvitationListRetrieveListener.
Definition: IListenerRegistrar.h:78
-
Used by IChatRoomWithUserRetrieveListener.
Definition: IListenerRegistrar.h:74
-
Used by IUserStatsAndAchievementsRetrieveListener.
Definition: IListenerRegistrar.h:43
-
-
- - - - diff --git a/vendors/galaxy/Docs/ILogger_8h.html b/vendors/galaxy/Docs/ILogger_8h.html deleted file mode 100644 index e9898a1ac..000000000 --- a/vendors/galaxy/Docs/ILogger_8h.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - - -GOG Galaxy: ILogger.h File Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
ILogger.h File Reference
-
-
- -

Contains data structures and interfaces related to logging. -More...

-
-This graph shows which files directly or indirectly include this file:
-
-
-
-
-
-

Go to the source code of this file.

- - - - - -

-Classes

class  ILogger
 The interface for logging. More...
 
-

Detailed Description

-

Contains data structures and interfaces related to logging.

-
-
- - - - diff --git a/vendors/galaxy/Docs/ILogger_8h__dep__incl.map b/vendors/galaxy/Docs/ILogger_8h__dep__incl.map deleted file mode 100644 index a6169d927..000000000 --- a/vendors/galaxy/Docs/ILogger_8h__dep__incl.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/vendors/galaxy/Docs/ILogger_8h__dep__incl.md5 b/vendors/galaxy/Docs/ILogger_8h__dep__incl.md5 deleted file mode 100644 index b5f414fb6..000000000 --- a/vendors/galaxy/Docs/ILogger_8h__dep__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -e32f63eeea7a097520beb0777795c358 \ No newline at end of file diff --git a/vendors/galaxy/Docs/ILogger_8h__dep__incl.svg b/vendors/galaxy/Docs/ILogger_8h__dep__incl.svg deleted file mode 100644 index 9900ddbb1..000000000 --- a/vendors/galaxy/Docs/ILogger_8h__dep__incl.svg +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - -ILogger.h - - -Node1 - - -ILogger.h - - - - -Node2 - - -GalaxyApi.h - - - - -Node1->Node2 - - - - -Node3 - - -GalaxyGameServerApi.h - - - - -Node1->Node3 - - - - - diff --git a/vendors/galaxy/Docs/ILogger_8h_source.html b/vendors/galaxy/Docs/ILogger_8h_source.html deleted file mode 100644 index 6a16fe2a4..000000000 --- a/vendors/galaxy/Docs/ILogger_8h_source.html +++ /dev/null @@ -1,111 +0,0 @@ - - - - - - - -GOG Galaxy: ILogger.h Source File - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
ILogger.h
-
-
-Go to the documentation of this file.
1 #ifndef GALAXY_I_LOGGER_H
2 #define GALAXY_I_LOGGER_H
3 
9 namespace galaxy
10 {
11  namespace api
12  {
21  class ILogger
22  {
23  public:
24 
25  virtual ~ILogger()
26  {
27  }
28 
35  virtual void Trace(const char* format, ...) = 0;
36 
43  virtual void Debug(const char* format, ...) = 0;
44 
51  virtual void Info(const char* format, ...) = 0;
52 
59  virtual void Warning(const char* format, ...) = 0;
60 
67  virtual void Error(const char* format, ...) = 0;
68 
75  virtual void Fatal(const char* format, ...) = 0;
76  };
77 
79  }
80 }
81 
82 #endif
virtual void Trace(const char *format,...)=0
Creates a log entry with level TRACE.
-
virtual void Info(const char *format,...)=0
Creates a log entry with level INFO.
-
virtual void Fatal(const char *format,...)=0
Creates a log entry with level FATAL.
-
virtual void Warning(const char *format,...)=0
Creates a log entry with level WARNING.
-
The interface for logging.
Definition: ILogger.h:21
-
virtual void Debug(const char *format,...)=0
Creates a log entry with level DEBUG.
-
virtual void Error(const char *format,...)=0
Creates a log entry with level ERROR.
-
-
- - - - diff --git a/vendors/galaxy/Docs/IMatchmaking_8h.html b/vendors/galaxy/Docs/IMatchmaking_8h.html deleted file mode 100644 index db871d8f2..000000000 --- a/vendors/galaxy/Docs/IMatchmaking_8h.html +++ /dev/null @@ -1,303 +0,0 @@ - - - - - - - -GOG Galaxy: IMatchmaking.h File Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
IMatchmaking.h File Reference
-
-
- -

Contains data structures and interfaces related to matchmaking. -More...

-
#include "GalaxyID.h"
-#include "IListenerRegistrar.h"
-
-Include dependency graph for IMatchmaking.h:
-
-
-
-
-
-This graph shows which files directly or indirectly include this file:
-
-
-
-
-
-

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Classes

class  ILobbyListListener
 Listener for the event of receiving a list of lobbies. More...
 
class  ILobbyCreatedListener
 Listener for the event of creating a lobby. More...
 
class  ILobbyEnteredListener
 Listener for the event of entering a lobby. More...
 
class  ILobbyLeftListener
 Listener for the event of leaving a lobby. More...
 
class  ILobbyDataListener
 Listener for the event of receiving an updated version of lobby data. More...
 
class  ILobbyDataUpdateListener
 Listener for the event of updating lobby data. More...
 
class  ILobbyMemberDataUpdateListener
 Listener for the event of updating lobby member data. More...
 
class  ILobbyDataRetrieveListener
 Listener for the event of retrieving lobby data. More...
 
class  ILobbyMemberStateListener
 Listener for the event of a change of the state of a lobby member. More...
 
class  ILobbyOwnerChangeListener
 Listener for the event of changing the owner of a lobby. More...
 
class  ILobbyMessageListener
 Listener for the event of receiving a lobby message. More...
 
class  IMatchmaking
 The interface for managing game lobbies. More...
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Typedefs

-typedef SelfRegisteringListener< ILobbyListListener > GlobalLobbyListListener
 Globally self-registering version of ILobbyListListener.
 
-typedef SelfRegisteringListener< ILobbyCreatedListener > GlobalLobbyCreatedListener
 Globally self-registering version of ILobbyCreatedListener.
 
-typedef SelfRegisteringListener< ILobbyCreatedListener, GameServerListenerRegistrar > GameServerGlobalLobbyCreatedListener
 Globally self-registering version of ILobbyCreatedListener for the Game Server.
 
-typedef SelfRegisteringListener< ILobbyEnteredListener > GlobalLobbyEnteredListener
 Globally self-registering version of ILobbyEnteredListener.
 
-typedef SelfRegisteringListener< ILobbyEnteredListener, GameServerListenerRegistrar > GameServerGlobalLobbyEnteredListener
 Globally self-registering version of ILobbyEnteredListener for the GameServer.
 
-typedef SelfRegisteringListener< ILobbyLeftListener > GlobalLobbyLeftListener
 Globally self-registering version of ILobbyLeftListener.
 
-typedef SelfRegisteringListener< ILobbyLeftListener, GameServerListenerRegistrar > GameServerGlobalLobbyLeftListener
 Globally self-registering version of ILobbyLeftListener for the GameServer.
 
-typedef SelfRegisteringListener< ILobbyDataListener > GlobalLobbyDataListener
 Globally self-registering version of ILobbyDataListener.
 
-typedef SelfRegisteringListener< ILobbyDataListener, GameServerListenerRegistrar > GameServerGlobalLobbyDataListener
 Globally self-registering version of ILobbyDataListener for the Game Server.
 
-typedef SelfRegisteringListener< ILobbyDataRetrieveListener > GlobalLobbyDataRetrieveListener
 Globally self-registering version of ILobbyDataRetrieveListener.
 
-typedef SelfRegisteringListener< ILobbyDataRetrieveListener, GameServerListenerRegistrar > GameServerGlobalLobbyDataRetrieveListener
 Globally self-registering version of ILobbyDataRetrieveListener for the Game Server.
 
-typedef SelfRegisteringListener< ILobbyMemberStateListener > GlobalLobbyMemberStateListener
 Globally self-registering version of ILobbyMemberStateListener.
 
-typedef SelfRegisteringListener< ILobbyMemberStateListener, GameServerListenerRegistrar > GameServerGlobalLobbyMemberStateListener
 Globally self-registering version of ILobbyMemberStateListener for the Game Server.
 
-typedef SelfRegisteringListener< ILobbyOwnerChangeListener > GlobalLobbyOwnerChangeListener
 Globally self-registering version of ILobbyOwnerChangeListener.
 
-typedef SelfRegisteringListener< ILobbyMessageListener > GlobalLobbyMessageListener
 Globally self-registering version of ILobbyMessageListener.
 
-typedef SelfRegisteringListener< ILobbyMessageListener, GameServerListenerRegistrar > GameServerGlobalLobbyMessageListener
 Globally self-registering version of ILobbyMessageListener for the Game Server.
 
- - - - - - - - - - - - - - - - - - - - - - -

-Enumerations

enum  LobbyType { LOBBY_TYPE_PRIVATE, -LOBBY_TYPE_FRIENDS_ONLY, -LOBBY_TYPE_PUBLIC, -LOBBY_TYPE_INVISIBLE_TO_FRIENDS - }
 Lobby type. More...
 
enum  LobbyTopologyType {
-  DEPRECATED_LOBBY_TOPOLOGY_TYPE_FCM_HOST_MIGRATION, -LOBBY_TOPOLOGY_TYPE_FCM, -LOBBY_TOPOLOGY_TYPE_STAR, -LOBBY_TOPOLOGY_TYPE_CONNECTIONLESS, -
-  LOBBY_TOPOLOGY_TYPE_FCM_OWNERSHIP_TRANSITION -
- }
 Lobby topology type. More...
 
enum  LobbyMemberStateChange {
-  LOBBY_MEMBER_STATE_CHANGED_ENTERED = 0x0001, -LOBBY_MEMBER_STATE_CHANGED_LEFT = 0x0002, -LOBBY_MEMBER_STATE_CHANGED_DISCONNECTED = 0x0004, -LOBBY_MEMBER_STATE_CHANGED_KICKED = 0x0008, -
-  LOBBY_MEMBER_STATE_CHANGED_BANNED = 0x0010 -
- }
 Change of the state of a lobby member. More...
 
enum  LobbyComparisonType {
-  LOBBY_COMPARISON_TYPE_EQUAL, -LOBBY_COMPARISON_TYPE_NOT_EQUAL, -LOBBY_COMPARISON_TYPE_GREATER, -LOBBY_COMPARISON_TYPE_GREATER_OR_EQUAL, -
-  LOBBY_COMPARISON_TYPE_LOWER, -LOBBY_COMPARISON_TYPE_LOWER_OR_EQUAL -
- }
 Comparison type. More...
 
enum  LobbyCreateResult { LOBBY_CREATE_RESULT_SUCCESS, -LOBBY_CREATE_RESULT_ERROR, -LOBBY_CREATE_RESULT_CONNECTION_FAILURE - }
 Lobby creating result. More...
 
enum  LobbyEnterResult {
-  LOBBY_ENTER_RESULT_SUCCESS, -LOBBY_ENTER_RESULT_LOBBY_DOES_NOT_EXIST, -LOBBY_ENTER_RESULT_LOBBY_IS_FULL, -LOBBY_ENTER_RESULT_ERROR, -
-  LOBBY_ENTER_RESULT_CONNECTION_FAILURE -
- }
 Lobby entering result. More...
 
enum  LobbyListResult { LOBBY_LIST_RESULT_SUCCESS, -LOBBY_LIST_RESULT_ERROR, -LOBBY_LIST_RESULT_CONNECTION_FAILURE - }
 Lobby listing result. More...
 
-

Detailed Description

-

Contains data structures and interfaces related to matchmaking.

-
-
- - - - diff --git a/vendors/galaxy/Docs/IMatchmaking_8h.js b/vendors/galaxy/Docs/IMatchmaking_8h.js deleted file mode 100644 index 41fb7ccc1..000000000 --- a/vendors/galaxy/Docs/IMatchmaking_8h.js +++ /dev/null @@ -1,64 +0,0 @@ -var IMatchmaking_8h = -[ - [ "GameServerGlobalLobbyCreatedListener", "IMatchmaking_8h.html#ga0f6bf49d1748a7791b5a87519fa7b7c8", null ], - [ "GameServerGlobalLobbyDataListener", "IMatchmaking_8h.html#gaa7caf10d762cbd20ec9139adbfc3f3ab", null ], - [ "GameServerGlobalLobbyDataRetrieveListener", "IMatchmaking_8h.html#gaf42369e75e2b43cb3624d60cc48e57b0", null ], - [ "GameServerGlobalLobbyEnteredListener", "IMatchmaking_8h.html#gadd05c4e9e647cd10e676b9b851fd4c75", null ], - [ "GameServerGlobalLobbyLeftListener", "IMatchmaking_8h.html#ga199d848a79dc8efd80c739a502e7d351", null ], - [ "GameServerGlobalLobbyMemberStateListener", "IMatchmaking_8h.html#ga1be8a6e7cb86254f908536bf08636763", null ], - [ "GameServerGlobalLobbyMessageListener", "IMatchmaking_8h.html#ga76f4c1bda68bbaf347d35d3c57847e7f", null ], - [ "GlobalLobbyCreatedListener", "IMatchmaking_8h.html#ga4a51265e52d8427a7a76c51c1ebd9984", null ], - [ "GlobalLobbyDataListener", "IMatchmaking_8h.html#ga7b73cba535d27e5565e8eef4cec81144", null ], - [ "GlobalLobbyDataRetrieveListener", "IMatchmaking_8h.html#gad58cbac5a60b30fd0545dafdbc56ea8a", null ], - [ "GlobalLobbyEnteredListener", "IMatchmaking_8h.html#gabf2ad3c27e8349fa3662a935c7893f8c", null ], - [ "GlobalLobbyLeftListener", "IMatchmaking_8h.html#ga819326fece7e765b59e2b548c97bbe5f", null ], - [ "GlobalLobbyListListener", "IMatchmaking_8h.html#ga9ee3592412bb8a71f5d710f936ca4621", null ], - [ "GlobalLobbyMemberStateListener", "IMatchmaking_8h.html#ga2d41f6b1f6dd12b3dc757db188c8db0a", null ], - [ "GlobalLobbyMessageListener", "IMatchmaking_8h.html#ga659c9fd389b34e22c3517ab892d435c3", null ], - [ "GlobalLobbyOwnerChangeListener", "IMatchmaking_8h.html#ga46b29610b1e1cf9ba11ae8567d117587", null ], - [ "LobbyComparisonType", "IMatchmaking_8h.html#gaaa1f784857e2accc0bb6e9ff04f6730d", [ - [ "LOBBY_COMPARISON_TYPE_EQUAL", "IMatchmaking_8h.html#ggaaa1f784857e2accc0bb6e9ff04f6730da480f87abf8713dc5e0db8edc91a82b08", null ], - [ "LOBBY_COMPARISON_TYPE_NOT_EQUAL", "IMatchmaking_8h.html#ggaaa1f784857e2accc0bb6e9ff04f6730dadf5dc535e169ab9a847b084577cd9d63", null ], - [ "LOBBY_COMPARISON_TYPE_GREATER", "IMatchmaking_8h.html#ggaaa1f784857e2accc0bb6e9ff04f6730da150cfb626a3aac85a979ed2049878989", null ], - [ "LOBBY_COMPARISON_TYPE_GREATER_OR_EQUAL", "IMatchmaking_8h.html#ggaaa1f784857e2accc0bb6e9ff04f6730daa3371a1534252ee455c86f1cd1cfe59a", null ], - [ "LOBBY_COMPARISON_TYPE_LOWER", "IMatchmaking_8h.html#ggaaa1f784857e2accc0bb6e9ff04f6730da11916e40d4813a04f2209aef2b0eb8a7", null ], - [ "LOBBY_COMPARISON_TYPE_LOWER_OR_EQUAL", "IMatchmaking_8h.html#ggaaa1f784857e2accc0bb6e9ff04f6730daa8ee60d541753ef47e3cd7fc4b0ab688", null ] - ] ], - [ "LobbyCreateResult", "IMatchmaking_8h.html#ga4dbcb3a90897b7a6f019fb313cef3c12", [ - [ "LOBBY_CREATE_RESULT_SUCCESS", "IMatchmaking_8h.html#gga4dbcb3a90897b7a6f019fb313cef3c12ae34b05b10da4c91b3c768ea284987bda", null ], - [ "LOBBY_CREATE_RESULT_ERROR", "IMatchmaking_8h.html#gga4dbcb3a90897b7a6f019fb313cef3c12a2305d918f65d5a59636c3c6dd38c74ca", null ], - [ "LOBBY_CREATE_RESULT_CONNECTION_FAILURE", "IMatchmaking_8h.html#gga4dbcb3a90897b7a6f019fb313cef3c12a0a74f32f1d22ad6c632822737d5fee00", null ] - ] ], - [ "LobbyEnterResult", "IMatchmaking_8h.html#ga9a697cb4c70ba145451e372d7b064336", [ - [ "LOBBY_ENTER_RESULT_SUCCESS", "IMatchmaking_8h.html#gga9a697cb4c70ba145451e372d7b064336a76b563ecea3fd53da962dd4616190b65", null ], - [ "LOBBY_ENTER_RESULT_LOBBY_DOES_NOT_EXIST", "IMatchmaking_8h.html#gga9a697cb4c70ba145451e372d7b064336a185be0fbec90a6d7d1ce4fb4be63ef89", null ], - [ "LOBBY_ENTER_RESULT_LOBBY_IS_FULL", "IMatchmaking_8h.html#gga9a697cb4c70ba145451e372d7b064336a98a29aa953dfbb0b716da9243c20f44f", null ], - [ "LOBBY_ENTER_RESULT_ERROR", "IMatchmaking_8h.html#gga9a697cb4c70ba145451e372d7b064336af4eab26f860d54c0de9271a144dcd900", null ], - [ "LOBBY_ENTER_RESULT_CONNECTION_FAILURE", "IMatchmaking_8h.html#gga9a697cb4c70ba145451e372d7b064336a4b12fe91734c91f8b9ce7af7968fc3d4", null ] - ] ], - [ "LobbyListResult", "IMatchmaking_8h.html#gab9f7574c7dfd404052e64a6a275dcdc8", [ - [ "LOBBY_LIST_RESULT_SUCCESS", "IMatchmaking_8h.html#ggab9f7574c7dfd404052e64a6a275dcdc8ae6fbd40817254a84ce3311ceb0ccf9a5", null ], - [ "LOBBY_LIST_RESULT_ERROR", "IMatchmaking_8h.html#ggab9f7574c7dfd404052e64a6a275dcdc8ae306c3d06307c00594cac179340388c6", null ], - [ "LOBBY_LIST_RESULT_CONNECTION_FAILURE", "IMatchmaking_8h.html#ggab9f7574c7dfd404052e64a6a275dcdc8a9909d1df224ecb0b3c759301fb547121", null ] - ] ], - [ "LobbyMemberStateChange", "IMatchmaking_8h.html#ga8c5f2e74526169399ff2edcfd2d386df", [ - [ "LOBBY_MEMBER_STATE_CHANGED_ENTERED", "IMatchmaking_8h.html#gga8c5f2e74526169399ff2edcfd2d386dfad3bd316a9abdfef0fab174bcabea6736", null ], - [ "LOBBY_MEMBER_STATE_CHANGED_LEFT", "IMatchmaking_8h.html#gga8c5f2e74526169399ff2edcfd2d386dfa1e1a5fc4eea4d7b53d3386e6ff9fb8a7", null ], - [ "LOBBY_MEMBER_STATE_CHANGED_DISCONNECTED", "IMatchmaking_8h.html#gga8c5f2e74526169399ff2edcfd2d386dfa0780ded5ee628fcb6a05420844fca0d0", null ], - [ "LOBBY_MEMBER_STATE_CHANGED_KICKED", "IMatchmaking_8h.html#gga8c5f2e74526169399ff2edcfd2d386dfa0e2f95876ec6b48e87c69c9724eb31ea", null ], - [ "LOBBY_MEMBER_STATE_CHANGED_BANNED", "IMatchmaking_8h.html#gga8c5f2e74526169399ff2edcfd2d386dfa465cf5af6a4c53c3d6df74e7613996d5", null ] - ] ], - [ "LobbyTopologyType", "IMatchmaking_8h.html#ga966760a0bc04579410315346c09f5297", [ - [ "DEPRECATED_LOBBY_TOPOLOGY_TYPE_FCM_HOST_MIGRATION", "IMatchmaking_8h.html#gga966760a0bc04579410315346c09f5297ac3d6627d3673b044b0b420bc54967fac", null ], - [ "LOBBY_TOPOLOGY_TYPE_FCM", "IMatchmaking_8h.html#gga966760a0bc04579410315346c09f5297aec97c7470d63b1411fc44d804d86e5ad", null ], - [ "LOBBY_TOPOLOGY_TYPE_STAR", "IMatchmaking_8h.html#gga966760a0bc04579410315346c09f5297a744cb713d95b58f8720a2cfd4a11054a", null ], - [ "LOBBY_TOPOLOGY_TYPE_CONNECTIONLESS", "IMatchmaking_8h.html#gga966760a0bc04579410315346c09f5297a97062606a19ce304cb08b37dd1fb230c", null ], - [ "LOBBY_TOPOLOGY_TYPE_FCM_OWNERSHIP_TRANSITION", "IMatchmaking_8h.html#gga966760a0bc04579410315346c09f5297a4e7ccb46c6f6fbf4155a3e8af28640cc", null ] - ] ], - [ "LobbyType", "IMatchmaking_8h.html#ga311c1e3b455f317f13d825bb5d775705", [ - [ "LOBBY_TYPE_PRIVATE", "IMatchmaking_8h.html#gga311c1e3b455f317f13d825bb5d775705ad1a563a0cc0384bbe5c57f4681ef1c19", null ], - [ "LOBBY_TYPE_FRIENDS_ONLY", "IMatchmaking_8h.html#gga311c1e3b455f317f13d825bb5d775705a37a763eba2d28b1cc1fbaaa601c30d1b", null ], - [ "LOBBY_TYPE_PUBLIC", "IMatchmaking_8h.html#gga311c1e3b455f317f13d825bb5d775705a62ed4def75b04f5d9bec9ddff877d2b6", null ], - [ "LOBBY_TYPE_INVISIBLE_TO_FRIENDS", "IMatchmaking_8h.html#gga311c1e3b455f317f13d825bb5d775705a4f8f12169bc568a74d268f8edba1acdd", null ] - ] ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/IMatchmaking_8h__dep__incl.map b/vendors/galaxy/Docs/IMatchmaking_8h__dep__incl.map deleted file mode 100644 index 57b3bab75..000000000 --- a/vendors/galaxy/Docs/IMatchmaking_8h__dep__incl.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/vendors/galaxy/Docs/IMatchmaking_8h__dep__incl.md5 b/vendors/galaxy/Docs/IMatchmaking_8h__dep__incl.md5 deleted file mode 100644 index 6a4228f7a..000000000 --- a/vendors/galaxy/Docs/IMatchmaking_8h__dep__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -5860fd3afa90d4a807f01b407a03e8ac \ No newline at end of file diff --git a/vendors/galaxy/Docs/IMatchmaking_8h__dep__incl.svg b/vendors/galaxy/Docs/IMatchmaking_8h__dep__incl.svg deleted file mode 100644 index 4b0214aee..000000000 --- a/vendors/galaxy/Docs/IMatchmaking_8h__dep__incl.svg +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - -IMatchmaking.h - - -Node7 - - -IMatchmaking.h - - - - -Node8 - - -GalaxyApi.h - - - - -Node7->Node8 - - - - -Node9 - - -GalaxyGameServerApi.h - - - - -Node7->Node9 - - - - - diff --git a/vendors/galaxy/Docs/IMatchmaking_8h__incl.map b/vendors/galaxy/Docs/IMatchmaking_8h__incl.map deleted file mode 100644 index 936a25fec..000000000 --- a/vendors/galaxy/Docs/IMatchmaking_8h__incl.map +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/vendors/galaxy/Docs/IMatchmaking_8h__incl.md5 b/vendors/galaxy/Docs/IMatchmaking_8h__incl.md5 deleted file mode 100644 index 1a99d83ba..000000000 --- a/vendors/galaxy/Docs/IMatchmaking_8h__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -70748292412dbba2fb8a52c1151af157 \ No newline at end of file diff --git a/vendors/galaxy/Docs/IMatchmaking_8h__incl.svg b/vendors/galaxy/Docs/IMatchmaking_8h__incl.svg deleted file mode 100644 index ad4acecc1..000000000 --- a/vendors/galaxy/Docs/IMatchmaking_8h__incl.svg +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - -IMatchmaking.h - - -Node0 - - -IMatchmaking.h - - - - -Node1 - - -GalaxyID.h - - - - -Node0->Node1 - - - - -Node4 - - -IListenerRegistrar.h - - - - -Node0->Node4 - - - - -Node2 - - -stdint.h - - - - -Node1->Node2 - - - - -Node3 - - -assert.h - - - - -Node1->Node3 - - - - -Node2->Node2 - - - - -Node4->Node2 - - - - -Node5 - - -stdlib.h - - - - -Node4->Node5 - - - - -Node6 - - -GalaxyExport.h - - - - -Node4->Node6 - - - - - diff --git a/vendors/galaxy/Docs/IMatchmaking_8h_source.html b/vendors/galaxy/Docs/IMatchmaking_8h_source.html deleted file mode 100644 index f295175e1..000000000 --- a/vendors/galaxy/Docs/IMatchmaking_8h_source.html +++ /dev/null @@ -1,239 +0,0 @@ - - - - - - - -GOG Galaxy: IMatchmaking.h Source File - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
IMatchmaking.h
-
-
-Go to the documentation of this file.
1 #ifndef GALAXY_I_MATCHMAKING_H
2 #define GALAXY_I_MATCHMAKING_H
3 
9 #include "GalaxyID.h"
10 #include "IListenerRegistrar.h"
11 
12 namespace galaxy
13 {
14  namespace api
15  {
24  enum LobbyType
25  {
30  };
31 
36  {
42  };
43 
48  {
54  };
55 
61  {
68  };
69 
74  {
78  };
79 
84  {
90  };
91 
96  {
100  };
101 
105  class ILobbyListListener : public GalaxyTypeAwareListener<LOBBY_LIST>
106  {
107  public:
108 
115  virtual void OnLobbyList(uint32_t lobbyCount, LobbyListResult result) = 0;
116  };
117 
122 
126  class ILobbyCreatedListener : public GalaxyTypeAwareListener<LOBBY_CREATED>
127  {
128  public:
129 
140  virtual void OnLobbyCreated(const GalaxyID& lobbyID, LobbyCreateResult result) = 0;
141  };
142 
147 
152 
156  class ILobbyEnteredListener : public GalaxyTypeAwareListener<LOBBY_ENTERED>
157  {
158  public:
159 
168  virtual void OnLobbyEntered(const GalaxyID& lobbyID, LobbyEnterResult result) = 0;
169  };
170 
175 
180 
184  class ILobbyLeftListener : public GalaxyTypeAwareListener<LOBBY_LEFT>
185  {
186  public:
187 
192  {
197  };
198 
205  virtual void OnLobbyLeft(const GalaxyID& lobbyID, LobbyLeaveReason leaveReason) = 0;
206  };
207 
212 
217 
221  class ILobbyDataListener : public GalaxyTypeAwareListener<LOBBY_DATA>
222  {
223  public:
224 
231  virtual void OnLobbyDataUpdated(const GalaxyID& lobbyID, const GalaxyID& memberID) = 0;
232  };
233 
238 
243 
247  class ILobbyDataUpdateListener : public GalaxyTypeAwareListener<LOBBY_DATA_UPDATE_LISTENER>
248  {
249  public:
250 
256  virtual void OnLobbyDataUpdateSuccess(const GalaxyID& lobbyID) = 0;
257 
262  {
266  };
267 
274  virtual void OnLobbyDataUpdateFailure(const GalaxyID& lobbyID, FailureReason failureReason) = 0;
275  };
276 
280  class ILobbyMemberDataUpdateListener : public GalaxyTypeAwareListener<LOBBY_MEMBER_DATA_UPDATE_LISTENER>
281  {
282  public:
283 
290  virtual void OnLobbyMemberDataUpdateSuccess(const GalaxyID& lobbyID, const GalaxyID& memberID) = 0;
291 
296  {
300  };
301 
309  virtual void OnLobbyMemberDataUpdateFailure(const GalaxyID& lobbyID, const GalaxyID& memberID, FailureReason failureReason) = 0;
310  };
311 
315  class ILobbyDataRetrieveListener : public GalaxyTypeAwareListener<LOBBY_DATA_RETRIEVE>
316  {
317  public:
318 
324  virtual void OnLobbyDataRetrieveSuccess(const GalaxyID& lobbyID) = 0;
325 
330  {
334  };
335 
342  virtual void OnLobbyDataRetrieveFailure(const GalaxyID& lobbyID, FailureReason failureReason) = 0;
343  };
344 
349 
354 
358  class ILobbyMemberStateListener : public GalaxyTypeAwareListener<LOBBY_MEMBER_STATE>
359  {
360  public:
361 
369  virtual void OnLobbyMemberStateChanged(const GalaxyID& lobbyID, const GalaxyID& memberID, LobbyMemberStateChange memberStateChange) = 0;
370  };
371 
376 
381 
394  class ILobbyOwnerChangeListener : public GalaxyTypeAwareListener<LOBBY_OWNER_CHANGE>
395  {
396  public:
397 
404  virtual void OnLobbyOwnerChanged(const GalaxyID& lobbyID, const GalaxyID& newOwnerID) = 0;
405  };
406 
411 
415  class ILobbyMessageListener : public GalaxyTypeAwareListener<LOBBY_MESSAGE>
416  {
417  public:
418 
429  virtual void OnLobbyMessageReceived(const GalaxyID& lobbyID, const GalaxyID& senderID, uint32_t messageID, uint32_t messageLength) = 0;
430  };
431 
436 
441 
446  {
447  public:
448 
449  virtual ~IMatchmaking()
450  {
451  }
452 
470  virtual void CreateLobby(
471  LobbyType lobbyType,
472  uint32_t maxMembers,
473  bool joinable,
474  LobbyTopologyType lobbyTopologyType,
475  ILobbyCreatedListener* const lobbyCreatedListener = NULL,
476  ILobbyEnteredListener* const lobbyEnteredListener = NULL) = 0;
477 
497  virtual void RequestLobbyList(bool allowFullLobbies = false, ILobbyListListener* const listener = NULL) = 0;
498 
508  virtual void AddRequestLobbyListResultCountFilter(uint32_t limit) = 0;
509 
521  virtual void AddRequestLobbyListStringFilter(const char* keyToMatch, const char* valueToMatch, LobbyComparisonType comparisonType) = 0;
522 
534  virtual void AddRequestLobbyListNumericalFilter(const char* keyToMatch, int32_t valueToMatch, LobbyComparisonType comparisonType) = 0;
535 
546  virtual void AddRequestLobbyListNearValueFilter(const char* keyToMatch, int32_t valueToBeCloseTo) = 0;
547 
561  virtual GalaxyID GetLobbyByIndex(uint32_t index) = 0;
562 
573  virtual void JoinLobby(GalaxyID lobbyID, ILobbyEnteredListener* const listener = NULL) = 0;
574 
586  virtual void LeaveLobby(GalaxyID lobbyID, ILobbyLeftListener* const listener = NULL) = 0;
587 
595  virtual void SetMaxNumLobbyMembers(GalaxyID lobbyID, uint32_t maxNumLobbyMembers, ILobbyDataUpdateListener* const listener = NULL) = 0;
596 
605  virtual uint32_t GetMaxNumLobbyMembers(GalaxyID lobbyID) = 0;
606 
615  virtual uint32_t GetNumLobbyMembers(GalaxyID lobbyID) = 0;
616 
626  virtual GalaxyID GetLobbyMemberByIndex(GalaxyID lobbyID, uint32_t index) = 0;
627 
635  virtual void SetLobbyType(GalaxyID lobbyID, LobbyType lobbyType, ILobbyDataUpdateListener* const listener = NULL) = 0;
636 
645  virtual LobbyType GetLobbyType(GalaxyID lobbyID) = 0;
646 
660  virtual void SetLobbyJoinable(GalaxyID lobbyID, bool joinable, ILobbyDataUpdateListener* const listener = NULL) = 0;
661 
670  virtual bool IsLobbyJoinable(GalaxyID lobbyID) = 0;
671 
684  virtual void RequestLobbyData(GalaxyID lobbyID, ILobbyDataRetrieveListener* const listener = NULL) = 0;
685 
700  virtual const char* GetLobbyData(GalaxyID lobbyID, const char* key) = 0;
701 
715  virtual void GetLobbyDataCopy(GalaxyID lobbyID, const char* key, char* buffer, uint32_t bufferLength) = 0;
716 
738  virtual void SetLobbyData(GalaxyID lobbyID, const char* key, const char* value, ILobbyDataUpdateListener* const listener = NULL) = 0;
739 
749  virtual uint32_t GetLobbyDataCount(GalaxyID lobbyID) = 0;
750 
762  virtual bool GetLobbyDataByIndex(GalaxyID lobbyID, uint32_t index, char* key, uint32_t keyLength, char* value, uint32_t valueLength) = 0;
763 
777  virtual void DeleteLobbyData(GalaxyID lobbyID, const char* key, ILobbyDataUpdateListener* const listener = NULL) = 0;
778 
796  virtual const char* GetLobbyMemberData(GalaxyID lobbyID, GalaxyID memberID, const char* key) = 0;
797 
814  virtual void GetLobbyMemberDataCopy(GalaxyID lobbyID, GalaxyID memberID, const char* key, char* buffer, uint32_t bufferLength) = 0;
815 
836  virtual void SetLobbyMemberData(GalaxyID lobbyID, const char* key, const char* value, ILobbyMemberDataUpdateListener* const listener = NULL) = 0;
837 
848  virtual uint32_t GetLobbyMemberDataCount(GalaxyID lobbyID, GalaxyID memberID) = 0;
849 
862  virtual bool GetLobbyMemberDataByIndex(GalaxyID lobbyID, GalaxyID memberID, uint32_t index, char* key, uint32_t keyLength, char* value, uint32_t valueLength) = 0;
863 
877  virtual void DeleteLobbyMemberData(GalaxyID lobbyID, const char* key, ILobbyMemberDataUpdateListener* const listener = NULL) = 0;
878 
887  virtual GalaxyID GetLobbyOwner(GalaxyID lobbyID) = 0;
888 
903  virtual bool SendLobbyMessage(GalaxyID lobbyID, const void* data, uint32_t dataSize) = 0;
904 
915  virtual uint32_t GetLobbyMessage(GalaxyID lobbyID, uint32_t messageID, GalaxyID& senderID, char* msg, uint32_t msgLength) = 0;
916  };
917 
919  }
920 }
921 
922 #endif
SelfRegisteringListener< ILobbyDataListener, GameServerListenerRegistrar > GameServerGlobalLobbyDataListener
Globally self-registering version of ILobbyDataListener for the Game Server.
Definition: IMatchmaking.h:242
-
virtual void OnLobbyDataUpdated(const GalaxyID &lobbyID, const GalaxyID &memberID)=0
Notification for the event of receiving an updated version of lobby data.
-
FailureReason
The reason of a failure in retrieving lobby data.
Definition: IMatchmaking.h:329
-
virtual void OnLobbyLeft(const GalaxyID &lobbyID, LobbyLeaveReason leaveReason)=0
Notification for the event of leaving lobby.
-
Specified lobby does not exist.
Definition: IMatchmaking.h:264
-
The user joined the lobby.
Definition: IMatchmaking.h:49
-
The lobby should have a property of a value that is not equal to the one specified.
Definition: IMatchmaking.h:63
-
The list of lobbies retrieved successfully.
Definition: IMatchmaking.h:97
-
Specified lobby is full.
Definition: IMatchmaking.h:87
-
Listener for the event of creating a lobby.
Definition: IMatchmaking.h:126
-
SelfRegisteringListener< ILobbyMemberStateListener > GlobalLobbyMemberStateListener
Globally self-registering version of ILobbyMemberStateListener.
Definition: IMatchmaking.h:375
-
Specified lobby does not exist.
Definition: IMatchmaking.h:332
-
All users are connected with each other. Disconnection of lobby owner results in choosing a new one....
Definition: IMatchmaking.h:41
-
virtual void RequestLobbyList(bool allowFullLobbies=false, ILobbyListListener *const listener=NULL)=0
Performs a request for a list of relevant lobbies.
-
LobbyTopologyType
Lobby topology type.
Definition: IMatchmaking.h:35
-
Unable to communicate with backend services.
Definition: IMatchmaking.h:265
-
Listener for the event of entering a lobby.
Definition: IMatchmaking.h:156
-
virtual const char * GetLobbyData(GalaxyID lobbyID, const char *key)=0
Returns an entry from the properties of a specified lobby.
-
virtual void SetLobbyData(GalaxyID lobbyID, const char *key, const char *value, ILobbyDataUpdateListener *const listener=NULL)=0
Creates or updates an entry in the properties of a specified lobby.
-
virtual void DeleteLobbyMemberData(GalaxyID lobbyID, const char *key, ILobbyMemberDataUpdateListener *const listener=NULL)=0
Clears a property of a specified lobby member by its name.
-
The class that is inherited by all specific callback listeners and provides a static method that retu...
Definition: IListenerRegistrar.h:112
-
SelfRegisteringListener< ILobbyMessageListener, GameServerListenerRegistrar > GameServerGlobalLobbyMessageListener
Globally self-registering version of ILobbyMessageListener for the Game Server.
Definition: IMatchmaking.h:440
-
The user disconnected without leaving the lobby first.
Definition: IMatchmaking.h:51
-
virtual void OnLobbyCreated(const GalaxyID &lobbyID, LobbyCreateResult result)=0
Notification for the event of creating a lobby.
-
Listener for the event of receiving a list of lobbies.
Definition: IMatchmaking.h:105
-
All users are connected with each other. Disconnection of lobby owner results in choosing a new one....
Definition: IMatchmaking.h:37
-
Represents the ID of an entity used by Galaxy Peer.
Definition: GalaxyID.h:29
-
virtual void SetLobbyMemberData(GalaxyID lobbyID, const char *key, const char *value, ILobbyMemberDataUpdateListener *const listener=NULL)=0
Creates or updates an entry in the user's properties (as a lobby member) in a specified lobby.
-
Unable to communicate with backend services.
Definition: IMatchmaking.h:333
-
virtual uint32_t GetLobbyDataCount(GalaxyID lobbyID)=0
Returns the number of entries in the properties of a specified lobby.
-
Visible only to friends or invitees, but not in lobby list. Forbidden for the Game Server.
Definition: IMatchmaking.h:27
-
The lobby should have a property of a value that is greater than the one specified.
Definition: IMatchmaking.h:64
-
virtual void CreateLobby(LobbyType lobbyType, uint32_t maxMembers, bool joinable, LobbyTopologyType lobbyTopologyType, ILobbyCreatedListener *const lobbyCreatedListener=NULL, ILobbyEnteredListener *const lobbyEnteredListener=NULL)=0
Creates a lobby.
-
virtual void AddRequestLobbyListNumericalFilter(const char *keyToMatch, int32_t valueToMatch, LobbyComparisonType comparisonType)=0
Adds a numerical filter to be applied next time you call RequestLobbyList().
-
Listener for the event of updating lobby data.
Definition: IMatchmaking.h:247
-
SelfRegisteringListener< ILobbyDataRetrieveListener > GlobalLobbyDataRetrieveListener
Globally self-registering version of ILobbyDataRetrieveListener.
Definition: IMatchmaking.h:348
-
virtual LobbyType GetLobbyType(GalaxyID lobbyID)=0
Returns the type of a specified lobby.
-
virtual void SetMaxNumLobbyMembers(GalaxyID lobbyID, uint32_t maxNumLobbyMembers, ILobbyDataUpdateListener *const listener=NULL)=0
Sets the maximum number of users that can be in a specified lobby.
-
The lobby should have a property of a value that is greater than or equal to the one specified.
Definition: IMatchmaking.h:65
-
SelfRegisteringListener< ILobbyEnteredListener > GlobalLobbyEnteredListener
Globally self-registering version of ILobbyEnteredListener.
Definition: IMatchmaking.h:174
-
virtual void OnLobbyMessageReceived(const GalaxyID &lobbyID, const GalaxyID &senderID, uint32_t messageID, uint32_t messageLength)=0
Notification for the event of receiving a lobby message.
-
The lobby should have a property of a value that is lower than or equal to the one specified.
Definition: IMatchmaking.h:67
-
Listener for the event of leaving a lobby.
Definition: IMatchmaking.h:184
-
FailureReason
The reason of a failure in updating lobby data.
Definition: IMatchmaking.h:295
-
All users are connected with lobby owner. Disconnection of lobby owner results in closing the lobby.
Definition: IMatchmaking.h:39
-
LobbyEnterResult
Lobby entering result.
Definition: IMatchmaking.h:83
-
LobbyType
Lobby type.
Definition: IMatchmaking.h:24
-
virtual void DeleteLobbyData(GalaxyID lobbyID, const char *key, ILobbyDataUpdateListener *const listener=NULL)=0
Clears a property of a specified lobby by its name.
-
LobbyLeaveReason
The reason of leaving a lobby.
Definition: IMatchmaking.h:191
-
Unspecified error.
Definition: IMatchmaking.h:263
-
SelfRegisteringListener< ILobbyMessageListener > GlobalLobbyMessageListener
Globally self-registering version of ILobbyMessageListener.
Definition: IMatchmaking.h:435
-
virtual bool GetLobbyDataByIndex(GalaxyID lobbyID, uint32_t index, char *key, uint32_t keyLength, char *value, uint32_t valueLength)=0
Returns a property of a specified lobby by index.
-
SelfRegisteringListener< ILobbyLeftListener > GlobalLobbyLeftListener
Globally self-registering version of ILobbyLeftListener.
Definition: IMatchmaking.h:211
-
Only invited users are able to join the lobby.
Definition: IMatchmaking.h:26
-
Unspecified error.
Definition: IMatchmaking.h:297
-
virtual GalaxyID GetLobbyOwner(GalaxyID lobbyID)=0
Returns the owner of a specified lobby.
-
The user left the lobby having announced it first.
Definition: IMatchmaking.h:50
-
LobbyListResult
Lobby listing result.
Definition: IMatchmaking.h:95
-
virtual bool SendLobbyMessage(GalaxyID lobbyID, const void *data, uint32_t dataSize)=0
Sends a message to all lobby members, including the sender.
-
SelfRegisteringListener< ILobbyListListener > GlobalLobbyListListener
Globally self-registering version of ILobbyListListener.
Definition: IMatchmaking.h:121
-
virtual void AddRequestLobbyListResultCountFilter(uint32_t limit)=0
Sets the maximum number of lobbies to be returned next time you call RequestLobbyList().
-
The Peer has lost the connection.
Definition: IMatchmaking.h:196
-
virtual void OnLobbyDataUpdateFailure(const GalaxyID &lobbyID, FailureReason failureReason)=0
Notification for the failure in updating lobby data.
-
All users are connected with each other. Disconnection of lobby owner results in closing the lobby.
Definition: IMatchmaking.h:38
-
SelfRegisteringListener< ILobbyOwnerChangeListener > GlobalLobbyOwnerChangeListener
Globally self-registering version of ILobbyOwnerChangeListener.
Definition: IMatchmaking.h:410
-
LobbyCreateResult
Lobby creating result.
Definition: IMatchmaking.h:73
-
Unable to communicate with backend services.
Definition: IMatchmaking.h:89
-
All users are connected only with server. Disconnection of lobby owner results in choosing a new one....
Definition: IMatchmaking.h:40
-
SelfRegisteringListener< ILobbyDataListener > GlobalLobbyDataListener
Globally self-registering version of ILobbyDataListener.
Definition: IMatchmaking.h:237
-
The user has left the lobby as a result of calling IMatchmaking::LeaveLobby().
Definition: IMatchmaking.h:194
-
FailureReason
The reason of a failure in updating lobby data.
Definition: IMatchmaking.h:261
-
virtual GalaxyID GetLobbyByIndex(uint32_t index)=0
Returns GalaxyID of a retrieved lobby by index.
-
User was kicked and banned from the lobby.
Definition: IMatchmaking.h:53
-
virtual void OnLobbyMemberStateChanged(const GalaxyID &lobbyID, const GalaxyID &memberID, LobbyMemberStateChange memberStateChange)=0
Notification for the event of a change of the state of a lobby member.
-
The lobby should have a property of a value that is equal to the one specified.
Definition: IMatchmaking.h:62
-
The class that is inherited by the self-registering versions of all specific callback listeners.
Definition: IListenerRegistrar.h:206
-
virtual void OnLobbyMemberDataUpdateSuccess(const GalaxyID &lobbyID, const GalaxyID &memberID)=0
Notification for the event of success in updating lobby member data.
-
Unspecified error.
Definition: IMatchmaking.h:331
-
Contains GalaxyID, which is the class that represents the ID of an entity used by Galaxy Peer.
-
User was kicked from the lobby.
Definition: IMatchmaking.h:52
-
virtual void SetLobbyJoinable(GalaxyID lobbyID, bool joinable, ILobbyDataUpdateListener *const listener=NULL)=0
Sets if a specified lobby is joinable.
-
Listener for the event of updating lobby member data.
Definition: IMatchmaking.h:280
-
virtual uint32_t GetNumLobbyMembers(GalaxyID lobbyID)=0
Returns the number of users in a specified lobby.
-
virtual void OnLobbyDataUpdateSuccess(const GalaxyID &lobbyID)=0
Notification for the event of success in updating lobby data.
-
virtual bool IsLobbyJoinable(GalaxyID lobbyID)=0
Checks if a specified lobby is joinable.
-
Listener for the event of a change of the state of a lobby member.
Definition: IMatchmaking.h:358
-
virtual void OnLobbyDataRetrieveSuccess(const GalaxyID &lobbyID)=0
Notification for the event of success in retrieving lobby data.
-
Lobby was created.
Definition: IMatchmaking.h:75
-
virtual void GetLobbyDataCopy(GalaxyID lobbyID, const char *key, char *buffer, uint32_t bufferLength)=0
Copies an entry from the properties of a specified lobby.
-
SelfRegisteringListener< ILobbyDataRetrieveListener, GameServerListenerRegistrar > GameServerGlobalLobbyDataRetrieveListener
Globally self-registering version of ILobbyDataRetrieveListener for the Game Server.
Definition: IMatchmaking.h:353
-
SelfRegisteringListener< ILobbyCreatedListener > GlobalLobbyCreatedListener
Globally self-registering version of ILobbyCreatedListener.
Definition: IMatchmaking.h:146
-
SelfRegisteringListener< ILobbyCreatedListener, GameServerListenerRegistrar > GameServerGlobalLobbyCreatedListener
Globally self-registering version of ILobbyCreatedListener for the Game Server.
Definition: IMatchmaking.h:151
-
virtual uint32_t GetLobbyMemberDataCount(GalaxyID lobbyID, GalaxyID memberID)=0
Returns the number of entries in the properties of a specified member of a specified lobby.
-
virtual bool GetLobbyMemberDataByIndex(GalaxyID lobbyID, GalaxyID memberID, uint32_t index, char *key, uint32_t keyLength, char *value, uint32_t valueLength)=0
Returns a property of a specified lobby member by index.
-
virtual void OnLobbyList(uint32_t lobbyCount, LobbyListResult result)=0
Notification for the event of receiving a list of lobbies.
-
virtual void SetLobbyType(GalaxyID lobbyID, LobbyType lobbyType, ILobbyDataUpdateListener *const listener=NULL)=0
Sets the type of a specified lobby.
-
Listener for the event of receiving a lobby message.
Definition: IMatchmaking.h:415
-
virtual void OnLobbyMemberDataUpdateFailure(const GalaxyID &lobbyID, const GalaxyID &memberID, FailureReason failureReason)=0
Notification for the failure in updating lobby member data.
-
virtual void OnLobbyEntered(const GalaxyID &lobbyID, LobbyEnterResult result)=0
Notification for the event of entering a lobby.
-
virtual void OnLobbyOwnerChanged(const GalaxyID &lobbyID, const GalaxyID &newOwnerID)=0
Notification for the event of someone else becoming the owner of a lobby.
-
Specified lobby does not exist.
Definition: IMatchmaking.h:86
-
Contains data structures and interfaces related to callback listeners.
-
The lobby should have a property of a value that is lower than the one specified.
Definition: IMatchmaking.h:66
-
SelfRegisteringListener< ILobbyMemberStateListener, GameServerListenerRegistrar > GameServerGlobalLobbyMemberStateListener
Globally self-registering version of ILobbyMemberStateListener for the Game Server.
Definition: IMatchmaking.h:380
-
Listener for the event of changing the owner of a lobby.
Definition: IMatchmaking.h:394
-
virtual void RequestLobbyData(GalaxyID lobbyID, ILobbyDataRetrieveListener *const listener=NULL)=0
Refreshes info about a specified lobby.
-
Listener for the event of retrieving lobby data.
Definition: IMatchmaking.h:315
-
Unable to communicate with backend services.
Definition: IMatchmaking.h:99
-
virtual uint32_t GetMaxNumLobbyMembers(GalaxyID lobbyID)=0
Returns the maximum number of users that can be in a specified lobby.
-
virtual void OnLobbyDataRetrieveFailure(const GalaxyID &lobbyID, FailureReason failureReason)=0
Notification for the event of a failure in retrieving lobby data.
-
virtual const char * GetLobbyMemberData(GalaxyID lobbyID, GalaxyID memberID, const char *key)=0
Returns an entry from the properties of a specified member of a specified lobby.
-
LobbyMemberStateChange
Change of the state of a lobby member.
Definition: IMatchmaking.h:47
-
Unspecified error.
Definition: IMatchmaking.h:193
-
Unexpected error.
Definition: IMatchmaking.h:76
-
Unable to communicate with backend services.
Definition: IMatchmaking.h:299
-
virtual void AddRequestLobbyListStringFilter(const char *keyToMatch, const char *valueToMatch, LobbyComparisonType comparisonType)=0
Adds a string filter to be applied next time you call RequestLobbyList().
-
virtual void GetLobbyMemberDataCopy(GalaxyID lobbyID, GalaxyID memberID, const char *key, char *buffer, uint32_t bufferLength)=0
Copies an entry from the properties of a specified member of a specified lobby.
-
Listener for the event of receiving an updated version of lobby data.
Definition: IMatchmaking.h:221
-
Returned by search, but not visible to friends. Forbidden for the Game Server.
Definition: IMatchmaking.h:29
-
Specified lobby does not exist.
Definition: IMatchmaking.h:298
-
Unexpected error.
Definition: IMatchmaking.h:88
-
virtual void JoinLobby(GalaxyID lobbyID, ILobbyEnteredListener *const listener=NULL)=0
Joins a specified existing lobby.
-
The user has entered the lobby.
Definition: IMatchmaking.h:85
-
virtual uint32_t GetLobbyMessage(GalaxyID lobbyID, uint32_t messageID, GalaxyID &senderID, char *msg, uint32_t msgLength)=0
Receives a specified message from one of the members of a specified lobby.
-
virtual GalaxyID GetLobbyMemberByIndex(GalaxyID lobbyID, uint32_t index)=0
Returns the GalaxyID of a user in a specified lobby.
-
virtual void AddRequestLobbyListNearValueFilter(const char *keyToMatch, int32_t valueToBeCloseTo)=0
Adds a near value filter to be applied next time you call RequestLobbyList().
-
SelfRegisteringListener< ILobbyEnteredListener, GameServerListenerRegistrar > GameServerGlobalLobbyEnteredListener
Globally self-registering version of ILobbyEnteredListener for the GameServer.
Definition: IMatchmaking.h:179
-
The interface for managing game lobbies.
Definition: IMatchmaking.h:445
-
Unexpected error.
Definition: IMatchmaking.h:98
-
Visible for friends and in lobby list.
Definition: IMatchmaking.h:28
-
SelfRegisteringListener< ILobbyLeftListener, GameServerListenerRegistrar > GameServerGlobalLobbyLeftListener
Globally self-registering version of ILobbyLeftListener for the GameServer.
Definition: IMatchmaking.h:216
-
LobbyComparisonType
Comparison type.
Definition: IMatchmaking.h:60
-
The lobby has been closed (e.g. the owner has left the lobby without host migration).
Definition: IMatchmaking.h:195
-
virtual void LeaveLobby(GalaxyID lobbyID, ILobbyLeftListener *const listener=NULL)=0
Leaves a specified lobby.
-
Unable to communicate with backend services.
Definition: IMatchmaking.h:77
-
-
- - - - diff --git a/vendors/galaxy/Docs/INetworking_8h.html b/vendors/galaxy/Docs/INetworking_8h.html deleted file mode 100644 index bcb1d5a28..000000000 --- a/vendors/galaxy/Docs/INetworking_8h.html +++ /dev/null @@ -1,189 +0,0 @@ - - - - - - - -GOG Galaxy: INetworking.h File Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
INetworking.h File Reference
-
-
- -

Contains data structures and interfaces related to communicating with other Galaxy Peers. -More...

-
#include "IListenerRegistrar.h"
-#include "GalaxyID.h"
-
-Include dependency graph for INetworking.h:
-
-
-
-
-
-This graph shows which files directly or indirectly include this file:
-
-
-
-
-
-

Go to the source code of this file.

- - - - - - - - - - - -

-Classes

class  INetworkingListener
 Listener for the events related to packets that come to the client. More...
 
class  INatTypeDetectionListener
 Listener for the events related to NAT type detection. More...
 
class  INetworking
 The interface for communicating with other Galaxy Peers. More...
 
- - - - - - - - - - - - - -

-Typedefs

-typedef SelfRegisteringListener< INetworkingListener > GlobalNetworkingListener
 Globally self-registering version of INetworkingListener.
 
-typedef SelfRegisteringListener< INetworkingListener, GameServerListenerRegistrar > GameServerGlobalNetworkingListener
 Globally self-registering version of INetworkingListener for the GameServer.
 
-typedef SelfRegisteringListener< INatTypeDetectionListener > GlobalNatTypeDetectionListener
 Globally self-registering version of INatTypeDetectionListener.
 
-typedef SelfRegisteringListener< INatTypeDetectionListener, GameServerListenerRegistrar > GameServerGlobalNatTypeDetectionListener
 Globally self-registering version of INatTypeDetectionListener for the GameServer.
 
- - - - - - - - - - -

-Enumerations

enum  NatType {
-  NAT_TYPE_NONE, -NAT_TYPE_FULL_CONE, -NAT_TYPE_ADDRESS_RESTRICTED, -NAT_TYPE_PORT_RESTRICTED, -
-  NAT_TYPE_SYMMETRIC, -NAT_TYPE_UNKNOWN -
- }
 NAT types. More...
 
enum  P2PSendType { P2P_SEND_UNRELIABLE, -P2P_SEND_RELIABLE, -P2P_SEND_UNRELIABLE_IMMEDIATE, -P2P_SEND_RELIABLE_IMMEDIATE - }
 Send type used when calling INetworking::SendP2PPacket() in order to specify desired reliability of the data transfer for each packet that is being sent. More...
 
enum  ConnectionType { CONNECTION_TYPE_NONE, -CONNECTION_TYPE_DIRECT, -CONNECTION_TYPE_PROXY - }
 Connection types. More...
 
-

Detailed Description

-

Contains data structures and interfaces related to communicating with other Galaxy Peers.

-
-
- - - - diff --git a/vendors/galaxy/Docs/INetworking_8h.js b/vendors/galaxy/Docs/INetworking_8h.js deleted file mode 100644 index 3ce4e9c49..000000000 --- a/vendors/galaxy/Docs/INetworking_8h.js +++ /dev/null @@ -1,26 +0,0 @@ -var INetworking_8h = -[ - [ "GameServerGlobalNatTypeDetectionListener", "INetworking_8h.html#ga250338bd8feda7d9af166f0a09e65af7", null ], - [ "GameServerGlobalNetworkingListener", "INetworking_8h.html#ga273ad4080b9e5857779cd1be0a2d61e8", null ], - [ "GlobalNatTypeDetectionListener", "INetworking_8h.html#ga3b22c934de78c8c169632470b4f23492", null ], - [ "GlobalNetworkingListener", "INetworking_8h.html#ga5a806b459fd86ecf340e3f258e38fe18", null ], - [ "ConnectionType", "INetworking_8h.html#gaa1f0e2efd52935fd01bfece0fbead81f", [ - [ "CONNECTION_TYPE_NONE", "INetworking_8h.html#ggaa1f0e2efd52935fd01bfece0fbead81fa808fe0871c1c5c3073ea2e11cefa9d39", null ], - [ "CONNECTION_TYPE_DIRECT", "INetworking_8h.html#ggaa1f0e2efd52935fd01bfece0fbead81fa54f65564c6ebfa12f1ab53c4cef8864a", null ], - [ "CONNECTION_TYPE_PROXY", "INetworking_8h.html#ggaa1f0e2efd52935fd01bfece0fbead81fa868e58fdaa4cf592dfc454798977ebc4", null ] - ] ], - [ "NatType", "INetworking_8h.html#ga73736c0f7526e31ef6a35dcc0ebd34ce", [ - [ "NAT_TYPE_NONE", "INetworking_8h.html#gga73736c0f7526e31ef6a35dcc0ebd34ceaa9e1944a7565512e00f6fa448a495508", null ], - [ "NAT_TYPE_FULL_CONE", "INetworking_8h.html#gga73736c0f7526e31ef6a35dcc0ebd34ceabc4ec3321c82e31fbaaee67fa02ea47a", null ], - [ "NAT_TYPE_ADDRESS_RESTRICTED", "INetworking_8h.html#gga73736c0f7526e31ef6a35dcc0ebd34cea47df308fc95edc5df5c3a6c600d56487", null ], - [ "NAT_TYPE_PORT_RESTRICTED", "INetworking_8h.html#gga73736c0f7526e31ef6a35dcc0ebd34cea1d64ea9bbd365fc005390552d6f7d851", null ], - [ "NAT_TYPE_SYMMETRIC", "INetworking_8h.html#gga73736c0f7526e31ef6a35dcc0ebd34cea21fb563e9e76b1098f809c927b3bb80b", null ], - [ "NAT_TYPE_UNKNOWN", "INetworking_8h.html#gga73736c0f7526e31ef6a35dcc0ebd34ceae0916dd80e1a9d76db5979c5700ebaeb", null ] - ] ], - [ "P2PSendType", "INetworking_8h.html#gac2b75cd8111214499aef51563ae89f9a", [ - [ "P2P_SEND_UNRELIABLE", "INetworking_8h.html#ggac2b75cd8111214499aef51563ae89f9aaa8b3226f86393bf9a7ac17031c36643c", null ], - [ "P2P_SEND_RELIABLE", "INetworking_8h.html#ggac2b75cd8111214499aef51563ae89f9aa29b17108439f84ca97abd881a695fb06", null ], - [ "P2P_SEND_UNRELIABLE_IMMEDIATE", "INetworking_8h.html#ggac2b75cd8111214499aef51563ae89f9aa294f30830907dfadaeac2cbb7966c884", null ], - [ "P2P_SEND_RELIABLE_IMMEDIATE", "INetworking_8h.html#ggac2b75cd8111214499aef51563ae89f9aa87221170828c607ce35486e4da3144bc", null ] - ] ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/INetworking_8h__dep__incl.map b/vendors/galaxy/Docs/INetworking_8h__dep__incl.map deleted file mode 100644 index bf38a4738..000000000 --- a/vendors/galaxy/Docs/INetworking_8h__dep__incl.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/vendors/galaxy/Docs/INetworking_8h__dep__incl.md5 b/vendors/galaxy/Docs/INetworking_8h__dep__incl.md5 deleted file mode 100644 index d28af6a6f..000000000 --- a/vendors/galaxy/Docs/INetworking_8h__dep__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -731dfe6f826f6f6d43568b2d54165434 \ No newline at end of file diff --git a/vendors/galaxy/Docs/INetworking_8h__dep__incl.svg b/vendors/galaxy/Docs/INetworking_8h__dep__incl.svg deleted file mode 100644 index 6e04f7b54..000000000 --- a/vendors/galaxy/Docs/INetworking_8h__dep__incl.svg +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - -INetworking.h - - -Node7 - - -INetworking.h - - - - -Node8 - - -GalaxyApi.h - - - - -Node7->Node8 - - - - -Node9 - - -GalaxyGameServerApi.h - - - - -Node7->Node9 - - - - - diff --git a/vendors/galaxy/Docs/INetworking_8h__incl.map b/vendors/galaxy/Docs/INetworking_8h__incl.map deleted file mode 100644 index 554e1483e..000000000 --- a/vendors/galaxy/Docs/INetworking_8h__incl.map +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/vendors/galaxy/Docs/INetworking_8h__incl.md5 b/vendors/galaxy/Docs/INetworking_8h__incl.md5 deleted file mode 100644 index 58e115e54..000000000 --- a/vendors/galaxy/Docs/INetworking_8h__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -ff4f28aa0645fa0984751eb99652154e \ No newline at end of file diff --git a/vendors/galaxy/Docs/INetworking_8h__incl.svg b/vendors/galaxy/Docs/INetworking_8h__incl.svg deleted file mode 100644 index a9bb0a98b..000000000 --- a/vendors/galaxy/Docs/INetworking_8h__incl.svg +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - -INetworking.h - - -Node0 - - -INetworking.h - - - - -Node1 - - -IListenerRegistrar.h - - - - -Node0->Node1 - - - - -Node5 - - -GalaxyID.h - - - - -Node0->Node5 - - - - -Node2 - - -stdint.h - - - - -Node1->Node2 - - - - -Node3 - - -stdlib.h - - - - -Node1->Node3 - - - - -Node4 - - -GalaxyExport.h - - - - -Node1->Node4 - - - - -Node2->Node2 - - - - -Node5->Node2 - - - - -Node6 - - -assert.h - - - - -Node5->Node6 - - - - - diff --git a/vendors/galaxy/Docs/INetworking_8h_source.html b/vendors/galaxy/Docs/INetworking_8h_source.html deleted file mode 100644 index 6fac5118f..000000000 --- a/vendors/galaxy/Docs/INetworking_8h_source.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - - - -GOG Galaxy: INetworking.h Source File - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
INetworking.h
-
-
-Go to the documentation of this file.
1 #ifndef GALAXY_I_NETWORKING_H
2 #define GALAXY_I_NETWORKING_H
3 
10 #include "IListenerRegistrar.h"
11 #include "GalaxyID.h"
12 
13 namespace galaxy
14 {
15  namespace api
16  {
25  class INetworkingListener : public GalaxyTypeAwareListener<NETWORKING>
26  {
27  public:
28 
35  virtual void OnP2PPacketAvailable(uint32_t msgSize, uint8_t channel) = 0;
36  };
37 
42 
47 
51  enum NatType
52  {
59  };
60 
64  class INatTypeDetectionListener : public GalaxyTypeAwareListener<NAT_TYPE_DETECTION>
65  {
66  public:
67 
73  virtual void OnNatTypeDetectionSuccess(NatType natType) = 0;
74 
78  virtual void OnNatTypeDetectionFailure() = 0;
79  };
80 
85 
90 
97  {
102  };
103 
108  {
112  };
113 
118  {
119  public:
120 
121  virtual ~INetworking()
122  {
123  }
124 
153  virtual bool SendP2PPacket(GalaxyID galaxyID, const void* data, uint32_t dataSize, P2PSendType sendType, uint8_t channel = 0) = 0;
154 
179  virtual bool PeekP2PPacket(void* dest, uint32_t destSize, uint32_t* outMsgSize, GalaxyID& outGalaxyID, uint8_t channel = 0) = 0;
180 
192  virtual bool IsP2PPacketAvailable(uint32_t* outMsgSize, uint8_t channel = 0) = 0;
193 
223  virtual bool ReadP2PPacket(void* dest, uint32_t destSize, uint32_t* outMsgSize, GalaxyID& outGalaxyID, uint8_t channel = 0) = 0;
224 
235  virtual void PopP2PPacket(uint8_t channel = 0) = 0;
236 
250  virtual int GetPingWith(GalaxyID galaxyID) = 0;
251 
260  virtual void RequestNatTypeDetection() = 0;
261 
275  virtual NatType GetNatType() = 0;
276 
285  virtual ConnectionType GetConnectionType(GalaxyID userID) = 0;
286 
287  };
288 
290  }
291 }
292 
293 #endif
virtual bool PeekP2PPacket(void *dest, uint32_t destSize, uint32_t *outMsgSize, GalaxyID &outGalaxyID, uint8_t channel=0)=0
Reads an incoming packet that was sent from another Galaxy Peer by calling SendP2PPacket() with the s...
-
virtual ConnectionType GetConnectionType(GalaxyID userID)=0
Retrieves connection type of the specified user.
-
SelfRegisteringListener< INetworkingListener, GameServerListenerRegistrar > GameServerGlobalNetworkingListener
Globally self-registering version of INetworkingListener for the GameServer.
Definition: INetworking.h:46
-
virtual void OnP2PPacketAvailable(uint32_t msgSize, uint8_t channel)=0
Notification for the event of receiving a packet.
-
Accepts datagrams to a port if the datagram source IP address belongs to a system that has been sent ...
Definition: INetworking.h:55
-
SelfRegisteringListener< INetworkingListener > GlobalNetworkingListener
Globally self-registering version of INetworkingListener.
Definition: INetworking.h:41
-
virtual bool IsP2PPacketAvailable(uint32_t *outMsgSize, uint8_t channel=0)=0
Checks for any incoming packets on a specified channel.
-
The class that is inherited by all specific callback listeners and provides a static method that retu...
Definition: IListenerRegistrar.h:112
-
Listener for the events related to NAT type detection.
Definition: INetworking.h:64
-
Accepts any datagrams to a port that has been previously used.
Definition: INetworking.h:54
-
Represents the ID of an entity used by Galaxy Peer.
Definition: GalaxyID.h:29
-
SelfRegisteringListener< INatTypeDetectionListener > GlobalNatTypeDetectionListener
Globally self-registering version of INatTypeDetectionListener.
Definition: INetworking.h:84
-
The interface for communicating with other Galaxy Peers.
Definition: INetworking.h:117
-
virtual void OnNatTypeDetectionSuccess(NatType natType)=0
Notification for the event of a success in NAT type detection.
-
virtual void PopP2PPacket(uint8_t channel=0)=0
Removes the first packet from the packet queue.
-
virtual int GetPingWith(GalaxyID galaxyID)=0
Retrieves current ping value in milliseconds with a specified entity, i.e.
-
virtual bool SendP2PPacket(GalaxyID galaxyID, const void *data, uint32_t dataSize, P2PSendType sendType, uint8_t channel=0)=0
Sends a P2P packet to a specified user.
-
Listener for the events related to packets that come to the client.
Definition: INetworking.h:25
-
UDP-like packet transfer. The packet will be sent instantly.
Definition: INetworking.h:100
-
TCP-like packet transfer. The packet will be sent instantly.
Definition: INetworking.h:101
-
A different port is chosen for every remote destination.
Definition: INetworking.h:57
-
User is connected only with server.
Definition: INetworking.h:109
-
The class that is inherited by the self-registering versions of all specific callback listeners.
Definition: IListenerRegistrar.h:206
-
virtual void RequestNatTypeDetection()=0
Initiates a NAT type detection process.
-
Contains GalaxyID, which is the class that represents the ID of an entity used by Galaxy Peer.
-
TCP-like packet transfer. The packet will be sent during the next call to ProcessData().
Definition: INetworking.h:99
-
ConnectionType
Connection types.
Definition: INetworking.h:107
-
Accepts datagrams to a port if the datagram source IP address and port belongs a system that has been...
Definition: INetworking.h:56
-
NatType
NAT types.
Definition: INetworking.h:51
-
SelfRegisteringListener< INatTypeDetectionListener, GameServerListenerRegistrar > GameServerGlobalNatTypeDetectionListener
Globally self-registering version of INatTypeDetectionListener for the GameServer.
Definition: INetworking.h:89
-
Contains data structures and interfaces related to callback listeners.
-
virtual NatType GetNatType()=0
Retrieves determined NAT type.
-
virtual bool ReadP2PPacket(void *dest, uint32_t destSize, uint32_t *outMsgSize, GalaxyID &outGalaxyID, uint8_t channel=0)=0
Reads an incoming packet that was sent from another Galaxy Peer by calling SendP2PPacket() with the s...
-
P2PSendType
Send type used when calling INetworking::SendP2PPacket() in order to specify desired reliability of t...
Definition: INetworking.h:96
-
UDP-like packet transfer. The packet will be sent during the next call to ProcessData().
Definition: INetworking.h:98
-
virtual void OnNatTypeDetectionFailure()=0
Notification for the event of a failure in NAT type detection.
-
There is no NAT at all.
Definition: INetworking.h:53
-
User is connected through a proxy.
Definition: INetworking.h:111
-
NAT type has not been determined.
Definition: INetworking.h:58
-
User is connected directly.
Definition: INetworking.h:110
-
-
- - - - diff --git a/vendors/galaxy/Docs/IStats_8h.html b/vendors/galaxy/Docs/IStats_8h.html deleted file mode 100644 index da68aef1f..000000000 --- a/vendors/galaxy/Docs/IStats_8h.html +++ /dev/null @@ -1,211 +0,0 @@ - - - - - - - -GOG Galaxy: IStats.h File Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
IStats.h File Reference
-
-
- -

Contains data structures and interfaces related to statistics, achievements and leaderboards. -More...

-
#include "IListenerRegistrar.h"
-#include "GalaxyID.h"
-
-Include dependency graph for IStats.h:
-
-
-
-
-
-This graph shows which files directly or indirectly include this file:
-
-
-
-
-
-

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Classes

class  IUserStatsAndAchievementsRetrieveListener
 Listener for the event of retrieving statistics and achievements of a specified user, possibly our own. More...
 
class  IStatsAndAchievementsStoreListener
 Listener for the event of storing own statistics and achievements. More...
 
class  IAchievementChangeListener
 Listener for the event of changing an achievement. More...
 
class  ILeaderboardsRetrieveListener
 Listener for the event of retrieving definitions of leaderboards. More...
 
class  ILeaderboardEntriesRetrieveListener
 Listener for the event of retrieving requested entries of a leaderboard. More...
 
class  ILeaderboardScoreUpdateListener
 Listener for the event of updating score in a leaderboard. More...
 
class  ILeaderboardRetrieveListener
 Listener for the event of retrieving definition of a leaderboard. More...
 
class  IUserTimePlayedRetrieveListener
 Listener for the event of retrieving user time played. More...
 
class  IStats
 The interface for managing statistics, achievements and leaderboards. More...
 
- - - - - - - - - - - - - - - - - - - - - - - - - -

-Typedefs

-typedef SelfRegisteringListener< IUserStatsAndAchievementsRetrieveListener > GlobalUserStatsAndAchievementsRetrieveListener
 Globally self-registering version of IUserStatsAndAchievementsRetrieveListener.
 
-typedef SelfRegisteringListener< IStatsAndAchievementsStoreListener > GlobalStatsAndAchievementsStoreListener
 Globally self-registering version of IStatsAndAchievementsStoreListener.
 
-typedef SelfRegisteringListener< IAchievementChangeListener > GlobalAchievementChangeListener
 Globally self-registering version of IAchievementChangeListener.
 
-typedef SelfRegisteringListener< ILeaderboardsRetrieveListener > GlobalLeaderboardsRetrieveListener
 Globally self-registering version of a ILeaderboardsRetrieveListener.
 
-typedef SelfRegisteringListener< ILeaderboardEntriesRetrieveListener > GlobalLeaderboardEntriesRetrieveListener
 Globally self-registering version of a ILeaderboardEntriesRetrieveListener.
 
-typedef SelfRegisteringListener< ILeaderboardScoreUpdateListener > GlobalLeaderboardScoreUpdateListener
 Globally self-registering version of a ILeaderboardScoreUpdateListener.
 
-typedef SelfRegisteringListener< ILeaderboardRetrieveListener > GlobalLeaderboardRetrieveListener
 Globally self-registering version of a ILeaderboardRetrieveListener.
 
-typedef SelfRegisteringListener< IUserTimePlayedRetrieveListener > GlobalUserTimePlayedRetrieveListener
 Globally self-registering version of a IUserTimePlayedRetrieveListener.
 
- - - - - - - -

-Enumerations

enum  LeaderboardSortMethod { LEADERBOARD_SORT_METHOD_NONE, -LEADERBOARD_SORT_METHOD_ASCENDING, -LEADERBOARD_SORT_METHOD_DESCENDING - }
 The sort order of a leaderboard. More...
 
enum  LeaderboardDisplayType { LEADERBOARD_DISPLAY_TYPE_NONE, -LEADERBOARD_DISPLAY_TYPE_NUMBER, -LEADERBOARD_DISPLAY_TYPE_TIME_SECONDS, -LEADERBOARD_DISPLAY_TYPE_TIME_MILLISECONDS - }
 The display type of a leaderboard. More...
 
-

Detailed Description

-

Contains data structures and interfaces related to statistics, achievements and leaderboards.

-
-
- - - - diff --git a/vendors/galaxy/Docs/IStats_8h.js b/vendors/galaxy/Docs/IStats_8h.js deleted file mode 100644 index c228ca2f1..000000000 --- a/vendors/galaxy/Docs/IStats_8h.js +++ /dev/null @@ -1,22 +0,0 @@ -var IStats_8h = -[ - [ "GlobalAchievementChangeListener", "IStats_8h.html#gaf98d38634b82abe976c60e73ff680aa4", null ], - [ "GlobalLeaderboardEntriesRetrieveListener", "IStats_8h.html#ga7938b00f2b55ed766eb74ffe312bbffc", null ], - [ "GlobalLeaderboardRetrieveListener", "IStats_8h.html#ga69a3dd7dd052794687fe963bb170a718", null ], - [ "GlobalLeaderboardScoreUpdateListener", "IStats_8h.html#ga5cc3302c7fac6138177fb5c7f81698c1", null ], - [ "GlobalLeaderboardsRetrieveListener", "IStats_8h.html#ga4589cbd5c6f72cd32d8ca1be3727c40e", null ], - [ "GlobalStatsAndAchievementsStoreListener", "IStats_8h.html#ga9b1ef7633d163287db3aa62ab78e3753", null ], - [ "GlobalUserStatsAndAchievementsRetrieveListener", "IStats_8h.html#gac3cf027a203549ba1f6113fbb93c6c07", null ], - [ "GlobalUserTimePlayedRetrieveListener", "IStats_8h.html#gae0423734fc66c07bccc6a200c7d9f650", null ], - [ "LeaderboardDisplayType", "IStats_8h.html#gab796d71880cf4101dbb210bf989ba9b8", [ - [ "LEADERBOARD_DISPLAY_TYPE_NONE", "IStats_8h.html#ggab796d71880cf4101dbb210bf989ba9b8acf3e4c70e50968117fc9df97876e57fa", null ], - [ "LEADERBOARD_DISPLAY_TYPE_NUMBER", "IStats_8h.html#ggab796d71880cf4101dbb210bf989ba9b8a411b8879f4ef91afb5307621a2a41efe", null ], - [ "LEADERBOARD_DISPLAY_TYPE_TIME_SECONDS", "IStats_8h.html#ggab796d71880cf4101dbb210bf989ba9b8a6fde1620af398c1ad1de2c35d764aa6a", null ], - [ "LEADERBOARD_DISPLAY_TYPE_TIME_MILLISECONDS", "IStats_8h.html#ggab796d71880cf4101dbb210bf989ba9b8adc0b1d18956e22e98935a8c341b24d78", null ] - ] ], - [ "LeaderboardSortMethod", "IStats_8h.html#ga6f93e1660335ee7866cb354ab5f8cd90", [ - [ "LEADERBOARD_SORT_METHOD_NONE", "IStats_8h.html#gga6f93e1660335ee7866cb354ab5f8cd90a3bc5085e90a842f574d928063e6c0d77", null ], - [ "LEADERBOARD_SORT_METHOD_ASCENDING", "IStats_8h.html#gga6f93e1660335ee7866cb354ab5f8cd90aa0d841ca8ac0568098b7955f7375b2b4", null ], - [ "LEADERBOARD_SORT_METHOD_DESCENDING", "IStats_8h.html#gga6f93e1660335ee7866cb354ab5f8cd90a8c28fa9480d452129a289a7c61115322", null ] - ] ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/IStats_8h__dep__incl.map b/vendors/galaxy/Docs/IStats_8h__dep__incl.map deleted file mode 100644 index 5e60c9825..000000000 --- a/vendors/galaxy/Docs/IStats_8h__dep__incl.map +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/vendors/galaxy/Docs/IStats_8h__dep__incl.md5 b/vendors/galaxy/Docs/IStats_8h__dep__incl.md5 deleted file mode 100644 index 35f5bc06f..000000000 --- a/vendors/galaxy/Docs/IStats_8h__dep__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -3ed046559370ca87f8558ee30f099664 \ No newline at end of file diff --git a/vendors/galaxy/Docs/IStats_8h__dep__incl.svg b/vendors/galaxy/Docs/IStats_8h__dep__incl.svg deleted file mode 100644 index 9a4212e06..000000000 --- a/vendors/galaxy/Docs/IStats_8h__dep__incl.svg +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - -IStats.h - - -Node7 - - -IStats.h - - - - -Node8 - - -GalaxyApi.h - - - - -Node7->Node8 - - - - - diff --git a/vendors/galaxy/Docs/IStats_8h__incl.map b/vendors/galaxy/Docs/IStats_8h__incl.map deleted file mode 100644 index 0b0a7d543..000000000 --- a/vendors/galaxy/Docs/IStats_8h__incl.map +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/vendors/galaxy/Docs/IStats_8h__incl.md5 b/vendors/galaxy/Docs/IStats_8h__incl.md5 deleted file mode 100644 index 2b8b87557..000000000 --- a/vendors/galaxy/Docs/IStats_8h__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -0eaa74727c83981fe2f143881d490988 \ No newline at end of file diff --git a/vendors/galaxy/Docs/IStats_8h__incl.svg b/vendors/galaxy/Docs/IStats_8h__incl.svg deleted file mode 100644 index a2969f128..000000000 --- a/vendors/galaxy/Docs/IStats_8h__incl.svg +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - -IStats.h - - -Node0 - - -IStats.h - - - - -Node1 - - -IListenerRegistrar.h - - - - -Node0->Node1 - - - - -Node5 - - -GalaxyID.h - - - - -Node0->Node5 - - - - -Node2 - - -stdint.h - - - - -Node1->Node2 - - - - -Node3 - - -stdlib.h - - - - -Node1->Node3 - - - - -Node4 - - -GalaxyExport.h - - - - -Node1->Node4 - - - - -Node2->Node2 - - - - -Node5->Node2 - - - - -Node6 - - -assert.h - - - - -Node5->Node6 - - - - - diff --git a/vendors/galaxy/Docs/IStats_8h_source.html b/vendors/galaxy/Docs/IStats_8h_source.html deleted file mode 100644 index 898e9dc4d..000000000 --- a/vendors/galaxy/Docs/IStats_8h_source.html +++ /dev/null @@ -1,207 +0,0 @@ - - - - - - - -GOG Galaxy: IStats.h Source File - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
IStats.h
-
-
-Go to the documentation of this file.
1 #ifndef GALAXY_I_STATS_H
2 #define GALAXY_I_STATS_H
3 
9 #include "IListenerRegistrar.h"
10 #include "GalaxyID.h"
11 
12 namespace galaxy
13 {
14  namespace api
15  {
25  {
29  };
30 
35  {
40  };
41 
46  class IUserStatsAndAchievementsRetrieveListener : public GalaxyTypeAwareListener<USER_STATS_AND_ACHIEVEMENTS_RETRIEVE>
47  {
48  public:
49 
61  virtual void OnUserStatsAndAchievementsRetrieveSuccess(GalaxyID userID) = 0;
62 
67  {
70  };
71 
79  virtual void OnUserStatsAndAchievementsRetrieveFailure(GalaxyID userID, FailureReason failureReason) = 0;
80  };
81 
86 
90  class IStatsAndAchievementsStoreListener : public GalaxyTypeAwareListener<STATS_AND_ACHIEVEMENTS_STORE>
91  {
92  public:
93 
98  virtual void OnUserStatsAndAchievementsStoreSuccess() = 0;
99 
104  {
107  };
108 
115  virtual void OnUserStatsAndAchievementsStoreFailure(FailureReason failureReason) = 0;
116  };
117 
122 
126  class IAchievementChangeListener : public GalaxyTypeAwareListener<ACHIEVEMENT_CHANGE>
127  {
128  public:
129 
130  // // /**
131  // // * Notification for the event of changing progress in unlocking
132  // // * a particular achievement.
133  // // *
134  // // * @param [in] name The code name of the achievement.
135  // // * @param [in] currentProgress Current value of progress for the achievement.
136  // // * @param [in] maxProgress The maximum value of progress for the achievement.
137  // // */
138  // // void OnAchievementProgressChanged(const char* name, uint32_t currentProgress, uint32_t maxProgress) = 0;
139 
146  virtual void OnAchievementUnlocked(const char* name) = 0;
147  };
148 
153 
157  class ILeaderboardsRetrieveListener : public GalaxyTypeAwareListener<LEADERBOARDS_RETRIEVE>
158  {
159  public:
160 
170  virtual void OnLeaderboardsRetrieveSuccess() = 0;
171 
176  {
179  };
180 
186  virtual void OnLeaderboardsRetrieveFailure(FailureReason failureReason) = 0;
187  };
188 
193 
197  class ILeaderboardEntriesRetrieveListener : public GalaxyTypeAwareListener<LEADERBOARD_ENTRIES_RETRIEVE>
198  {
199  public:
200 
209  virtual void OnLeaderboardEntriesRetrieveSuccess(const char* name, uint32_t entryCount) = 0;
210 
215  {
219  };
220 
227  virtual void OnLeaderboardEntriesRetrieveFailure(const char* name, FailureReason failureReason) = 0;
228  };
229 
234 
238  class ILeaderboardScoreUpdateListener : public GalaxyTypeAwareListener<LEADERBOARD_SCORE_UPDATE_LISTENER>
239  {
240  public:
241 
250  virtual void OnLeaderboardScoreUpdateSuccess(const char* name, int32_t score, uint32_t oldRank, uint32_t newRank) = 0;
251 
256  {
260  };
261 
269  virtual void OnLeaderboardScoreUpdateFailure(const char* name, int32_t score, FailureReason failureReason) = 0;
270  };
271 
276 
280  class ILeaderboardRetrieveListener : public GalaxyTypeAwareListener<LEADERBOARD_RETRIEVE>
281  {
282  public:
283 
295  virtual void OnLeaderboardRetrieveSuccess(const char* name) = 0;
296 
301  {
304  };
305 
312  virtual void OnLeaderboardRetrieveFailure(const char* name, FailureReason failureReason) = 0;
313  };
314 
319 
323  class IUserTimePlayedRetrieveListener : public GalaxyTypeAwareListener<USER_TIME_PLAYED_RETRIEVE>
324  {
325  public:
326 
334  virtual void OnUserTimePlayedRetrieveSuccess(GalaxyID userID) = 0;
335 
340  {
343  };
344 
351  virtual void OnUserTimePlayedRetrieveFailure(GalaxyID userID, FailureReason failureReason) = 0;
352  };
353 
358 
362  class IStats
363  {
364  public:
365 
366  virtual ~IStats()
367  {
368  }
369 
379  virtual void RequestUserStatsAndAchievements(GalaxyID userID = GalaxyID(), IUserStatsAndAchievementsRetrieveListener* const listener = NULL) = 0;
380 
390  virtual int32_t GetStatInt(const char* name, GalaxyID userID = GalaxyID()) = 0;
391 
401  virtual float GetStatFloat(const char* name, GalaxyID userID = GalaxyID()) = 0;
402 
413  virtual void SetStatInt(const char* name, int32_t value) = 0;
414 
425  virtual void SetStatFloat(const char* name, float value) = 0;
426 
438  virtual void UpdateAvgRateStat(const char* name, float countThisSession, double sessionLength) = 0;
439 
450  virtual void GetAchievement(const char* name, bool& unlocked, uint32_t& unlockTime, GalaxyID userID = GalaxyID()) = 0;
451 
462  virtual void SetAchievement(const char* name) = 0;
463 
473  virtual void ClearAchievement(const char* name) = 0;
474 
486  virtual void StoreStatsAndAchievements(IStatsAndAchievementsStoreListener* const listener = NULL) = 0;
487 
499  virtual void ResetStatsAndAchievements(IStatsAndAchievementsStoreListener* const listener = NULL) = 0;
500 
511  virtual const char* GetAchievementDisplayName(const char* name) = 0;
512 
522  virtual void GetAchievementDisplayNameCopy(const char* name, char* buffer, uint32_t bufferLength) = 0;
523 
534  virtual const char* GetAchievementDescription(const char* name) = 0;
535 
545  virtual void GetAchievementDescriptionCopy(const char* name, char* buffer, uint32_t bufferLength) = 0;
546 
555  virtual bool IsAchievementVisible(const char* name) = 0;
556 
565  virtual bool IsAchievementVisibleWhileLocked(const char* name) = 0;
566 
574  virtual void RequestLeaderboards(ILeaderboardsRetrieveListener* const listener = NULL) = 0;
575 
588  virtual const char* GetLeaderboardDisplayName(const char* name) = 0;
589 
601  virtual void GetLeaderboardDisplayNameCopy(const char* name, char* buffer, uint32_t bufferLength) = 0;
602 
613  virtual LeaderboardSortMethod GetLeaderboardSortMethod(const char* name) = 0;
614 
625  virtual LeaderboardDisplayType GetLeaderboardDisplayType(const char* name) = 0;
626 
644  virtual void RequestLeaderboardEntriesGlobal(
645  const char* name,
646  uint32_t rangeStart,
647  uint32_t rangeEnd,
648  ILeaderboardEntriesRetrieveListener* const listener = NULL) = 0;
649 
673  const char* name,
674  uint32_t countBefore,
675  uint32_t countAfter,
676  GalaxyID userID = GalaxyID(),
677  ILeaderboardEntriesRetrieveListener* const listener = NULL) = 0;
678 
694  const char* name,
695  GalaxyID* userArray,
696  uint32_t userArraySize,
697  ILeaderboardEntriesRetrieveListener* const listener = NULL) = 0;
698 
716  virtual void GetRequestedLeaderboardEntry(uint32_t index, uint32_t& rank, int32_t& score, GalaxyID& userID) = 0;
717 
742  uint32_t index,
743  uint32_t& rank,
744  int32_t& score,
745  void* details,
746  uint32_t detailsSize,
747  uint32_t& outDetailsSize,
748  GalaxyID& userID) = 0;
749 
767  virtual void SetLeaderboardScore(
768  const char* name,
769  int32_t score,
770  bool forceUpdate = false,
771  ILeaderboardScoreUpdateListener* const listener = NULL) = 0;
772 
792  virtual void SetLeaderboardScoreWithDetails(
793  const char* name,
794  int32_t score,
795  const void* details,
796  uint32_t detailsSize,
797  bool forceUpdate = false,
798  ILeaderboardScoreUpdateListener* const listener = NULL) = 0;
799 
810  virtual uint32_t GetLeaderboardEntryCount(const char* name) = 0;
811 
820  virtual void FindLeaderboard(const char* name, ILeaderboardRetrieveListener* const listener = NULL) = 0;
821 
838  virtual void FindOrCreateLeaderboard(
839  const char* name,
840  const char* displayName,
841  const LeaderboardSortMethod& sortMethod,
842  const LeaderboardDisplayType& displayType,
843  ILeaderboardRetrieveListener* const listener = NULL) = 0;
844 
853  virtual void RequestUserTimePlayed(GalaxyID userID = GalaxyID(), IUserTimePlayedRetrieveListener* const listener = NULL) = 0;
854 
863  virtual uint32_t GetUserTimePlayed(GalaxyID userID = GalaxyID()) = 0;
864  };
865 
867  }
868 }
869 
870 #endif
SelfRegisteringListener< ILeaderboardRetrieveListener > GlobalLeaderboardRetrieveListener
Globally self-registering version of a ILeaderboardRetrieveListener.
Definition: IStats.h:318
-
Listener for the event of retrieving requested entries of a leaderboard.
Definition: IStats.h:197
-
virtual void OnLeaderboardScoreUpdateSuccess(const char *name, int32_t score, uint32_t oldRank, uint32_t newRank)=0
Notification for the event of a success in setting score in a leaderboard.
-
virtual uint32_t GetUserTimePlayed(GalaxyID userID=GalaxyID())=0
Reads the number of seconds played by a specified user.
-
virtual float GetStatFloat(const char *name, GalaxyID userID=GalaxyID())=0
Reads floating point value of a statistic of a specified user.
- -
virtual void OnUserTimePlayedRetrieveFailure(GalaxyID userID, FailureReason failureReason)=0
Notification for the event of a failure in retrieving user time played.
- - -
virtual void GetRequestedLeaderboardEntry(uint32_t index, uint32_t &rank, int32_t &score, GalaxyID &userID)=0
Returns data from the currently processed request for leaderboard entries.
-
Unable to communicate with backend services.
Definition: IStats.h:69
-
virtual void RequestUserTimePlayed(GalaxyID userID=GalaxyID(), IUserTimePlayedRetrieveListener *const listener=NULL)=0
Performs a request for user time played.
-
The score represents time, in seconds.
Definition: IStats.h:38
-
virtual const char * GetAchievementDisplayName(const char *name)=0
Returns display name of a specified achievement.
- -
The score represents time, in milliseconds.
Definition: IStats.h:39
-
Listener for the event of updating score in a leaderboard.
Definition: IStats.h:238
-
virtual void OnUserStatsAndAchievementsStoreSuccess()=0
Notification for the event of success in storing statistics and achievements.
-
Listener for the event of retrieving definition of a leaderboard.
Definition: IStats.h:280
-
virtual void RequestLeaderboardEntriesForUsers(const char *name, GalaxyID *userArray, uint32_t userArraySize, ILeaderboardEntriesRetrieveListener *const listener=NULL)=0
Performs a request for entries of a specified leaderboard for specified users.
-
virtual void OnLeaderboardScoreUpdateFailure(const char *name, int32_t score, FailureReason failureReason)=0
The reason of a failure in updating score in a leaderboard.
-
FailureReason
The reason of a failure in storing statistics and achievements.
Definition: IStats.h:103
-
virtual void SetStatFloat(const char *name, float value)=0
Updates a statistic with a floating point value.
-
Listener for the event of retrieving user time played.
Definition: IStats.h:323
-
Unable to communicate with backend services.
Definition: IStats.h:342
-
Unable to communicate with backend services.
Definition: IStats.h:259
-
The class that is inherited by all specific callback listeners and provides a static method that retu...
Definition: IListenerRegistrar.h:112
-
virtual void SetStatInt(const char *name, int32_t value)=0
Updates a statistic with an integer value.
-
virtual void OnUserStatsAndAchievementsRetrieveFailure(GalaxyID userID, FailureReason failureReason)=0
Notification for the event of a failure in retrieving statistics and achievements for a specified use...
-
virtual void SetAchievement(const char *name)=0
Unlocks an achievement.
-
Listener for the event of retrieving definitions of leaderboards.
Definition: IStats.h:157
-
Unable to communicate with backend services.
Definition: IStats.h:178
-
Represents the ID of an entity used by Galaxy Peer.
Definition: GalaxyID.h:29
-
virtual void OnUserStatsAndAchievementsStoreFailure(FailureReason failureReason)=0
Notification for the event of a failure in storing statistics and achievements.
-
virtual void FindLeaderboard(const char *name, ILeaderboardRetrieveListener *const listener=NULL)=0
Performs a request for definition of a specified leaderboard.
-
FailureReason
The reason of a failure in retrieving definitions of leaderboards.
Definition: IStats.h:175
-
SelfRegisteringListener< ILeaderboardEntriesRetrieveListener > GlobalLeaderboardEntriesRetrieveListener
Globally self-registering version of a ILeaderboardEntriesRetrieveListener.
Definition: IStats.h:233
- -
Unable to communicate with backend services.
Definition: IStats.h:106
-
virtual bool IsAchievementVisibleWhileLocked(const char *name)=0
Returns visibility status of a specified achievement before unlocking.
-
virtual void SetLeaderboardScoreWithDetails(const char *name, int32_t score, const void *details, uint32_t detailsSize, bool forceUpdate=false, ILeaderboardScoreUpdateListener *const listener=NULL)=0
Updates entry with details for own user in a specified leaderboard.
-
SelfRegisteringListener< IUserStatsAndAchievementsRetrieveListener > GlobalUserStatsAndAchievementsRetrieveListener
Globally self-registering version of IUserStatsAndAchievementsRetrieveListener.
Definition: IStats.h:85
-
virtual void OnLeaderboardRetrieveFailure(const char *name, FailureReason failureReason)=0
Notification for the event of a failure in retrieving definition of a leaderboard.
-
virtual void OnLeaderboardsRetrieveFailure(FailureReason failureReason)=0
Notification for the event of a failure in retrieving definitions of leaderboards.
-
Could not find any entries for specified search criteria.
Definition: IStats.h:217
-
virtual void GetRequestedLeaderboardEntryWithDetails(uint32_t index, uint32_t &rank, int32_t &score, void *details, uint32_t detailsSize, uint32_t &outDetailsSize, GalaxyID &userID)=0
Returns data with details from the currently processed request for leaderboard entries.
-
virtual void RequestLeaderboards(ILeaderboardsRetrieveListener *const listener=NULL)=0
Performs a request for definitions of leaderboards.
-
virtual void OnLeaderboardRetrieveSuccess(const char *name)=0
Notification for the event of a success in retrieving definition of a leaderboard.
-
virtual void GetLeaderboardDisplayNameCopy(const char *name, char *buffer, uint32_t bufferLength)=0
Copies display name of a specified leaderboard.
-
virtual const char * GetLeaderboardDisplayName(const char *name)=0
Returns display name of a specified leaderboard.
-
virtual void OnAchievementUnlocked(const char *name)=0
Notification for the event of storing changes that result in unlocking a particular achievement.
-
virtual void OnLeaderboardEntriesRetrieveSuccess(const char *name, uint32_t entryCount)=0
Notification for the event of a success in retrieving requested entries of a leaderboard.
-
No sorting method specified.
Definition: IStats.h:26
-
virtual void OnUserTimePlayedRetrieveSuccess(GalaxyID userID)=0
Notification for the event of a success in retrieving user time played.
-
Top score is highest number.
Definition: IStats.h:28
-
virtual void GetAchievementDescriptionCopy(const char *name, char *buffer, uint32_t bufferLength)=0
Copies description of a specified achievement.
-
virtual LeaderboardSortMethod GetLeaderboardSortMethod(const char *name)=0
Returns sort method of a specified leaderboard.
-
Listener for the event of retrieving statistics and achievements of a specified user,...
Definition: IStats.h:46
-
virtual LeaderboardDisplayType GetLeaderboardDisplayType(const char *name)=0
Returns display type of a specified leaderboard.
-
SelfRegisteringListener< ILeaderboardScoreUpdateListener > GlobalLeaderboardScoreUpdateListener
Globally self-registering version of a ILeaderboardScoreUpdateListener.
Definition: IStats.h:275
-
virtual void OnLeaderboardsRetrieveSuccess()=0
Notification for the event of a success in retrieving definitions of leaderboards.
-
virtual void ClearAchievement(const char *name)=0
Clears an achievement.
-
FailureReason
The reason of a failure in retrieving requested entries of a leaderboard.
Definition: IStats.h:214
-
Listener for the event of changing an achievement.
Definition: IStats.h:126
-
The class that is inherited by the self-registering versions of all specific callback listeners.
Definition: IListenerRegistrar.h:206
-
virtual uint32_t GetLeaderboardEntryCount(const char *name)=0
Returns the leaderboard entry count for requested leaderboard.
-
virtual void FindOrCreateLeaderboard(const char *name, const char *displayName, const LeaderboardSortMethod &sortMethod, const LeaderboardDisplayType &displayType, ILeaderboardRetrieveListener *const listener=NULL)=0
Performs a request for definition of a specified leaderboard, creating it if there is no such leaderb...
-
virtual void OnUserStatsAndAchievementsRetrieveSuccess(GalaxyID userID)=0
Notification for the event of success in retrieving statistics and achievements for a specified user.
-
Unable to communicate with backend services.
Definition: IStats.h:303
-
virtual void UpdateAvgRateStat(const char *name, float countThisSession, double sessionLength)=0
Updates an average-rate statistic with a delta.
-
virtual void GetAchievement(const char *name, bool &unlocked, uint32_t &unlockTime, GalaxyID userID=GalaxyID())=0
Reads the state of an achievement of a specified user.
-
LeaderboardSortMethod
The sort order of a leaderboard.
Definition: IStats.h:24
-
Contains GalaxyID, which is the class that represents the ID of an entity used by Galaxy Peer.
- -
Listener for the event of storing own statistics and achievements.
Definition: IStats.h:90
-
virtual void OnLeaderboardEntriesRetrieveFailure(const char *name, FailureReason failureReason)=0
Notification for the event of a failure in retrieving requested entries of a leaderboard.
-
virtual void StoreStatsAndAchievements(IStatsAndAchievementsStoreListener *const listener=NULL)=0
Persists all changes in statistics and achievements.
-
SelfRegisteringListener< IAchievementChangeListener > GlobalAchievementChangeListener
Globally self-registering version of IAchievementChangeListener.
Definition: IStats.h:152
-
virtual void RequestLeaderboardEntriesGlobal(const char *name, uint32_t rangeStart, uint32_t rangeEnd, ILeaderboardEntriesRetrieveListener *const listener=NULL)=0
Performs a request for entries of a specified leaderboard in a global scope, i.e.
-
FailureReason
The reason of a failure in retrieving user time played.
Definition: IStats.h:339
-
Contains data structures and interfaces related to callback listeners.
- -
FailureReason
The reason of a failure in retrieving statistics and achievements.
Definition: IStats.h:66
-
FailureReason
The reason of a failure in updating score in a leaderboard.
Definition: IStats.h:255
-
SelfRegisteringListener< ILeaderboardsRetrieveListener > GlobalLeaderboardsRetrieveListener
Globally self-registering version of a ILeaderboardsRetrieveListener.
Definition: IStats.h:192
-
virtual bool IsAchievementVisible(const char *name)=0
Returns visibility status of a specified achievement.
-
SelfRegisteringListener< IUserTimePlayedRetrieveListener > GlobalUserTimePlayedRetrieveListener
Globally self-registering version of a IUserTimePlayedRetrieveListener.
Definition: IStats.h:357
-
SelfRegisteringListener< IStatsAndAchievementsStoreListener > GlobalStatsAndAchievementsStoreListener
Globally self-registering version of IStatsAndAchievementsStoreListener.
Definition: IStats.h:121
-
Top score is lowest number.
Definition: IStats.h:27
-
The interface for managing statistics, achievements and leaderboards.
Definition: IStats.h:362
-
Not display type specified.
Definition: IStats.h:36
-
virtual void GetAchievementDisplayNameCopy(const char *name, char *buffer, uint32_t bufferLength)=0
Copies display name of a specified achievement.
-
virtual void ResetStatsAndAchievements(IStatsAndAchievementsStoreListener *const listener=NULL)=0
Resets all statistics and achievements.
-
Unable to communicate with backend services.
Definition: IStats.h:218
-
virtual const char * GetAchievementDescription(const char *name)=0
Returns description of a specified achievement.
-
Previous score was better and the update operation was not forced.
Definition: IStats.h:258
-
FailureReason
The reason of a failure in retrieving definition of a leaderboard.
Definition: IStats.h:300
-
Simple numerical score.
Definition: IStats.h:37
-
virtual void RequestUserStatsAndAchievements(GalaxyID userID=GalaxyID(), IUserStatsAndAchievementsRetrieveListener *const listener=NULL)=0
Performs a request for statistics and achievements of a specified user.
-
LeaderboardDisplayType
The display type of a leaderboard.
Definition: IStats.h:34
-
virtual int32_t GetStatInt(const char *name, GalaxyID userID=GalaxyID())=0
Reads integer value of a statistic of a specified user.
-
virtual void RequestLeaderboardEntriesAroundUser(const char *name, uint32_t countBefore, uint32_t countAfter, GalaxyID userID=GalaxyID(), ILeaderboardEntriesRetrieveListener *const listener=NULL)=0
Performs a request for entries of a specified leaderboard for and near the specified user.
-
virtual void SetLeaderboardScore(const char *name, int32_t score, bool forceUpdate=false, ILeaderboardScoreUpdateListener *const listener=NULL)=0
Updates entry for own user in a specified leaderboard.
-
-
- - - - diff --git a/vendors/galaxy/Docs/IStorage_8h.html b/vendors/galaxy/Docs/IStorage_8h.html deleted file mode 100644 index cee1f3c86..000000000 --- a/vendors/galaxy/Docs/IStorage_8h.html +++ /dev/null @@ -1,156 +0,0 @@ - - - - - - - -GOG Galaxy: IStorage.h File Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
IStorage.h File Reference
-
-
- -

Contains data structures and interfaces related to storage activities. -More...

-
#include "GalaxyID.h"
-#include "IListenerRegistrar.h"
-
-Include dependency graph for IStorage.h:
-
-
-
-
-
-This graph shows which files directly or indirectly include this file:
-
-
-
-
-
-

Go to the source code of this file.

- - - - - - - - - - - -

-Classes

class  IFileShareListener
 Listener for the event of sharing a file. More...
 
class  ISharedFileDownloadListener
 Listener for the event of downloading a shared file. More...
 
class  IStorage
 The interface for managing of cloud storage files. More...
 
- - - - - - - - - - -

-Typedefs

-typedef uint64_t SharedFileID
 ID of a shared file.
 
-typedef SelfRegisteringListener< IFileShareListener > GlobalFileShareListener
 Globally self-registering version of IFileShareListener.
 
-typedef SelfRegisteringListener< ISharedFileDownloadListener > GlobalSharedFileDownloadListener
 Globally self-registering version of ISharedFileDownloadListener.
 
-

Detailed Description

-

Contains data structures and interfaces related to storage activities.

-
-
- - - - diff --git a/vendors/galaxy/Docs/IStorage_8h.js b/vendors/galaxy/Docs/IStorage_8h.js deleted file mode 100644 index 9e4b7595f..000000000 --- a/vendors/galaxy/Docs/IStorage_8h.js +++ /dev/null @@ -1,6 +0,0 @@ -var IStorage_8h = -[ - [ "GlobalFileShareListener", "IStorage_8h.html#gaac61eec576910c28aa27ff52f75871af", null ], - [ "GlobalSharedFileDownloadListener", "IStorage_8h.html#ga50ce8adee98df4b6d72e1ff4b1a93b0d", null ], - [ "SharedFileID", "IStorage_8h.html#ga34a0c4ac76186b86e6c596d38a0e2042", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/IStorage_8h__dep__incl.map b/vendors/galaxy/Docs/IStorage_8h__dep__incl.map deleted file mode 100644 index 9395710ca..000000000 --- a/vendors/galaxy/Docs/IStorage_8h__dep__incl.map +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/vendors/galaxy/Docs/IStorage_8h__dep__incl.md5 b/vendors/galaxy/Docs/IStorage_8h__dep__incl.md5 deleted file mode 100644 index 9afbee4c0..000000000 --- a/vendors/galaxy/Docs/IStorage_8h__dep__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -38d4000fc7fe50055f055b2a70e81303 \ No newline at end of file diff --git a/vendors/galaxy/Docs/IStorage_8h__dep__incl.svg b/vendors/galaxy/Docs/IStorage_8h__dep__incl.svg deleted file mode 100644 index 584d47db4..000000000 --- a/vendors/galaxy/Docs/IStorage_8h__dep__incl.svg +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - -IStorage.h - - -Node7 - - -IStorage.h - - - - -Node8 - - -GalaxyApi.h - - - - -Node7->Node8 - - - - - diff --git a/vendors/galaxy/Docs/IStorage_8h__incl.map b/vendors/galaxy/Docs/IStorage_8h__incl.map deleted file mode 100644 index b05049145..000000000 --- a/vendors/galaxy/Docs/IStorage_8h__incl.map +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/vendors/galaxy/Docs/IStorage_8h__incl.md5 b/vendors/galaxy/Docs/IStorage_8h__incl.md5 deleted file mode 100644 index 0ec81741e..000000000 --- a/vendors/galaxy/Docs/IStorage_8h__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -2f62ab4304a931cd87905341416a80c4 \ No newline at end of file diff --git a/vendors/galaxy/Docs/IStorage_8h__incl.svg b/vendors/galaxy/Docs/IStorage_8h__incl.svg deleted file mode 100644 index eb90ca8c5..000000000 --- a/vendors/galaxy/Docs/IStorage_8h__incl.svg +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - -IStorage.h - - -Node0 - - -IStorage.h - - - - -Node1 - - -GalaxyID.h - - - - -Node0->Node1 - - - - -Node4 - - -IListenerRegistrar.h - - - - -Node0->Node4 - - - - -Node2 - - -stdint.h - - - - -Node1->Node2 - - - - -Node3 - - -assert.h - - - - -Node1->Node3 - - - - -Node2->Node2 - - - - -Node4->Node2 - - - - -Node5 - - -stdlib.h - - - - -Node4->Node5 - - - - -Node6 - - -GalaxyExport.h - - - - -Node4->Node6 - - - - - diff --git a/vendors/galaxy/Docs/IStorage_8h_source.html b/vendors/galaxy/Docs/IStorage_8h_source.html deleted file mode 100644 index 30aa1e7df..000000000 --- a/vendors/galaxy/Docs/IStorage_8h_source.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - - - -GOG Galaxy: IStorage.h Source File - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
IStorage.h
-
-
-Go to the documentation of this file.
1 #ifndef GALAXY_I_STORAGE_H
2 #define GALAXY_I_STORAGE_H
3 
9 #include "GalaxyID.h"
10 #include "IListenerRegistrar.h"
11 
12 namespace galaxy
13 {
14  namespace api
15  {
24  typedef uint64_t SharedFileID;
25 
29  class IFileShareListener : public GalaxyTypeAwareListener<FILE_SHARE>
30  {
31  public:
32 
39  virtual void OnFileShareSuccess(const char* fileName, SharedFileID sharedFileID) = 0;
40 
45  {
48  };
49 
56  virtual void OnFileShareFailure(const char* fileName, FailureReason failureReason) = 0;
57  };
58 
63 
67  class ISharedFileDownloadListener : public GalaxyTypeAwareListener<SHARED_FILE_DOWNLOAD>
68  {
69  public:
70 
77  virtual void OnSharedFileDownloadSuccess(SharedFileID sharedFileID, const char* fileName) = 0;
78 
83  {
86  };
87 
94  virtual void OnSharedFileDownloadFailure(SharedFileID sharedFileID, FailureReason failureReason) = 0;
95  };
96 
101 
105  class IStorage
106  {
107  public:
108 
109  virtual ~IStorage()
110  {
111  }
112 
126  virtual void FileWrite(const char* fileName, const void* data, uint32_t dataSize) = 0;
127 
136  virtual uint32_t FileRead(const char* fileName, void* data, uint32_t dataSize) = 0;
137 
143  virtual void FileDelete(const char* fileName) = 0;
144 
151  virtual bool FileExists(const char* fileName) = 0;
152 
159  virtual uint32_t GetFileSize(const char* fileName) = 0;
160 
167  virtual uint32_t GetFileTimestamp(const char* fileName) = 0;
168 
174  virtual uint32_t GetFileCount() = 0;
175 
182  virtual const char* GetFileNameByIndex(uint32_t index) = 0;
183 
191  virtual void GetFileNameCopyByIndex(uint32_t index, char* buffer, uint32_t bufferLength) = 0;
192 
201  virtual void FileShare(const char* fileName, IFileShareListener* const listener = NULL) = 0;
202 
211  virtual void DownloadSharedFile(SharedFileID sharedFileID, ISharedFileDownloadListener* const listener = NULL) = 0;
212 
221  virtual const char* GetSharedFileName(SharedFileID sharedFileID) = 0;
222 
232  virtual void GetSharedFileNameCopy(SharedFileID sharedFileID, char* buffer, uint32_t bufferLength) = 0;
233 
242  virtual uint32_t GetSharedFileSize(SharedFileID sharedFileID) = 0;
243 
252  virtual GalaxyID GetSharedFileOwner(SharedFileID sharedFileID) = 0;
253 
265  virtual uint32_t SharedFileRead(SharedFileID sharedFileID, void* data, uint32_t dataSize, uint32_t offset = 0) = 0;
266 
276  virtual void SharedFileClose(SharedFileID sharedFileID) = 0;
277 
283  virtual uint32_t GetDownloadedSharedFileCount() = 0;
284 
291  virtual SharedFileID GetDownloadedSharedFileByIndex(uint32_t index) = 0;
292  };
293 
295  }
296 }
297 
298 #endif
virtual void OnFileShareSuccess(const char *fileName, SharedFileID sharedFileID)=0
Notification for the event of a success in sharing a file.
-
virtual void GetSharedFileNameCopy(SharedFileID sharedFileID, char *buffer, uint32_t bufferLength)=0
Copies the name of downloaded shared file to a buffer.
-
Unable to communicate with backend services.
Definition: IStorage.h:47
-
virtual SharedFileID GetDownloadedSharedFileByIndex(uint32_t index)=0
Returns the ID of the open downloaded shared file.
-
SelfRegisteringListener< IFileShareListener > GlobalFileShareListener
Globally self-registering version of IFileShareListener.
Definition: IStorage.h:62
-
virtual void DownloadSharedFile(SharedFileID sharedFileID, ISharedFileDownloadListener *const listener=NULL)=0
Downloads previously shared file.
-
The interface for managing of cloud storage files.
Definition: IStorage.h:105
-
FailureReason
The reason of a failure in downloading a shared file.
Definition: IStorage.h:82
-
virtual uint32_t GetFileCount()=0
Returns number of the files in the storage.
-
The class that is inherited by all specific callback listeners and provides a static method that retu...
Definition: IListenerRegistrar.h:112
-
Represents the ID of an entity used by Galaxy Peer.
Definition: GalaxyID.h:29
- -
virtual void FileShare(const char *fileName, IFileShareListener *const listener=NULL)=0
Uploads the file for sharing.
-
SelfRegisteringListener< ISharedFileDownloadListener > GlobalSharedFileDownloadListener
Globally self-registering version of ISharedFileDownloadListener.
Definition: IStorage.h:100
-
virtual const char * GetFileNameByIndex(uint32_t index)=0
Returns name of the file.
-
virtual bool FileExists(const char *fileName)=0
Returns if the file exists.
-
virtual void SharedFileClose(SharedFileID sharedFileID)=0
Closes downloaded shared file and frees the memory.
-
uint64_t SharedFileID
ID of a shared file.
Definition: IStorage.h:24
-
virtual void FileWrite(const char *fileName, const void *data, uint32_t dataSize)=0
Writes data into the file.
-
The class that is inherited by the self-registering versions of all specific callback listeners.
Definition: IListenerRegistrar.h:206
-
Contains GalaxyID, which is the class that represents the ID of an entity used by Galaxy Peer.
-
virtual uint32_t GetFileSize(const char *fileName)=0
Returns the size of the file.
-
virtual void OnSharedFileDownloadFailure(SharedFileID sharedFileID, FailureReason failureReason)=0
Notification for the event of a failure in downloading a shared file.
-
virtual void OnFileShareFailure(const char *fileName, FailureReason failureReason)=0
Notification for the event of a failure in sharing a file.
-
Listener for the event of sharing a file.
Definition: IStorage.h:29
-
Contains data structures and interfaces related to callback listeners.
-
virtual const char * GetSharedFileName(SharedFileID sharedFileID)=0
Gets name of downloaded shared file.
-
Unspecified error.
Definition: IStorage.h:46
-
virtual void GetFileNameCopyByIndex(uint32_t index, char *buffer, uint32_t bufferLength)=0
Copies the name of the file to a buffer.
-
virtual uint32_t SharedFileRead(SharedFileID sharedFileID, void *data, uint32_t dataSize, uint32_t offset=0)=0
Reads downloaded shared file content into the buffer.
-
FailureReason
The reason of a failure in sharing a file.
Definition: IStorage.h:44
-
virtual uint32_t GetSharedFileSize(SharedFileID sharedFileID)=0
Gets size of downloaded shared file.
-
virtual uint32_t GetDownloadedSharedFileCount()=0
Returns the number of open downloaded shared files.
-
virtual void OnSharedFileDownloadSuccess(SharedFileID sharedFileID, const char *fileName)=0
Notification for the event of a success in downloading a shared file.
-
virtual GalaxyID GetSharedFileOwner(SharedFileID sharedFileID)=0
Gets the owner of downloaded shared file.
-
Listener for the event of downloading a shared file.
Definition: IStorage.h:67
-
virtual uint32_t FileRead(const char *fileName, void *data, uint32_t dataSize)=0
Reads file content into the buffer.
-
Unable to communicate with backend services.
Definition: IStorage.h:85
-
virtual uint32_t GetFileTimestamp(const char *fileName)=0
Returns the timestamp of the last file modification.
-
virtual void FileDelete(const char *fileName)=0
Deletes the file.
-
-
- - - - diff --git a/vendors/galaxy/Docs/ITelemetry_8h.html b/vendors/galaxy/Docs/ITelemetry_8h.html deleted file mode 100644 index b26eb9ab1..000000000 --- a/vendors/galaxy/Docs/ITelemetry_8h.html +++ /dev/null @@ -1,148 +0,0 @@ - - - - - - - -GOG Galaxy: ITelemetry.h File Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
ITelemetry.h File Reference
-
-
- -

Contains data structures and interfaces related to telemetry. -More...

-
-Include dependency graph for ITelemetry.h:
-
-
-
-
-
-This graph shows which files directly or indirectly include this file:
-
-
-
-
-
-

Go to the source code of this file.

- - - - - - - - -

-Classes

class  ITelemetryEventSendListener
 Listener for the event of sending a telemetry event. More...
 
class  ITelemetry
 The interface for handling telemetry. More...
 
- - - - - - - -

-Typedefs

-typedef SelfRegisteringListener< ITelemetryEventSendListener > GlobalTelemetryEventSendListener
 Globally self-registering version of ITelemetryEventSendListener.
 
-typedef SelfRegisteringListener< ITelemetryEventSendListener, GameServerListenerRegistrar > GameServerGlobalTelemetryEventSendListener
 Globally self-registering version of ITelemetryEventSendListener for the Game Server.
 
-

Detailed Description

-

Contains data structures and interfaces related to telemetry.

-
-
- - - - diff --git a/vendors/galaxy/Docs/ITelemetry_8h.js b/vendors/galaxy/Docs/ITelemetry_8h.js deleted file mode 100644 index f552c60a2..000000000 --- a/vendors/galaxy/Docs/ITelemetry_8h.js +++ /dev/null @@ -1,5 +0,0 @@ -var ITelemetry_8h = -[ - [ "GameServerGlobalTelemetryEventSendListener", "ITelemetry_8h.html#ga7053fa90aae170eb1da2bc3c25aa22ff", null ], - [ "GlobalTelemetryEventSendListener", "ITelemetry_8h.html#ga8883450aaa7948285bd84a78aadea902", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/ITelemetry_8h__dep__incl.map b/vendors/galaxy/Docs/ITelemetry_8h__dep__incl.map deleted file mode 100644 index 5c4d89ff5..000000000 --- a/vendors/galaxy/Docs/ITelemetry_8h__dep__incl.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/vendors/galaxy/Docs/ITelemetry_8h__dep__incl.md5 b/vendors/galaxy/Docs/ITelemetry_8h__dep__incl.md5 deleted file mode 100644 index 27d87fdf8..000000000 --- a/vendors/galaxy/Docs/ITelemetry_8h__dep__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -9e7b8e85aab5e5ce075481476fc0cef9 \ No newline at end of file diff --git a/vendors/galaxy/Docs/ITelemetry_8h__dep__incl.svg b/vendors/galaxy/Docs/ITelemetry_8h__dep__incl.svg deleted file mode 100644 index fd5b22c34..000000000 --- a/vendors/galaxy/Docs/ITelemetry_8h__dep__incl.svg +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - -ITelemetry.h - - -Node5 - - -ITelemetry.h - - - - -Node6 - - -GalaxyApi.h - - - - -Node5->Node6 - - - - -Node7 - - -GalaxyGameServerApi.h - - - - -Node5->Node7 - - - - - diff --git a/vendors/galaxy/Docs/ITelemetry_8h__incl.map b/vendors/galaxy/Docs/ITelemetry_8h__incl.map deleted file mode 100644 index 8bb807761..000000000 --- a/vendors/galaxy/Docs/ITelemetry_8h__incl.map +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/vendors/galaxy/Docs/ITelemetry_8h__incl.md5 b/vendors/galaxy/Docs/ITelemetry_8h__incl.md5 deleted file mode 100644 index fd2669c72..000000000 --- a/vendors/galaxy/Docs/ITelemetry_8h__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -99bcafac3ccecfc12147d9a099afca44 \ No newline at end of file diff --git a/vendors/galaxy/Docs/ITelemetry_8h__incl.svg b/vendors/galaxy/Docs/ITelemetry_8h__incl.svg deleted file mode 100644 index 5fe69e016..000000000 --- a/vendors/galaxy/Docs/ITelemetry_8h__incl.svg +++ /dev/null @@ -1,78 +0,0 @@ - - - - - - -ITelemetry.h - - -Node0 - - -ITelemetry.h - - - - -Node1 - - -IListenerRegistrar.h - - - - -Node0->Node1 - - - - -Node2 - - -stdint.h - - - - -Node1->Node2 - - - - -Node3 - - -stdlib.h - - - - -Node1->Node3 - - - - -Node4 - - -GalaxyExport.h - - - - -Node1->Node4 - - - - -Node2->Node2 - - - - - diff --git a/vendors/galaxy/Docs/ITelemetry_8h_source.html b/vendors/galaxy/Docs/ITelemetry_8h_source.html deleted file mode 100644 index 9dd3b51ba..000000000 --- a/vendors/galaxy/Docs/ITelemetry_8h_source.html +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - - -GOG Galaxy: ITelemetry.h Source File - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
ITelemetry.h
-
-
-Go to the documentation of this file.
1 #ifndef GALAXY_I_TELEMETRY_H
2 #define GALAXY_I_TELEMETRY_H
3 
9 #include "IListenerRegistrar.h"
10 
11 namespace galaxy
12 {
13  namespace api
14  {
23  class ITelemetryEventSendListener : public GalaxyTypeAwareListener<TELEMETRY_EVENT_SEND_LISTENER>
24  {
25  public:
26 
33  virtual void OnTelemetryEventSendSuccess(const char* eventType, uint32_t sentEventIndex) = 0;
34 
39  {
47  };
48 
56  virtual void OnTelemetryEventSendFailure(const char* eventType, uint32_t sentEventIndex, FailureReason failureReason) = 0;
57  };
58 
63 
64 
69 
73  class ITelemetry
74  {
75  public:
76 
77  virtual ~ITelemetry()
78  {
79  }
80 
92  virtual void AddStringParam(const char* name, const char* value) = 0;
93 
105  virtual void AddIntParam(const char* name, int32_t value) = 0;
106 
118  virtual void AddFloatParam(const char* name, double value) = 0;
119 
131  virtual void AddBoolParam(const char* name, bool value) = 0;
132 
147  virtual void AddObjectParam(const char* name) = 0;
148 
163  virtual void AddArrayParam(const char* name) = 0;
164 
174  virtual void CloseParam() = 0;
175 
181  virtual void ClearParams() = 0;
182 
183 
190  virtual void SetSamplingClass(const char* name) = 0;
191 
207  virtual uint32_t SendTelemetryEvent(const char* eventType, ITelemetryEventSendListener* const listener = NULL) = 0;
208 
224  virtual uint32_t SendAnonymousTelemetryEvent(const char* eventType, ITelemetryEventSendListener* const listener = NULL) = 0;
225 
233  virtual const char* GetVisitID() = 0;
234 
243  virtual void GetVisitIDCopy(char* buffer, uint32_t bufferLength) = 0;
244 
250  virtual void ResetVisitID() = 0;
251  };
252 
254  }
255 }
256 
257 #endif
virtual void AddObjectParam(const char *name)=0
Adds an object parameter to be applied next time you call SendTelemetryEvent() or SendAnonymousTeleme...
-
The class that is inherited by all specific callback listeners and provides a static method that retu...
Definition: IListenerRegistrar.h:112
-
Unspecified error.
Definition: ITelemetry.h:40
-
virtual void AddArrayParam(const char *name)=0
Adds an array parameter to be applied next time you call SendTelemetryEvent() or SendAnonymousTelemet...
-
virtual void CloseParam()=0
Closes an object or array parameter and leaves its scope.
-
virtual void AddBoolParam(const char *name, bool value)=0
Adds a boolean parameter to be applied next time you call SendTelemetryEvent() or SendAnonymousTeleme...
-
virtual void GetVisitIDCopy(char *buffer, uint32_t bufferLength)=0
Copies current VisitID.
-
virtual uint32_t SendAnonymousTelemetryEvent(const char *eventType, ITelemetryEventSendListener *const listener=NULL)=0
Sends an anonymous telemetry event.
-
virtual const char * GetVisitID()=0
Retrieves current VisitID.
-
Sending telemetry events is forbidden for this application.
Definition: ITelemetry.h:41
-
The event of given type and form does not match specification.
Definition: ITelemetry.h:42
-
virtual void OnTelemetryEventSendSuccess(const char *eventType, uint32_t sentEventIndex)=0
Notification for the event of sending a telemetry event.
-
virtual void ClearParams()=0
Clears all parameters that may have been set so far at any level.
-
virtual void AddFloatParam(const char *name, double value)=0
Adds a float parameter to be applied next time you call SendTelemetryEvent() or SendAnonymousTelemetr...
-
The interface for handling telemetry.
Definition: ITelemetry.h:73
-
virtual void SetSamplingClass(const char *name)=0
Sets a sampling class to be applied next time you call SendTelemetryEvent() or SendAnonymousTelemetry...
-
The class that is inherited by the self-registering versions of all specific callback listeners.
Definition: IListenerRegistrar.h:206
-
virtual uint32_t SendTelemetryEvent(const char *eventType, ITelemetryEventSendListener *const listener=NULL)=0
Sends a telemetry event.
-
SelfRegisteringListener< ITelemetryEventSendListener > GlobalTelemetryEventSendListener
Globally self-registering version of ITelemetryEventSendListener.
Definition: ITelemetry.h:62
-
SelfRegisteringListener< ITelemetryEventSendListener, GameServerListenerRegistrar > GameServerGlobalTelemetryEventSendListener
Globally self-registering version of ITelemetryEventSendListener for the Game Server.
Definition: ITelemetry.h:68
-
virtual void OnTelemetryEventSendFailure(const char *eventType, uint32_t sentEventIndex, FailureReason failureReason)=0
Notification for the event of a failure in sending a telemetry event.
-
Contains data structures and interfaces related to callback listeners.
-
Listener for the event of sending a telemetry event.
Definition: ITelemetry.h:23
-
virtual void ResetVisitID()=0
Resets current VisitID.
-
The event sampling class not present in configuration.
Definition: ITelemetry.h:44
-
Sampling class' field not present in the event.
Definition: ITelemetry.h:45
-
FailureReason
The reason of a failure in sending a telemetry event.
Definition: ITelemetry.h:38
-
The event did not match sampling criteria.
Definition: ITelemetry.h:46
-
Unable to communicate with backend services.
Definition: ITelemetry.h:43
-
virtual void AddStringParam(const char *name, const char *value)=0
Adds a string parameter to be applied next time you call SendTelemetryEvent() or SendAnonymousTelemet...
-
virtual void AddIntParam(const char *name, int32_t value)=0
Adds an integer parameter to be applied next time you call SendTelemetryEvent() or SendAnonymousTelem...
-
-
- - - - diff --git a/vendors/galaxy/Docs/IUser_8h.html b/vendors/galaxy/Docs/IUser_8h.html deleted file mode 100644 index bc7f77d43..000000000 --- a/vendors/galaxy/Docs/IUser_8h.html +++ /dev/null @@ -1,219 +0,0 @@ - - - - - - - -GOG Galaxy: IUser.h File Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
IUser.h File Reference
-
-
- -

Contains data structures and interfaces related to user account. -More...

-
#include "GalaxyID.h"
-#include "IListenerRegistrar.h"
-
-Include dependency graph for IUser.h:
-
-
-
-
-
-This graph shows which files directly or indirectly include this file:
-
-
-
-
-
-

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - - - -

-Classes

class  IAuthListener
 Listener for the events related to user authentication. More...
 
class  IOtherSessionStartListener
 Listener for the events related to starting of other sessions. More...
 
class  IOperationalStateChangeListener
 Listener for the event of a change of the operational state. More...
 
class  IUserDataListener
 Listener for the events related to user data changes of current user only. More...
 
class  ISpecificUserDataListener
 Listener for the events related to user data changes. More...
 
class  IEncryptedAppTicketListener
 Listener for the event of retrieving a requested Encrypted App Ticket. More...
 
class  IAccessTokenListener
 Listener for the event of a change of current access token. More...
 
class  IUser
 The interface for handling the user account. More...
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Typedefs

-typedef uint64_t SessionID
 The ID of the session.
 
-typedef SelfRegisteringListener< IAuthListener > GlobalAuthListener
 Globally self-registering version of IAuthListener.
 
-typedef SelfRegisteringListener< IAuthListener, GameServerListenerRegistrar > GameServerGlobalAuthListener
 Globally self-registering version of IAuthListener for the Game Server.
 
-typedef SelfRegisteringListener< IOtherSessionStartListener > GlobalOtherSessionStartListener
 Globally self-registering version of IOtherSessionStartListener.
 
-typedef SelfRegisteringListener< IOtherSessionStartListener, GameServerListenerRegistrar > GameServerGlobalOtherSessionStartListener
 Globally self-registering version of IOtherSessionStartListener for the Game Server.
 
-typedef SelfRegisteringListener< IOperationalStateChangeListener > GlobalOperationalStateChangeListener
 Globally self-registering version of IOperationalStateChangeListener.
 
-typedef SelfRegisteringListener< IOperationalStateChangeListener, GameServerListenerRegistrar > GameServerGlobalOperationalStateChangeListener
 Globally self-registering version of IOperationalStateChangeListener for the GameServer.
 
-typedef SelfRegisteringListener< IUserDataListener > GlobalUserDataListener
 Globally self-registering version of IUserDataListener.
 
-typedef SelfRegisteringListener< IUserDataListener, GameServerListenerRegistrar > GameServerGlobalUserDataListener
 Globally self-registering version of IUserDataListener for the GameServer.
 
-typedef SelfRegisteringListener< ISpecificUserDataListener > GlobalSpecificUserDataListener
 Globally self-registering version of ISpecificUserDataListener.
 
-typedef SelfRegisteringListener< ISpecificUserDataListener, GameServerListenerRegistrar > GameServerGlobalSpecificUserDataListener
 Globally self-registering version of ISpecificUserDataListener for the Game Server.
 
-typedef SelfRegisteringListener< IEncryptedAppTicketListener > GlobalEncryptedAppTicketListener
 Globally self-registering version of IEncryptedAppTicketListener.
 
-typedef SelfRegisteringListener< IEncryptedAppTicketListener, GameServerListenerRegistrar > GameServerGlobalEncryptedAppTicketListener
 Globally self-registering version of IEncryptedAppTicketListener for the Game Server.
 
-typedef SelfRegisteringListener< IAccessTokenListener > GlobalAccessTokenListener
 Globally self-registering version of IAccessTokenListener.
 
-typedef SelfRegisteringListener< IAccessTokenListener, GameServerListenerRegistrar > GameServerGlobalAccessTokenListener
 Globally self-registering version of IAccessTokenListener for the GameServer.
 
-

Detailed Description

-

Contains data structures and interfaces related to user account.

-
-
- - - - diff --git a/vendors/galaxy/Docs/IUser_8h.js b/vendors/galaxy/Docs/IUser_8h.js deleted file mode 100644 index 7edfceda6..000000000 --- a/vendors/galaxy/Docs/IUser_8h.js +++ /dev/null @@ -1,18 +0,0 @@ -var IUser_8h = -[ - [ "GameServerGlobalAccessTokenListener", "IUser_8h.html#ga01aaf9ef2650abfdd465535a669cc783", null ], - [ "GameServerGlobalAuthListener", "IUser_8h.html#gaf49ff046f73b164653f2f22fb3048472", null ], - [ "GameServerGlobalEncryptedAppTicketListener", "IUser_8h.html#ga4b2e686d5a9fee3836dee6b8d182dfb0", null ], - [ "GameServerGlobalOperationalStateChangeListener", "IUser_8h.html#ga08d028797c5fb53d3a1502e87435ee05", null ], - [ "GameServerGlobalOtherSessionStartListener", "IUser_8h.html#ga8b71e4a7ee79182fdae702378031449a", null ], - [ "GameServerGlobalSpecificUserDataListener", "IUser_8h.html#gad751c2fa631b3d5a603394385f8242d6", null ], - [ "GameServerGlobalUserDataListener", "IUser_8h.html#ga72ea028bd25aa7f256121866792ceb8e", null ], - [ "GlobalAccessTokenListener", "IUser_8h.html#ga804f3e20630181e42c1b580d2f410142", null ], - [ "GlobalAuthListener", "IUser_8h.html#ga6430b7cce9464716b54205500f0b4346", null ], - [ "GlobalEncryptedAppTicketListener", "IUser_8h.html#gaa8de3ff05620ac2c86fdab97e98a8cac", null ], - [ "GlobalOperationalStateChangeListener", "IUser_8h.html#ga74c9ed60c6a4304258873b891a0a2936", null ], - [ "GlobalOtherSessionStartListener", "IUser_8h.html#ga13be6be40f64ce7797afb935f2110804", null ], - [ "GlobalSpecificUserDataListener", "IUser_8h.html#ga31328bf0404b71ad2c2b0d2dd19a0b34", null ], - [ "GlobalUserDataListener", "IUser_8h.html#ga3f4bbe02db1d395310b2ff6a5b4680df", null ], - [ "SessionID", "IUser_8h.html#ga9960a6aea752c9935ff46ffbcee98ad5", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/IUser_8h__dep__incl.map b/vendors/galaxy/Docs/IUser_8h__dep__incl.map deleted file mode 100644 index 83d4e27b2..000000000 --- a/vendors/galaxy/Docs/IUser_8h__dep__incl.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/vendors/galaxy/Docs/IUser_8h__dep__incl.md5 b/vendors/galaxy/Docs/IUser_8h__dep__incl.md5 deleted file mode 100644 index 5b99c2c51..000000000 --- a/vendors/galaxy/Docs/IUser_8h__dep__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -5d474a9c8fb646c48b696053c97575cc \ No newline at end of file diff --git a/vendors/galaxy/Docs/IUser_8h__dep__incl.svg b/vendors/galaxy/Docs/IUser_8h__dep__incl.svg deleted file mode 100644 index d51eaa4ca..000000000 --- a/vendors/galaxy/Docs/IUser_8h__dep__incl.svg +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - -IUser.h - - -Node7 - - -IUser.h - - - - -Node8 - - -GalaxyApi.h - - - - -Node7->Node8 - - - - -Node9 - - -GalaxyGameServerApi.h - - - - -Node7->Node9 - - - - - diff --git a/vendors/galaxy/Docs/IUser_8h__incl.map b/vendors/galaxy/Docs/IUser_8h__incl.map deleted file mode 100644 index 766f6e101..000000000 --- a/vendors/galaxy/Docs/IUser_8h__incl.map +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/vendors/galaxy/Docs/IUser_8h__incl.md5 b/vendors/galaxy/Docs/IUser_8h__incl.md5 deleted file mode 100644 index d4d4fb489..000000000 --- a/vendors/galaxy/Docs/IUser_8h__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -763ff5c8b67ddea67af78e3f73ba1ed1 \ No newline at end of file diff --git a/vendors/galaxy/Docs/IUser_8h__incl.svg b/vendors/galaxy/Docs/IUser_8h__incl.svg deleted file mode 100644 index e4d203e97..000000000 --- a/vendors/galaxy/Docs/IUser_8h__incl.svg +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - -IUser.h - - -Node0 - - -IUser.h - - - - -Node1 - - -GalaxyID.h - - - - -Node0->Node1 - - - - -Node4 - - -IListenerRegistrar.h - - - - -Node0->Node4 - - - - -Node2 - - -stdint.h - - - - -Node1->Node2 - - - - -Node3 - - -assert.h - - - - -Node1->Node3 - - - - -Node2->Node2 - - - - -Node4->Node2 - - - - -Node5 - - -stdlib.h - - - - -Node4->Node5 - - - - -Node6 - - -GalaxyExport.h - - - - -Node4->Node6 - - - - - diff --git a/vendors/galaxy/Docs/IUser_8h_source.html b/vendors/galaxy/Docs/IUser_8h_source.html deleted file mode 100644 index ae058b2b7..000000000 --- a/vendors/galaxy/Docs/IUser_8h_source.html +++ /dev/null @@ -1,188 +0,0 @@ - - - - - - - -GOG Galaxy: IUser.h Source File - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
IUser.h
-
-
-Go to the documentation of this file.
1 #ifndef GALAXY_I_USER_H
2 #define GALAXY_I_USER_H
3 
9 #include "GalaxyID.h"
10 #include "IListenerRegistrar.h"
11 
12 namespace galaxy
13 {
14  namespace api
15  {
24  typedef uint64_t SessionID;
25 
30  {
31  public:
32 
36  virtual void OnAuthSuccess() = 0;
37 
42  {
51  };
52 
58  virtual void OnAuthFailure(FailureReason failureReason) = 0;
59 
65  virtual void OnAuthLost() = 0;
66  };
67 
72 
77 
81  class IOtherSessionStartListener : public GalaxyTypeAwareListener<OTHER_SESSION_START>
82  {
83  public:
84 
88  virtual void OnOtherSessionStarted() = 0;
89  };
90 
95 
100 
104  class IOperationalStateChangeListener : public GalaxyTypeAwareListener<OPERATIONAL_STATE_CHANGE>
105  {
106  public:
107 
112  {
115  };
116 
122  virtual void OnOperationalStateChanged(uint32_t operationalState) = 0;
123  };
124 
129 
134 
141  class IUserDataListener : public GalaxyTypeAwareListener<USER_DATA>
142  {
143  public:
144 
148  virtual void OnUserDataUpdated() = 0;
149  };
150 
155 
160 
164  class ISpecificUserDataListener : public GalaxyTypeAwareListener<SPECIFIC_USER_DATA>
165  {
166  public:
167 
173  virtual void OnSpecificUserDataUpdated(GalaxyID userID) = 0;
174  };
175 
180 
185 
189  class IEncryptedAppTicketListener : public GalaxyTypeAwareListener<ENCRYPTED_APP_TICKET_RETRIEVE>
190  {
191  public:
192 
198  virtual void OnEncryptedAppTicketRetrieveSuccess() = 0;
199 
204  {
207  };
208 
214  virtual void OnEncryptedAppTicketRetrieveFailure(FailureReason failureReason) = 0;
215  };
216 
221 
226 
227 
231  class IAccessTokenListener : public GalaxyTypeAwareListener<ACCESS_TOKEN_CHANGE>
232  {
233  public:
234 
240  virtual void OnAccessTokenChanged() = 0;
241  };
242 
247 
252 
256  class IUser
257  {
258  public:
259 
260  virtual ~IUser()
261  {
262  }
263 
281  virtual bool SignedIn() = 0;
282 
288  virtual GalaxyID GetGalaxyID() = 0;
289 
306  virtual void SignInCredentials(const char* login, const char* password, IAuthListener* const listener = NULL) = 0;
307 
323  virtual void SignInToken(const char* refreshToken, IAuthListener* const listener = NULL) = 0;
324 
338  virtual void SignInLauncher(IAuthListener* const listener = NULL) = 0;
339 
354  virtual void SignInSteam(const void* steamAppTicket, uint32_t steamAppTicketSize, const char* personaName, IAuthListener* const listener = NULL) = 0;
355 
369  virtual void SignInEpic(const char* epicAccessToken, const char* epicUsername, IAuthListener* const listener = NULL) = 0;
370 
383  virtual void SignInGalaxy(bool requireOnline = false, IAuthListener* const listener = NULL) = 0;
384 
397  virtual void SignInUWP(IAuthListener* const listener = NULL) = 0;
398 
411  virtual void SignInPS4(const char* ps4ClientID, IAuthListener* const listener = NULL) = 0;
412 
425  virtual void SignInXB1(const char* xboxOneUserID, IAuthListener* const listener = NULL) = 0;
426 
442  virtual void SignInXBLive(const char* token, const char* signature, const char* marketplaceID, const char* locale, IAuthListener* const listener = NULL) = 0;
443 
455  virtual void SignInAnonymous(IAuthListener* const listener = NULL) = 0;
456 
467  virtual void SignInAnonymousTelemetry(IAuthListener* const listener = NULL) = 0;
468 
485  virtual void SignInServerKey(const char* serverKey, IAuthListener* const listener = NULL) = 0;
486 
495  virtual void SignOut() = 0;
496 
505  virtual void RequestUserData(GalaxyID userID = GalaxyID(), ISpecificUserDataListener* const listener = NULL) = 0;
506 
515  virtual bool IsUserDataAvailable(GalaxyID userID = GalaxyID()) = 0;
516 
528  virtual const char* GetUserData(const char* key, GalaxyID userID = GalaxyID()) = 0;
529 
540  virtual void GetUserDataCopy(const char* key, char* buffer, uint32_t bufferLength, GalaxyID userID = GalaxyID()) = 0;
541 
553  virtual void SetUserData(const char* key, const char* value, ISpecificUserDataListener* const listener = NULL) = 0;
554 
563  virtual uint32_t GetUserDataCount(GalaxyID userID = GalaxyID()) = 0;
564 
578  virtual bool GetUserDataByIndex(uint32_t index, char* key, uint32_t keyLength, char* value, uint32_t valueLength, GalaxyID userID = GalaxyID()) = 0;
579 
591  virtual void DeleteUserData(const char* key, ISpecificUserDataListener* const listener = NULL) = 0;
592 
605  virtual bool IsLoggedOn() = 0;
606 
616  virtual void RequestEncryptedAppTicket(const void* data, uint32_t dataSize, IEncryptedAppTicketListener* const listener = NULL) = 0;
617 
630  virtual void GetEncryptedAppTicket(void* encryptedAppTicket, uint32_t maxEncryptedAppTicketSize, uint32_t& currentEncryptedAppTicketSize) = 0;
631 
637  virtual SessionID GetSessionID() = 0;
638 
651  virtual const char* GetAccessToken() = 0;
652 
664  virtual void GetAccessTokenCopy(char* buffer, uint32_t bufferLength) = 0;
665 
687  virtual bool ReportInvalidAccessToken(const char* accessToken, const char* info = NULL) = 0;
688  };
689 
691  }
692 }
693 
694 #endif
Undefined error.
Definition: IUser.h:43
-
virtual void OnEncryptedAppTicketRetrieveSuccess()=0
Notification for an event of a success in retrieving the Encrypted App Ticket.
-
virtual void SignInPS4(const char *ps4ClientID, IAuthListener *const listener=NULL)=0
Authenticates the Galaxy Peer based on PS4 credentials.
-
virtual uint32_t GetUserDataCount(GalaxyID userID=GalaxyID())=0
Returns the number of entries in the user data storage.
-
virtual void SignInAnonymous(IAuthListener *const listener=NULL)=0
Authenticates the Galaxy Game Server anonymously.
-
Unable to match client credentials (ID, secret) or user credentials (username, password).
Definition: IUser.h:48
-
virtual void SignInUWP(IAuthListener *const listener=NULL)=0
Authenticates the Galaxy Peer based on Windows Store authentication in Universal Windows Platform app...
-
SelfRegisteringListener< IOtherSessionStartListener, GameServerListenerRegistrar > GameServerGlobalOtherSessionStartListener
Globally self-registering version of IOtherSessionStartListener for the Game Server.
Definition: IUser.h:99
-
Listener for the event of a change of current access token.
Definition: IUser.h:231
-
SelfRegisteringListener< ISpecificUserDataListener, GameServerListenerRegistrar > GameServerGlobalSpecificUserDataListener
Globally self-registering version of ISpecificUserDataListener for the Game Server.
Definition: IUser.h:184
-
OperationalState
Aspect of the operational state.
Definition: IUser.h:111
-
virtual void OnEncryptedAppTicketRetrieveFailure(FailureReason failureReason)=0
Notification for the event of a failure in retrieving an Encrypted App Ticket.
-
uint64_t SessionID
The ID of the session.
Definition: IUser.h:24
-
The class that is inherited by all specific callback listeners and provides a static method that retu...
Definition: IListenerRegistrar.h:112
-
SelfRegisteringListener< IEncryptedAppTicketListener > GlobalEncryptedAppTicketListener
Globally self-registering version of IEncryptedAppTicketListener.
Definition: IUser.h:220
-
virtual void DeleteUserData(const char *key, ISpecificUserDataListener *const listener=NULL)=0
Clears a property of user data storage.
-
virtual bool SignedIn()=0
Checks if the user is signed in to Galaxy.
-
SelfRegisteringListener< IAccessTokenListener, GameServerListenerRegistrar > GameServerGlobalAccessTokenListener
Globally self-registering version of IAccessTokenListener for the GameServer.
Definition: IUser.h:251
-
Represents the ID of an entity used by Galaxy Peer.
Definition: GalaxyID.h:29
- -
virtual void SignInAnonymousTelemetry(IAuthListener *const listener=NULL)=0
Authenticates the Galaxy Peer anonymously.
-
Listener for the events related to user authentication.
Definition: IUser.h:29
-
Listener for the events related to starting of other sessions.
Definition: IUser.h:81
- -
virtual void SignInXB1(const char *xboxOneUserID, IAuthListener *const listener=NULL)=0
Authenticates the Galaxy Peer based on XBOX ONE credentials.
-
virtual void SignInEpic(const char *epicAccessToken, const char *epicUsername, IAuthListener *const listener=NULL)=0
Authenticates the Galaxy Peer based on Epic Access Token.
-
virtual void SignInToken(const char *refreshToken, IAuthListener *const listener=NULL)=0
Authenticates the Galaxy Peer with refresh token.
-
virtual void SignInSteam(const void *steamAppTicket, uint32_t steamAppTicketSize, const char *personaName, IAuthListener *const listener=NULL)=0
Authenticates the Galaxy Peer based on Steam Encrypted App Ticket.
-
virtual void OnOtherSessionStarted()=0
Notification for the event of other session being started.
-
virtual void OnAuthLost()=0
Notification for the event of loosing authentication.
-
virtual void GetUserDataCopy(const char *key, char *buffer, uint32_t bufferLength, GalaxyID userID=GalaxyID())=0
Copies an entry from the data storage of current user.
-
Listener for the events related to user data changes.
Definition: IUser.h:164
-
virtual bool GetUserDataByIndex(uint32_t index, char *key, uint32_t keyLength, char *value, uint32_t valueLength, GalaxyID userID=GalaxyID())=0
Returns a property from the user data storage by index.
-
virtual void OnAuthSuccess()=0
Notification for the event of successful sign in.
-
SelfRegisteringListener< IAccessTokenListener > GlobalAccessTokenListener
Globally self-registering version of IAccessTokenListener.
Definition: IUser.h:246
-
virtual void OnAuthFailure(FailureReason failureReason)=0
Notification for the event of unsuccessful sign in.
-
Galaxy has not been initialized.
Definition: IUser.h:49
-
virtual bool ReportInvalidAccessToken(const char *accessToken, const char *info=NULL)=0
Reports current access token as no longer working.
-
virtual void SignOut()=0
Signs the Galaxy Peer out.
-
SelfRegisteringListener< IOperationalStateChangeListener > GlobalOperationalStateChangeListener
Globally self-registering version of IOperationalStateChangeListener.
Definition: IUser.h:128
-
FailureReason
The reason of a failure in retrieving an Encrypted App Ticket.
Definition: IUser.h:203
-
virtual SessionID GetSessionID()=0
Returns the ID of current session.
-
SelfRegisteringListener< IUserDataListener > GlobalUserDataListener
Globally self-registering version of IUserDataListener.
Definition: IUser.h:154
-
virtual bool IsLoggedOn()=0
Checks if the user is logged on to Galaxy backend services.
-
virtual void SignInGalaxy(bool requireOnline=false, IAuthListener *const listener=NULL)=0
Authenticates the Galaxy Peer based on Galaxy Client authentication.
-
Listener for the event of a change of the operational state.
Definition: IUser.h:104
-
User that is being signed in has no license for this application.
Definition: IUser.h:47
-
virtual void SignInServerKey(const char *serverKey, IAuthListener *const listener=NULL)=0
Authenticates the Galaxy Peer with a specified server key.
-
The class that is inherited by the self-registering versions of all specific callback listeners.
Definition: IListenerRegistrar.h:206
-
virtual void GetEncryptedAppTicket(void *encryptedAppTicket, uint32_t maxEncryptedAppTicketSize, uint32_t &currentEncryptedAppTicketSize)=0
Returns the Encrypted App Ticket.
-
SelfRegisteringListener< IOperationalStateChangeListener, GameServerListenerRegistrar > GameServerGlobalOperationalStateChangeListener
Globally self-registering version of IOperationalStateChangeListener for the GameServer.
Definition: IUser.h:133
-
FailureReason
Reason of authentication failure.
Definition: IUser.h:41
-
Unable to communicate with backend services.
Definition: IUser.h:206
-
virtual void SignInLauncher(IAuthListener *const listener=NULL)=0
Authenticates the Galaxy Peer based on CDPR launcher authentication.
-
virtual void OnSpecificUserDataUpdated(GalaxyID userID)=0
Notification for the event of user data change.
-
virtual void OnAccessTokenChanged()=0
Notification for an event of retrieving an access token.
-
Contains GalaxyID, which is the class that represents the ID of an entity used by Galaxy Peer.
-
SelfRegisteringListener< IEncryptedAppTicketListener, GameServerListenerRegistrar > GameServerGlobalEncryptedAppTicketListener
Globally self-registering version of IEncryptedAppTicketListener for the Game Server.
Definition: IUser.h:225
-
Unable to communicate with external service.
Definition: IUser.h:50
-
virtual bool IsUserDataAvailable(GalaxyID userID=GalaxyID())=0
Checks if user data exists.
- -
virtual void SetUserData(const char *key, const char *value, ISpecificUserDataListener *const listener=NULL)=0
Creates or updates an entry in the user data storage.
-
virtual const char * GetAccessToken()=0
Returns the access token for current session.
-
virtual const char * GetUserData(const char *key, GalaxyID userID=GalaxyID())=0
Returns an entry from the data storage of current user.
-
virtual void RequestUserData(GalaxyID userID=GalaxyID(), ISpecificUserDataListener *const listener=NULL)=0
Retrieves/Refreshes user data storage.
-
Unable to communicate with backend services.
Definition: IUser.h:46
-
SelfRegisteringListener< ISpecificUserDataListener > GlobalSpecificUserDataListener
Globally self-registering version of ISpecificUserDataListener.
Definition: IUser.h:179
-
virtual void OnOperationalStateChanged(uint32_t operationalState)=0
Notification for the event of a change of the operational state.
-
Listener for the events related to user data changes of current user only.
Definition: IUser.h:141
-
Contains data structures and interfaces related to callback listeners.
-
Listener for the event of retrieving a requested Encrypted App Ticket.
Definition: IUser.h:189
-
SelfRegisteringListener< IUserDataListener, GameServerListenerRegistrar > GameServerGlobalUserDataListener
Globally self-registering version of IUserDataListener for the GameServer.
Definition: IUser.h:159
-
Galaxy Service is not installed properly or fails to start.
Definition: IUser.h:44
-
SelfRegisteringListener< IAuthListener, GameServerListenerRegistrar > GameServerGlobalAuthListener
Globally self-registering version of IAuthListener for the Game Server.
Definition: IUser.h:76
-
virtual GalaxyID GetGalaxyID()=0
Returns the ID of the user, provided that the user is signed in.
-
virtual void RequestEncryptedAppTicket(const void *data, uint32_t dataSize, IEncryptedAppTicketListener *const listener=NULL)=0
Performs a request for an Encrypted App Ticket.
-
SelfRegisteringListener< IOtherSessionStartListener > GlobalOtherSessionStartListener
Globally self-registering version of IOtherSessionStartListener.
Definition: IUser.h:94
-
SelfRegisteringListener< IAuthListener > GlobalAuthListener
Globally self-registering version of IAuthListener.
Definition: IUser.h:71
-
virtual void SignInCredentials(const char *login, const char *password, IAuthListener *const listener=NULL)=0
Authenticates the Galaxy Peer with specified user credentials.
-
virtual void GetAccessTokenCopy(char *buffer, uint32_t bufferLength)=0
Copies the access token for current session.
-
virtual void SignInXBLive(const char *token, const char *signature, const char *marketplaceID, const char *locale, IAuthListener *const listener=NULL)=0
Authenticates the Galaxy Peer based on Xbox Live tokens.
-
Galaxy Service is not signed in properly.
Definition: IUser.h:45
-
The interface for handling the user account.
Definition: IUser.h:256
-
virtual void OnUserDataUpdated()=0
Notification for the event of user data change.
-
-
- - - - diff --git a/vendors/galaxy/Docs/IUtils_8h.html b/vendors/galaxy/Docs/IUtils_8h.html deleted file mode 100644 index 75eb6436e..000000000 --- a/vendors/galaxy/Docs/IUtils_8h.html +++ /dev/null @@ -1,195 +0,0 @@ - - - - - - - -GOG Galaxy: IUtils.h File Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
IUtils.h File Reference
-
-
- -

Contains data structures and interfaces related to common activities. -More...

-
-Include dependency graph for IUtils.h:
-
-
-
-
-
-This graph shows which files directly or indirectly include this file:
-
-
-
-
-
-

Go to the source code of this file.

- - - - - - - - - - - - - - - - - -

-Classes

class  IOverlayVisibilityChangeListener
 Listener for the event of changing overlay visibility. More...
 
class  IOverlayInitializationStateChangeListener
 Listener for the event of changing overlay state. More...
 
class  INotificationListener
 Listener for the event of receiving a notification. More...
 
class  IGogServicesConnectionStateListener
 Listener for the event of GOG services connection change. More...
 
class  IUtils
 The interface for managing images. More...
 
- - - - - - - - - - - - - - - - - - - -

-Typedefs

-typedef uint64_t NotificationID
 The ID of the notification.
 
-typedef SelfRegisteringListener< IOverlayVisibilityChangeListener > GlobalOverlayVisibilityChangeListener
 Globally self-registering version of IOverlayStateChangeListener.
 
-typedef SelfRegisteringListener< IOverlayInitializationStateChangeListener > GlobalOverlayInitializationStateChangeListener
 Globally self-registering version of IOverlayInitializationStateChangeListener.
 
-typedef SelfRegisteringListener< INotificationListener > GlobalNotificationListener
 Globally self-registering version of INotificationListener.
 
-typedef SelfRegisteringListener< IGogServicesConnectionStateListener > GlobalGogServicesConnectionStateListener
 Globally self-registering version of IGogServicesConnectionStateListener.
 
-typedef SelfRegisteringListener< IGogServicesConnectionStateListener, GameServerListenerRegistrar > GameServerGlobalGogServicesConnectionStateListener
 Globally self-registering version of IGogServicesConnectionStateListener for the Game Server.
 
- - - - - - - -

-Enumerations

enum  OverlayState {
-  OVERLAY_STATE_UNDEFINED, -OVERLAY_STATE_NOT_SUPPORTED, -OVERLAY_STATE_DISABLED, -OVERLAY_STATE_FAILED_TO_INITIALIZE, -
-  OVERLAY_STATE_INITIALIZED -
- }
 State of the overlay. More...
 
enum  GogServicesConnectionState { GOG_SERVICES_CONNECTION_STATE_UNDEFINED, -GOG_SERVICES_CONNECTION_STATE_CONNECTED, -GOG_SERVICES_CONNECTION_STATE_DISCONNECTED, -GOG_SERVICES_CONNECTION_STATE_AUTH_LOST - }
 State of connection to the GOG services. More...
 
-

Detailed Description

-

Contains data structures and interfaces related to common activities.

-
-
- - - - diff --git a/vendors/galaxy/Docs/IUtils_8h.js b/vendors/galaxy/Docs/IUtils_8h.js deleted file mode 100644 index e93bb1d8b..000000000 --- a/vendors/galaxy/Docs/IUtils_8h.js +++ /dev/null @@ -1,22 +0,0 @@ -var IUtils_8h = -[ - [ "GameServerGlobalGogServicesConnectionStateListener", "IUtils_8h.html#ga157e0d815e8d562e3d999389cd49e657", null ], - [ "GlobalGogServicesConnectionStateListener", "IUtils_8h.html#gad92afb23db92d9bc7fc97750e72caeb3", null ], - [ "GlobalNotificationListener", "IUtils_8h.html#ga823b6a3df996506fbcd25d97e0f143bd", null ], - [ "GlobalOverlayInitializationStateChangeListener", "IUtils_8h.html#gafaa46fe6610b3a7e54237fb340f11cb6", null ], - [ "GlobalOverlayVisibilityChangeListener", "IUtils_8h.html#gad0cd8d98601fdb1205c416fbb7b2b31f", null ], - [ "NotificationID", "IUtils_8h.html#gab06789e8ae20a20699a59585801d5861", null ], - [ "GogServicesConnectionState", "IUtils_8h.html#ga1e44fb253de3879ddbfae2977049396e", [ - [ "GOG_SERVICES_CONNECTION_STATE_UNDEFINED", "IUtils_8h.html#gga1e44fb253de3879ddbfae2977049396eaa7e2464ade2105871d4bf3377949b7a3", null ], - [ "GOG_SERVICES_CONNECTION_STATE_CONNECTED", "IUtils_8h.html#gga1e44fb253de3879ddbfae2977049396ea262ea69c2235d138d2a0289d5b7221da", null ], - [ "GOG_SERVICES_CONNECTION_STATE_DISCONNECTED", "IUtils_8h.html#gga1e44fb253de3879ddbfae2977049396ea10e527cfe5f8f40242fe2c8779e0fcd3", null ], - [ "GOG_SERVICES_CONNECTION_STATE_AUTH_LOST", "IUtils_8h.html#gga1e44fb253de3879ddbfae2977049396eafa96e7887ac0c246bc641ab6fa8cd170", null ] - ] ], - [ "OverlayState", "IUtils_8h.html#gabf15786f4b4ac5669318db70b02fb389", [ - [ "OVERLAY_STATE_UNDEFINED", "IUtils_8h.html#ggabf15786f4b4ac5669318db70b02fb389ad1e22a5175b838cabdf7b80186114403", null ], - [ "OVERLAY_STATE_NOT_SUPPORTED", "IUtils_8h.html#ggabf15786f4b4ac5669318db70b02fb389ae6f285af1806e5507c004203218086bc", null ], - [ "OVERLAY_STATE_DISABLED", "IUtils_8h.html#ggabf15786f4b4ac5669318db70b02fb389aacda732d1c553bd699b73a456dd09d47", null ], - [ "OVERLAY_STATE_FAILED_TO_INITIALIZE", "IUtils_8h.html#ggabf15786f4b4ac5669318db70b02fb389a8aaa65e5907b045a0644b904da2a0ace", null ], - [ "OVERLAY_STATE_INITIALIZED", "IUtils_8h.html#ggabf15786f4b4ac5669318db70b02fb389acc422dc8bb238adf24c1d7320bcf7357", null ] - ] ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/IUtils_8h__dep__incl.map b/vendors/galaxy/Docs/IUtils_8h__dep__incl.map deleted file mode 100644 index 52cff3caf..000000000 --- a/vendors/galaxy/Docs/IUtils_8h__dep__incl.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/vendors/galaxy/Docs/IUtils_8h__dep__incl.md5 b/vendors/galaxy/Docs/IUtils_8h__dep__incl.md5 deleted file mode 100644 index 20182fc75..000000000 --- a/vendors/galaxy/Docs/IUtils_8h__dep__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -9b32dd9895bc60de38274bb7f3e0c282 \ No newline at end of file diff --git a/vendors/galaxy/Docs/IUtils_8h__dep__incl.svg b/vendors/galaxy/Docs/IUtils_8h__dep__incl.svg deleted file mode 100644 index 2cc4abd8d..000000000 --- a/vendors/galaxy/Docs/IUtils_8h__dep__incl.svg +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - -IUtils.h - - -Node5 - - -IUtils.h - - - - -Node6 - - -GalaxyApi.h - - - - -Node5->Node6 - - - - -Node7 - - -GalaxyGameServerApi.h - - - - -Node5->Node7 - - - - - diff --git a/vendors/galaxy/Docs/IUtils_8h__incl.map b/vendors/galaxy/Docs/IUtils_8h__incl.map deleted file mode 100644 index 30e00db86..000000000 --- a/vendors/galaxy/Docs/IUtils_8h__incl.map +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/vendors/galaxy/Docs/IUtils_8h__incl.md5 b/vendors/galaxy/Docs/IUtils_8h__incl.md5 deleted file mode 100644 index ce2d07067..000000000 --- a/vendors/galaxy/Docs/IUtils_8h__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -ef71e1b9aede8b14af20d7e59f344d5b \ No newline at end of file diff --git a/vendors/galaxy/Docs/IUtils_8h__incl.svg b/vendors/galaxy/Docs/IUtils_8h__incl.svg deleted file mode 100644 index 72f54345b..000000000 --- a/vendors/galaxy/Docs/IUtils_8h__incl.svg +++ /dev/null @@ -1,78 +0,0 @@ - - - - - - -IUtils.h - - -Node0 - - -IUtils.h - - - - -Node1 - - -IListenerRegistrar.h - - - - -Node0->Node1 - - - - -Node2 - - -stdint.h - - - - -Node1->Node2 - - - - -Node3 - - -stdlib.h - - - - -Node1->Node3 - - - - -Node4 - - -GalaxyExport.h - - - - -Node1->Node4 - - - - -Node2->Node2 - - - - - diff --git a/vendors/galaxy/Docs/IUtils_8h_source.html b/vendors/galaxy/Docs/IUtils_8h_source.html deleted file mode 100644 index 767912844..000000000 --- a/vendors/galaxy/Docs/IUtils_8h_source.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - - -GOG Galaxy: IUtils.h Source File - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
IUtils.h
-
-
-Go to the documentation of this file.
1 #ifndef GALAXY_I_UTILS_H
2 #define GALAXY_I_UTILS_H
3 
9 #include "IListenerRegistrar.h"
10 
11 namespace galaxy
12 {
13  namespace api
14  {
23  typedef uint64_t NotificationID;
24 
29  {
35  };
36 
40  class IOverlayVisibilityChangeListener : public GalaxyTypeAwareListener<OVERLAY_VISIBILITY_CHANGE>
41  {
42  public:
43 
49  virtual void OnOverlayVisibilityChanged(bool overlayVisible) = 0;
50  };
51 
56 
60  class IOverlayInitializationStateChangeListener : public GalaxyTypeAwareListener<OVERLAY_INITIALIZATION_STATE_CHANGE>
61  {
62  public:
63 
69  virtual void OnOverlayStateChanged(OverlayState overlayState) = 0;
70  };
71 
76 
80  class INotificationListener : public GalaxyTypeAwareListener<NOTIFICATION_LISTENER>
81  {
82  public:
83 
93  virtual void OnNotificationReceived(NotificationID notificationID, uint32_t typeLength, uint32_t contentSize) = 0;
94  };
95 
100 
105  {
110  };
111 
115  class IGogServicesConnectionStateListener : public GalaxyTypeAwareListener<GOG_SERVICES_CONNECTION_STATE_LISTENER>
116  {
117  public:
118 
124  virtual void OnConnectionStateChange(GogServicesConnectionState connectionState) = 0;
125  };
126 
131 
132 
137 
141  class IUtils
142  {
143  public:
144 
145  virtual ~IUtils()
146  {
147  }
148 
156  virtual void GetImageSize(uint32_t imageID, int32_t& width, int32_t& height) = 0;
157 
167  virtual void GetImageRGBA(uint32_t imageID, void* buffer, uint32_t bufferLength) = 0;
168 
176  virtual void RegisterForNotification(const char* type) = 0;
177 
189  virtual uint32_t GetNotification(NotificationID notificationID, bool& consumable, char* type, uint32_t typeLength, void* content, uint32_t contentSize) = 0;
190 
199  virtual void ShowOverlayWithWebPage(const char* url) = 0;
200 
212  virtual bool IsOverlayVisible() = 0;
213 
228  virtual OverlayState GetOverlayState() = 0;
229 
243  virtual void DisableOverlayPopups(const char* popupGroup) = 0;
244 
256  };
257 
259  }
260 }
261 
262 #endif
virtual GogServicesConnectionState GetGogServicesConnectionState()=0
Return current state of the connection to GOG services.
-
Listener for the event of changing overlay visibility.
Definition: IUtils.h:40
-
SelfRegisteringListener< IOverlayVisibilityChangeListener > GlobalOverlayVisibilityChangeListener
Globally self-registering version of IOverlayStateChangeListener.
Definition: IUtils.h:55
-
Listener for the event of receiving a notification.
Definition: IUtils.h:80
-
virtual bool IsOverlayVisible()=0
Return current visibility of the overlay.
-
OverlayState
State of the overlay.
Definition: IUtils.h:28
-
The class that is inherited by all specific callback listeners and provides a static method that retu...
Definition: IListenerRegistrar.h:112
-
Galaxy Client failed to initialize the overlay or inject it into the game.
Definition: IUtils.h:33
-
Connection state is undefined.
Definition: IUtils.h:106
-
Listener for the event of changing overlay state.
Definition: IUtils.h:60
-
Connection to the GOG services has been lost due to lose of peer authentication.
Definition: IUtils.h:109
-
Connection to the GOG services has been established.
Definition: IUtils.h:107
-
virtual OverlayState GetOverlayState()=0
Return current state of the overlay.
-
SelfRegisteringListener< IOverlayInitializationStateChangeListener > GlobalOverlayInitializationStateChangeListener
Globally self-registering version of IOverlayInitializationStateChangeListener.
Definition: IUtils.h:75
-
Connection to the GOG services has been lost.
Definition: IUtils.h:108
-
virtual uint32_t GetNotification(NotificationID notificationID, bool &consumable, char *type, uint32_t typeLength, void *content, uint32_t contentSize)=0
Reads a specified notification.
-
virtual void RegisterForNotification(const char *type)=0
Register for notifications of a specified type.
-
virtual void OnOverlayVisibilityChanged(bool overlayVisible)=0
Notification for the event of changing overlay visibility.
-
GogServicesConnectionState
State of connection to the GOG services.
Definition: IUtils.h:104
-
Overlay is not supported.
Definition: IUtils.h:31
-
SelfRegisteringListener< INotificationListener > GlobalNotificationListener
Globally self-registering version of INotificationListener.
Definition: IUtils.h:99
-
virtual void ShowOverlayWithWebPage(const char *url)=0
Shows web page in the overlay.
-
The class that is inherited by the self-registering versions of all specific callback listeners.
Definition: IListenerRegistrar.h:206
-
virtual void DisableOverlayPopups(const char *popupGroup)=0
Disable overlay pop-up notifications.
-
SelfRegisteringListener< IGogServicesConnectionStateListener, GameServerListenerRegistrar > GameServerGlobalGogServicesConnectionStateListener
Globally self-registering version of IGogServicesConnectionStateListener for the Game Server.
Definition: IUtils.h:136
-
virtual void GetImageRGBA(uint32_t imageID, void *buffer, uint32_t bufferLength)=0
Reads the image of a specified ID.
-
The interface for managing images.
Definition: IUtils.h:141
-
Overlay is disabled by the user in the Galaxy Client.
Definition: IUtils.h:32
-
SelfRegisteringListener< IGogServicesConnectionStateListener > GlobalGogServicesConnectionStateListener
Globally self-registering version of IGogServicesConnectionStateListener.
Definition: IUtils.h:130
-
Overlay has been successfully injected into the game.
Definition: IUtils.h:34
-
Contains data structures and interfaces related to callback listeners.
-
virtual void OnNotificationReceived(NotificationID notificationID, uint32_t typeLength, uint32_t contentSize)=0
Notification for the event of receiving a notification.
-
uint64_t NotificationID
The ID of the notification.
Definition: IUtils.h:23
-
Listener for the event of GOG services connection change.
Definition: IUtils.h:115
-
virtual void OnConnectionStateChange(GogServicesConnectionState connectionState)=0
Notification of the GOG services connection changed.
-
Overlay state is undefined.
Definition: IUtils.h:30
-
virtual void GetImageSize(uint32_t imageID, int32_t &width, int32_t &height)=0
Reads width and height of the image of a specified ID.
-
virtual void OnOverlayStateChanged(OverlayState overlayState)=0
Notification for the event of changing overlay state change.
-
-
- - - - diff --git a/vendors/galaxy/Docs/InitOptions_8h.html b/vendors/galaxy/Docs/InitOptions_8h.html deleted file mode 100644 index adb55f502..000000000 --- a/vendors/galaxy/Docs/InitOptions_8h.html +++ /dev/null @@ -1,136 +0,0 @@ - - - - - - - -GOG Galaxy: InitOptions.h File Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
InitOptions.h File Reference
-
-
- -

Contains class that holds Galaxy initialization parameters. -More...

-
#include "GalaxyAllocator.h"
-#include "GalaxyThread.h"
-#include "stdint.h"
-#include <cstddef>
-
-Include dependency graph for InitOptions.h:
-
-
-
-
-
-This graph shows which files directly or indirectly include this file:
-
-
-
-
-
-

Go to the source code of this file.

- - - - - -

-Classes

struct  InitOptions
 The group of options used for Init configuration. More...
 
-

Detailed Description

-

Contains class that holds Galaxy initialization parameters.

-
-
- - - - diff --git a/vendors/galaxy/Docs/InitOptions_8h__dep__incl.map b/vendors/galaxy/Docs/InitOptions_8h__dep__incl.map deleted file mode 100644 index 96af43c12..000000000 --- a/vendors/galaxy/Docs/InitOptions_8h__dep__incl.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/vendors/galaxy/Docs/InitOptions_8h__dep__incl.md5 b/vendors/galaxy/Docs/InitOptions_8h__dep__incl.md5 deleted file mode 100644 index f061d079a..000000000 --- a/vendors/galaxy/Docs/InitOptions_8h__dep__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -e21e3e4161e56cc33c2766ca56e3f6eb \ No newline at end of file diff --git a/vendors/galaxy/Docs/InitOptions_8h__dep__incl.svg b/vendors/galaxy/Docs/InitOptions_8h__dep__incl.svg deleted file mode 100644 index 52797a66f..000000000 --- a/vendors/galaxy/Docs/InitOptions_8h__dep__incl.svg +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - -InitOptions.h - - -Node5 - - -InitOptions.h - - - - -Node6 - - -GalaxyApi.h - - - - -Node5->Node6 - - - - -Node7 - - -GalaxyGameServerApi.h - - - - -Node5->Node7 - - - - - diff --git a/vendors/galaxy/Docs/InitOptions_8h__incl.map b/vendors/galaxy/Docs/InitOptions_8h__incl.map deleted file mode 100644 index d348a0c94..000000000 --- a/vendors/galaxy/Docs/InitOptions_8h__incl.map +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/vendors/galaxy/Docs/InitOptions_8h__incl.md5 b/vendors/galaxy/Docs/InitOptions_8h__incl.md5 deleted file mode 100644 index 33c71e8cd..000000000 --- a/vendors/galaxy/Docs/InitOptions_8h__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -fa86ac9ef1211fb5f8a326b7f34d4dab \ No newline at end of file diff --git a/vendors/galaxy/Docs/InitOptions_8h__incl.svg b/vendors/galaxy/Docs/InitOptions_8h__incl.svg deleted file mode 100644 index 826345f70..000000000 --- a/vendors/galaxy/Docs/InitOptions_8h__incl.svg +++ /dev/null @@ -1,88 +0,0 @@ - - - - - - -InitOptions.h - - -Node0 - - -InitOptions.h - - - - -Node1 - - -GalaxyAllocator.h - - - - -Node0->Node1 - - - - -Node2 - - -stdint.h - - - - -Node0->Node2 - - - - -Node3 - - -cstddef - - - - -Node0->Node3 - - - - -Node4 - - -GalaxyThread.h - - - - -Node0->Node4 - - - - -Node1->Node2 - - - - -Node1->Node3 - - - - -Node2->Node2 - - - - - diff --git a/vendors/galaxy/Docs/InitOptions_8h_source.html b/vendors/galaxy/Docs/InitOptions_8h_source.html deleted file mode 100644 index b748a6310..000000000 --- a/vendors/galaxy/Docs/InitOptions_8h_source.html +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - - -GOG Galaxy: InitOptions.h Source File - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
InitOptions.h
-
-
-Go to the documentation of this file.
1 #ifndef GALAXY_INIT_OPTIONS_H
2 #define GALAXY_INIT_OPTIONS_H
3 
8 #include "GalaxyAllocator.h"
9 #include "GalaxyThread.h"
10 
11 #include "stdint.h"
12 #include <cstddef>
13 
14 namespace galaxy
15 {
16  namespace api
17  {
26  struct InitOptions
27  {
44  const char* _clientID,
45  const char* _clientSecret,
46  const char* _configFilePath = ".",
47  GalaxyAllocator* _galaxyAllocator = NULL,
48  const char* _storagePath = NULL,
49  const char* _host = NULL,
50  uint16_t _port = 0,
51  IGalaxyThreadFactory* _galaxyThreadFactory = NULL)
52  : clientID(_clientID)
53  , clientSecret(_clientSecret)
54  , configFilePath(_configFilePath)
55  , storagePath(_storagePath)
56  , galaxyAllocator(_galaxyAllocator)
57  , galaxyThreadFactory(_galaxyThreadFactory)
58  , host(_host)
59  , port(_port)
60  {
61  }
62 
63  const char* clientID;
64  const char* clientSecret;
65  const char* configFilePath;
66  const char* storagePath;
69  const char* host;
70  uint16_t port;
71  };
72 
74  }
75 }
76 
77 #endif
const char * clientSecret
The secret of the client.
Definition: InitOptions.h:64
-
const char * host
The local IP address this peer would bind to.
Definition: InitOptions.h:69
-
InitOptions(const char *_clientID, const char *_clientSecret, const char *_configFilePath=".", GalaxyAllocator *_galaxyAllocator=NULL, const char *_storagePath=NULL, const char *_host=NULL, uint16_t _port=0, IGalaxyThreadFactory *_galaxyThreadFactory=NULL)
InitOptions constructor.
Definition: InitOptions.h:43
-
Custom memory allocator for GOG Galaxy SDK.
Definition: GalaxyAllocator.h:50
-
const char * clientID
The ID of the client.
Definition: InitOptions.h:63
-
const char * storagePath
The path to folder for storing internal SDK data. Used only on Android devices.
Definition: InitOptions.h:66
-
const char * configFilePath
The path to folder which contains configuration files.
Definition: InitOptions.h:65
-
Contains definition of custom memory allocator.
-
GalaxyAllocator * galaxyAllocator
The custom memory allocator used by GOG Galaxy SDK.
Definition: InitOptions.h:67
-
Custom thread spawner for the Galaxy SDK.
Definition: GalaxyThread.h:58
-
IGalaxyThreadFactory * galaxyThreadFactory
The custom thread factory used by GOG Galaxy SDK to spawn internal threads.
Definition: InitOptions.h:68
-
uint16_t port
The local port used to communicate with GOG Galaxy Multiplayer server and other players.
Definition: InitOptions.h:70
-
The group of options used for Init configuration.
Definition: InitOptions.h:26
-
-
- - - - diff --git a/vendors/galaxy/Docs/annotated.html b/vendors/galaxy/Docs/annotated.html deleted file mode 100644 index c79e61c2a..000000000 --- a/vendors/galaxy/Docs/annotated.html +++ /dev/null @@ -1,194 +0,0 @@ - - - - - - - -GOG Galaxy: Class List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
Class List
-
-
-
Here are the classes, structs, unions and interfaces with brief descriptions:
-
[detail level 123]
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 Ngalaxy
 Napi
 CGalaxyAllocatorCustom memory allocator for GOG Galaxy SDK
 CGalaxyIDRepresents the ID of an entity used by Galaxy Peer
 CGalaxyTypeAwareListenerThe class that is inherited by all specific callback listeners and provides a static method that returns the type of the specific listener
 CIAccessTokenListenerListener for the event of a change of current access token
 CIAchievementChangeListenerListener for the event of changing an achievement
 CIAppsThe interface for managing application activities
 CIAuthListenerListener for the events related to user authentication
 CIChatThe interface for chat communication with other Galaxy Users
 CIChatRoomMessageSendListenerListener for the event of sending a chat room message
 CIChatRoomMessagesListenerListener for the event of receiving chat room messages
 CIChatRoomMessagesRetrieveListenerListener for the event of retrieving chat room messages in a specified chat room
 CIChatRoomWithUserRetrieveListenerListener for the event of retrieving a chat room with a specified user
 CIConnectionCloseListenerListener for the event of closing a connection
 CIConnectionDataListenerListener for the event of receiving data over the connection
 CIConnectionOpenListenerListener for the events related to opening a connection
 CICustomNetworkingThe interface for communicating with a custom endpoint
 CIEncryptedAppTicketListenerListener for the event of retrieving a requested Encrypted App Ticket
 CIErrorBase interface for exceptions
 CIFileShareListenerListener for the event of sharing a file
 CIFriendAddListenerListener for the event of a user being added to the friend list
 CIFriendDeleteListenerListener for the event of removing a user from the friend list
 CIFriendInvitationListenerListener for the event of receiving a friend invitation
 CIFriendInvitationListRetrieveListenerListener for the event of retrieving requested list of incoming friend invitations
 CIFriendInvitationRespondToListenerListener for the event of responding to a friend invitation
 CIFriendInvitationSendListenerListener for the event of sending a friend invitation
 CIFriendListListenerListener for the event of retrieving requested list of friends
 CIFriendsThe interface for managing social info and activities
 CIGalaxyListenerThe interface that is implemented by all specific callback listeners
 CIGalaxyThreadThe interface representing a thread object
 CIGalaxyThreadFactoryCustom thread spawner for the Galaxy SDK
 CIGameInvitationReceivedListenerEvent of receiving a game invitation
 CIGameJoinRequestedListenerEvent of requesting a game join by user
 CIGogServicesConnectionStateListenerListener for the event of GOG services connection change
 CIInvalidArgumentErrorThe exception thrown to report that a method was called with an invalid argument
 CIInvalidStateErrorThe exception thrown to report that a method was called while the callee is in an invalid state, i.e
 CILeaderboardEntriesRetrieveListenerListener for the event of retrieving requested entries of a leaderboard
 CILeaderboardRetrieveListenerListener for the event of retrieving definition of a leaderboard
 CILeaderboardScoreUpdateListenerListener for the event of updating score in a leaderboard
 CILeaderboardsRetrieveListenerListener for the event of retrieving definitions of leaderboards
 CIListenerRegistrarThe class that enables and disables global registration of the instances of specific listeners
 CILobbyCreatedListenerListener for the event of creating a lobby
 CILobbyDataListenerListener for the event of receiving an updated version of lobby data
 CILobbyDataRetrieveListenerListener for the event of retrieving lobby data
 CILobbyDataUpdateListenerListener for the event of updating lobby data
 CILobbyEnteredListenerListener for the event of entering a lobby
 CILobbyLeftListenerListener for the event of leaving a lobby
 CILobbyListListenerListener for the event of receiving a list of lobbies
 CILobbyMemberDataUpdateListenerListener for the event of updating lobby member data
 CILobbyMemberStateListenerListener for the event of a change of the state of a lobby member
 CILobbyMessageListenerListener for the event of receiving a lobby message
 CILobbyOwnerChangeListenerListener for the event of changing the owner of a lobby
 CILoggerThe interface for logging
 CIMatchmakingThe interface for managing game lobbies
 CINatTypeDetectionListenerListener for the events related to NAT type detection
 CINetworkingThe interface for communicating with other Galaxy Peers
 CINetworkingListenerListener for the events related to packets that come to the client
 CInitOptionsThe group of options used for Init configuration
 CINotificationListenerListener for the event of receiving a notification
 CIOperationalStateChangeListenerListener for the event of a change of the operational state
 CIOtherSessionStartListenerListener for the events related to starting of other sessions
 CIOverlayInitializationStateChangeListenerListener for the event of changing overlay state
 CIOverlayVisibilityChangeListenerListener for the event of changing overlay visibility
 CIPersonaDataChangedListenerListener for the event of changing persona data
 CIRichPresenceChangeListenerListener for the event of rich presence modification
 CIRichPresenceListenerListener for the event of any user rich presence update
 CIRichPresenceRetrieveListenerListener for the event of retrieving requested user's rich presence
 CIRuntimeErrorThe exception thrown to report errors that can only be detected during runtime
 CISendInvitationListenerListener for the event of sending an invitation without using the overlay
 CISentFriendInvitationListRetrieveListenerListener for the event of retrieving requested list of outgoing friend invitations
 CISharedFileDownloadListenerListener for the event of downloading a shared file
 CISpecificUserDataListenerListener for the events related to user data changes
 CIStatsThe interface for managing statistics, achievements and leaderboards
 CIStatsAndAchievementsStoreListenerListener for the event of storing own statistics and achievements
 CIStorageThe interface for managing of cloud storage files
 CITelemetryThe interface for handling telemetry
 CITelemetryEventSendListenerListener for the event of sending a telemetry event
 CIUnauthorizedAccessErrorThe exception thrown when calling Galaxy interfaces while the user is not signed in and thus not authorized for any interaction
 CIUserThe interface for handling the user account
 CIUserDataListenerListener for the events related to user data changes of current user only
 CIUserFindListenerListener for the event of searching a user
 CIUserInformationRetrieveListenerListener for the event of retrieving requested user's information
 CIUserStatsAndAchievementsRetrieveListenerListener for the event of retrieving statistics and achievements of a specified user, possibly our own
 CIUserTimePlayedRetrieveListenerListener for the event of retrieving user time played
 CIUtilsThe interface for managing images
 CSelfRegisteringListenerThe class that is inherited by the self-registering versions of all specific callback listeners
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/annotated_dup.js b/vendors/galaxy/Docs/annotated_dup.js deleted file mode 100644 index 1a2db682c..000000000 --- a/vendors/galaxy/Docs/annotated_dup.js +++ /dev/null @@ -1,92 +0,0 @@ -var annotated_dup = -[ - [ "galaxy", null, [ - [ "api", null, [ - [ "GalaxyAllocator", "structgalaxy_1_1api_1_1GalaxyAllocator.html", "structgalaxy_1_1api_1_1GalaxyAllocator" ], - [ "GalaxyID", "classgalaxy_1_1api_1_1GalaxyID.html", "classgalaxy_1_1api_1_1GalaxyID" ], - [ "GalaxyTypeAwareListener", "classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html", "classgalaxy_1_1api_1_1GalaxyTypeAwareListener" ], - [ "IAccessTokenListener", "classgalaxy_1_1api_1_1IAccessTokenListener.html", "classgalaxy_1_1api_1_1IAccessTokenListener" ], - [ "IAchievementChangeListener", "classgalaxy_1_1api_1_1IAchievementChangeListener.html", "classgalaxy_1_1api_1_1IAchievementChangeListener" ], - [ "IApps", "classgalaxy_1_1api_1_1IApps.html", "classgalaxy_1_1api_1_1IApps" ], - [ "IAuthListener", "classgalaxy_1_1api_1_1IAuthListener.html", "classgalaxy_1_1api_1_1IAuthListener" ], - [ "IChat", "classgalaxy_1_1api_1_1IChat.html", "classgalaxy_1_1api_1_1IChat" ], - [ "IChatRoomMessageSendListener", "classgalaxy_1_1api_1_1IChatRoomMessageSendListener.html", "classgalaxy_1_1api_1_1IChatRoomMessageSendListener" ], - [ "IChatRoomMessagesListener", "classgalaxy_1_1api_1_1IChatRoomMessagesListener.html", "classgalaxy_1_1api_1_1IChatRoomMessagesListener" ], - [ "IChatRoomMessagesRetrieveListener", "classgalaxy_1_1api_1_1IChatRoomMessagesRetrieveListener.html", "classgalaxy_1_1api_1_1IChatRoomMessagesRetrieveListener" ], - [ "IChatRoomWithUserRetrieveListener", "classgalaxy_1_1api_1_1IChatRoomWithUserRetrieveListener.html", "classgalaxy_1_1api_1_1IChatRoomWithUserRetrieveListener" ], - [ "IConnectionCloseListener", "classgalaxy_1_1api_1_1IConnectionCloseListener.html", "classgalaxy_1_1api_1_1IConnectionCloseListener" ], - [ "IConnectionDataListener", "classgalaxy_1_1api_1_1IConnectionDataListener.html", "classgalaxy_1_1api_1_1IConnectionDataListener" ], - [ "IConnectionOpenListener", "classgalaxy_1_1api_1_1IConnectionOpenListener.html", "classgalaxy_1_1api_1_1IConnectionOpenListener" ], - [ "ICustomNetworking", "classgalaxy_1_1api_1_1ICustomNetworking.html", "classgalaxy_1_1api_1_1ICustomNetworking" ], - [ "IEncryptedAppTicketListener", "classgalaxy_1_1api_1_1IEncryptedAppTicketListener.html", "classgalaxy_1_1api_1_1IEncryptedAppTicketListener" ], - [ "IError", "classgalaxy_1_1api_1_1IError.html", "classgalaxy_1_1api_1_1IError" ], - [ "IFileShareListener", "classgalaxy_1_1api_1_1IFileShareListener.html", "classgalaxy_1_1api_1_1IFileShareListener" ], - [ "IFriendAddListener", "classgalaxy_1_1api_1_1IFriendAddListener.html", "classgalaxy_1_1api_1_1IFriendAddListener" ], - [ "IFriendDeleteListener", "classgalaxy_1_1api_1_1IFriendDeleteListener.html", "classgalaxy_1_1api_1_1IFriendDeleteListener" ], - [ "IFriendInvitationListener", "classgalaxy_1_1api_1_1IFriendInvitationListener.html", "classgalaxy_1_1api_1_1IFriendInvitationListener" ], - [ "IFriendInvitationListRetrieveListener", "classgalaxy_1_1api_1_1IFriendInvitationListRetrieveListener.html", "classgalaxy_1_1api_1_1IFriendInvitationListRetrieveListener" ], - [ "IFriendInvitationRespondToListener", "classgalaxy_1_1api_1_1IFriendInvitationRespondToListener.html", "classgalaxy_1_1api_1_1IFriendInvitationRespondToListener" ], - [ "IFriendInvitationSendListener", "classgalaxy_1_1api_1_1IFriendInvitationSendListener.html", "classgalaxy_1_1api_1_1IFriendInvitationSendListener" ], - [ "IFriendListListener", "classgalaxy_1_1api_1_1IFriendListListener.html", "classgalaxy_1_1api_1_1IFriendListListener" ], - [ "IFriends", "classgalaxy_1_1api_1_1IFriends.html", "classgalaxy_1_1api_1_1IFriends" ], - [ "IGalaxyListener", "classgalaxy_1_1api_1_1IGalaxyListener.html", "classgalaxy_1_1api_1_1IGalaxyListener" ], - [ "IGalaxyThread", "classgalaxy_1_1api_1_1IGalaxyThread.html", "classgalaxy_1_1api_1_1IGalaxyThread" ], - [ "IGalaxyThreadFactory", "classgalaxy_1_1api_1_1IGalaxyThreadFactory.html", "classgalaxy_1_1api_1_1IGalaxyThreadFactory" ], - [ "IGameInvitationReceivedListener", "classgalaxy_1_1api_1_1IGameInvitationReceivedListener.html", "classgalaxy_1_1api_1_1IGameInvitationReceivedListener" ], - [ "IGameJoinRequestedListener", "classgalaxy_1_1api_1_1IGameJoinRequestedListener.html", "classgalaxy_1_1api_1_1IGameJoinRequestedListener" ], - [ "IGogServicesConnectionStateListener", "classgalaxy_1_1api_1_1IGogServicesConnectionStateListener.html", "classgalaxy_1_1api_1_1IGogServicesConnectionStateListener" ], - [ "IInvalidArgumentError", "classgalaxy_1_1api_1_1IInvalidArgumentError.html", null ], - [ "IInvalidStateError", "classgalaxy_1_1api_1_1IInvalidStateError.html", null ], - [ "ILeaderboardEntriesRetrieveListener", "classgalaxy_1_1api_1_1ILeaderboardEntriesRetrieveListener.html", "classgalaxy_1_1api_1_1ILeaderboardEntriesRetrieveListener" ], - [ "ILeaderboardRetrieveListener", "classgalaxy_1_1api_1_1ILeaderboardRetrieveListener.html", "classgalaxy_1_1api_1_1ILeaderboardRetrieveListener" ], - [ "ILeaderboardScoreUpdateListener", "classgalaxy_1_1api_1_1ILeaderboardScoreUpdateListener.html", "classgalaxy_1_1api_1_1ILeaderboardScoreUpdateListener" ], - [ "ILeaderboardsRetrieveListener", "classgalaxy_1_1api_1_1ILeaderboardsRetrieveListener.html", "classgalaxy_1_1api_1_1ILeaderboardsRetrieveListener" ], - [ "IListenerRegistrar", "classgalaxy_1_1api_1_1IListenerRegistrar.html", "classgalaxy_1_1api_1_1IListenerRegistrar" ], - [ "ILobbyCreatedListener", "classgalaxy_1_1api_1_1ILobbyCreatedListener.html", "classgalaxy_1_1api_1_1ILobbyCreatedListener" ], - [ "ILobbyDataListener", "classgalaxy_1_1api_1_1ILobbyDataListener.html", "classgalaxy_1_1api_1_1ILobbyDataListener" ], - [ "ILobbyDataRetrieveListener", "classgalaxy_1_1api_1_1ILobbyDataRetrieveListener.html", "classgalaxy_1_1api_1_1ILobbyDataRetrieveListener" ], - [ "ILobbyDataUpdateListener", "classgalaxy_1_1api_1_1ILobbyDataUpdateListener.html", "classgalaxy_1_1api_1_1ILobbyDataUpdateListener" ], - [ "ILobbyEnteredListener", "classgalaxy_1_1api_1_1ILobbyEnteredListener.html", "classgalaxy_1_1api_1_1ILobbyEnteredListener" ], - [ "ILobbyLeftListener", "classgalaxy_1_1api_1_1ILobbyLeftListener.html", "classgalaxy_1_1api_1_1ILobbyLeftListener" ], - [ "ILobbyListListener", "classgalaxy_1_1api_1_1ILobbyListListener.html", "classgalaxy_1_1api_1_1ILobbyListListener" ], - [ "ILobbyMemberDataUpdateListener", "classgalaxy_1_1api_1_1ILobbyMemberDataUpdateListener.html", "classgalaxy_1_1api_1_1ILobbyMemberDataUpdateListener" ], - [ "ILobbyMemberStateListener", "classgalaxy_1_1api_1_1ILobbyMemberStateListener.html", "classgalaxy_1_1api_1_1ILobbyMemberStateListener" ], - [ "ILobbyMessageListener", "classgalaxy_1_1api_1_1ILobbyMessageListener.html", "classgalaxy_1_1api_1_1ILobbyMessageListener" ], - [ "ILobbyOwnerChangeListener", "classgalaxy_1_1api_1_1ILobbyOwnerChangeListener.html", "classgalaxy_1_1api_1_1ILobbyOwnerChangeListener" ], - [ "ILogger", "classgalaxy_1_1api_1_1ILogger.html", "classgalaxy_1_1api_1_1ILogger" ], - [ "IMatchmaking", "classgalaxy_1_1api_1_1IMatchmaking.html", "classgalaxy_1_1api_1_1IMatchmaking" ], - [ "INatTypeDetectionListener", "classgalaxy_1_1api_1_1INatTypeDetectionListener.html", "classgalaxy_1_1api_1_1INatTypeDetectionListener" ], - [ "INetworking", "classgalaxy_1_1api_1_1INetworking.html", "classgalaxy_1_1api_1_1INetworking" ], - [ "INetworkingListener", "classgalaxy_1_1api_1_1INetworkingListener.html", "classgalaxy_1_1api_1_1INetworkingListener" ], - [ "InitOptions", "structgalaxy_1_1api_1_1InitOptions.html", "structgalaxy_1_1api_1_1InitOptions" ], - [ "INotificationListener", "classgalaxy_1_1api_1_1INotificationListener.html", "classgalaxy_1_1api_1_1INotificationListener" ], - [ "IOperationalStateChangeListener", "classgalaxy_1_1api_1_1IOperationalStateChangeListener.html", "classgalaxy_1_1api_1_1IOperationalStateChangeListener" ], - [ "IOtherSessionStartListener", "classgalaxy_1_1api_1_1IOtherSessionStartListener.html", "classgalaxy_1_1api_1_1IOtherSessionStartListener" ], - [ "IOverlayInitializationStateChangeListener", "classgalaxy_1_1api_1_1IOverlayInitializationStateChangeListener.html", "classgalaxy_1_1api_1_1IOverlayInitializationStateChangeListener" ], - [ "IOverlayVisibilityChangeListener", "classgalaxy_1_1api_1_1IOverlayVisibilityChangeListener.html", "classgalaxy_1_1api_1_1IOverlayVisibilityChangeListener" ], - [ "IPersonaDataChangedListener", "classgalaxy_1_1api_1_1IPersonaDataChangedListener.html", "classgalaxy_1_1api_1_1IPersonaDataChangedListener" ], - [ "IRichPresenceChangeListener", "classgalaxy_1_1api_1_1IRichPresenceChangeListener.html", "classgalaxy_1_1api_1_1IRichPresenceChangeListener" ], - [ "IRichPresenceListener", "classgalaxy_1_1api_1_1IRichPresenceListener.html", "classgalaxy_1_1api_1_1IRichPresenceListener" ], - [ "IRichPresenceRetrieveListener", "classgalaxy_1_1api_1_1IRichPresenceRetrieveListener.html", "classgalaxy_1_1api_1_1IRichPresenceRetrieveListener" ], - [ "IRuntimeError", "classgalaxy_1_1api_1_1IRuntimeError.html", null ], - [ "ISendInvitationListener", "classgalaxy_1_1api_1_1ISendInvitationListener.html", "classgalaxy_1_1api_1_1ISendInvitationListener" ], - [ "ISentFriendInvitationListRetrieveListener", "classgalaxy_1_1api_1_1ISentFriendInvitationListRetrieveListener.html", "classgalaxy_1_1api_1_1ISentFriendInvitationListRetrieveListener" ], - [ "ISharedFileDownloadListener", "classgalaxy_1_1api_1_1ISharedFileDownloadListener.html", "classgalaxy_1_1api_1_1ISharedFileDownloadListener" ], - [ "ISpecificUserDataListener", "classgalaxy_1_1api_1_1ISpecificUserDataListener.html", "classgalaxy_1_1api_1_1ISpecificUserDataListener" ], - [ "IStats", "classgalaxy_1_1api_1_1IStats.html", "classgalaxy_1_1api_1_1IStats" ], - [ "IStatsAndAchievementsStoreListener", "classgalaxy_1_1api_1_1IStatsAndAchievementsStoreListener.html", "classgalaxy_1_1api_1_1IStatsAndAchievementsStoreListener" ], - [ "IStorage", "classgalaxy_1_1api_1_1IStorage.html", "classgalaxy_1_1api_1_1IStorage" ], - [ "ITelemetry", "classgalaxy_1_1api_1_1ITelemetry.html", "classgalaxy_1_1api_1_1ITelemetry" ], - [ "ITelemetryEventSendListener", "classgalaxy_1_1api_1_1ITelemetryEventSendListener.html", "classgalaxy_1_1api_1_1ITelemetryEventSendListener" ], - [ "IUnauthorizedAccessError", "classgalaxy_1_1api_1_1IUnauthorizedAccessError.html", null ], - [ "IUser", "classgalaxy_1_1api_1_1IUser.html", "classgalaxy_1_1api_1_1IUser" ], - [ "IUserDataListener", "classgalaxy_1_1api_1_1IUserDataListener.html", "classgalaxy_1_1api_1_1IUserDataListener" ], - [ "IUserFindListener", "classgalaxy_1_1api_1_1IUserFindListener.html", "classgalaxy_1_1api_1_1IUserFindListener" ], - [ "IUserInformationRetrieveListener", "classgalaxy_1_1api_1_1IUserInformationRetrieveListener.html", "classgalaxy_1_1api_1_1IUserInformationRetrieveListener" ], - [ "IUserStatsAndAchievementsRetrieveListener", "classgalaxy_1_1api_1_1IUserStatsAndAchievementsRetrieveListener.html", "classgalaxy_1_1api_1_1IUserStatsAndAchievementsRetrieveListener" ], - [ "IUserTimePlayedRetrieveListener", "classgalaxy_1_1api_1_1IUserTimePlayedRetrieveListener.html", "classgalaxy_1_1api_1_1IUserTimePlayedRetrieveListener" ], - [ "IUtils", "classgalaxy_1_1api_1_1IUtils.html", "classgalaxy_1_1api_1_1IUtils" ], - [ "SelfRegisteringListener", "classgalaxy_1_1api_1_1SelfRegisteringListener.html", "classgalaxy_1_1api_1_1SelfRegisteringListener" ] - ] ] - ] ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/bc_s.png b/vendors/galaxy/Docs/bc_s.png deleted file mode 100644 index 4ae06503f..000000000 Binary files a/vendors/galaxy/Docs/bc_s.png and /dev/null differ diff --git a/vendors/galaxy/Docs/bdwn.png b/vendors/galaxy/Docs/bdwn.png deleted file mode 100644 index 3178ab3d3..000000000 Binary files a/vendors/galaxy/Docs/bdwn.png and /dev/null differ diff --git a/vendors/galaxy/Docs/classes.html b/vendors/galaxy/Docs/classes.html deleted file mode 100644 index 6a10dc5a8..000000000 --- a/vendors/galaxy/Docs/classes.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - -GOG Galaxy: Class Index - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
Class Index
-
-
-
g | i | s
- - - - - - - - - - - - - - - - - - - - - -
  g  
-
ICustomNetworking (galaxy::api)   IInvalidStateError (galaxy::api)   INatTypeDetectionListener (galaxy::api)   IStatsAndAchievementsStoreListener (galaxy::api)   
IEncryptedAppTicketListener (galaxy::api)   ILeaderboardEntriesRetrieveListener (galaxy::api)   INetworking (galaxy::api)   IStorage (galaxy::api)   
GalaxyAllocator (galaxy::api)   IError (galaxy::api)   ILeaderboardRetrieveListener (galaxy::api)   INetworkingListener (galaxy::api)   ITelemetry (galaxy::api)   
GalaxyID (galaxy::api)   IFileShareListener (galaxy::api)   ILeaderboardScoreUpdateListener (galaxy::api)   InitOptions (galaxy::api)   ITelemetryEventSendListener (galaxy::api)   
GalaxyTypeAwareListener (galaxy::api)   IFriendAddListener (galaxy::api)   ILeaderboardsRetrieveListener (galaxy::api)   INotificationListener (galaxy::api)   IUnauthorizedAccessError (galaxy::api)   
  i  
-
IFriendDeleteListener (galaxy::api)   IListenerRegistrar (galaxy::api)   IOperationalStateChangeListener (galaxy::api)   IUser (galaxy::api)   
IFriendInvitationListener (galaxy::api)   ILobbyCreatedListener (galaxy::api)   IOtherSessionStartListener (galaxy::api)   IUserDataListener (galaxy::api)   
IAccessTokenListener (galaxy::api)   IFriendInvitationListRetrieveListener (galaxy::api)   ILobbyDataListener (galaxy::api)   IOverlayInitializationStateChangeListener (galaxy::api)   IUserFindListener (galaxy::api)   
IAchievementChangeListener (galaxy::api)   IFriendInvitationRespondToListener (galaxy::api)   ILobbyDataRetrieveListener (galaxy::api)   IOverlayVisibilityChangeListener (galaxy::api)   IUserInformationRetrieveListener (galaxy::api)   
IApps (galaxy::api)   IFriendInvitationSendListener (galaxy::api)   ILobbyDataUpdateListener (galaxy::api)   IPersonaDataChangedListener (galaxy::api)   IUserStatsAndAchievementsRetrieveListener (galaxy::api)   
IAuthListener (galaxy::api)   IFriendListListener (galaxy::api)   ILobbyEnteredListener (galaxy::api)   IRichPresenceChangeListener (galaxy::api)   IUserTimePlayedRetrieveListener (galaxy::api)   
IChat (galaxy::api)   IFriends (galaxy::api)   ILobbyLeftListener (galaxy::api)   IRichPresenceListener (galaxy::api)   IUtils (galaxy::api)   
IChatRoomMessageSendListener (galaxy::api)   IGalaxyListener (galaxy::api)   ILobbyListListener (galaxy::api)   IRichPresenceRetrieveListener (galaxy::api)   
  s  
-
IChatRoomMessagesListener (galaxy::api)   IGalaxyThread (galaxy::api)   ILobbyMemberDataUpdateListener (galaxy::api)   IRuntimeError (galaxy::api)   
IChatRoomMessagesRetrieveListener (galaxy::api)   IGalaxyThreadFactory (galaxy::api)   ILobbyMemberStateListener (galaxy::api)   ISendInvitationListener (galaxy::api)   SelfRegisteringListener (galaxy::api)   
IChatRoomWithUserRetrieveListener (galaxy::api)   IGameInvitationReceivedListener (galaxy::api)   ILobbyMessageListener (galaxy::api)   ISentFriendInvitationListRetrieveListener (galaxy::api)   
IConnectionCloseListener (galaxy::api)   IGameJoinRequestedListener (galaxy::api)   ILobbyOwnerChangeListener (galaxy::api)   ISharedFileDownloadListener (galaxy::api)   
IConnectionDataListener (galaxy::api)   IGogServicesConnectionStateListener (galaxy::api)   ILogger (galaxy::api)   ISpecificUserDataListener (galaxy::api)   
IConnectionOpenListener (galaxy::api)   IInvalidArgumentError (galaxy::api)   IMatchmaking (galaxy::api)   IStats (galaxy::api)   
-
g | i | s
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1GalaxyID-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1GalaxyID-members.html deleted file mode 100644 index 3a0711f29..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1GalaxyID-members.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
GalaxyID Member List
-
-
- -

This is the complete list of members for GalaxyID, including all inherited members.

- - - - - - - - - - - - - - - - - - -
FromRealID(IDType type, uint64_t value)GalaxyIDinlinestatic
GalaxyID(void)GalaxyIDinline
GalaxyID(uint64_t _value)GalaxyIDinline
GalaxyID(const GalaxyID &galaxyID)GalaxyIDinline
GetIDType() constGalaxyIDinline
GetRealID() constGalaxyIDinline
ID_TYPE_LOBBY enum value (defined in GalaxyID)GalaxyID
ID_TYPE_UNASSIGNED enum value (defined in GalaxyID)GalaxyID
ID_TYPE_USER enum value (defined in GalaxyID)GalaxyID
IDType enum nameGalaxyID
IsValid() constGalaxyIDinline
operator!=(const GalaxyID &other) constGalaxyIDinline
operator<(const GalaxyID &other) constGalaxyIDinline
operator=(const GalaxyID &other)GalaxyIDinline
operator==(const GalaxyID &other) constGalaxyIDinline
ToUint64() constGalaxyIDinline
UNASSIGNED_VALUEGalaxyIDstatic
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1GalaxyID.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1GalaxyID.html deleted file mode 100644 index a60633e7f..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1GalaxyID.html +++ /dev/null @@ -1,581 +0,0 @@ - - - - - - - -GOG Galaxy: GalaxyID Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- - -
- -

Represents the ID of an entity used by Galaxy Peer. - More...

- -

#include <GalaxyID.h>

- - - - - -

-Public Types

enum  IDType { ID_TYPE_UNASSIGNED, -ID_TYPE_LOBBY, -ID_TYPE_USER - }
 The type of the ID.
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

 GalaxyID (void)
 Default constructor. More...
 
 GalaxyID (uint64_t _value)
 Creates an instance of GalaxyID of a specified value. More...
 
 GalaxyID (const GalaxyID &galaxyID)
 Copy constructor. More...
 
GalaxyIDoperator= (const GalaxyID &other)
 The assignment operator. More...
 
bool operator< (const GalaxyID &other) const
 The lower operator. More...
 
bool operator== (const GalaxyID &other) const
 The equality operator. More...
 
bool operator!= (const GalaxyID &other) const
 The inequality operator. More...
 
bool IsValid () const
 Checks if the ID is valid and is assigned to an entity. More...
 
uint64_t ToUint64 () const
 Returns the numerical value of the ID. More...
 
uint64_t GetRealID () const
 Returns the numerical value of the real ID, without any extra flags. More...
 
IDType GetIDType () const
 Returns the type of the ID. More...
 
- - - - -

-Static Public Member Functions

static GalaxyID FromRealID (IDType type, uint64_t value)
 Creates GalaxyID from real ID and type. More...
 
- - - - -

-Static Public Attributes

-static const uint64_t UNASSIGNED_VALUE = 0
 The numerical value used when the instance of GalaxyID is not valid.
 
-

Detailed Description

-

Represents the ID of an entity used by Galaxy Peer.

-

This can be the ID of either a lobby or a Galaxy user.

-

Constructor & Destructor Documentation

- -

◆ GalaxyID() [1/3]

- -
-
- - - - - -
- - - - - - - - -
GalaxyID (void )
-
-inline
-
- -

Default constructor.

-

Creates an instance of GalaxyID that is invalid and of unknown kind.

- -
-
- -

◆ GalaxyID() [2/3]

- -
-
- - - - - -
- - - - - - - - -
GalaxyID (uint64_t _value)
-
-inline
-
- -

Creates an instance of GalaxyID of a specified value.

-
Parameters
- - -
[in]_valueThe numerical value of the ID.
-
-
- -
-
- -

◆ GalaxyID() [3/3]

- -
-
- - - - - -
- - - - - - - - -
GalaxyID (const GalaxyIDgalaxyID)
-
-inline
-
- -

Copy constructor.

-

Creates a copy of another instance of GalaxyID.

-
Parameters
- - -
[in]galaxyIDThe instance of GalaxyID to copy from.
-
-
- -
-
-

Member Function Documentation

- -

◆ FromRealID()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
static GalaxyID FromRealID (IDType type,
uint64_t value 
)
-
-inlinestatic
-
- -

Creates GalaxyID from real ID and type.

-
Parameters
- - - -
[in]typeThe type of the ID.
[in]valueThe real ID value.
-
-
-
Returns
The GalaxyID.
- -
-
- -

◆ GetIDType()

- -
-
- - - - - -
- - - - - - - -
IDType GetIDType () const
-
-inline
-
- -

Returns the type of the ID.

-
Returns
The type of the ID.
- -
-
- -

◆ GetRealID()

- -
-
- - - - - -
- - - - - - - -
uint64_t GetRealID () const
-
-inline
-
- -

Returns the numerical value of the real ID, without any extra flags.

-
Remarks
The value is of the same form as the one used in Galaxy web services.
-
Returns
The numerical value of the ID, valid only when the ID is valid.
- -
-
- -

◆ IsValid()

- -
-
- - - - - -
- - - - - - - -
bool IsValid () const
-
-inline
-
- -

Checks if the ID is valid and is assigned to an entity.

-
Returns
true if the ID is valid, false otherwise.
- -
-
- -

◆ operator!=()

- -
-
- - - - - -
- - - - - - - - -
bool operator!= (const GalaxyIDother) const
-
-inline
-
- -

The inequality operator.

-

The opposite to the equality operator.

-
Parameters
- - -
[in]otherAnother instance of GalaxyID to compare to.
-
-
-
Returns
false if the instances are equal, true otherwise.
- -
-
- -

◆ operator<()

- -
-
- - - - - -
- - - - - - - - -
bool operator< (const GalaxyIDother) const
-
-inline
-
- -

The lower operator.

-

It is supposed to be used to compare only valid instances of GalaxyID that are assigned to entities of the same type.

-
Parameters
- - -
[in]otherAnother instance of GalaxyID to compare to.
-
-
-
Returns
true if this instance is lower, false otherwise.
- -
-
- -

◆ operator=()

- -
-
- - - - - -
- - - - - - - - -
GalaxyID& operator= (const GalaxyIDother)
-
-inline
-
- -

The assignment operator.

-

Makes the ID equal to another ID.

-
Parameters
- - -
[in]otherThe instance of GalaxyID to copy from.
-
-
-
Returns
A reference to this ID.
- -
-
- -

◆ operator==()

- -
-
- - - - - -
- - - - - - - - -
bool operator== (const GalaxyIDother) const
-
-inline
-
- -

The equality operator.

-

Might be used to compare all sorts of GalaxyID.

-
Parameters
- - -
[in]otherAnother instance of GalaxyID to compare to.
-
-
-
Returns
true if the instances are equal, false otherwise.
- -
-
- -

◆ ToUint64()

- -
-
- - - - - -
- - - - - - - -
uint64_t ToUint64 () const
-
-inline
-
- -

Returns the numerical value of the ID.

-
Remarks
The value comprises the real ID and possibly some extra flags that can be used e.g. for type-checking, which can be changed in the future. If you need the value in the same form as the one used in Galaxy web services, i.e. without any additional flags, use the GetRealID() method instead.
-
Returns
The numerical value of the ID, valid only when the ID is valid.
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1GalaxyID.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1GalaxyID.js deleted file mode 100644 index be87b1376..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1GalaxyID.js +++ /dev/null @@ -1,21 +0,0 @@ -var classgalaxy_1_1api_1_1GalaxyID = -[ - [ "IDType", "classgalaxy_1_1api_1_1GalaxyID.html#aa0a690a2c08f2c4e8568b767107275a2", [ - [ "ID_TYPE_UNASSIGNED", "classgalaxy_1_1api_1_1GalaxyID.html#aa0a690a2c08f2c4e8568b767107275a2a0c37b46c1fa2242c09e3771141a7d684", null ], - [ "ID_TYPE_LOBBY", "classgalaxy_1_1api_1_1GalaxyID.html#aa0a690a2c08f2c4e8568b767107275a2a427feed1429ee5b3586e98a3336ada24", null ], - [ "ID_TYPE_USER", "classgalaxy_1_1api_1_1GalaxyID.html#aa0a690a2c08f2c4e8568b767107275a2a5aef41d74ca1f21e1e6156338b8d7981", null ] - ] ], - [ "GalaxyID", "classgalaxy_1_1api_1_1GalaxyID.html#a2e3ebd392d5e297c13930b8faf898a1f", null ], - [ "GalaxyID", "classgalaxy_1_1api_1_1GalaxyID.html#ad59408c3065d045dba74ddae05e38b2e", null ], - [ "GalaxyID", "classgalaxy_1_1api_1_1GalaxyID.html#ad6b4fcad45c426af8fee75a65fc17ada", null ], - [ "FromRealID", "classgalaxy_1_1api_1_1GalaxyID.html#a0a8140979b8e84844babea160999f17e", null ], - [ "GetIDType", "classgalaxy_1_1api_1_1GalaxyID.html#a8d0a478ff0873b4ebf57313282dcb632", null ], - [ "GetRealID", "classgalaxy_1_1api_1_1GalaxyID.html#a9d568c67c6f51516c99356b501aeeeee", null ], - [ "IsValid", "classgalaxy_1_1api_1_1GalaxyID.html#ac532c4b500b1a85ea22217f2c65a70ed", null ], - [ "operator!=", "classgalaxy_1_1api_1_1GalaxyID.html#ae23bb7b697d7845bd447cf6d13cfde34", null ], - [ "operator<", "classgalaxy_1_1api_1_1GalaxyID.html#a38d3a3738e624bd4cfd961863c541f37", null ], - [ "operator=", "classgalaxy_1_1api_1_1GalaxyID.html#ac35243cc4381cf28ea2eb75c8e04d458", null ], - [ "operator==", "classgalaxy_1_1api_1_1GalaxyID.html#a708c1fa6b537417d7e2597dc89291be7", null ], - [ "ToUint64", "classgalaxy_1_1api_1_1GalaxyID.html#ae5c045e6a51c05bdc45693259e80de6e", null ], - [ "UNASSIGNED_VALUE", "classgalaxy_1_1api_1_1GalaxyID.html#a815f95d3facae427efd380d2b86723fd", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1GalaxyTypeAwareListener-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1GalaxyTypeAwareListener-members.html deleted file mode 100644 index a1a15680b..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1GalaxyTypeAwareListener-members.html +++ /dev/null @@ -1,108 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
GalaxyTypeAwareListener< type > Member List
-
-
- -

This is the complete list of members for GalaxyTypeAwareListener< type >, including all inherited members.

- - - -
GetListenerType()GalaxyTypeAwareListener< type >inlinestatic
~IGalaxyListener() (defined in IGalaxyListener)IGalaxyListenerinlinevirtual
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html deleted file mode 100644 index e5e8aa380..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - - -GOG Galaxy: GalaxyTypeAwareListener< type > Class Template Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
GalaxyTypeAwareListener< type > Class Template Reference
-
-
- -

The class that is inherited by all specific callback listeners and provides a static method that returns the type of the specific listener. - More...

- -

#include <IListenerRegistrar.h>

-
-Inheritance diagram for GalaxyTypeAwareListener< type >:
-
-
-
-
[legend]
- - - - - -

-Static Public Member Functions

static ListenerType GetListenerType ()
 Returns the type of the listener. More...
 
-

Detailed Description

-

template<ListenerType type>
-class galaxy::api::GalaxyTypeAwareListener< type >

- -

The class that is inherited by all specific callback listeners and provides a static method that returns the type of the specific listener.

-

Member Function Documentation

- -

◆ GetListenerType()

- -
-
- - - - - -
- - - - - - - -
static ListenerType GetListenerType ()
-
-inlinestatic
-
- -

Returns the type of the listener.

-
Returns
The type of the listener. A value of ListenerType.
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1GalaxyTypeAwareListener.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1GalaxyTypeAwareListener.js deleted file mode 100644 index 270519f4a..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1GalaxyTypeAwareListener.js +++ /dev/null @@ -1,4 +0,0 @@ -var classgalaxy_1_1api_1_1GalaxyTypeAwareListener = -[ - [ "GetListenerType", "classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html#aa9f47838e0408f2717d7a15f72228f44", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1GalaxyTypeAwareListener__inherit__graph.map b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1GalaxyTypeAwareListener__inherit__graph.map deleted file mode 100644 index f5fd6c67e..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1GalaxyTypeAwareListener__inherit__graph.map +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1GalaxyTypeAwareListener__inherit__graph.md5 b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1GalaxyTypeAwareListener__inherit__graph.md5 deleted file mode 100644 index cb046ce70..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1GalaxyTypeAwareListener__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -800a5a75cb8eef84b4c6ed85d442c9cf \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1GalaxyTypeAwareListener__inherit__graph.svg b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1GalaxyTypeAwareListener__inherit__graph.svg deleted file mode 100644 index ab78f79ad..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1GalaxyTypeAwareListener__inherit__graph.svg +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - -GalaxyTypeAwareListener< type > - - -Node0 - - -GalaxyTypeAwareListener -< type > - - - - -Node1 - - -IGalaxyListener - - - - -Node1->Node0 - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IAccessTokenListener-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IAccessTokenListener-members.html deleted file mode 100644 index 49879b466..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IAccessTokenListener-members.html +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
IAccessTokenListener Member List
-
-
- -

This is the complete list of members for IAccessTokenListener, including all inherited members.

- - - - -
GetListenerType()GalaxyTypeAwareListener< ACCESS_TOKEN_CHANGE >inlinestatic
OnAccessTokenChanged()=0IAccessTokenListenerpure virtual
~IGalaxyListener() (defined in IGalaxyListener)IGalaxyListenerinlinevirtual
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IAccessTokenListener.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IAccessTokenListener.html deleted file mode 100644 index 32967ff2e..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IAccessTokenListener.html +++ /dev/null @@ -1,163 +0,0 @@ - - - - - - - -GOG Galaxy: IAccessTokenListener Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
IAccessTokenListener Class Referenceabstract
-
-
- -

Listener for the event of a change of current access token. - More...

- -

#include <IUser.h>

-
-Inheritance diagram for IAccessTokenListener:
-
-
-
-
[legend]
- - - - - -

-Public Member Functions

virtual void OnAccessTokenChanged ()=0
 Notification for an event of retrieving an access token. More...
 
- - - - - -

-Additional Inherited Members

- Static Public Member Functions inherited from GalaxyTypeAwareListener< ACCESS_TOKEN_CHANGE >
static ListenerType GetListenerType ()
 Returns the type of the listener. More...
 
-

Detailed Description

-

Listener for the event of a change of current access token.

-

Member Function Documentation

- -

◆ OnAccessTokenChanged()

- -
-
- - - - - -
- - - - - - - -
virtual void OnAccessTokenChanged ()
-
-pure virtual
-
- -

Notification for an event of retrieving an access token.

-

In order to read the access token, call IUser::GetAccessToken().

- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IAccessTokenListener.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IAccessTokenListener.js deleted file mode 100644 index bd01fccce..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IAccessTokenListener.js +++ /dev/null @@ -1,4 +0,0 @@ -var classgalaxy_1_1api_1_1IAccessTokenListener = -[ - [ "OnAccessTokenChanged", "classgalaxy_1_1api_1_1IAccessTokenListener.html#a258ebfd3ebadc9d18d13a737bfb1331c", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IAccessTokenListener__inherit__graph.map b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IAccessTokenListener__inherit__graph.map deleted file mode 100644 index 972453772..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IAccessTokenListener__inherit__graph.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IAccessTokenListener__inherit__graph.md5 b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IAccessTokenListener__inherit__graph.md5 deleted file mode 100644 index 927e0f46f..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IAccessTokenListener__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -85d2cd0d611932451dbd660fcc7e86b4 \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IAccessTokenListener__inherit__graph.svg b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IAccessTokenListener__inherit__graph.svg deleted file mode 100644 index d798419ef..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IAccessTokenListener__inherit__graph.svg +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - -IAccessTokenListener - - -Node0 - - -IAccessTokenListener - - - - -Node1 - - -GalaxyTypeAwareListener -< ACCESS_TOKEN_CHANGE > - - - - -Node1->Node0 - - - - -Node2 - - -IGalaxyListener - - - - -Node2->Node1 - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IAchievementChangeListener-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IAchievementChangeListener-members.html deleted file mode 100644 index dfa875419..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IAchievementChangeListener-members.html +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
IAchievementChangeListener Member List
-
-
- -

This is the complete list of members for IAchievementChangeListener, including all inherited members.

- - - - -
GetListenerType()GalaxyTypeAwareListener< ACHIEVEMENT_CHANGE >inlinestatic
OnAchievementUnlocked(const char *name)=0IAchievementChangeListenerpure virtual
~IGalaxyListener() (defined in IGalaxyListener)IGalaxyListenerinlinevirtual
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IAchievementChangeListener.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IAchievementChangeListener.html deleted file mode 100644 index 598232c63..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IAchievementChangeListener.html +++ /dev/null @@ -1,169 +0,0 @@ - - - - - - - -GOG Galaxy: IAchievementChangeListener Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
IAchievementChangeListener Class Referenceabstract
-
-
- -

Listener for the event of changing an achievement. - More...

- -

#include <IStats.h>

-
-Inheritance diagram for IAchievementChangeListener:
-
-
-
-
[legend]
- - - - - -

-Public Member Functions

virtual void OnAchievementUnlocked (const char *name)=0
 Notification for the event of storing changes that result in unlocking a particular achievement. More...
 
- - - - - -

-Additional Inherited Members

- Static Public Member Functions inherited from GalaxyTypeAwareListener< ACHIEVEMENT_CHANGE >
static ListenerType GetListenerType ()
 Returns the type of the listener. More...
 
-

Detailed Description

-

Listener for the event of changing an achievement.

-

Member Function Documentation

- -

◆ OnAchievementUnlocked()

- -
-
- - - - - -
- - - - - - - - -
virtual void OnAchievementUnlocked (const char * name)
-
-pure virtual
-
- -

Notification for the event of storing changes that result in unlocking a particular achievement.

-
Parameters
- - -
[in]nameThe code name of the achievement.
-
-
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IAchievementChangeListener.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IAchievementChangeListener.js deleted file mode 100644 index c958f3a74..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IAchievementChangeListener.js +++ /dev/null @@ -1,4 +0,0 @@ -var classgalaxy_1_1api_1_1IAchievementChangeListener = -[ - [ "OnAchievementUnlocked", "classgalaxy_1_1api_1_1IAchievementChangeListener.html#a0c2290aab40bc3d2306ce41d813e89f3", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IAchievementChangeListener__inherit__graph.map b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IAchievementChangeListener__inherit__graph.map deleted file mode 100644 index ce6ba2ed6..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IAchievementChangeListener__inherit__graph.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IAchievementChangeListener__inherit__graph.md5 b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IAchievementChangeListener__inherit__graph.md5 deleted file mode 100644 index b2f8a1cef..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IAchievementChangeListener__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -0260f254839eba9f204f249afb108840 \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IAchievementChangeListener__inherit__graph.svg b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IAchievementChangeListener__inherit__graph.svg deleted file mode 100644 index 78133fd04..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IAchievementChangeListener__inherit__graph.svg +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - -IAchievementChangeListener - - -Node0 - - -IAchievementChangeListener - - - - -Node1 - - -GalaxyTypeAwareListener -< ACHIEVEMENT_CHANGE > - - - - -Node1->Node0 - - - - -Node2 - - -IGalaxyListener - - - - -Node2->Node1 - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IApps-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IApps-members.html deleted file mode 100644 index 4079ab67f..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IApps-members.html +++ /dev/null @@ -1,110 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
IApps Member List
-
-
- -

This is the complete list of members for IApps, including all inherited members.

- - - - - -
GetCurrentGameLanguage(ProductID productID=0)=0IAppspure virtual
GetCurrentGameLanguageCopy(char *buffer, uint32_t bufferLength, ProductID productID=0)=0IAppspure virtual
IsDlcInstalled(ProductID productID)=0IAppspure virtual
~IApps() (defined in IApps)IAppsinlinevirtual
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IApps.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IApps.html deleted file mode 100644 index a4b1afce6..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IApps.html +++ /dev/null @@ -1,252 +0,0 @@ - - - - - - - -GOG Galaxy: IApps Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
IApps Class Referenceabstract
-
-
- -

The interface for managing application activities. - More...

- -

#include <IApps.h>

- - - - - - - - - - - -

-Public Member Functions

virtual bool IsDlcInstalled (ProductID productID)=0
 Checks if specified DLC is installed. More...
 
virtual const char * GetCurrentGameLanguage (ProductID productID=0)=0
 Returns current game language for given product ID. More...
 
virtual void GetCurrentGameLanguageCopy (char *buffer, uint32_t bufferLength, ProductID productID=0)=0
 Copies the current game language for given product ID to a buffer. More...
 
-

Detailed Description

-

The interface for managing application activities.

-
Remarks
This interface is fully functional in any situation when Init() reports an error.
-

Member Function Documentation

- -

◆ GetCurrentGameLanguage()

- -
-
- - - - - -
- - - - - - - - -
virtual const char* GetCurrentGameLanguage (ProductID productID = 0)
-
-pure virtual
-
- -

Returns current game language for given product ID.

-
Parameters
- - -
[in]productIDThe ID of the game or DLC to check.
-
-
-
Returns
current game language for given product ID.
- -
-
- -

◆ GetCurrentGameLanguageCopy()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
virtual void GetCurrentGameLanguageCopy (char * buffer,
uint32_t bufferLength,
ProductID productID = 0 
)
-
-pure virtual
-
- -

Copies the current game language for given product ID to a buffer.

-
Parameters
- - - - -
[in,out]bufferThe output buffer.
[in]bufferLengthThe size of the output buffer.
[in]productIDThe ID of the game or DLC to check.
-
-
-
Returns
current game language for given product ID.
- -
-
- -

◆ IsDlcInstalled()

- -
-
- - - - - -
- - - - - - - - -
virtual bool IsDlcInstalled (ProductID productID)
-
-pure virtual
-
- -

Checks if specified DLC is installed.

-
Parameters
- - -
[in]productIDThe ID of the DLC to check.
-
-
-
Returns
true if specified DLC is installed, false otherwise.
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IApps.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IApps.js deleted file mode 100644 index bcd49affe..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IApps.js +++ /dev/null @@ -1,7 +0,0 @@ -var classgalaxy_1_1api_1_1IApps = -[ - [ "~IApps", "classgalaxy_1_1api_1_1IApps.html#a2135bee67458023f7fb5ac750026f3f5", null ], - [ "GetCurrentGameLanguage", "classgalaxy_1_1api_1_1IApps.html#a3f9c65577ba3ce08f9addb81245fa305", null ], - [ "GetCurrentGameLanguageCopy", "classgalaxy_1_1api_1_1IApps.html#a1e420c689ec662327f75ef71ad5916dd", null ], - [ "IsDlcInstalled", "classgalaxy_1_1api_1_1IApps.html#a46fbdec6ec2e1b6d1a1625ba157d3aa2", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IAuthListener-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IAuthListener-members.html deleted file mode 100644 index 1319b3365..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IAuthListener-members.html +++ /dev/null @@ -1,120 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
IAuthListener Member List
-
- -
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IAuthListener.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IAuthListener.html deleted file mode 100644 index 55db8a12c..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IAuthListener.html +++ /dev/null @@ -1,257 +0,0 @@ - - - - - - - -GOG Galaxy: IAuthListener Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
IAuthListener Class Referenceabstract
-
-
- -

Listener for the events related to user authentication. - More...

- -

#include <IUser.h>

-
-Inheritance diagram for IAuthListener:
-
-
-
-
[legend]
- - - - - -

-Public Types

enum  FailureReason {
-  FAILURE_REASON_UNDEFINED, -FAILURE_REASON_GALAXY_SERVICE_NOT_AVAILABLE, -FAILURE_REASON_GALAXY_SERVICE_NOT_SIGNED_IN, -FAILURE_REASON_CONNECTION_FAILURE, -
-  FAILURE_REASON_NO_LICENSE, -FAILURE_REASON_INVALID_CREDENTIALS, -FAILURE_REASON_GALAXY_NOT_INITIALIZED, -FAILURE_REASON_EXTERNAL_SERVICE_FAILURE -
- }
 Reason of authentication failure. More...
 
- - - - - - - - - - -

-Public Member Functions

-virtual void OnAuthSuccess ()=0
 Notification for the event of successful sign in.
 
virtual void OnAuthFailure (FailureReason failureReason)=0
 Notification for the event of unsuccessful sign in. More...
 
virtual void OnAuthLost ()=0
 Notification for the event of loosing authentication. More...
 
- - - - - -

-Additional Inherited Members

- Static Public Member Functions inherited from GalaxyTypeAwareListener< AUTH >
static ListenerType GetListenerType ()
 Returns the type of the listener. More...
 
-

Detailed Description

-

Listener for the events related to user authentication.

-

Member Enumeration Documentation

- -

◆ FailureReason

- -
-
- - - - -
enum FailureReason
-
- -

Reason of authentication failure.

- - - - - - - - - -
Enumerator
FAILURE_REASON_UNDEFINED 

Undefined error.

-
FAILURE_REASON_GALAXY_SERVICE_NOT_AVAILABLE 

Galaxy Service is not installed properly or fails to start.

-
FAILURE_REASON_GALAXY_SERVICE_NOT_SIGNED_IN 

Galaxy Service is not signed in properly.

-
FAILURE_REASON_CONNECTION_FAILURE 

Unable to communicate with backend services.

-
FAILURE_REASON_NO_LICENSE 

User that is being signed in has no license for this application.

-
FAILURE_REASON_INVALID_CREDENTIALS 

Unable to match client credentials (ID, secret) or user credentials (username, password).

-
FAILURE_REASON_GALAXY_NOT_INITIALIZED 

Galaxy has not been initialized.

-
FAILURE_REASON_EXTERNAL_SERVICE_FAILURE 

Unable to communicate with external service.

-
- -
-
-

Member Function Documentation

- -

◆ OnAuthFailure()

- -
-
- - - - - -
- - - - - - - - -
virtual void OnAuthFailure (FailureReason failureReason)
-
-pure virtual
-
- -

Notification for the event of unsuccessful sign in.

-
Parameters
- - -
[in]failureReasonThe cause of the failure.
-
-
- -
-
- -

◆ OnAuthLost()

- -
-
- - - - - -
- - - - - - - -
virtual void OnAuthLost ()
-
-pure virtual
-
- -

Notification for the event of loosing authentication.

-
Remarks
Might occur any time after successfully signing in.
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IAuthListener.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IAuthListener.js deleted file mode 100644 index 4ba8a7e63..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IAuthListener.js +++ /dev/null @@ -1,16 +0,0 @@ -var classgalaxy_1_1api_1_1IAuthListener = -[ - [ "FailureReason", "classgalaxy_1_1api_1_1IAuthListener.html#a2e1fab5fc244b0783172514baec21a6e", [ - [ "FAILURE_REASON_UNDEFINED", "classgalaxy_1_1api_1_1IAuthListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39", null ], - [ "FAILURE_REASON_GALAXY_SERVICE_NOT_AVAILABLE", "classgalaxy_1_1api_1_1IAuthListener.html#a2e1fab5fc244b0783172514baec21a6ea1240b0ce8b7f84b6d27510970c06776d", null ], - [ "FAILURE_REASON_GALAXY_SERVICE_NOT_SIGNED_IN", "classgalaxy_1_1api_1_1IAuthListener.html#a2e1fab5fc244b0783172514baec21a6ea27ab7c15c949b5bdac9a72372d48a4e4", null ], - [ "FAILURE_REASON_CONNECTION_FAILURE", "classgalaxy_1_1api_1_1IAuthListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0", null ], - [ "FAILURE_REASON_NO_LICENSE", "classgalaxy_1_1api_1_1IAuthListener.html#a2e1fab5fc244b0783172514baec21a6eaf5553255a42a2b50bba4890a2bda4fd6", null ], - [ "FAILURE_REASON_INVALID_CREDENTIALS", "classgalaxy_1_1api_1_1IAuthListener.html#a2e1fab5fc244b0783172514baec21a6eab52a5b434ff81e2589c99889ace15fad", null ], - [ "FAILURE_REASON_GALAXY_NOT_INITIALIZED", "classgalaxy_1_1api_1_1IAuthListener.html#a2e1fab5fc244b0783172514baec21a6eafb1301b46bbbb368826e2596af8aec24", null ], - [ "FAILURE_REASON_EXTERNAL_SERVICE_FAILURE", "classgalaxy_1_1api_1_1IAuthListener.html#a2e1fab5fc244b0783172514baec21a6eab7145a99bbd4fa9b92e8d85150f8106f", null ] - ] ], - [ "OnAuthFailure", "classgalaxy_1_1api_1_1IAuthListener.html#ae6242dab20e1267e8bb4c5b4d9570300", null ], - [ "OnAuthLost", "classgalaxy_1_1api_1_1IAuthListener.html#a1597f5b07b7e050f0cb7f62a2dae8840", null ], - [ "OnAuthSuccess", "classgalaxy_1_1api_1_1IAuthListener.html#aa824226d05ff7e738df8e8bef62dbf69", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IAuthListener__inherit__graph.map b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IAuthListener__inherit__graph.map deleted file mode 100644 index 372b78c50..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IAuthListener__inherit__graph.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IAuthListener__inherit__graph.md5 b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IAuthListener__inherit__graph.md5 deleted file mode 100644 index 35141d5dd..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IAuthListener__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -bfffc515b182cb348d1167593bd9e2be \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IAuthListener__inherit__graph.svg b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IAuthListener__inherit__graph.svg deleted file mode 100644 index 0179e9254..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IAuthListener__inherit__graph.svg +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - -IAuthListener - - -Node0 - - -IAuthListener - - - - -Node1 - - -GalaxyTypeAwareListener -< AUTH > - - - - -Node1->Node0 - - - - -Node2 - - -IGalaxyListener - - - - -Node2->Node1 - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChat-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChat-members.html deleted file mode 100644 index 099954521..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChat-members.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
IChat Member List
-
-
- -

This is the complete list of members for IChat, including all inherited members.

- - - - - - - - - - -
GetChatRoomMemberCount(ChatRoomID chatRoomID)=0IChatpure virtual
GetChatRoomMemberUserIDByIndex(ChatRoomID chatRoomID, uint32_t index)=0IChatpure virtual
GetChatRoomMessageByIndex(uint32_t index, ChatMessageID &messageID, ChatMessageType &messageType, GalaxyID &senderID, uint32_t &sendTime, char *buffer, uint32_t bufferLength)=0IChatpure virtual
GetChatRoomUnreadMessageCount(ChatRoomID chatRoomID)=0IChatpure virtual
MarkChatRoomAsRead(ChatRoomID chatRoomID)=0IChatpure virtual
RequestChatRoomMessages(ChatRoomID chatRoomID, uint32_t limit, ChatMessageID referenceMessageID=0, IChatRoomMessagesRetrieveListener *const listener=NULL)=0IChatpure virtual
RequestChatRoomWithUser(GalaxyID userID, IChatRoomWithUserRetrieveListener *const listener=NULL)=0IChatpure virtual
SendChatRoomMessage(ChatRoomID chatRoomID, const char *msg, IChatRoomMessageSendListener *const listener=NULL)=0IChatpure virtual
~IChat() (defined in IChat)IChatinlinevirtual
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChat.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChat.html deleted file mode 100644 index a31b673f4..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChat.html +++ /dev/null @@ -1,545 +0,0 @@ - - - - - - - -GOG Galaxy: IChat Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
IChat Class Referenceabstract
-
-
- -

The interface for chat communication with other Galaxy Users. - More...

- -

#include <IChat.h>

- - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

virtual void RequestChatRoomWithUser (GalaxyID userID, IChatRoomWithUserRetrieveListener *const listener=NULL)=0
 Creates new, or retrieves already existing one-on-one chat room with a specified user. More...
 
virtual void RequestChatRoomMessages (ChatRoomID chatRoomID, uint32_t limit, ChatMessageID referenceMessageID=0, IChatRoomMessagesRetrieveListener *const listener=NULL)=0
 Retrieves historical messages in a specified chat room. More...
 
virtual uint32_t SendChatRoomMessage (ChatRoomID chatRoomID, const char *msg, IChatRoomMessageSendListener *const listener=NULL)=0
 Sends a message to a chat room. More...
 
virtual uint32_t GetChatRoomMessageByIndex (uint32_t index, ChatMessageID &messageID, ChatMessageType &messageType, GalaxyID &senderID, uint32_t &sendTime, char *buffer, uint32_t bufferLength)=0
 Reads an incoming chat room message by index. More...
 
virtual uint32_t GetChatRoomMemberCount (ChatRoomID chatRoomID)=0
 Returns the number of users in a specified chat room. More...
 
virtual GalaxyID GetChatRoomMemberUserIDByIndex (ChatRoomID chatRoomID, uint32_t index)=0
 Returns the GalaxyID of a user in a specified chat room. More...
 
virtual uint32_t GetChatRoomUnreadMessageCount (ChatRoomID chatRoomID)=0
 Returns the number of unread messages in a specified chat room. More...
 
virtual void MarkChatRoomAsRead (ChatRoomID chatRoomID)=0
 Marks a specified chat room as read. More...
 
-

Detailed Description

-

The interface for chat communication with other Galaxy Users.

-

Member Function Documentation

- -

◆ GetChatRoomMemberCount()

- -
-
- - - - - -
- - - - - - - - -
virtual uint32_t GetChatRoomMemberCount (ChatRoomID chatRoomID)
-
-pure virtual
-
- -

Returns the number of users in a specified chat room.

-
Parameters
- - -
[in]chatRoomIDThe ID of the chat room.
-
-
-
Returns
The number of users in the specified chat room.
- -
-
- -

◆ GetChatRoomMemberUserIDByIndex()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual GalaxyID GetChatRoomMemberUserIDByIndex (ChatRoomID chatRoomID,
uint32_t index 
)
-
-pure virtual
-
- -

Returns the GalaxyID of a user in a specified chat room.

-
Precondition
The user must be in the specified chat room in order to retrieve the room members.
-
Parameters
- - - -
[in]chatRoomIDThe ID of the chat room.
[in]indexIndex as an integer in the range of [0, number of chat room members).
-
-
-
Returns
The ID of the chat room member.
- -
-
- -

◆ GetChatRoomMessageByIndex()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
virtual uint32_t GetChatRoomMessageByIndex (uint32_t index,
ChatMessageIDmessageID,
ChatMessageTypemessageType,
GalaxyIDsenderID,
uint32_t & sendTime,
char * buffer,
uint32_t bufferLength 
)
-
-pure virtual
-
- -

Reads an incoming chat room message by index.

-

This call is non-blocking and operates on the messages available in the IChatRoomMessagesListener, thus instantly finishes.

-

If the buffer that is supposed to take the message is too small, the message will be truncated to its size. The size of the longest message is provided in the notification about an incoming message from IChatRoomMessagesListener::OnChatRoomMessagesReceived().

-
Remarks
This method can be used only inside of IChatRoomMessagesListener::OnChatRoomMessagesReceived().
-
Parameters
- - - - - - - - -
[in]indexIndex of the incomming message as an integer in the range of [0, number of messages).
[out]messageIDGlobal ID of the message.
[out]messageTypeThe type of the message.
[out]senderIDThe ID of the sender of the message.
[out]sendTimeThe time when the message was sent.
[in,out]bufferThe output buffer.
[in]bufferLengthThe size of the output buffer.
-
-
-
Returns
Actual message size in bytes.
- -
-
- -

◆ GetChatRoomUnreadMessageCount()

- -
-
- - - - - -
- - - - - - - - -
virtual uint32_t GetChatRoomUnreadMessageCount (ChatRoomID chatRoomID)
-
-pure virtual
-
- -

Returns the number of unread messages in a specified chat room.

-
Precondition
The user must be in the specified chat room in order to retrieve the message count.
-
Parameters
- - -
[in]chatRoomIDThe ID of the chat room.
-
-
-
Returns
The number of unread messages in the chat room.
- -
-
- -

◆ MarkChatRoomAsRead()

- -
-
- - - - - -
- - - - - - - - -
virtual void MarkChatRoomAsRead (ChatRoomID chatRoomID)
-
-pure virtual
-
- -

Marks a specified chat room as read.

-

Marks all the messages in the specified chat room up to the one received last as read.

-
Remarks
The user should have read messages in the specified chat room in order to mark it as read.
-
Parameters
- - -
[in]chatRoomIDThe ID of the chat room.
-
-
- -
-
- -

◆ RequestChatRoomMessages()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
virtual void RequestChatRoomMessages (ChatRoomID chatRoomID,
uint32_t limit,
ChatMessageID referenceMessageID = 0,
IChatRoomMessagesRetrieveListener *const listener = NULL 
)
-
-pure virtual
-
- -

Retrieves historical messages in a specified chat room.

-

This call is asynchronous. Response comes to the IChatRoomMessagesRetrieveListener.

-

The list of retrieved messages contains a limited number of the latest messages that were sent prior to the one specified as the optional reference message.

-
Precondition
The user must be in the specified chat room in order to retrieve the messages.
-
Parameters
- - - - - -
[in]chatRoomIDThe ID of the chat room.
[in]limitThe maximum number of messages to retrieve or 0 for using default.
[in]referenceMessageIDThe ID of the oldest of the messages that were already retrieved.
[in]listenerThe listener for specific operation.
-
-
- -
-
- -

◆ RequestChatRoomWithUser()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void RequestChatRoomWithUser (GalaxyID userID,
IChatRoomWithUserRetrieveListener *const listener = NULL 
)
-
-pure virtual
-
- -

Creates new, or retrieves already existing one-on-one chat room with a specified user.

-

This call is asynchronous. Response comes to the IChatRoomWithUserRetrieveListener, provided that the chat room was created successfully, in which case chat room data is immediately available.

-
Parameters
- - - -
[in]userIDThe ID of the interlocutor user.
[in]listenerThe listener for specific operation.
-
-
- -
-
- -

◆ SendChatRoomMessage()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
virtual uint32_t SendChatRoomMessage (ChatRoomID chatRoomID,
const char * msg,
IChatRoomMessageSendListener *const listener = NULL 
)
-
-pure virtual
-
- -

Sends a message to a chat room.

-

This call is asynchronous. Result of sending message comes to the IChatRoomMessageSendListener. If message was sent successfully, for all the members in the chat room there comes a notification to the IChatRoomMessagesListener.

-
Remarks
Internal message index returned by this method should only be used to identify sent messages in callbacks that come to the IChatRoomMessageSendListener.
-
Precondition
The user needs to be in the chat room in order to send a message to its members.
-
Parameters
- - - - -
[in]chatRoomIDThe ID of the chat room.
[in]msgThe message to send.
[in]listenerThe listener for specific operation.
-
-
-
Returns
Internal message index.
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChat.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChat.js deleted file mode 100644 index 9359362f9..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChat.js +++ /dev/null @@ -1,12 +0,0 @@ -var classgalaxy_1_1api_1_1IChat = -[ - [ "~IChat", "classgalaxy_1_1api_1_1IChat.html#a8d154c3f7c1895de4c9d65205300c6ec", null ], - [ "GetChatRoomMemberCount", "classgalaxy_1_1api_1_1IChat.html#a251ddea16a64be7461e6d5de78a4ad63", null ], - [ "GetChatRoomMemberUserIDByIndex", "classgalaxy_1_1api_1_1IChat.html#a6a8716d44283234878d810d075b2bc09", null ], - [ "GetChatRoomMessageByIndex", "classgalaxy_1_1api_1_1IChat.html#ae8d32143755d50f5a0738287bce697f9", null ], - [ "GetChatRoomUnreadMessageCount", "classgalaxy_1_1api_1_1IChat.html#ae29c115c1f262e6386ee76c46371b94b", null ], - [ "MarkChatRoomAsRead", "classgalaxy_1_1api_1_1IChat.html#a1b8ef66f124412d9fef6e8c4b1ee86c3", null ], - [ "RequestChatRoomMessages", "classgalaxy_1_1api_1_1IChat.html#acad827245bab28f694508420c6363a1f", null ], - [ "RequestChatRoomWithUser", "classgalaxy_1_1api_1_1IChat.html#a1c71546d2f33533cb9f24a9d29764b60", null ], - [ "SendChatRoomMessage", "classgalaxy_1_1api_1_1IChat.html#a11cff02f62369b026fd7802bdeb9aca1", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChatRoomMessageSendListener-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChatRoomMessageSendListener-members.html deleted file mode 100644 index 3992661b5..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChatRoomMessageSendListener-members.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
IChatRoomMessageSendListener Member List
-
-
- -

This is the complete list of members for IChatRoomMessageSendListener, including all inherited members.

- - - - - - - - - -
FAILURE_REASON_CONNECTION_FAILURE enum valueIChatRoomMessageSendListener
FAILURE_REASON_FORBIDDEN enum valueIChatRoomMessageSendListener
FAILURE_REASON_UNDEFINED enum valueIChatRoomMessageSendListener
FailureReason enum nameIChatRoomMessageSendListener
GetListenerType()GalaxyTypeAwareListener< CHAT_ROOM_MESSAGE_SEND_LISTENER >inlinestatic
OnChatRoomMessageSendFailure(ChatRoomID chatRoomID, uint32_t sentMessageIndex, FailureReason failureReason)=0IChatRoomMessageSendListenerpure virtual
OnChatRoomMessageSendSuccess(ChatRoomID chatRoomID, uint32_t sentMessageIndex, ChatMessageID messageID, uint32_t sendTime)=0IChatRoomMessageSendListenerpure virtual
~IGalaxyListener() (defined in IGalaxyListener)IGalaxyListenerinlinevirtual
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChatRoomMessageSendListener.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChatRoomMessageSendListener.html deleted file mode 100644 index 67a363f78..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChatRoomMessageSendListener.html +++ /dev/null @@ -1,284 +0,0 @@ - - - - - - - -GOG Galaxy: IChatRoomMessageSendListener Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
IChatRoomMessageSendListener Class Referenceabstract
-
-
- -

Listener for the event of sending a chat room message. - More...

- -

#include <IChat.h>

-
-Inheritance diagram for IChatRoomMessageSendListener:
-
-
-
-
[legend]
- - - - - -

-Public Types

enum  FailureReason { FAILURE_REASON_UNDEFINED, -FAILURE_REASON_FORBIDDEN, -FAILURE_REASON_CONNECTION_FAILURE - }
 The reason of a failure in sending a message to a chat room. More...
 
- - - - - - - -

-Public Member Functions

virtual void OnChatRoomMessageSendSuccess (ChatRoomID chatRoomID, uint32_t sentMessageIndex, ChatMessageID messageID, uint32_t sendTime)=0
 Notification for the event of sending a chat room message. More...
 
virtual void OnChatRoomMessageSendFailure (ChatRoomID chatRoomID, uint32_t sentMessageIndex, FailureReason failureReason)=0
 Notification for the event of a failure in sending a message to a chat room. More...
 
- - - - - -

-Additional Inherited Members

- Static Public Member Functions inherited from GalaxyTypeAwareListener< CHAT_ROOM_MESSAGE_SEND_LISTENER >
static ListenerType GetListenerType ()
 Returns the type of the listener. More...
 
-

Detailed Description

-

Listener for the event of sending a chat room message.

-

Member Enumeration Documentation

- -

◆ FailureReason

- -
-
- - - - -
enum FailureReason
-
- -

The reason of a failure in sending a message to a chat room.

- - - - -
Enumerator
FAILURE_REASON_UNDEFINED 

Unspecified error.

-
FAILURE_REASON_FORBIDDEN 

Sending messages to the chat room is forbidden for the user.

-
FAILURE_REASON_CONNECTION_FAILURE 

Unable to communicate with backend services.

-
- -
-
-

Member Function Documentation

- -

◆ OnChatRoomMessageSendFailure()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
virtual void OnChatRoomMessageSendFailure (ChatRoomID chatRoomID,
uint32_t sentMessageIndex,
FailureReason failureReason 
)
-
-pure virtual
-
- -

Notification for the event of a failure in sending a message to a chat room.

-
Parameters
- - - - -
[in]chatRoomIDThe ID of the chat room.
[in]sentMessageIndexThe internal index of the sent message.
[in]failureReasonThe cause of the failure.
-
-
- -
-
- -

◆ OnChatRoomMessageSendSuccess()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
virtual void OnChatRoomMessageSendSuccess (ChatRoomID chatRoomID,
uint32_t sentMessageIndex,
ChatMessageID messageID,
uint32_t sendTime 
)
-
-pure virtual
-
- -

Notification for the event of sending a chat room message.

-
Parameters
- - - - - -
[in]chatRoomIDThe ID of the chat room.
[in]sentMessageIndexThe internal index of the sent message.
[in]messageIDThe ID of the sent message.
[in]sendTimeThe time at which the message was sent.
-
-
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChatRoomMessageSendListener.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChatRoomMessageSendListener.js deleted file mode 100644 index ce3db3e6f..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChatRoomMessageSendListener.js +++ /dev/null @@ -1,10 +0,0 @@ -var classgalaxy_1_1api_1_1IChatRoomMessageSendListener = -[ - [ "FailureReason", "classgalaxy_1_1api_1_1IChatRoomMessageSendListener.html#a2e1fab5fc244b0783172514baec21a6e", [ - [ "FAILURE_REASON_UNDEFINED", "classgalaxy_1_1api_1_1IChatRoomMessageSendListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39", null ], - [ "FAILURE_REASON_FORBIDDEN", "classgalaxy_1_1api_1_1IChatRoomMessageSendListener.html#a2e1fab5fc244b0783172514baec21a6ea1ddabde3adccfb118865118a875d071d", null ], - [ "FAILURE_REASON_CONNECTION_FAILURE", "classgalaxy_1_1api_1_1IChatRoomMessageSendListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0", null ] - ] ], - [ "OnChatRoomMessageSendFailure", "classgalaxy_1_1api_1_1IChatRoomMessageSendListener.html#aa15ca54f88deb44ef1f9a49b9f248fef", null ], - [ "OnChatRoomMessageSendSuccess", "classgalaxy_1_1api_1_1IChatRoomMessageSendListener.html#a36c02be9c4ab7ad034ffaec9a5b0aa2d", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChatRoomMessageSendListener__inherit__graph.map b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChatRoomMessageSendListener__inherit__graph.map deleted file mode 100644 index 335069b4f..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChatRoomMessageSendListener__inherit__graph.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChatRoomMessageSendListener__inherit__graph.md5 b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChatRoomMessageSendListener__inherit__graph.md5 deleted file mode 100644 index 6bc2dc0ed..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChatRoomMessageSendListener__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -2b216944f9eaef8da73b35ebe7c072eb \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChatRoomMessageSendListener__inherit__graph.svg b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChatRoomMessageSendListener__inherit__graph.svg deleted file mode 100644 index 680001a2f..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChatRoomMessageSendListener__inherit__graph.svg +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - -IChatRoomMessageSendListener - - -Node0 - - -IChatRoomMessageSendListener - - - - -Node1 - - -GalaxyTypeAwareListener -< CHAT_ROOM_MESSAGE_SEND -_LISTENER > - - - - -Node1->Node0 - - - - -Node2 - - -IGalaxyListener - - - - -Node2->Node1 - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChatRoomMessagesListener-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChatRoomMessagesListener-members.html deleted file mode 100644 index 1f572f298..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChatRoomMessagesListener-members.html +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
IChatRoomMessagesListener Member List
-
-
- -

This is the complete list of members for IChatRoomMessagesListener, including all inherited members.

- - - - -
GetListenerType()GalaxyTypeAwareListener< CHAT_ROOM_MESSAGES_LISTENER >inlinestatic
OnChatRoomMessagesReceived(ChatRoomID chatRoomID, uint32_t messageCount, uint32_t longestMessageLenght)=0IChatRoomMessagesListenerpure virtual
~IGalaxyListener() (defined in IGalaxyListener)IGalaxyListenerinlinevirtual
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChatRoomMessagesListener.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChatRoomMessagesListener.html deleted file mode 100644 index f4fe09417..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChatRoomMessagesListener.html +++ /dev/null @@ -1,189 +0,0 @@ - - - - - - - -GOG Galaxy: IChatRoomMessagesListener Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
IChatRoomMessagesListener Class Referenceabstract
-
-
- -

Listener for the event of receiving chat room messages. - More...

- -

#include <IChat.h>

-
-Inheritance diagram for IChatRoomMessagesListener:
-
-
-
-
[legend]
- - - - - -

-Public Member Functions

virtual void OnChatRoomMessagesReceived (ChatRoomID chatRoomID, uint32_t messageCount, uint32_t longestMessageLenght)=0
 Notification for the event of receiving chat room messages. More...
 
- - - - - -

-Additional Inherited Members

- Static Public Member Functions inherited from GalaxyTypeAwareListener< CHAT_ROOM_MESSAGES_LISTENER >
static ListenerType GetListenerType ()
 Returns the type of the listener. More...
 
-

Detailed Description

-

Listener for the event of receiving chat room messages.

-

Member Function Documentation

- -

◆ OnChatRoomMessagesReceived()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
virtual void OnChatRoomMessagesReceived (ChatRoomID chatRoomID,
uint32_t messageCount,
uint32_t longestMessageLenght 
)
-
-pure virtual
-
- -

Notification for the event of receiving chat room messages.

-

In order to read subsequent messages, call IChat::GetChatRoomMessageByIndex().

-
Remarks
First invocation of this notification initiates the dialog in the specified chat room on the receiving side. Chat room data is available at the time this notification comes.
-
Parameters
- - - - -
[in]chatRoomIDThe ID of the chat room.
[in]messageCountThe amount of messages received in the chat room.
[in]longestMessageLenghtThe length of the longest message.
-
-
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChatRoomMessagesListener.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChatRoomMessagesListener.js deleted file mode 100644 index 8b314dda8..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChatRoomMessagesListener.js +++ /dev/null @@ -1,4 +0,0 @@ -var classgalaxy_1_1api_1_1IChatRoomMessagesListener = -[ - [ "OnChatRoomMessagesReceived", "classgalaxy_1_1api_1_1IChatRoomMessagesListener.html#ab440a4f2f41c573c8debdf71de088c2a", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChatRoomMessagesListener__inherit__graph.map b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChatRoomMessagesListener__inherit__graph.map deleted file mode 100644 index 2b006e9cb..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChatRoomMessagesListener__inherit__graph.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChatRoomMessagesListener__inherit__graph.md5 b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChatRoomMessagesListener__inherit__graph.md5 deleted file mode 100644 index 4b814d153..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChatRoomMessagesListener__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -532713e519a74516341b7b347ad66f47 \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChatRoomMessagesListener__inherit__graph.svg b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChatRoomMessagesListener__inherit__graph.svg deleted file mode 100644 index a80003ba7..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChatRoomMessagesListener__inherit__graph.svg +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - -IChatRoomMessagesListener - - -Node0 - - -IChatRoomMessagesListener - - - - -Node1 - - -GalaxyTypeAwareListener -< CHAT_ROOM_MESSAGES_LISTENER > - - - - -Node1->Node0 - - - - -Node2 - - -IGalaxyListener - - - - -Node2->Node1 - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChatRoomMessagesRetrieveListener-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChatRoomMessagesRetrieveListener-members.html deleted file mode 100644 index b144c81a5..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChatRoomMessagesRetrieveListener-members.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
IChatRoomMessagesRetrieveListener Member List
-
-
- -

This is the complete list of members for IChatRoomMessagesRetrieveListener, including all inherited members.

- - - - - - - - - -
FAILURE_REASON_CONNECTION_FAILURE enum valueIChatRoomMessagesRetrieveListener
FAILURE_REASON_FORBIDDEN enum valueIChatRoomMessagesRetrieveListener
FAILURE_REASON_UNDEFINED enum valueIChatRoomMessagesRetrieveListener
FailureReason enum nameIChatRoomMessagesRetrieveListener
GetListenerType()GalaxyTypeAwareListener< CHAT_ROOM_MESSAGES_RETRIEVE_LISTENER >inlinestatic
OnChatRoomMessagesRetrieveFailure(ChatRoomID chatRoomID, FailureReason failureReason)=0IChatRoomMessagesRetrieveListenerpure virtual
OnChatRoomMessagesRetrieveSuccess(ChatRoomID chatRoomID, uint32_t messageCount, uint32_t longestMessageLenght)=0IChatRoomMessagesRetrieveListenerpure virtual
~IGalaxyListener() (defined in IGalaxyListener)IGalaxyListenerinlinevirtual
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChatRoomMessagesRetrieveListener.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChatRoomMessagesRetrieveListener.html deleted file mode 100644 index 2c119d0cd..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChatRoomMessagesRetrieveListener.html +++ /dev/null @@ -1,271 +0,0 @@ - - - - - - - -GOG Galaxy: IChatRoomMessagesRetrieveListener Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
IChatRoomMessagesRetrieveListener Class Referenceabstract
-
-
- -

Listener for the event of retrieving chat room messages in a specified chat room. - More...

- -

#include <IChat.h>

-
-Inheritance diagram for IChatRoomMessagesRetrieveListener:
-
-
-
-
[legend]
- - - - - -

-Public Types

enum  FailureReason { FAILURE_REASON_UNDEFINED, -FAILURE_REASON_FORBIDDEN, -FAILURE_REASON_CONNECTION_FAILURE - }
 The reason of a failure in retrieving chat room messages in a specified chat room. More...
 
- - - - - - - -

-Public Member Functions

virtual void OnChatRoomMessagesRetrieveSuccess (ChatRoomID chatRoomID, uint32_t messageCount, uint32_t longestMessageLenght)=0
 Notification for the event of retrieving chat room messages in a specified chat room. More...
 
virtual void OnChatRoomMessagesRetrieveFailure (ChatRoomID chatRoomID, FailureReason failureReason)=0
 Notification for the event of a failure in retrieving chat room messages in a specified chat room. More...
 
- - - - - -

-Additional Inherited Members

- Static Public Member Functions inherited from GalaxyTypeAwareListener< CHAT_ROOM_MESSAGES_RETRIEVE_LISTENER >
static ListenerType GetListenerType ()
 Returns the type of the listener. More...
 
-

Detailed Description

-

Listener for the event of retrieving chat room messages in a specified chat room.

-

Member Enumeration Documentation

- -

◆ FailureReason

- -
-
- - - - -
enum FailureReason
-
- -

The reason of a failure in retrieving chat room messages in a specified chat room.

- - - - -
Enumerator
FAILURE_REASON_UNDEFINED 

Unspecified error.

-
FAILURE_REASON_FORBIDDEN 

Retrieving messages from the chat room is forbidden for the user.

-
FAILURE_REASON_CONNECTION_FAILURE 

Unable to communicate with backend services.

-
- -
-
-

Member Function Documentation

- -

◆ OnChatRoomMessagesRetrieveFailure()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void OnChatRoomMessagesRetrieveFailure (ChatRoomID chatRoomID,
FailureReason failureReason 
)
-
-pure virtual
-
- -

Notification for the event of a failure in retrieving chat room messages in a specified chat room.

-
Parameters
- - - -
[in]chatRoomIDThe ID of the chat room.
[in]failureReasonThe cause of the failure.
-
-
- -
-
- -

◆ OnChatRoomMessagesRetrieveSuccess()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
virtual void OnChatRoomMessagesRetrieveSuccess (ChatRoomID chatRoomID,
uint32_t messageCount,
uint32_t longestMessageLenght 
)
-
-pure virtual
-
- -

Notification for the event of retrieving chat room messages in a specified chat room.

-

In order to read subsequent messages, call IChat::GetChatRoomMessageByIndex().

-
Parameters
- - - - -
[in]chatRoomIDThe ID of the chat room.
[in]messageCountThe amount of messages received in the chat room.
[in]longestMessageLenghtThe length of the longest message.
-
-
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChatRoomMessagesRetrieveListener.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChatRoomMessagesRetrieveListener.js deleted file mode 100644 index 670750182..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChatRoomMessagesRetrieveListener.js +++ /dev/null @@ -1,10 +0,0 @@ -var classgalaxy_1_1api_1_1IChatRoomMessagesRetrieveListener = -[ - [ "FailureReason", "classgalaxy_1_1api_1_1IChatRoomMessagesRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6e", [ - [ "FAILURE_REASON_UNDEFINED", "classgalaxy_1_1api_1_1IChatRoomMessagesRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39", null ], - [ "FAILURE_REASON_FORBIDDEN", "classgalaxy_1_1api_1_1IChatRoomMessagesRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6ea1ddabde3adccfb118865118a875d071d", null ], - [ "FAILURE_REASON_CONNECTION_FAILURE", "classgalaxy_1_1api_1_1IChatRoomMessagesRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0", null ] - ] ], - [ "OnChatRoomMessagesRetrieveFailure", "classgalaxy_1_1api_1_1IChatRoomMessagesRetrieveListener.html#aefab5e0dcefd17a05adf8fe7a169895d", null ], - [ "OnChatRoomMessagesRetrieveSuccess", "classgalaxy_1_1api_1_1IChatRoomMessagesRetrieveListener.html#af640da6293b7d509ae0539db4c7aa95a", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChatRoomMessagesRetrieveListener__inherit__graph.map b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChatRoomMessagesRetrieveListener__inherit__graph.map deleted file mode 100644 index 0a713ef41..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChatRoomMessagesRetrieveListener__inherit__graph.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChatRoomMessagesRetrieveListener__inherit__graph.md5 b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChatRoomMessagesRetrieveListener__inherit__graph.md5 deleted file mode 100644 index b495f52c0..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChatRoomMessagesRetrieveListener__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -edfd873b5ec33c71f39da2c3597a6fa6 \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChatRoomMessagesRetrieveListener__inherit__graph.svg b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChatRoomMessagesRetrieveListener__inherit__graph.svg deleted file mode 100644 index b81da3bc6..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChatRoomMessagesRetrieveListener__inherit__graph.svg +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - -IChatRoomMessagesRetrieveListener - - -Node0 - - -IChatRoomMessagesRetrieve -Listener - - - - -Node1 - - -GalaxyTypeAwareListener -< CHAT_ROOM_MESSAGES_RETRIEVE -_LISTENER > - - - - -Node1->Node0 - - - - -Node2 - - -IGalaxyListener - - - - -Node2->Node1 - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChatRoomWithUserRetrieveListener-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChatRoomWithUserRetrieveListener-members.html deleted file mode 100644 index d0e0310a3..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChatRoomWithUserRetrieveListener-members.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
IChatRoomWithUserRetrieveListener Member List
-
- -
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChatRoomWithUserRetrieveListener.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChatRoomWithUserRetrieveListener.html deleted file mode 100644 index 2ae02187e..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChatRoomWithUserRetrieveListener.html +++ /dev/null @@ -1,263 +0,0 @@ - - - - - - - -GOG Galaxy: IChatRoomWithUserRetrieveListener Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
IChatRoomWithUserRetrieveListener Class Referenceabstract
-
-
- -

Listener for the event of retrieving a chat room with a specified user. - More...

- -

#include <IChat.h>

-
-Inheritance diagram for IChatRoomWithUserRetrieveListener:
-
-
-
-
[legend]
- - - - - -

-Public Types

enum  FailureReason { FAILURE_REASON_UNDEFINED, -FAILURE_REASON_FORBIDDEN, -FAILURE_REASON_CONNECTION_FAILURE - }
 The reason of a failure in retrieving a chat room with a specified user. More...
 
- - - - - - - -

-Public Member Functions

virtual void OnChatRoomWithUserRetrieveSuccess (GalaxyID userID, ChatRoomID chatRoomID)=0
 Notification for the event of retrieving a chat room with a specified user. More...
 
virtual void OnChatRoomWithUserRetrieveFailure (GalaxyID userID, FailureReason failureReason)=0
 Notification for the event of a failure in retrieving a chat room with a specified user. More...
 
- - - - - -

-Additional Inherited Members

- Static Public Member Functions inherited from GalaxyTypeAwareListener< CHAT_ROOM_WITH_USER_RETRIEVE_LISTENER >
static ListenerType GetListenerType ()
 Returns the type of the listener. More...
 
-

Detailed Description

-

Listener for the event of retrieving a chat room with a specified user.

-

Member Enumeration Documentation

- -

◆ FailureReason

- -
-
- - - - -
enum FailureReason
-
- -

The reason of a failure in retrieving a chat room with a specified user.

- - - - -
Enumerator
FAILURE_REASON_UNDEFINED 

Unspecified error.

-
FAILURE_REASON_FORBIDDEN 

Communication with a specified user is not allowed.

-
FAILURE_REASON_CONNECTION_FAILURE 

Unable to communicate with backend services.

-
- -
-
-

Member Function Documentation

- -

◆ OnChatRoomWithUserRetrieveFailure()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void OnChatRoomWithUserRetrieveFailure (GalaxyID userID,
FailureReason failureReason 
)
-
-pure virtual
-
- -

Notification for the event of a failure in retrieving a chat room with a specified user.

-
Parameters
- - - -
[in]userIDThe ID of the user with whom a chat room was requested.
[in]failureReasonThe cause of the failure.
-
-
- -
-
- -

◆ OnChatRoomWithUserRetrieveSuccess()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void OnChatRoomWithUserRetrieveSuccess (GalaxyID userID,
ChatRoomID chatRoomID 
)
-
-pure virtual
-
- -

Notification for the event of retrieving a chat room with a specified user.

-
Parameters
- - - -
[in]userIDThe ID of the user with whom a chat room was requested.
[in]chatRoomIDThe ID of the retrieved chat room.
-
-
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChatRoomWithUserRetrieveListener.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChatRoomWithUserRetrieveListener.js deleted file mode 100644 index e5d85e93f..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChatRoomWithUserRetrieveListener.js +++ /dev/null @@ -1,10 +0,0 @@ -var classgalaxy_1_1api_1_1IChatRoomWithUserRetrieveListener = -[ - [ "FailureReason", "classgalaxy_1_1api_1_1IChatRoomWithUserRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6e", [ - [ "FAILURE_REASON_UNDEFINED", "classgalaxy_1_1api_1_1IChatRoomWithUserRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39", null ], - [ "FAILURE_REASON_FORBIDDEN", "classgalaxy_1_1api_1_1IChatRoomWithUserRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6ea1ddabde3adccfb118865118a875d071d", null ], - [ "FAILURE_REASON_CONNECTION_FAILURE", "classgalaxy_1_1api_1_1IChatRoomWithUserRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0", null ] - ] ], - [ "OnChatRoomWithUserRetrieveFailure", "classgalaxy_1_1api_1_1IChatRoomWithUserRetrieveListener.html#a7f114d18a0c6b5a27a5b649218a3f36f", null ], - [ "OnChatRoomWithUserRetrieveSuccess", "classgalaxy_1_1api_1_1IChatRoomWithUserRetrieveListener.html#a1a3812efce6f7e1edf0bcd2193be5f75", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChatRoomWithUserRetrieveListener__inherit__graph.map b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChatRoomWithUserRetrieveListener__inherit__graph.map deleted file mode 100644 index e652aa52b..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChatRoomWithUserRetrieveListener__inherit__graph.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChatRoomWithUserRetrieveListener__inherit__graph.md5 b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChatRoomWithUserRetrieveListener__inherit__graph.md5 deleted file mode 100644 index be8a2ae28..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChatRoomWithUserRetrieveListener__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -45a0c047a36334d7b0fbb9cd14a8decd \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChatRoomWithUserRetrieveListener__inherit__graph.svg b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChatRoomWithUserRetrieveListener__inherit__graph.svg deleted file mode 100644 index a6dfc1469..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IChatRoomWithUserRetrieveListener__inherit__graph.svg +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - -IChatRoomWithUserRetrieveListener - - -Node0 - - -IChatRoomWithUserRetrieve -Listener - - - - -Node1 - - -GalaxyTypeAwareListener -< CHAT_ROOM_WITH_USER -_RETRIEVE_LISTENER > - - - - -Node1->Node0 - - - - -Node2 - - -IGalaxyListener - - - - -Node2->Node1 - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IConnectionCloseListener-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IConnectionCloseListener-members.html deleted file mode 100644 index 7926adc9f..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IConnectionCloseListener-members.html +++ /dev/null @@ -1,111 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
IConnectionCloseListener Member List
-
-
- -

This is the complete list of members for IConnectionCloseListener, including all inherited members.

- - - - - - -
CLOSE_REASON_UNDEFINED enum valueIConnectionCloseListener
CloseReason enum nameIConnectionCloseListener
GetListenerType()GalaxyTypeAwareListener< CUSTOM_NETWORKING_CONNECTION_CLOSE >inlinestatic
OnConnectionClosed(ConnectionID connectionID, CloseReason closeReason)=0IConnectionCloseListenerpure virtual
~IGalaxyListener() (defined in IGalaxyListener)IGalaxyListenerinlinevirtual
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IConnectionCloseListener.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IConnectionCloseListener.html deleted file mode 100644 index 60ddbd888..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IConnectionCloseListener.html +++ /dev/null @@ -1,209 +0,0 @@ - - - - - - - -GOG Galaxy: IConnectionCloseListener Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
IConnectionCloseListener Class Referenceabstract
-
-
- -

Listener for the event of closing a connection. - More...

- -

#include <ICustomNetworking.h>

-
-Inheritance diagram for IConnectionCloseListener:
-
-
-
-
[legend]
- - - - - -

-Public Types

enum  CloseReason { CLOSE_REASON_UNDEFINED - }
 The reason of closing a connection. More...
 
- - - - -

-Public Member Functions

virtual void OnConnectionClosed (ConnectionID connectionID, CloseReason closeReason)=0
 Notification for the event of closing a connection. More...
 
- - - - - -

-Additional Inherited Members

- Static Public Member Functions inherited from GalaxyTypeAwareListener< CUSTOM_NETWORKING_CONNECTION_CLOSE >
static ListenerType GetListenerType ()
 Returns the type of the listener. More...
 
-

Detailed Description

-

Listener for the event of closing a connection.

-

Member Enumeration Documentation

- -

◆ CloseReason

- -
-
- - - - -
enum CloseReason
-
- -

The reason of closing a connection.

- - -
Enumerator
CLOSE_REASON_UNDEFINED 

Unspecified reason.

-
- -
-
-

Member Function Documentation

- -

◆ OnConnectionClosed()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void OnConnectionClosed (ConnectionID connectionID,
CloseReason closeReason 
)
-
-pure virtual
-
- -

Notification for the event of closing a connection.

-
Parameters
- - - -
[in]connectionIDThe ID if the connection.
[in]closeReasonThe reason why the connection is being closed.
-
-
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IConnectionCloseListener.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IConnectionCloseListener.js deleted file mode 100644 index 3ec3de3de..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IConnectionCloseListener.js +++ /dev/null @@ -1,7 +0,0 @@ -var classgalaxy_1_1api_1_1IConnectionCloseListener = -[ - [ "CloseReason", "classgalaxy_1_1api_1_1IConnectionCloseListener.html#a2af9150cca99c965611884e1a48ff18d", [ - [ "CLOSE_REASON_UNDEFINED", "classgalaxy_1_1api_1_1IConnectionCloseListener.html#a2af9150cca99c965611884e1a48ff18dae3c8bfc34a50df0931adc712de447dcf", null ] - ] ], - [ "OnConnectionClosed", "classgalaxy_1_1api_1_1IConnectionCloseListener.html#ac2bc29b679a80d734971b77b8219aa5c", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IConnectionCloseListener__inherit__graph.map b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IConnectionCloseListener__inherit__graph.map deleted file mode 100644 index 1fbd43f4d..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IConnectionCloseListener__inherit__graph.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IConnectionCloseListener__inherit__graph.md5 b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IConnectionCloseListener__inherit__graph.md5 deleted file mode 100644 index 73363919d..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IConnectionCloseListener__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -e65a8f1f8cd1ace3980fa4e8836cb136 \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IConnectionCloseListener__inherit__graph.svg b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IConnectionCloseListener__inherit__graph.svg deleted file mode 100644 index 6e006b286..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IConnectionCloseListener__inherit__graph.svg +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - -IConnectionCloseListener - - -Node0 - - -IConnectionCloseListener - - - - -Node1 - - -GalaxyTypeAwareListener -< CUSTOM_NETWORKING_CONNECTION -_CLOSE > - - - - -Node1->Node0 - - - - -Node2 - - -IGalaxyListener - - - - -Node2->Node1 - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IConnectionDataListener-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IConnectionDataListener-members.html deleted file mode 100644 index 0369bc4cd..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IConnectionDataListener-members.html +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
IConnectionDataListener Member List
-
-
- -

This is the complete list of members for IConnectionDataListener, including all inherited members.

- - - - -
GetListenerType()GalaxyTypeAwareListener< CUSTOM_NETWORKING_CONNECTION_DATA >inlinestatic
OnConnectionDataReceived(ConnectionID connectionID, uint32_t dataSize)=0IConnectionDataListenerpure virtual
~IGalaxyListener() (defined in IGalaxyListener)IGalaxyListenerinlinevirtual
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IConnectionDataListener.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IConnectionDataListener.html deleted file mode 100644 index a262bdbfe..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IConnectionDataListener.html +++ /dev/null @@ -1,180 +0,0 @@ - - - - - - - -GOG Galaxy: IConnectionDataListener Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
IConnectionDataListener Class Referenceabstract
-
-
- -

Listener for the event of receiving data over the connection. - More...

- -

#include <ICustomNetworking.h>

-
-Inheritance diagram for IConnectionDataListener:
-
-
-
-
[legend]
- - - - - -

-Public Member Functions

virtual void OnConnectionDataReceived (ConnectionID connectionID, uint32_t dataSize)=0
 Notification for the event of receiving data over the connection. More...
 
- - - - - -

-Additional Inherited Members

- Static Public Member Functions inherited from GalaxyTypeAwareListener< CUSTOM_NETWORKING_CONNECTION_DATA >
static ListenerType GetListenerType ()
 Returns the type of the listener. More...
 
-

Detailed Description

-

Listener for the event of receiving data over the connection.

-

Member Function Documentation

- -

◆ OnConnectionDataReceived()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void OnConnectionDataReceived (ConnectionID connectionID,
uint32_t dataSize 
)
-
-pure virtual
-
- -

Notification for the event of receiving data over the connection.

-
Parameters
- - - -
[in]connectionIDThe ID if the connection.
[in]dataSizeThe amount of new data received (in bytes).
-
-
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IConnectionDataListener.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IConnectionDataListener.js deleted file mode 100644 index a138567fc..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IConnectionDataListener.js +++ /dev/null @@ -1,4 +0,0 @@ -var classgalaxy_1_1api_1_1IConnectionDataListener = -[ - [ "OnConnectionDataReceived", "classgalaxy_1_1api_1_1IConnectionDataListener.html#a03f05f225fd487bd7d4c5c10264ea34d", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IConnectionDataListener__inherit__graph.map b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IConnectionDataListener__inherit__graph.map deleted file mode 100644 index 2110d05b3..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IConnectionDataListener__inherit__graph.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IConnectionDataListener__inherit__graph.md5 b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IConnectionDataListener__inherit__graph.md5 deleted file mode 100644 index 301094b36..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IConnectionDataListener__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -b89f5bd476102bb743f5c06c3d249542 \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IConnectionDataListener__inherit__graph.svg b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IConnectionDataListener__inherit__graph.svg deleted file mode 100644 index 020960892..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IConnectionDataListener__inherit__graph.svg +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - -IConnectionDataListener - - -Node0 - - -IConnectionDataListener - - - - -Node1 - - -GalaxyTypeAwareListener -< CUSTOM_NETWORKING_CONNECTION -_DATA > - - - - -Node1->Node0 - - - - -Node2 - - -IGalaxyListener - - - - -Node2->Node1 - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IConnectionOpenListener-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IConnectionOpenListener-members.html deleted file mode 100644 index e157191dd..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IConnectionOpenListener-members.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
IConnectionOpenListener Member List
-
-
- -

This is the complete list of members for IConnectionOpenListener, including all inherited members.

- - - - - - - - - -
FAILURE_REASON_CONNECTION_FAILURE enum valueIConnectionOpenListener
FAILURE_REASON_UNAUTHORIZED enum valueIConnectionOpenListener
FAILURE_REASON_UNDEFINED enum valueIConnectionOpenListener
FailureReason enum nameIConnectionOpenListener
GetListenerType()GalaxyTypeAwareListener< CUSTOM_NETWORKING_CONNECTION_OPEN >inlinestatic
OnConnectionOpenFailure(const char *connectionString, FailureReason failureReason)=0IConnectionOpenListenerpure virtual
OnConnectionOpenSuccess(const char *connectionString, ConnectionID connectionID)=0IConnectionOpenListenerpure virtual
~IGalaxyListener() (defined in IGalaxyListener)IGalaxyListenerinlinevirtual
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IConnectionOpenListener.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IConnectionOpenListener.html deleted file mode 100644 index 7511c39bb..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IConnectionOpenListener.html +++ /dev/null @@ -1,263 +0,0 @@ - - - - - - - -GOG Galaxy: IConnectionOpenListener Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
IConnectionOpenListener Class Referenceabstract
-
-
- -

Listener for the events related to opening a connection. - More...

- -

#include <ICustomNetworking.h>

-
-Inheritance diagram for IConnectionOpenListener:
-
-
-
-
[legend]
- - - - - -

-Public Types

enum  FailureReason { FAILURE_REASON_UNDEFINED, -FAILURE_REASON_CONNECTION_FAILURE, -FAILURE_REASON_UNAUTHORIZED - }
 The reason of a failure in opening a connection. More...
 
- - - - - - - -

-Public Member Functions

virtual void OnConnectionOpenSuccess (const char *connectionString, ConnectionID connectionID)=0
 Notification for the event of a success in opening a connection. More...
 
virtual void OnConnectionOpenFailure (const char *connectionString, FailureReason failureReason)=0
 Notification for the event of a failure in opening a connection. More...
 
- - - - - -

-Additional Inherited Members

- Static Public Member Functions inherited from GalaxyTypeAwareListener< CUSTOM_NETWORKING_CONNECTION_OPEN >
static ListenerType GetListenerType ()
 Returns the type of the listener. More...
 
-

Detailed Description

-

Listener for the events related to opening a connection.

-

Member Enumeration Documentation

- -

◆ FailureReason

- -
-
- - - - -
enum FailureReason
-
- -

The reason of a failure in opening a connection.

- - - - -
Enumerator
FAILURE_REASON_UNDEFINED 

Unspecified error.

-
FAILURE_REASON_CONNECTION_FAILURE 

Unable to communicate with backend services.

-
FAILURE_REASON_UNAUTHORIZED 

Client is unauthorized.

-
- -
-
-

Member Function Documentation

- -

◆ OnConnectionOpenFailure()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void OnConnectionOpenFailure (const char * connectionString,
FailureReason failureReason 
)
-
-pure virtual
-
- -

Notification for the event of a failure in opening a connection.

-
Parameters
- - - -
[in]connectionStringThe connection string.
[in]failureReasonThe cause of the failure.
-
-
- -
-
- -

◆ OnConnectionOpenSuccess()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void OnConnectionOpenSuccess (const char * connectionString,
ConnectionID connectionID 
)
-
-pure virtual
-
- -

Notification for the event of a success in opening a connection.

-
Parameters
- - - -
[in]connectionStringThe connection string.
[in]connectionIDThe ID if the connection.
-
-
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IConnectionOpenListener.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IConnectionOpenListener.js deleted file mode 100644 index 7d46d9297..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IConnectionOpenListener.js +++ /dev/null @@ -1,10 +0,0 @@ -var classgalaxy_1_1api_1_1IConnectionOpenListener = -[ - [ "FailureReason", "classgalaxy_1_1api_1_1IConnectionOpenListener.html#a2e1fab5fc244b0783172514baec21a6e", [ - [ "FAILURE_REASON_UNDEFINED", "classgalaxy_1_1api_1_1IConnectionOpenListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39", null ], - [ "FAILURE_REASON_CONNECTION_FAILURE", "classgalaxy_1_1api_1_1IConnectionOpenListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0", null ], - [ "FAILURE_REASON_UNAUTHORIZED", "classgalaxy_1_1api_1_1IConnectionOpenListener.html#a2e1fab5fc244b0783172514baec21a6ea1f870b0f470cb854818527e6c70764a4", null ] - ] ], - [ "OnConnectionOpenFailure", "classgalaxy_1_1api_1_1IConnectionOpenListener.html#a9e154ee98e393e5fe2c4739716d5f3e6", null ], - [ "OnConnectionOpenSuccess", "classgalaxy_1_1api_1_1IConnectionOpenListener.html#afe1cff9894d6fa491cbc100b3bdab922", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IConnectionOpenListener__inherit__graph.map b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IConnectionOpenListener__inherit__graph.map deleted file mode 100644 index 881ab26c1..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IConnectionOpenListener__inherit__graph.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IConnectionOpenListener__inherit__graph.md5 b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IConnectionOpenListener__inherit__graph.md5 deleted file mode 100644 index 4defec430..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IConnectionOpenListener__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -27c433cd7789ad2045461e13f118b1da \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IConnectionOpenListener__inherit__graph.svg b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IConnectionOpenListener__inherit__graph.svg deleted file mode 100644 index 07caf54d9..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IConnectionOpenListener__inherit__graph.svg +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - -IConnectionOpenListener - - -Node0 - - -IConnectionOpenListener - - - - -Node1 - - -GalaxyTypeAwareListener -< CUSTOM_NETWORKING_CONNECTION -_OPEN > - - - - -Node1->Node0 - - - - -Node2 - - -IGalaxyListener - - - - -Node2->Node1 - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ICustomNetworking-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ICustomNetworking-members.html deleted file mode 100644 index 2be2a1a87..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ICustomNetworking-members.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
ICustomNetworking Member List
-
-
- -

This is the complete list of members for ICustomNetworking, including all inherited members.

- - - - - - - - - -
CloseConnection(ConnectionID connectionID, IConnectionCloseListener *const listener=NULL)=0ICustomNetworkingpure virtual
GetAvailableDataSize(ConnectionID connectionID)=0ICustomNetworkingpure virtual
OpenConnection(const char *connectionString, IConnectionOpenListener *const listener=NULL)=0ICustomNetworkingpure virtual
PeekData(ConnectionID connectionID, void *dest, uint32_t dataSize)=0ICustomNetworkingpure virtual
PopData(ConnectionID connectionID, uint32_t dataSize)=0ICustomNetworkingpure virtual
ReadData(ConnectionID connectionID, void *dest, uint32_t dataSize)=0ICustomNetworkingpure virtual
SendData(ConnectionID connectionID, const void *data, uint32_t dataSize)=0ICustomNetworkingpure virtual
~ICustomNetworking() (defined in ICustomNetworking)ICustomNetworkinginlinevirtual
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ICustomNetworking.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ICustomNetworking.html deleted file mode 100644 index 1e88b51eb..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ICustomNetworking.html +++ /dev/null @@ -1,471 +0,0 @@ - - - - - - - -GOG Galaxy: ICustomNetworking Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
ICustomNetworking Class Referenceabstract
-
-
- -

The interface for communicating with a custom endpoint. - More...

- -

#include <ICustomNetworking.h>

- - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

virtual void OpenConnection (const char *connectionString, IConnectionOpenListener *const listener=NULL)=0
 Open a connection with a specific endpoint. More...
 
virtual void CloseConnection (ConnectionID connectionID, IConnectionCloseListener *const listener=NULL)=0
 Close a connection. More...
 
virtual void SendData (ConnectionID connectionID, const void *data, uint32_t dataSize)=0
 Send binary data over a specific connection. More...
 
virtual uint32_t GetAvailableDataSize (ConnectionID connectionID)=0
 Returns the number of bytes in a specific connection incoming buffer. More...
 
virtual void PeekData (ConnectionID connectionID, void *dest, uint32_t dataSize)=0
 Reads binary data received from a specific connection. More...
 
virtual void ReadData (ConnectionID connectionID, void *dest, uint32_t dataSize)=0
 Reads binary data received from a specific connection. More...
 
virtual void PopData (ConnectionID connectionID, uint32_t dataSize)=0
 Removes a given number of bytes from a specific connection incomming buffer. More...
 
-

Detailed Description

-

The interface for communicating with a custom endpoint.

-

Member Function Documentation

- -

◆ CloseConnection()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void CloseConnection (ConnectionID connectionID,
IConnectionCloseListener *const listener = NULL 
)
-
-pure virtual
-
- -

Close a connection.

-

This call is asynchronous. Responses come to the IConnectionCloseListener.

-
Parameters
- - - -
[in]connectionIDThe ID of the connection.
[in]listenerThe listener for specific operation.
-
-
- -
-
- -

◆ GetAvailableDataSize()

- -
-
- - - - - -
- - - - - - - - -
virtual uint32_t GetAvailableDataSize (ConnectionID connectionID)
-
-pure virtual
-
- -

Returns the number of bytes in a specific connection incoming buffer.

-
Parameters
- - -
[in]connectionIDThe ID of the connection.
-
-
-
Returns
The number of bytes in the connection incomming buffer.
- -
-
- -

◆ OpenConnection()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void OpenConnection (const char * connectionString,
IConnectionOpenListener *const listener = NULL 
)
-
-pure virtual
-
- -

Open a connection with a specific endpoint.

-

This call is asynchronous. Responses come to the IConnectionOpenListener.

-
Remarks
Currently only supported connection string is a WebSocket URL (e.g. ws://example.com:8000/path/to/ws).
-
Parameters
- - - -
[in]connectionStringThe string which contains connection info.
[in]listenerThe listener for specific operation.
-
-
- -
-
- -

◆ PeekData()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
virtual void PeekData (ConnectionID connectionID,
void * dest,
uint32_t dataSize 
)
-
-pure virtual
-
- -

Reads binary data received from a specific connection.

-

The data that was read this way is left in the connection incomming buffer.

-
Parameters
- - - - -
[in]connectionIDThe ID of the connection.
[in,out]destThe buffer to pass the data to.
[in]dataSizeThe size of the data.
-
-
- -
-
- -

◆ PopData()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void PopData (ConnectionID connectionID,
uint32_t dataSize 
)
-
-pure virtual
-
- -

Removes a given number of bytes from a specific connection incomming buffer.

-
Parameters
- - - -
[in]connectionIDThe ID of the connection.
[in]dataSizeThe numbers of bytes to be removed from the buffer.
-
-
- -
-
- -

◆ ReadData()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
virtual void ReadData (ConnectionID connectionID,
void * dest,
uint32_t dataSize 
)
-
-pure virtual
-
- -

Reads binary data received from a specific connection.

-

The data that was read this way is removed from the connection incomming buffer.

-
Parameters
- - - - -
[in]connectionIDThe ID of the connection.
[in,out]destThe buffer to pass the data to.
[in]dataSizeThe size of the data.
-
-
- -
-
- -

◆ SendData()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
virtual void SendData (ConnectionID connectionID,
const void * data,
uint32_t dataSize 
)
-
-pure virtual
-
- -

Send binary data over a specific connection.

-
Parameters
- - - - -
[in]connectionIDThe ID of the connection.
[in]dataThe data to send.
[in]dataSizeThe size of the data.
-
-
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ICustomNetworking.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ICustomNetworking.js deleted file mode 100644 index b9774f8e4..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ICustomNetworking.js +++ /dev/null @@ -1,11 +0,0 @@ -var classgalaxy_1_1api_1_1ICustomNetworking = -[ - [ "~ICustomNetworking", "classgalaxy_1_1api_1_1ICustomNetworking.html#a3f497ba4702e0d89292a6b11462edb82", null ], - [ "CloseConnection", "classgalaxy_1_1api_1_1ICustomNetworking.html#a6bbb32acab4c10b8c17fa007b2693543", null ], - [ "GetAvailableDataSize", "classgalaxy_1_1api_1_1ICustomNetworking.html#a09529b63903ad1234480a5877e8e95dd", null ], - [ "OpenConnection", "classgalaxy_1_1api_1_1ICustomNetworking.html#a85c8f3169a7be9507154f325c3564b1e", null ], - [ "PeekData", "classgalaxy_1_1api_1_1ICustomNetworking.html#a7844d3bfec3c589baf36c2be96b9daa3", null ], - [ "PopData", "classgalaxy_1_1api_1_1ICustomNetworking.html#a23f7d6971b5c550d0821368705e4bfd6", null ], - [ "ReadData", "classgalaxy_1_1api_1_1ICustomNetworking.html#a55f27654455fd746bebb5f60def2fa40", null ], - [ "SendData", "classgalaxy_1_1api_1_1ICustomNetworking.html#a8ec3a0a8840e94790d3f9e2f45097f98", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IEncryptedAppTicketListener-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IEncryptedAppTicketListener-members.html deleted file mode 100644 index 5755793d3..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IEncryptedAppTicketListener-members.html +++ /dev/null @@ -1,113 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
IEncryptedAppTicketListener Member List
-
- -
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IEncryptedAppTicketListener.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IEncryptedAppTicketListener.html deleted file mode 100644 index caf63f0a8..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IEncryptedAppTicketListener.html +++ /dev/null @@ -1,232 +0,0 @@ - - - - - - - -GOG Galaxy: IEncryptedAppTicketListener Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
IEncryptedAppTicketListener Class Referenceabstract
-
-
- -

Listener for the event of retrieving a requested Encrypted App Ticket. - More...

- -

#include <IUser.h>

-
-Inheritance diagram for IEncryptedAppTicketListener:
-
-
-
-
[legend]
- - - - - -

-Public Types

enum  FailureReason { FAILURE_REASON_UNDEFINED, -FAILURE_REASON_CONNECTION_FAILURE - }
 The reason of a failure in retrieving an Encrypted App Ticket. More...
 
- - - - - - - -

-Public Member Functions

virtual void OnEncryptedAppTicketRetrieveSuccess ()=0
 Notification for an event of a success in retrieving the Encrypted App Ticket. More...
 
virtual void OnEncryptedAppTicketRetrieveFailure (FailureReason failureReason)=0
 Notification for the event of a failure in retrieving an Encrypted App Ticket. More...
 
- - - - - -

-Additional Inherited Members

- Static Public Member Functions inherited from GalaxyTypeAwareListener< ENCRYPTED_APP_TICKET_RETRIEVE >
static ListenerType GetListenerType ()
 Returns the type of the listener. More...
 
-

Detailed Description

-

Listener for the event of retrieving a requested Encrypted App Ticket.

-

Member Enumeration Documentation

- -

◆ FailureReason

- -
-
- - - - -
enum FailureReason
-
- -

The reason of a failure in retrieving an Encrypted App Ticket.

- - - -
Enumerator
FAILURE_REASON_UNDEFINED 

Unspecified error.

-
FAILURE_REASON_CONNECTION_FAILURE 

Unable to communicate with backend services.

-
- -
-
-

Member Function Documentation

- -

◆ OnEncryptedAppTicketRetrieveFailure()

- -
-
- - - - - -
- - - - - - - - -
virtual void OnEncryptedAppTicketRetrieveFailure (FailureReason failureReason)
-
-pure virtual
-
- -

Notification for the event of a failure in retrieving an Encrypted App Ticket.

-
Parameters
- - -
[in]failureReasonThe cause of the failure.
-
-
- -
-
- -

◆ OnEncryptedAppTicketRetrieveSuccess()

- -
-
- - - - - -
- - - - - - - -
virtual void OnEncryptedAppTicketRetrieveSuccess ()
-
-pure virtual
-
- -

Notification for an event of a success in retrieving the Encrypted App Ticket.

-

In order to read the Encrypted App Ticket, call IUser::GetEncryptedAppTicket().

- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IEncryptedAppTicketListener.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IEncryptedAppTicketListener.js deleted file mode 100644 index 6221a5cd5..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IEncryptedAppTicketListener.js +++ /dev/null @@ -1,9 +0,0 @@ -var classgalaxy_1_1api_1_1IEncryptedAppTicketListener = -[ - [ "FailureReason", "classgalaxy_1_1api_1_1IEncryptedAppTicketListener.html#a2e1fab5fc244b0783172514baec21a6e", [ - [ "FAILURE_REASON_UNDEFINED", "classgalaxy_1_1api_1_1IEncryptedAppTicketListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39", null ], - [ "FAILURE_REASON_CONNECTION_FAILURE", "classgalaxy_1_1api_1_1IEncryptedAppTicketListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0", null ] - ] ], - [ "OnEncryptedAppTicketRetrieveFailure", "classgalaxy_1_1api_1_1IEncryptedAppTicketListener.html#a65b3470fbeeeb0853458a0536743c020", null ], - [ "OnEncryptedAppTicketRetrieveSuccess", "classgalaxy_1_1api_1_1IEncryptedAppTicketListener.html#ae5ad1ca3940e9df9ebc21e25799aa084", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IEncryptedAppTicketListener__inherit__graph.map b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IEncryptedAppTicketListener__inherit__graph.map deleted file mode 100644 index 058b784ce..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IEncryptedAppTicketListener__inherit__graph.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IEncryptedAppTicketListener__inherit__graph.md5 b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IEncryptedAppTicketListener__inherit__graph.md5 deleted file mode 100644 index 32f46b0e5..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IEncryptedAppTicketListener__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -fa40c28dd7c3008e97adaa2b982375a9 \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IEncryptedAppTicketListener__inherit__graph.svg b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IEncryptedAppTicketListener__inherit__graph.svg deleted file mode 100644 index a4f940959..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IEncryptedAppTicketListener__inherit__graph.svg +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - -IEncryptedAppTicketListener - - -Node0 - - -IEncryptedAppTicketListener - - - - -Node1 - - -GalaxyTypeAwareListener -< ENCRYPTED_APP_TICKET -_RETRIEVE > - - - - -Node1->Node0 - - - - -Node2 - - -IGalaxyListener - - - - -Node2->Node1 - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IError-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IError-members.html deleted file mode 100644 index f8b49e1da..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IError-members.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
IError Member List
-
-
- -

This is the complete list of members for IError, including all inherited members.

- - - - - - - - - - -
GetMsg() const =0IErrorpure virtual
GetName() const =0IErrorpure virtual
GetType() const =0IErrorpure virtual
INVALID_ARGUMENT enum value (defined in IError)IError
INVALID_STATE enum value (defined in IError)IError
RUNTIME_ERROR enum value (defined in IError)IError
Type enum nameIError
UNAUTHORIZED_ACCESS enum value (defined in IError)IError
~IError() (defined in IError)IErrorinlinevirtual
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IError.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IError.html deleted file mode 100644 index 1e6951459..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IError.html +++ /dev/null @@ -1,229 +0,0 @@ - - - - - - - -GOG Galaxy: IError Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
IError Class Referenceabstract
-
-
- -

Base interface for exceptions. - More...

- -

#include <Errors.h>

-
-Inheritance diagram for IError:
-
-
-
-
[legend]
- - - - - -

-Public Types

enum  Type { UNAUTHORIZED_ACCESS, -INVALID_ARGUMENT, -INVALID_STATE, -RUNTIME_ERROR - }
 Type of error.
 
- - - - - - - - - - -

-Public Member Functions

virtual const char * GetName () const =0
 Returns the name of the error. More...
 
virtual const char * GetMsg () const =0
 Returns the error message. More...
 
virtual Type GetType () const =0
 Returns the type of the error. More...
 
-

Detailed Description

-

Base interface for exceptions.

-

Member Function Documentation

- -

◆ GetMsg()

- -
-
- - - - - -
- - - - - - - -
virtual const char* GetMsg () const
-
-pure virtual
-
- -

Returns the error message.

-
Returns
The error message.
- -
-
- -

◆ GetName()

- -
-
- - - - - -
- - - - - - - -
virtual const char* GetName () const
-
-pure virtual
-
- -

Returns the name of the error.

-
Returns
The name of the error.
- -
-
- -

◆ GetType()

- -
-
- - - - - -
- - - - - - - -
virtual Type GetType () const
-
-pure virtual
-
- -

Returns the type of the error.

-
Returns
The type of the error.
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IError.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IError.js deleted file mode 100644 index afbc8a565..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IError.js +++ /dev/null @@ -1,13 +0,0 @@ -var classgalaxy_1_1api_1_1IError = -[ - [ "Type", "classgalaxy_1_1api_1_1IError.html#a1d1cfd8ffb84e947f82999c682b666a7", [ - [ "UNAUTHORIZED_ACCESS", "classgalaxy_1_1api_1_1IError.html#a1d1cfd8ffb84e947f82999c682b666a7a7951f9a10cbd3ee1e6c675a2fe1bcd63", null ], - [ "INVALID_ARGUMENT", "classgalaxy_1_1api_1_1IError.html#a1d1cfd8ffb84e947f82999c682b666a7a5eee2964b285af6b0b8bf73c72fdf0f4", null ], - [ "INVALID_STATE", "classgalaxy_1_1api_1_1IError.html#a1d1cfd8ffb84e947f82999c682b666a7a3a01eacac22f2ede34b2e254ad6c5f6a", null ], - [ "RUNTIME_ERROR", "classgalaxy_1_1api_1_1IError.html#a1d1cfd8ffb84e947f82999c682b666a7a1e1e25ce9bc82ccfb34ba5e61e435cfa", null ] - ] ], - [ "~IError", "classgalaxy_1_1api_1_1IError.html#ac50b649d238ef962383b221705a0b613", null ], - [ "GetMsg", "classgalaxy_1_1api_1_1IError.html#aa7dbbdecb5dfabbd4cd1407ed3858632", null ], - [ "GetName", "classgalaxy_1_1api_1_1IError.html#afcc1c3a20bd2860e0ddd21674389246f", null ], - [ "GetType", "classgalaxy_1_1api_1_1IError.html#adbd91f48e98ad6dc6ca4c1e0d68cf3e6", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IError__inherit__graph.map b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IError__inherit__graph.map deleted file mode 100644 index 6bf5ca26d..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IError__inherit__graph.map +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IError__inherit__graph.md5 b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IError__inherit__graph.md5 deleted file mode 100644 index d0ffb957e..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IError__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -2f24da4f94e786823bd0b7741549c48b \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IError__inherit__graph.svg b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IError__inherit__graph.svg deleted file mode 100644 index bb8394e63..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IError__inherit__graph.svg +++ /dev/null @@ -1,73 +0,0 @@ - - - - - - -IError - - -Node0 - - -IError - - - - -Node1 - - -IInvalidArgumentError - - - - -Node0->Node1 - - - - -Node2 - - -IInvalidStateError - - - - -Node0->Node2 - - - - -Node3 - - -IRuntimeError - - - - -Node0->Node3 - - - - -Node4 - - -IUnauthorizedAccessError - - - - -Node0->Node4 - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFileShareListener-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFileShareListener-members.html deleted file mode 100644 index 0855133d2..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFileShareListener-members.html +++ /dev/null @@ -1,113 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
IFileShareListener Member List
-
-
- -

This is the complete list of members for IFileShareListener, including all inherited members.

- - - - - - - - -
FAILURE_REASON_CONNECTION_FAILURE enum valueIFileShareListener
FAILURE_REASON_UNDEFINED enum valueIFileShareListener
FailureReason enum nameIFileShareListener
GetListenerType()GalaxyTypeAwareListener< FILE_SHARE >inlinestatic
OnFileShareFailure(const char *fileName, FailureReason failureReason)=0IFileShareListenerpure virtual
OnFileShareSuccess(const char *fileName, SharedFileID sharedFileID)=0IFileShareListenerpure virtual
~IGalaxyListener() (defined in IGalaxyListener)IGalaxyListenerinlinevirtual
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFileShareListener.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFileShareListener.html deleted file mode 100644 index 116e1e555..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFileShareListener.html +++ /dev/null @@ -1,260 +0,0 @@ - - - - - - - -GOG Galaxy: IFileShareListener Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
IFileShareListener Class Referenceabstract
-
-
- -

Listener for the event of sharing a file. - More...

- -

#include <IStorage.h>

-
-Inheritance diagram for IFileShareListener:
-
-
-
-
[legend]
- - - - - -

-Public Types

enum  FailureReason { FAILURE_REASON_UNDEFINED, -FAILURE_REASON_CONNECTION_FAILURE - }
 The reason of a failure in sharing a file. More...
 
- - - - - - - -

-Public Member Functions

virtual void OnFileShareSuccess (const char *fileName, SharedFileID sharedFileID)=0
 Notification for the event of a success in sharing a file. More...
 
virtual void OnFileShareFailure (const char *fileName, FailureReason failureReason)=0
 Notification for the event of a failure in sharing a file. More...
 
- - - - - -

-Additional Inherited Members

- Static Public Member Functions inherited from GalaxyTypeAwareListener< FILE_SHARE >
static ListenerType GetListenerType ()
 Returns the type of the listener. More...
 
-

Detailed Description

-

Listener for the event of sharing a file.

-

Member Enumeration Documentation

- -

◆ FailureReason

- -
-
- - - - -
enum FailureReason
-
- -

The reason of a failure in sharing a file.

- - - -
Enumerator
FAILURE_REASON_UNDEFINED 

Unspecified error.

-
FAILURE_REASON_CONNECTION_FAILURE 

Unable to communicate with backend services.

-
- -
-
-

Member Function Documentation

- -

◆ OnFileShareFailure()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void OnFileShareFailure (const char * fileName,
FailureReason failureReason 
)
-
-pure virtual
-
- -

Notification for the event of a failure in sharing a file.

-
Parameters
- - - -
[in]fileNameThe name of the file in the form of a path (see the description of IStorage::FileWrite()).
[in]failureReasonThe cause of the failure.
-
-
- -
-
- -

◆ OnFileShareSuccess()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void OnFileShareSuccess (const char * fileName,
SharedFileID sharedFileID 
)
-
-pure virtual
-
- -

Notification for the event of a success in sharing a file.

-
Parameters
- - - -
[in]fileNameThe name of the file in the form of a path (see the description of IStorage::FileWrite()).
[in]sharedFileIDThe ID of the file.
-
-
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFileShareListener.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFileShareListener.js deleted file mode 100644 index af57e5669..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFileShareListener.js +++ /dev/null @@ -1,9 +0,0 @@ -var classgalaxy_1_1api_1_1IFileShareListener = -[ - [ "FailureReason", "classgalaxy_1_1api_1_1IFileShareListener.html#a2e1fab5fc244b0783172514baec21a6e", [ - [ "FAILURE_REASON_UNDEFINED", "classgalaxy_1_1api_1_1IFileShareListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39", null ], - [ "FAILURE_REASON_CONNECTION_FAILURE", "classgalaxy_1_1api_1_1IFileShareListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0", null ] - ] ], - [ "OnFileShareFailure", "classgalaxy_1_1api_1_1IFileShareListener.html#ae68d17965f0db712dff94593c576ec9a", null ], - [ "OnFileShareSuccess", "classgalaxy_1_1api_1_1IFileShareListener.html#a585daa98f29e962d1d5bf0a4c4bd703e", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFileShareListener__inherit__graph.map b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFileShareListener__inherit__graph.map deleted file mode 100644 index 6e96085ad..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFileShareListener__inherit__graph.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFileShareListener__inherit__graph.md5 b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFileShareListener__inherit__graph.md5 deleted file mode 100644 index 42dfbd622..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFileShareListener__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -e1cb1afb3ac494b9a40e6c79d589a2c1 \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFileShareListener__inherit__graph.svg b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFileShareListener__inherit__graph.svg deleted file mode 100644 index ebe8bb859..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFileShareListener__inherit__graph.svg +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - -IFileShareListener - - -Node0 - - -IFileShareListener - - - - -Node1 - - -GalaxyTypeAwareListener -< FILE_SHARE > - - - - -Node1->Node0 - - - - -Node2 - - -IGalaxyListener - - - - -Node2->Node1 - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendAddListener-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendAddListener-members.html deleted file mode 100644 index 0b34a5f31..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendAddListener-members.html +++ /dev/null @@ -1,112 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
IFriendAddListener Member List
-
-
- -

This is the complete list of members for IFriendAddListener, including all inherited members.

- - - - - - - -
GetListenerType()GalaxyTypeAwareListener< FRIEND_ADD_LISTENER >inlinestatic
INVITATION_DIRECTION_INCOMING enum valueIFriendAddListener
INVITATION_DIRECTION_OUTGOING enum valueIFriendAddListener
InvitationDirection enum nameIFriendAddListener
OnFriendAdded(GalaxyID userID, InvitationDirection invitationDirection)=0IFriendAddListenerpure virtual
~IGalaxyListener() (defined in IGalaxyListener)IGalaxyListenerinlinevirtual
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendAddListener.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendAddListener.html deleted file mode 100644 index 92e17e712..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendAddListener.html +++ /dev/null @@ -1,212 +0,0 @@ - - - - - - - -GOG Galaxy: IFriendAddListener Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
IFriendAddListener Class Referenceabstract
-
-
- -

Listener for the event of a user being added to the friend list. - More...

- -

#include <IFriends.h>

-
-Inheritance diagram for IFriendAddListener:
-
-
-
-
[legend]
- - - - - -

-Public Types

enum  InvitationDirection { INVITATION_DIRECTION_INCOMING, -INVITATION_DIRECTION_OUTGOING - }
 The direction of the invitation that initiated the change in the friend list. More...
 
- - - - -

-Public Member Functions

virtual void OnFriendAdded (GalaxyID userID, InvitationDirection invitationDirection)=0
 Notification for the event of a user being added to the friend list. More...
 
- - - - - -

-Additional Inherited Members

- Static Public Member Functions inherited from GalaxyTypeAwareListener< FRIEND_ADD_LISTENER >
static ListenerType GetListenerType ()
 Returns the type of the listener. More...
 
-

Detailed Description

-

Listener for the event of a user being added to the friend list.

-

Member Enumeration Documentation

- -

◆ InvitationDirection

- -
-
- - - - -
enum InvitationDirection
-
- -

The direction of the invitation that initiated the change in the friend list.

- - - -
Enumerator
INVITATION_DIRECTION_INCOMING 

The user indicated in the notification was the inviter.

-
INVITATION_DIRECTION_OUTGOING 

The user indicated in the notification was the invitee.

-
- -
-
-

Member Function Documentation

- -

◆ OnFriendAdded()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void OnFriendAdded (GalaxyID userID,
InvitationDirection invitationDirection 
)
-
-pure virtual
-
- -

Notification for the event of a user being added to the friend list.

-
Parameters
- - - -
[in]userIDThe ID of the user who has just been added to the friend list.
[in]invitationDirectionThe direction of the invitation that determines the inviter and the invitee.
-
-
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendAddListener.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendAddListener.js deleted file mode 100644 index 527663fbb..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendAddListener.js +++ /dev/null @@ -1,8 +0,0 @@ -var classgalaxy_1_1api_1_1IFriendAddListener = -[ - [ "InvitationDirection", "classgalaxy_1_1api_1_1IFriendAddListener.html#a6987312242c9bc945fadf5d2022240c7", [ - [ "INVITATION_DIRECTION_INCOMING", "classgalaxy_1_1api_1_1IFriendAddListener.html#a6987312242c9bc945fadf5d2022240c7a27cfeefdda57343cdbcbfca03c58cd91", null ], - [ "INVITATION_DIRECTION_OUTGOING", "classgalaxy_1_1api_1_1IFriendAddListener.html#a6987312242c9bc945fadf5d2022240c7a801280a11440b55d67618746c3c4038c", null ] - ] ], - [ "OnFriendAdded", "classgalaxy_1_1api_1_1IFriendAddListener.html#a47269a1024a80623d82da55e0671fa7c", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendAddListener__inherit__graph.map b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendAddListener__inherit__graph.map deleted file mode 100644 index 9015b82fd..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendAddListener__inherit__graph.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendAddListener__inherit__graph.md5 b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendAddListener__inherit__graph.md5 deleted file mode 100644 index 526bd626f..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendAddListener__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -c8f8a1596648c0ae20970889fedcf3b1 \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendAddListener__inherit__graph.svg b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendAddListener__inherit__graph.svg deleted file mode 100644 index 0fbe9df94..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendAddListener__inherit__graph.svg +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - -IFriendAddListener - - -Node0 - - -IFriendAddListener - - - - -Node1 - - -GalaxyTypeAwareListener -< FRIEND_ADD_LISTENER > - - - - -Node1->Node0 - - - - -Node2 - - -IGalaxyListener - - - - -Node2->Node1 - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendDeleteListener-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendDeleteListener-members.html deleted file mode 100644 index 0bb48352f..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendDeleteListener-members.html +++ /dev/null @@ -1,113 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
IFriendDeleteListener Member List
-
-
- -

This is the complete list of members for IFriendDeleteListener, including all inherited members.

- - - - - - - - -
FAILURE_REASON_CONNECTION_FAILURE enum valueIFriendDeleteListener
FAILURE_REASON_UNDEFINED enum valueIFriendDeleteListener
FailureReason enum nameIFriendDeleteListener
GetListenerType()GalaxyTypeAwareListener< FRIEND_DELETE_LISTENER >inlinestatic
OnFriendDeleteFailure(GalaxyID userID, FailureReason failureReason)=0IFriendDeleteListenerpure virtual
OnFriendDeleteSuccess(GalaxyID userID)=0IFriendDeleteListenerpure virtual
~IGalaxyListener() (defined in IGalaxyListener)IGalaxyListenerinlinevirtual
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendDeleteListener.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendDeleteListener.html deleted file mode 100644 index 6bc6cb0f1..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendDeleteListener.html +++ /dev/null @@ -1,249 +0,0 @@ - - - - - - - -GOG Galaxy: IFriendDeleteListener Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
IFriendDeleteListener Class Referenceabstract
-
-
- -

Listener for the event of removing a user from the friend list. - More...

- -

#include <IFriends.h>

-
-Inheritance diagram for IFriendDeleteListener:
-
-
-
-
[legend]
- - - - - -

-Public Types

enum  FailureReason { FAILURE_REASON_UNDEFINED, -FAILURE_REASON_CONNECTION_FAILURE - }
 The reason of a failure in removing a user from the friend list. More...
 
- - - - - - - -

-Public Member Functions

virtual void OnFriendDeleteSuccess (GalaxyID userID)=0
 Notification for the event of a success in removing a user from the friend list. More...
 
virtual void OnFriendDeleteFailure (GalaxyID userID, FailureReason failureReason)=0
 Notification for the event of a failure in removing a user from the friend list. More...
 
- - - - - -

-Additional Inherited Members

- Static Public Member Functions inherited from GalaxyTypeAwareListener< FRIEND_DELETE_LISTENER >
static ListenerType GetListenerType ()
 Returns the type of the listener. More...
 
-

Detailed Description

-

Listener for the event of removing a user from the friend list.

-

Member Enumeration Documentation

- -

◆ FailureReason

- -
-
- - - - -
enum FailureReason
-
- -

The reason of a failure in removing a user from the friend list.

- - - -
Enumerator
FAILURE_REASON_UNDEFINED 

Unspecified error.

-
FAILURE_REASON_CONNECTION_FAILURE 

Unable to communicate with backend services.

-
- -
-
-

Member Function Documentation

- -

◆ OnFriendDeleteFailure()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void OnFriendDeleteFailure (GalaxyID userID,
FailureReason failureReason 
)
-
-pure virtual
-
- -

Notification for the event of a failure in removing a user from the friend list.

-
Parameters
- - - -
[in]userIDThe ID of the user requested to be removed from the friend list.
[in]failureReasonThe cause of the failure.
-
-
- -
-
- -

◆ OnFriendDeleteSuccess()

- -
-
- - - - - -
- - - - - - - - -
virtual void OnFriendDeleteSuccess (GalaxyID userID)
-
-pure virtual
-
- -

Notification for the event of a success in removing a user from the friend list.

-
Parameters
- - -
[in]userIDThe ID of the user requested to be removed from the friend list.
-
-
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendDeleteListener.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendDeleteListener.js deleted file mode 100644 index 1a878852d..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendDeleteListener.js +++ /dev/null @@ -1,9 +0,0 @@ -var classgalaxy_1_1api_1_1IFriendDeleteListener = -[ - [ "FailureReason", "classgalaxy_1_1api_1_1IFriendDeleteListener.html#a2e1fab5fc244b0783172514baec21a6e", [ - [ "FAILURE_REASON_UNDEFINED", "classgalaxy_1_1api_1_1IFriendDeleteListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39", null ], - [ "FAILURE_REASON_CONNECTION_FAILURE", "classgalaxy_1_1api_1_1IFriendDeleteListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0", null ] - ] ], - [ "OnFriendDeleteFailure", "classgalaxy_1_1api_1_1IFriendDeleteListener.html#a108fcc5e38fdf6945deaebbbc3798b49", null ], - [ "OnFriendDeleteSuccess", "classgalaxy_1_1api_1_1IFriendDeleteListener.html#aab24fda85971eed336a55f76c303bad8", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendDeleteListener__inherit__graph.map b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendDeleteListener__inherit__graph.map deleted file mode 100644 index 3b2139d50..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendDeleteListener__inherit__graph.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendDeleteListener__inherit__graph.md5 b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendDeleteListener__inherit__graph.md5 deleted file mode 100644 index 573b786fc..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendDeleteListener__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -e992f27e657eb0dbcb61769b8828078c \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendDeleteListener__inherit__graph.svg b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendDeleteListener__inherit__graph.svg deleted file mode 100644 index 98d24d4b8..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendDeleteListener__inherit__graph.svg +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - -IFriendDeleteListener - - -Node0 - - -IFriendDeleteListener - - - - -Node1 - - -GalaxyTypeAwareListener -< FRIEND_DELETE_LISTENER > - - - - -Node1->Node0 - - - - -Node2 - - -IGalaxyListener - - - - -Node2->Node1 - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendInvitationListRetrieveListener-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendInvitationListRetrieveListener-members.html deleted file mode 100644 index 895433e3e..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendInvitationListRetrieveListener-members.html +++ /dev/null @@ -1,113 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
IFriendInvitationListRetrieveListener Member List
-
- -
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendInvitationListRetrieveListener.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendInvitationListRetrieveListener.html deleted file mode 100644 index 4df21bb4a..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendInvitationListRetrieveListener.html +++ /dev/null @@ -1,232 +0,0 @@ - - - - - - - -GOG Galaxy: IFriendInvitationListRetrieveListener Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
IFriendInvitationListRetrieveListener Class Referenceabstract
-
-
- -

Listener for the event of retrieving requested list of incoming friend invitations. - More...

- -

#include <IFriends.h>

-
-Inheritance diagram for IFriendInvitationListRetrieveListener:
-
-
-
-
[legend]
- - - - - -

-Public Types

enum  FailureReason { FAILURE_REASON_UNDEFINED, -FAILURE_REASON_CONNECTION_FAILURE - }
 The reason of a failure in retrieving the user's list of incoming friend invitations. More...
 
- - - - - - - -

-Public Member Functions

virtual void OnFriendInvitationListRetrieveSuccess ()=0
 Notification for the event of a success in retrieving the user's list of incoming friend invitations. More...
 
virtual void OnFriendInvitationListRetrieveFailure (FailureReason failureReason)=0
 Notification for the event of a failure in retrieving the user's list of incoming friend invitations. More...
 
- - - - - -

-Additional Inherited Members

- Static Public Member Functions inherited from GalaxyTypeAwareListener< FRIEND_INVITATION_LIST_RETRIEVE_LISTENER >
static ListenerType GetListenerType ()
 Returns the type of the listener. More...
 
-

Detailed Description

-

Listener for the event of retrieving requested list of incoming friend invitations.

-

Member Enumeration Documentation

- -

◆ FailureReason

- -
-
- - - - -
enum FailureReason
-
- -

The reason of a failure in retrieving the user's list of incoming friend invitations.

- - - -
Enumerator
FAILURE_REASON_UNDEFINED 

Unspecified error.

-
FAILURE_REASON_CONNECTION_FAILURE 

Unable to communicate with backend services.

-
- -
-
-

Member Function Documentation

- -

◆ OnFriendInvitationListRetrieveFailure()

- -
-
- - - - - -
- - - - - - - - -
virtual void OnFriendInvitationListRetrieveFailure (FailureReason failureReason)
-
-pure virtual
-
- -

Notification for the event of a failure in retrieving the user's list of incoming friend invitations.

-
Parameters
- - -
[in]failureReasonThe cause of the failure.
-
-
- -
-
- -

◆ OnFriendInvitationListRetrieveSuccess()

- -
-
- - - - - -
- - - - - - - -
virtual void OnFriendInvitationListRetrieveSuccess ()
-
-pure virtual
-
- -

Notification for the event of a success in retrieving the user's list of incoming friend invitations.

-

In order to read subsequent invitation IDs, call and IFriends::GetFriendInvitationByIndex().

- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendInvitationListRetrieveListener.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendInvitationListRetrieveListener.js deleted file mode 100644 index 2d930b928..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendInvitationListRetrieveListener.js +++ /dev/null @@ -1,9 +0,0 @@ -var classgalaxy_1_1api_1_1IFriendInvitationListRetrieveListener = -[ - [ "FailureReason", "classgalaxy_1_1api_1_1IFriendInvitationListRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6e", [ - [ "FAILURE_REASON_UNDEFINED", "classgalaxy_1_1api_1_1IFriendInvitationListRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39", null ], - [ "FAILURE_REASON_CONNECTION_FAILURE", "classgalaxy_1_1api_1_1IFriendInvitationListRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0", null ] - ] ], - [ "OnFriendInvitationListRetrieveFailure", "classgalaxy_1_1api_1_1IFriendInvitationListRetrieveListener.html#a6fe6a31ce22c07e8b676725eccce0cb6", null ], - [ "OnFriendInvitationListRetrieveSuccess", "classgalaxy_1_1api_1_1IFriendInvitationListRetrieveListener.html#a4e0794a45d176a2ad3d650a06015d410", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendInvitationListRetrieveListener__inherit__graph.map b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendInvitationListRetrieveListener__inherit__graph.map deleted file mode 100644 index 194e5d22f..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendInvitationListRetrieveListener__inherit__graph.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendInvitationListRetrieveListener__inherit__graph.md5 b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendInvitationListRetrieveListener__inherit__graph.md5 deleted file mode 100644 index 386ecc6bd..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendInvitationListRetrieveListener__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -b71eb5990e7cd2669ae5382fa234935b \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendInvitationListRetrieveListener__inherit__graph.svg b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendInvitationListRetrieveListener__inherit__graph.svg deleted file mode 100644 index 6248562bb..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendInvitationListRetrieveListener__inherit__graph.svg +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - -IFriendInvitationListRetrieveListener - - -Node0 - - -IFriendInvitationListRetrieve -Listener - - - - -Node1 - - -GalaxyTypeAwareListener -< FRIEND_INVITATION_LIST -_RETRIEVE_LISTENER > - - - - -Node1->Node0 - - - - -Node2 - - -IGalaxyListener - - - - -Node2->Node1 - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendInvitationListener-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendInvitationListener-members.html deleted file mode 100644 index 41b2c1aaa..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendInvitationListener-members.html +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
IFriendInvitationListener Member List
-
-
- -

This is the complete list of members for IFriendInvitationListener, including all inherited members.

- - - - -
GetListenerType()GalaxyTypeAwareListener< FRIEND_INVITATION_LISTENER >inlinestatic
OnFriendInvitationReceived(GalaxyID userID, uint32_t sendTime)=0IFriendInvitationListenerpure virtual
~IGalaxyListener() (defined in IGalaxyListener)IGalaxyListenerinlinevirtual
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendInvitationListener.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendInvitationListener.html deleted file mode 100644 index 17db8de7f..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendInvitationListener.html +++ /dev/null @@ -1,180 +0,0 @@ - - - - - - - -GOG Galaxy: IFriendInvitationListener Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
IFriendInvitationListener Class Referenceabstract
-
-
- -

Listener for the event of receiving a friend invitation. - More...

- -

#include <IFriends.h>

-
-Inheritance diagram for IFriendInvitationListener:
-
-
-
-
[legend]
- - - - - -

-Public Member Functions

virtual void OnFriendInvitationReceived (GalaxyID userID, uint32_t sendTime)=0
 Notification for the event of receiving a friend invitation. More...
 
- - - - - -

-Additional Inherited Members

- Static Public Member Functions inherited from GalaxyTypeAwareListener< FRIEND_INVITATION_LISTENER >
static ListenerType GetListenerType ()
 Returns the type of the listener. More...
 
-

Detailed Description

-

Listener for the event of receiving a friend invitation.

-

Member Function Documentation

- -

◆ OnFriendInvitationReceived()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void OnFriendInvitationReceived (GalaxyID userID,
uint32_t sendTime 
)
-
-pure virtual
-
- -

Notification for the event of receiving a friend invitation.

-
Parameters
- - - -
[in]userIDThe ID of the user who sent the friend invitation.
[in]sendTimeThe time at which the friend invitation was sent.
-
-
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendInvitationListener.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendInvitationListener.js deleted file mode 100644 index 1fd9b5c5f..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendInvitationListener.js +++ /dev/null @@ -1,4 +0,0 @@ -var classgalaxy_1_1api_1_1IFriendInvitationListener = -[ - [ "OnFriendInvitationReceived", "classgalaxy_1_1api_1_1IFriendInvitationListener.html#aaf8be938710a65ccb816602aeadc082e", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendInvitationListener__inherit__graph.map b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendInvitationListener__inherit__graph.map deleted file mode 100644 index ae4a528ad..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendInvitationListener__inherit__graph.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendInvitationListener__inherit__graph.md5 b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendInvitationListener__inherit__graph.md5 deleted file mode 100644 index cb12aa16a..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendInvitationListener__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -7ff77f37afb33e7ea77a1c1785bf0b8d \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendInvitationListener__inherit__graph.svg b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendInvitationListener__inherit__graph.svg deleted file mode 100644 index 503f2405b..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendInvitationListener__inherit__graph.svg +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - -IFriendInvitationListener - - -Node0 - - -IFriendInvitationListener - - - - -Node1 - - -GalaxyTypeAwareListener -< FRIEND_INVITATION_LISTENER > - - - - -Node1->Node0 - - - - -Node2 - - -IGalaxyListener - - - - -Node2->Node1 - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendInvitationRespondToListener-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendInvitationRespondToListener-members.html deleted file mode 100644 index 808af305f..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendInvitationRespondToListener-members.html +++ /dev/null @@ -1,116 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendInvitationRespondToListener.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendInvitationRespondToListener.html deleted file mode 100644 index 9e6f0832f..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendInvitationRespondToListener.html +++ /dev/null @@ -1,272 +0,0 @@ - - - - - - - -GOG Galaxy: IFriendInvitationRespondToListener Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
IFriendInvitationRespondToListener Class Referenceabstract
-
-
- -

Listener for the event of responding to a friend invitation. - More...

- -

#include <IFriends.h>

-
-Inheritance diagram for IFriendInvitationRespondToListener:
-
-
-
-
[legend]
- - - - - -

-Public Types

enum  FailureReason {
-  FAILURE_REASON_UNDEFINED, -FAILURE_REASON_USER_DOES_NOT_EXIST, -FAILURE_REASON_FRIEND_INVITATION_DOES_NOT_EXIST, -FAILURE_REASON_USER_ALREADY_FRIEND, -
-  FAILURE_REASON_CONNECTION_FAILURE -
- }
 The reason of a failure in responding to a friend invitation. More...
 
- - - - - - - -

-Public Member Functions

virtual void OnFriendInvitationRespondToSuccess (GalaxyID userID, bool accept)=0
 Notification for the event of a success in responding to a friend invitation. More...
 
virtual void OnFriendInvitationRespondToFailure (GalaxyID userID, FailureReason failureReason)=0
 Notification for the event of a failure in responding to a friend invitation. More...
 
- - - - - -

-Additional Inherited Members

- Static Public Member Functions inherited from GalaxyTypeAwareListener< FRIEND_INVITATION_RESPOND_TO_LISTENER >
static ListenerType GetListenerType ()
 Returns the type of the listener. More...
 
-

Detailed Description

-

Listener for the event of responding to a friend invitation.

-

Member Enumeration Documentation

- -

◆ FailureReason

- -
-
- - - - -
enum FailureReason
-
- -

The reason of a failure in responding to a friend invitation.

- - - - - - -
Enumerator
FAILURE_REASON_UNDEFINED 

Unspecified error.

-
FAILURE_REASON_USER_DOES_NOT_EXIST 

User does not exist.

-
FAILURE_REASON_FRIEND_INVITATION_DOES_NOT_EXIST 

Friend invitation does not exist.

-
FAILURE_REASON_USER_ALREADY_FRIEND 

User already on the friend list.

-
FAILURE_REASON_CONNECTION_FAILURE 

Unable to communicate with backend services.

-
- -
-
-

Member Function Documentation

- -

◆ OnFriendInvitationRespondToFailure()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void OnFriendInvitationRespondToFailure (GalaxyID userID,
FailureReason failureReason 
)
-
-pure virtual
-
- -

Notification for the event of a failure in responding to a friend invitation.

-
Parameters
- - - -
[in]userIDThe ID of the user who sent the invitation.
[in]failureReasonThe cause of the failure.
-
-
- -
-
- -

◆ OnFriendInvitationRespondToSuccess()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void OnFriendInvitationRespondToSuccess (GalaxyID userID,
bool accept 
)
-
-pure virtual
-
- -

Notification for the event of a success in responding to a friend invitation.

-
Parameters
- - - -
[in]userIDThe ID of the user who sent the invitation.
[in]acceptTrue when accepting the invitation, false when declining.
-
-
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendInvitationRespondToListener.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendInvitationRespondToListener.js deleted file mode 100644 index 4610812b4..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendInvitationRespondToListener.js +++ /dev/null @@ -1,12 +0,0 @@ -var classgalaxy_1_1api_1_1IFriendInvitationRespondToListener = -[ - [ "FailureReason", "classgalaxy_1_1api_1_1IFriendInvitationRespondToListener.html#a2e1fab5fc244b0783172514baec21a6e", [ - [ "FAILURE_REASON_UNDEFINED", "classgalaxy_1_1api_1_1IFriendInvitationRespondToListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39", null ], - [ "FAILURE_REASON_USER_DOES_NOT_EXIST", "classgalaxy_1_1api_1_1IFriendInvitationRespondToListener.html#a2e1fab5fc244b0783172514baec21a6eaa7fdbf5fd0f8fb915cd270eaf4dee431", null ], - [ "FAILURE_REASON_FRIEND_INVITATION_DOES_NOT_EXIST", "classgalaxy_1_1api_1_1IFriendInvitationRespondToListener.html#a2e1fab5fc244b0783172514baec21a6eac6d034b89542b28cae96b846e2a92792", null ], - [ "FAILURE_REASON_USER_ALREADY_FRIEND", "classgalaxy_1_1api_1_1IFriendInvitationRespondToListener.html#a2e1fab5fc244b0783172514baec21a6ea81d35666717e441e4a6c79a7fe7b62eb", null ], - [ "FAILURE_REASON_CONNECTION_FAILURE", "classgalaxy_1_1api_1_1IFriendInvitationRespondToListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0", null ] - ] ], - [ "OnFriendInvitationRespondToFailure", "classgalaxy_1_1api_1_1IFriendInvitationRespondToListener.html#a7665287c51fd5638dae67df42a1d6bcc", null ], - [ "OnFriendInvitationRespondToSuccess", "classgalaxy_1_1api_1_1IFriendInvitationRespondToListener.html#acad7057a5310ccf0547dccbf1ac9fdd9", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendInvitationRespondToListener__inherit__graph.map b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendInvitationRespondToListener__inherit__graph.map deleted file mode 100644 index 6ab14f223..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendInvitationRespondToListener__inherit__graph.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendInvitationRespondToListener__inherit__graph.md5 b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendInvitationRespondToListener__inherit__graph.md5 deleted file mode 100644 index d9f9283f3..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendInvitationRespondToListener__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -67093097e6ddbec215c37809d79be4a1 \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendInvitationRespondToListener__inherit__graph.svg b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendInvitationRespondToListener__inherit__graph.svg deleted file mode 100644 index cc2f09331..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendInvitationRespondToListener__inherit__graph.svg +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - -IFriendInvitationRespondToListener - - -Node0 - - -IFriendInvitationRespond -ToListener - - - - -Node1 - - -GalaxyTypeAwareListener -< FRIEND_INVITATION_RESPOND -_TO_LISTENER > - - - - -Node1->Node0 - - - - -Node2 - - -IGalaxyListener - - - - -Node2->Node1 - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendInvitationSendListener-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendInvitationSendListener-members.html deleted file mode 100644 index 16a34ac30..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendInvitationSendListener-members.html +++ /dev/null @@ -1,116 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendInvitationSendListener.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendInvitationSendListener.html deleted file mode 100644 index 41b04944b..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendInvitationSendListener.html +++ /dev/null @@ -1,261 +0,0 @@ - - - - - - - -GOG Galaxy: IFriendInvitationSendListener Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
IFriendInvitationSendListener Class Referenceabstract
-
-
- -

Listener for the event of sending a friend invitation. - More...

- -

#include <IFriends.h>

-
-Inheritance diagram for IFriendInvitationSendListener:
-
-
-
-
[legend]
- - - - - -

-Public Types

enum  FailureReason {
-  FAILURE_REASON_UNDEFINED, -FAILURE_REASON_USER_DOES_NOT_EXIST, -FAILURE_REASON_USER_ALREADY_INVITED, -FAILURE_REASON_USER_ALREADY_FRIEND, -
-  FAILURE_REASON_CONNECTION_FAILURE -
- }
 The reason of a failure in sending a friend invitation. More...
 
- - - - - - - -

-Public Member Functions

virtual void OnFriendInvitationSendSuccess (GalaxyID userID)=0
 Notification for the event of a success in sending a friend invitation. More...
 
virtual void OnFriendInvitationSendFailure (GalaxyID userID, FailureReason failureReason)=0
 Notification for the event of a failure in sending a friend invitation. More...
 
- - - - - -

-Additional Inherited Members

- Static Public Member Functions inherited from GalaxyTypeAwareListener< FRIEND_INVITATION_SEND_LISTENER >
static ListenerType GetListenerType ()
 Returns the type of the listener. More...
 
-

Detailed Description

-

Listener for the event of sending a friend invitation.

-

Member Enumeration Documentation

- -

◆ FailureReason

- -
-
- - - - -
enum FailureReason
-
- -

The reason of a failure in sending a friend invitation.

- - - - - - -
Enumerator
FAILURE_REASON_UNDEFINED 

Unspecified error.

-
FAILURE_REASON_USER_DOES_NOT_EXIST 

User does not exist.

-
FAILURE_REASON_USER_ALREADY_INVITED 

Friend invitation already sent to the user.

-
FAILURE_REASON_USER_ALREADY_FRIEND 

User already on the friend list.

-
FAILURE_REASON_CONNECTION_FAILURE 

Unable to communicate with backend services.

-
- -
-
-

Member Function Documentation

- -

◆ OnFriendInvitationSendFailure()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void OnFriendInvitationSendFailure (GalaxyID userID,
FailureReason failureReason 
)
-
-pure virtual
-
- -

Notification for the event of a failure in sending a friend invitation.

-
Parameters
- - - -
[in]userIDThe ID of the user to whom the invitation was being sent.
[in]failureReasonThe cause of the failure.
-
-
- -
-
- -

◆ OnFriendInvitationSendSuccess()

- -
-
- - - - - -
- - - - - - - - -
virtual void OnFriendInvitationSendSuccess (GalaxyID userID)
-
-pure virtual
-
- -

Notification for the event of a success in sending a friend invitation.

-
Parameters
- - -
[in]userIDThe ID of the user to whom the invitation was being sent.
-
-
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendInvitationSendListener.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendInvitationSendListener.js deleted file mode 100644 index 2c2a3692f..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendInvitationSendListener.js +++ /dev/null @@ -1,12 +0,0 @@ -var classgalaxy_1_1api_1_1IFriendInvitationSendListener = -[ - [ "FailureReason", "classgalaxy_1_1api_1_1IFriendInvitationSendListener.html#a2e1fab5fc244b0783172514baec21a6e", [ - [ "FAILURE_REASON_UNDEFINED", "classgalaxy_1_1api_1_1IFriendInvitationSendListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39", null ], - [ "FAILURE_REASON_USER_DOES_NOT_EXIST", "classgalaxy_1_1api_1_1IFriendInvitationSendListener.html#a2e1fab5fc244b0783172514baec21a6eaa7fdbf5fd0f8fb915cd270eaf4dee431", null ], - [ "FAILURE_REASON_USER_ALREADY_INVITED", "classgalaxy_1_1api_1_1IFriendInvitationSendListener.html#a2e1fab5fc244b0783172514baec21a6ea1e4fcee207327fc8bd9f1224ef08035f", null ], - [ "FAILURE_REASON_USER_ALREADY_FRIEND", "classgalaxy_1_1api_1_1IFriendInvitationSendListener.html#a2e1fab5fc244b0783172514baec21a6ea81d35666717e441e4a6c79a7fe7b62eb", null ], - [ "FAILURE_REASON_CONNECTION_FAILURE", "classgalaxy_1_1api_1_1IFriendInvitationSendListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0", null ] - ] ], - [ "OnFriendInvitationSendFailure", "classgalaxy_1_1api_1_1IFriendInvitationSendListener.html#a672651b7eeaa004bfb8545ce17ff329d", null ], - [ "OnFriendInvitationSendSuccess", "classgalaxy_1_1api_1_1IFriendInvitationSendListener.html#ad7226c49931d0db1aea6e8c6797bc78c", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendInvitationSendListener__inherit__graph.map b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendInvitationSendListener__inherit__graph.map deleted file mode 100644 index 7384e5142..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendInvitationSendListener__inherit__graph.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendInvitationSendListener__inherit__graph.md5 b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendInvitationSendListener__inherit__graph.md5 deleted file mode 100644 index e05e9772b..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendInvitationSendListener__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -2907155021bb494d7688f9fbb6024a01 \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendInvitationSendListener__inherit__graph.svg b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendInvitationSendListener__inherit__graph.svg deleted file mode 100644 index 32a491c31..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendInvitationSendListener__inherit__graph.svg +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - -IFriendInvitationSendListener - - -Node0 - - -IFriendInvitationSendListener - - - - -Node1 - - -GalaxyTypeAwareListener -< FRIEND_INVITATION_SEND -_LISTENER > - - - - -Node1->Node0 - - - - -Node2 - - -IGalaxyListener - - - - -Node2->Node1 - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendListListener-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendListListener-members.html deleted file mode 100644 index 05a780bcd..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendListListener-members.html +++ /dev/null @@ -1,113 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
IFriendListListener Member List
-
-
- -

This is the complete list of members for IFriendListListener, including all inherited members.

- - - - - - - - -
FAILURE_REASON_CONNECTION_FAILURE enum valueIFriendListListener
FAILURE_REASON_UNDEFINED enum valueIFriendListListener
FailureReason enum nameIFriendListListener
GetListenerType()GalaxyTypeAwareListener< FRIEND_LIST_RETRIEVE >inlinestatic
OnFriendListRetrieveFailure(FailureReason failureReason)=0IFriendListListenerpure virtual
OnFriendListRetrieveSuccess()=0IFriendListListenerpure virtual
~IGalaxyListener() (defined in IGalaxyListener)IGalaxyListenerinlinevirtual
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendListListener.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendListListener.html deleted file mode 100644 index 59f918647..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendListListener.html +++ /dev/null @@ -1,232 +0,0 @@ - - - - - - - -GOG Galaxy: IFriendListListener Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
IFriendListListener Class Referenceabstract
-
-
- -

Listener for the event of retrieving requested list of friends. - More...

- -

#include <IFriends.h>

-
-Inheritance diagram for IFriendListListener:
-
-
-
-
[legend]
- - - - - -

-Public Types

enum  FailureReason { FAILURE_REASON_UNDEFINED, -FAILURE_REASON_CONNECTION_FAILURE - }
 The reason of a failure in retrieving the user's list of friends. More...
 
- - - - - - - -

-Public Member Functions

virtual void OnFriendListRetrieveSuccess ()=0
 Notification for the event of a success in retrieving the user's list of friends. More...
 
virtual void OnFriendListRetrieveFailure (FailureReason failureReason)=0
 Notification for the event of a failure in retrieving the user's list of friends. More...
 
- - - - - -

-Additional Inherited Members

- Static Public Member Functions inherited from GalaxyTypeAwareListener< FRIEND_LIST_RETRIEVE >
static ListenerType GetListenerType ()
 Returns the type of the listener. More...
 
-

Detailed Description

-

Listener for the event of retrieving requested list of friends.

-

Member Enumeration Documentation

- -

◆ FailureReason

- -
-
- - - - -
enum FailureReason
-
- -

The reason of a failure in retrieving the user's list of friends.

- - - -
Enumerator
FAILURE_REASON_UNDEFINED 

Unspecified error.

-
FAILURE_REASON_CONNECTION_FAILURE 

Unable to communicate with backend services.

-
- -
-
-

Member Function Documentation

- -

◆ OnFriendListRetrieveFailure()

- -
-
- - - - - -
- - - - - - - - -
virtual void OnFriendListRetrieveFailure (FailureReason failureReason)
-
-pure virtual
-
- -

Notification for the event of a failure in retrieving the user's list of friends.

-
Parameters
- - -
[in]failureReasonThe cause of the failure.
-
-
- -
-
- -

◆ OnFriendListRetrieveSuccess()

- -
-
- - - - - -
- - - - - - - -
virtual void OnFriendListRetrieveSuccess ()
-
-pure virtual
-
- -

Notification for the event of a success in retrieving the user's list of friends.

-

In order to read subsequent friend IDs, call IFriends::GetFriendCount() and IFriends::GetFriendByIndex().

- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendListListener.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendListListener.js deleted file mode 100644 index 1915a94d0..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendListListener.js +++ /dev/null @@ -1,9 +0,0 @@ -var classgalaxy_1_1api_1_1IFriendListListener = -[ - [ "FailureReason", "classgalaxy_1_1api_1_1IFriendListListener.html#a2e1fab5fc244b0783172514baec21a6e", [ - [ "FAILURE_REASON_UNDEFINED", "classgalaxy_1_1api_1_1IFriendListListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39", null ], - [ "FAILURE_REASON_CONNECTION_FAILURE", "classgalaxy_1_1api_1_1IFriendListListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0", null ] - ] ], - [ "OnFriendListRetrieveFailure", "classgalaxy_1_1api_1_1IFriendListListener.html#a9cbe96cfeea72a677589b645b4431b17", null ], - [ "OnFriendListRetrieveSuccess", "classgalaxy_1_1api_1_1IFriendListListener.html#a8b9472f2304e62a9b419c779e8e6a2f6", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendListListener__inherit__graph.map b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendListListener__inherit__graph.map deleted file mode 100644 index c46b1a526..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendListListener__inherit__graph.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendListListener__inherit__graph.md5 b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendListListener__inherit__graph.md5 deleted file mode 100644 index 90c4faa36..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendListListener__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -486a038078c6d2bf68ab391ffbc70842 \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendListListener__inherit__graph.svg b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendListListener__inherit__graph.svg deleted file mode 100644 index 350216de5..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriendListListener__inherit__graph.svg +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - -IFriendListListener - - -Node0 - - -IFriendListListener - - - - -Node1 - - -GalaxyTypeAwareListener -< FRIEND_LIST_RETRIEVE > - - - - -Node1->Node0 - - - - -Node2 - - -IGalaxyListener - - - - -Node2->Node1 - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriends-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriends-members.html deleted file mode 100644 index dad84388c..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriends-members.html +++ /dev/null @@ -1,145 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
IFriends Member List
-
-
- -

This is the complete list of members for IFriends, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ClearRichPresence(IRichPresenceChangeListener *const listener=NULL)=0IFriendspure virtual
DeleteFriend(GalaxyID userID, IFriendDeleteListener *const listener=NULL)=0IFriendspure virtual
DeleteRichPresence(const char *key, IRichPresenceChangeListener *const listener=NULL)=0IFriendspure virtual
FindUser(const char *userSpecifier, IUserFindListener *const listener=NULL)=0IFriendspure virtual
GetDefaultAvatarCriteria()=0IFriendspure virtual
GetFriendAvatarImageID(GalaxyID userID, AvatarType avatarType)=0IFriendspure virtual
GetFriendAvatarImageRGBA(GalaxyID userID, AvatarType avatarType, void *buffer, uint32_t bufferLength)=0IFriendspure virtual
GetFriendAvatarUrl(GalaxyID userID, AvatarType avatarType)=0IFriendspure virtual
GetFriendAvatarUrlCopy(GalaxyID userID, AvatarType avatarType, char *buffer, uint32_t bufferLength)=0IFriendspure virtual
GetFriendByIndex(uint32_t index)=0IFriendspure virtual
GetFriendCount()=0IFriendspure virtual
GetFriendInvitationByIndex(uint32_t index, GalaxyID &userID, uint32_t &sendTime)=0IFriendspure virtual
GetFriendInvitationCount()=0IFriendspure virtual
GetFriendPersonaName(GalaxyID userID)=0IFriendspure virtual
GetFriendPersonaNameCopy(GalaxyID userID, char *buffer, uint32_t bufferLength)=0IFriendspure virtual
GetFriendPersonaState(GalaxyID userID)=0IFriendspure virtual
GetPersonaName()=0IFriendspure virtual
GetPersonaNameCopy(char *buffer, uint32_t bufferLength)=0IFriendspure virtual
GetPersonaState()=0IFriendspure virtual
GetRichPresence(const char *key, GalaxyID userID=GalaxyID())=0IFriendspure virtual
GetRichPresenceByIndex(uint32_t index, char *key, uint32_t keyLength, char *value, uint32_t valueLength, GalaxyID userID=GalaxyID())=0IFriendspure virtual
GetRichPresenceCopy(const char *key, char *buffer, uint32_t bufferLength, GalaxyID userID=GalaxyID())=0IFriendspure virtual
GetRichPresenceCount(GalaxyID userID=GalaxyID())=0IFriendspure virtual
IsFriend(GalaxyID userID)=0IFriendspure virtual
IsFriendAvatarImageRGBAAvailable(GalaxyID userID, AvatarType avatarType)=0IFriendspure virtual
IsUserInformationAvailable(GalaxyID userID)=0IFriendspure virtual
IsUserInTheSameGame(GalaxyID userID) const =0IFriendspure virtual
RequestFriendInvitationList(IFriendInvitationListRetrieveListener *const listener=NULL)=0IFriendspure virtual
RequestFriendList(IFriendListListener *const listener=NULL)=0IFriendspure virtual
RequestRichPresence(GalaxyID userID=GalaxyID(), IRichPresenceRetrieveListener *const listener=NULL)=0IFriendspure virtual
RequestSentFriendInvitationList(ISentFriendInvitationListRetrieveListener *const listener=NULL)=0IFriendspure virtual
RequestUserInformation(GalaxyID userID, AvatarCriteria avatarCriteria=AVATAR_TYPE_NONE, IUserInformationRetrieveListener *const listener=NULL)=0IFriendspure virtual
RespondToFriendInvitation(GalaxyID userID, bool accept, IFriendInvitationRespondToListener *const listener=NULL)=0IFriendspure virtual
SendFriendInvitation(GalaxyID userID, IFriendInvitationSendListener *const listener=NULL)=0IFriendspure virtual
SendInvitation(GalaxyID userID, const char *connectionString, ISendInvitationListener *const listener=NULL)=0IFriendspure virtual
SetDefaultAvatarCriteria(AvatarCriteria defaultAvatarCriteria)=0IFriendspure virtual
SetRichPresence(const char *key, const char *value, IRichPresenceChangeListener *const listener=NULL)=0IFriendspure virtual
ShowOverlayInviteDialog(const char *connectionString)=0IFriendspure virtual
~IFriends() (defined in IFriends)IFriendsinlinevirtual
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriends.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriends.html deleted file mode 100644 index c6a029780..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriends.html +++ /dev/null @@ -1,1890 +0,0 @@ - - - - - - - -GOG Galaxy: IFriends Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
IFriends Class Referenceabstract
-
-
- -

The interface for managing social info and activities. - More...

- -

#include <IFriends.h>

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

virtual AvatarCriteria GetDefaultAvatarCriteria ()=0
 Returns the default avatar criteria. More...
 
virtual void SetDefaultAvatarCriteria (AvatarCriteria defaultAvatarCriteria)=0
 Sets the default avatar criteria. More...
 
virtual void RequestUserInformation (GalaxyID userID, AvatarCriteria avatarCriteria=AVATAR_TYPE_NONE, IUserInformationRetrieveListener *const listener=NULL)=0
 Performs a request for information about specified user. More...
 
virtual bool IsUserInformationAvailable (GalaxyID userID)=0
 Checks if the information of specified user is available. More...
 
virtual const char * GetPersonaName ()=0
 Returns the user's nickname. More...
 
virtual void GetPersonaNameCopy (char *buffer, uint32_t bufferLength)=0
 Copies the user's nickname to a buffer. More...
 
virtual PersonaState GetPersonaState ()=0
 Returns the user's state. More...
 
virtual const char * GetFriendPersonaName (GalaxyID userID)=0
 Returns the nickname of a specified user. More...
 
virtual void GetFriendPersonaNameCopy (GalaxyID userID, char *buffer, uint32_t bufferLength)=0
 Copies the nickname of a specified user. More...
 
virtual PersonaState GetFriendPersonaState (GalaxyID userID)=0
 Returns the state of a specified user. More...
 
virtual const char * GetFriendAvatarUrl (GalaxyID userID, AvatarType avatarType)=0
 Returns the URL of the avatar of a specified user. More...
 
virtual void GetFriendAvatarUrlCopy (GalaxyID userID, AvatarType avatarType, char *buffer, uint32_t bufferLength)=0
 Copies URL of the avatar of a specified user. More...
 
virtual uint32_t GetFriendAvatarImageID (GalaxyID userID, AvatarType avatarType)=0
 Returns the ID of the avatar of a specified user. More...
 
virtual void GetFriendAvatarImageRGBA (GalaxyID userID, AvatarType avatarType, void *buffer, uint32_t bufferLength)=0
 Copies the avatar of a specified user. More...
 
virtual bool IsFriendAvatarImageRGBAAvailable (GalaxyID userID, AvatarType avatarType)=0
 Checks if a specified avatar image is available. More...
 
virtual void RequestFriendList (IFriendListListener *const listener=NULL)=0
 Performs a request for the user's list of friends. More...
 
virtual bool IsFriend (GalaxyID userID)=0
 Checks if a specified user is a friend. More...
 
virtual uint32_t GetFriendCount ()=0
 Returns the number of retrieved friends in the user's list of friends. More...
 
virtual GalaxyID GetFriendByIndex (uint32_t index)=0
 Returns the GalaxyID for a friend. More...
 
virtual void SendFriendInvitation (GalaxyID userID, IFriendInvitationSendListener *const listener=NULL)=0
 Sends a friend invitation. More...
 
virtual void RequestFriendInvitationList (IFriendInvitationListRetrieveListener *const listener=NULL)=0
 Performs a request for the user's list of incoming friend invitations. More...
 
virtual void RequestSentFriendInvitationList (ISentFriendInvitationListRetrieveListener *const listener=NULL)=0
 Performs a request for the user's list of outgoing friend invitations. More...
 
virtual uint32_t GetFriendInvitationCount ()=0
 Returns the number of retrieved friend invitations. More...
 
virtual void GetFriendInvitationByIndex (uint32_t index, GalaxyID &userID, uint32_t &sendTime)=0
 Reads the details of the friend invitation. More...
 
virtual void RespondToFriendInvitation (GalaxyID userID, bool accept, IFriendInvitationRespondToListener *const listener=NULL)=0
 Responds to the friend invitation. More...
 
virtual void DeleteFriend (GalaxyID userID, IFriendDeleteListener *const listener=NULL)=0
 Removes a user from the friend list. More...
 
virtual void SetRichPresence (const char *key, const char *value, IRichPresenceChangeListener *const listener=NULL)=0
 Sets the variable value under a specified name. More...
 
virtual void DeleteRichPresence (const char *key, IRichPresenceChangeListener *const listener=NULL)=0
 Removes the variable value under a specified name. More...
 
virtual void ClearRichPresence (IRichPresenceChangeListener *const listener=NULL)=0
 Removes all rich presence data for the user. More...
 
virtual void RequestRichPresence (GalaxyID userID=GalaxyID(), IRichPresenceRetrieveListener *const listener=NULL)=0
 Performs a request for the user's rich presence. More...
 
virtual const char * GetRichPresence (const char *key, GalaxyID userID=GalaxyID())=0
 Returns the rich presence of a specified user. More...
 
virtual void GetRichPresenceCopy (const char *key, char *buffer, uint32_t bufferLength, GalaxyID userID=GalaxyID())=0
 Copies the rich presence of a specified user to a buffer. More...
 
virtual uint32_t GetRichPresenceCount (GalaxyID userID=GalaxyID())=0
 Returns the number of retrieved properties in user's rich presence. More...
 
virtual void GetRichPresenceByIndex (uint32_t index, char *key, uint32_t keyLength, char *value, uint32_t valueLength, GalaxyID userID=GalaxyID())=0
 Returns a property from the rich presence storage by index. More...
 
virtual void ShowOverlayInviteDialog (const char *connectionString)=0
 Shows game invitation dialog that allows to invite users to game. More...
 
virtual void SendInvitation (GalaxyID userID, const char *connectionString, ISendInvitationListener *const listener=NULL)=0
 Sends a game invitation without using the overlay. More...
 
virtual void FindUser (const char *userSpecifier, IUserFindListener *const listener=NULL)=0
 Finds a specified user. More...
 
virtual bool IsUserInTheSameGame (GalaxyID userID) const =0
 Checks if a specified user is playing the same game. More...
 
-

Detailed Description

-

The interface for managing social info and activities.

-

Member Function Documentation

- -

◆ ClearRichPresence()

- -
-
- - - - - -
- - - - - - - - -
virtual void ClearRichPresence (IRichPresenceChangeListener *const listener = NULL)
-
-pure virtual
-
- -

Removes all rich presence data for the user.

-

This call in asynchronous. Responses come to the IRichPresenceChangeListener.

-
Parameters
- - -
[in]listenerThe listener for specific operation.
-
-
- -
-
- -

◆ DeleteFriend()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void DeleteFriend (GalaxyID userID,
IFriendDeleteListener *const listener = NULL 
)
-
-pure virtual
-
- -

Removes a user from the friend list.

-

This call in asynchronous. Responses come to the IFriendDeleteListener.

-
Parameters
- - - -
[in]userIDThe ID of the user to be removed from the friend list.
[in]listenerThe listener for specific operation.
-
-
- -
-
- -

◆ DeleteRichPresence()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void DeleteRichPresence (const char * key,
IRichPresenceChangeListener *const listener = NULL 
)
-
-pure virtual
-
- -

Removes the variable value under a specified name.

-

If the variable doesn't exist method call has no effect.

-

This call in asynchronous. Responses come to the IRichPresenceChangeListener.

-
Parameters
- - - -
[in]keyThe name of the variable to be removed.
[in]listenerThe listener for specific operation.
-
-
- -
-
- -

◆ FindUser()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void FindUser (const char * userSpecifier,
IUserFindListener *const listener = NULL 
)
-
-pure virtual
-
- -

Finds a specified user.

-

This call is asynchronous. Responses come to the IUserFindListener.

-

Searches for the user given either a username or an email address. Only exact match will be returned.

-
Parameters
- - - -
[in]userSpecifierThe specifier of the user.
[in]listenerThe listener for specific operation.
-
-
- -
-
- -

◆ GetDefaultAvatarCriteria()

- -
-
- - - - - -
- - - - - - - -
virtual AvatarCriteria GetDefaultAvatarCriteria ()
-
-pure virtual
-
- -

Returns the default avatar criteria.

-
Returns
The bit sum of default AvatarType.
- -
-
- -

◆ GetFriendAvatarImageID()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual uint32_t GetFriendAvatarImageID (GalaxyID userID,
AvatarType avatarType 
)
-
-pure virtual
-
- -

Returns the ID of the avatar of a specified user.

-
Precondition
Retrieve the avatar image first by calling RequestUserInformation() with appropriate avatar criteria.
-
Parameters
- - - -
[in]userIDThe ID of the user.
[in]avatarTypeThe type of avatar.
-
-
-
Returns
The ID of the avatar image.
- -
-
- -

◆ GetFriendAvatarImageRGBA()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
virtual void GetFriendAvatarImageRGBA (GalaxyID userID,
AvatarType avatarType,
void * buffer,
uint32_t bufferLength 
)
-
-pure virtual
-
- -

Copies the avatar of a specified user.

-
Precondition
Retrieve the avatar image first by calling RequestUserInformation() with appropriate avatar criteria.
-
-The size of the output buffer should be 4 * height * width * sizeof(char).
-
Parameters
- - - - - -
[in]userIDThe ID of the user.
[in]avatarTypeThe type of avatar.
[in,out]bufferThe output buffer.
[in]bufferLengthThe size of the output buffer.
-
-
- -
-
- -

◆ GetFriendAvatarUrl()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual const char* GetFriendAvatarUrl (GalaxyID userID,
AvatarType avatarType 
)
-
-pure virtual
-
- -

Returns the URL of the avatar of a specified user.

-
Remarks
This call is not thread-safe as opposed to GetFriendAvatarUrlCopy().
-
Precondition
You might need to retrieve the data first by calling RequestUserInformation().
-
Parameters
- - - -
[in]userIDThe ID of the user.
[in]avatarTypeThe type of avatar.
-
-
-
Returns
The URL of the avatar.
- -
-
- -

◆ GetFriendAvatarUrlCopy()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
virtual void GetFriendAvatarUrlCopy (GalaxyID userID,
AvatarType avatarType,
char * buffer,
uint32_t bufferLength 
)
-
-pure virtual
-
- -

Copies URL of the avatar of a specified user.

-
Precondition
You might need to retrieve the data first by calling RequestUserInformation().
-
Parameters
- - - - - -
[in]userIDThe ID of the user.
[in]avatarTypeThe type of avatar.
[in,out]bufferThe output buffer.
[in]bufferLengthThe size of the output buffer.
-
-
- -
-
- -

◆ GetFriendByIndex()

- -
-
- - - - - -
- - - - - - - - -
virtual GalaxyID GetFriendByIndex (uint32_t index)
-
-pure virtual
-
- -

Returns the GalaxyID for a friend.

-
Precondition
Retrieve the list of friends first by calling RequestFriendList().
-
Parameters
- - -
[in]indexIndex as an integer in the range of [0, number of friends).
-
-
-
Returns
The GalaxyID of the friend.
- -
-
- -

◆ GetFriendCount()

- -
-
- - - - - -
- - - - - - - -
virtual uint32_t GetFriendCount ()
-
-pure virtual
-
- -

Returns the number of retrieved friends in the user's list of friends.

-
Precondition
Retrieve the list of friends first by calling RequestFriendList().
-
Returns
The number of retrieved friends, or 0 if failed.
- -
-
- -

◆ GetFriendInvitationByIndex()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
virtual void GetFriendInvitationByIndex (uint32_t index,
GalaxyIDuserID,
uint32_t & sendTime 
)
-
-pure virtual
-
- -

Reads the details of the friend invitation.

-
Remarks
This function can be used only in IFriendInvitationListRetrieveListener callback.
-
Parameters
- - - - -
[in]indexIndex as an integer in the range of [0, number of friend invitations).
[out]userIDThe ID of the user who sent the invitation.
[out]sendTimeThe time at which the friend invitation was sent.
-
-
- -
-
- -

◆ GetFriendInvitationCount()

- -
-
- - - - - -
- - - - - - - -
virtual uint32_t GetFriendInvitationCount ()
-
-pure virtual
-
- -

Returns the number of retrieved friend invitations.

-
Remarks
This function can be used only in IFriendInvitationListRetrieveListener callback.
-
Returns
The number of retrieved friend invitations, or 0 if failed.
- -
-
- -

◆ GetFriendPersonaName()

- -
-
- - - - - -
- - - - - - - - -
virtual const char* GetFriendPersonaName (GalaxyID userID)
-
-pure virtual
-
- -

Returns the nickname of a specified user.

-
Remarks
This call is not thread-safe as opposed to GetFriendPersonaNameCopy().
-
Precondition
You might need to retrieve the data first by calling RequestUserInformation().
-
Parameters
- - -
[in]userIDThe ID of the user.
-
-
-
Returns
The nickname of the user.
- -
-
- -

◆ GetFriendPersonaNameCopy()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
virtual void GetFriendPersonaNameCopy (GalaxyID userID,
char * buffer,
uint32_t bufferLength 
)
-
-pure virtual
-
- -

Copies the nickname of a specified user.

-
Precondition
You might need to retrieve the data first by calling RequestUserInformation().
-
Parameters
- - - - -
[in]userIDThe ID of the user.
[in,out]bufferThe output buffer.
[in]bufferLengthThe size of the output buffer.
-
-
- -
-
- -

◆ GetFriendPersonaState()

- -
-
- - - - - -
- - - - - - - - -
virtual PersonaState GetFriendPersonaState (GalaxyID userID)
-
-pure virtual
-
- -

Returns the state of a specified user.

-
Precondition
You might need to retrieve the data first by calling RequestUserInformation().
-
Parameters
- - -
[in]userIDThe ID of the user.
-
-
-
Returns
The state of the user.
- -
-
- -

◆ GetPersonaName()

- -
-
- - - - - -
- - - - - - - -
virtual const char* GetPersonaName ()
-
-pure virtual
-
- -

Returns the user's nickname.

-
Remarks
This call is not thread-safe as opposed to GetPersonaNameCopy().
-
Returns
The nickname of the user.
- -
-
- -

◆ GetPersonaNameCopy()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void GetPersonaNameCopy (char * buffer,
uint32_t bufferLength 
)
-
-pure virtual
-
- -

Copies the user's nickname to a buffer.

-
Parameters
- - - -
[in,out]bufferThe output buffer.
[in]bufferLengthThe size of the output buffer.
-
-
- -
-
- -

◆ GetPersonaState()

- -
-
- - - - - -
- - - - - - - -
virtual PersonaState GetPersonaState ()
-
-pure virtual
-
- -

Returns the user's state.

-
Returns
The state of the user.
- -
-
- -

◆ GetRichPresence()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual const char* GetRichPresence (const char * key,
GalaxyID userID = GalaxyID() 
)
-
-pure virtual
-
- -

Returns the rich presence of a specified user.

-
Remarks
This call is not thread-safe as opposed to GetRichPresenceCopy().
-
Precondition
Retrieve the rich presence first by calling RequestRichPresence().
-
Parameters
- - - -
[in]userIDThe ID of the user.
[in]keyThe name of the property of the user's rich presence.
-
-
-
Returns
The rich presence of the user.
- -
-
- -

◆ GetRichPresenceByIndex()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
virtual void GetRichPresenceByIndex (uint32_t index,
char * key,
uint32_t keyLength,
char * value,
uint32_t valueLength,
GalaxyID userID = GalaxyID() 
)
-
-pure virtual
-
- -

Returns a property from the rich presence storage by index.

-
Precondition
Retrieve the rich presence first by calling RequestRichPresence().
-
Parameters
- - - - - - - -
[in]indexIndex as an integer in the range of [0, number of entries).
[in,out]keyThe name of the property of the rich presence storage.
[in]keyLengthThe length of the name of the property of the rich presence storage.
[in,out]valueThe value of the property of the rich presence storage.
[in]valueLengthThe length of the value of the property of the rich presence storage.
[in]userIDThe ID of the user.
-
-
- -
-
- -

◆ GetRichPresenceCopy()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
virtual void GetRichPresenceCopy (const char * key,
char * buffer,
uint32_t bufferLength,
GalaxyID userID = GalaxyID() 
)
-
-pure virtual
-
- -

Copies the rich presence of a specified user to a buffer.

-
Precondition
Retrieve the rich presence first by calling RequestRichPresence().
-
Parameters
- - - - - -
[in]keyThe name of the property of the user's rich presence.
[in,out]bufferThe output buffer.
[in]bufferLengthThe size of the output buffer.
[in]userIDThe ID of the user.
-
-
- -
-
- -

◆ GetRichPresenceCount()

- -
-
- - - - - -
- - - - - - - - -
virtual uint32_t GetRichPresenceCount (GalaxyID userID = GalaxyID())
-
-pure virtual
-
- -

Returns the number of retrieved properties in user's rich presence.

-
Parameters
- - -
[in]userIDThe ID of the user.
-
-
-
Returns
The number of retrieved keys, or 0 if failed.
- -
-
- -

◆ IsFriend()

- -
-
- - - - - -
- - - - - - - - -
virtual bool IsFriend (GalaxyID userID)
-
-pure virtual
-
- -

Checks if a specified user is a friend.

-
Precondition
Retrieve the list of friends first by calling RequestFriendList().
-
Parameters
- - -
[in]userIDThe ID of the user.
-
-
-
Returns
true if the specified user is a friend, false otherwise.
- -
-
- -

◆ IsFriendAvatarImageRGBAAvailable()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual bool IsFriendAvatarImageRGBAAvailable (GalaxyID userID,
AvatarType avatarType 
)
-
-pure virtual
-
- -

Checks if a specified avatar image is available.

-
Parameters
- - - -
[in]userIDThe ID of the user.
[in]avatarTypeThe type of avatar.
-
-
-
Returns
true if the specified avatar image is available, false otherwise.
- -
-
- -

◆ IsUserInformationAvailable()

- -
-
- - - - - -
- - - - - - - - -
virtual bool IsUserInformationAvailable (GalaxyID userID)
-
-pure virtual
-
- -

Checks if the information of specified user is available.

-
Precondition
Retrieve the information by calling RequestUserInformation().
-
Parameters
- - -
[in]userIDThe ID of the user.
-
-
-
Returns
true if the information of the user is available, false otherwise.
- -
-
- -

◆ IsUserInTheSameGame()

- -
-
- - - - - -
- - - - - - - - -
virtual bool IsUserInTheSameGame (GalaxyID userID) const
-
-pure virtual
-
- -

Checks if a specified user is playing the same game.

-
Precondition
Retrieve the rich presence first by calling RequestRichPresence().
-
Parameters
- - -
[in]userIDThe ID of the user.
-
-
-
Returns
true if the specified user is playing the same game, false otherwise.
- -
-
- -

◆ RequestFriendInvitationList()

- -
-
- - - - - -
- - - - - - - - -
virtual void RequestFriendInvitationList (IFriendInvitationListRetrieveListener *const listener = NULL)
-
-pure virtual
-
- -

Performs a request for the user's list of incoming friend invitations.

-

This call is asynchronous. Responses come to the IFriendInvitationListRetrieveListener.

-
Parameters
- - -
[in]listenerThe listener for specific operation.
-
-
- -
-
- -

◆ RequestFriendList()

- -
-
- - - - - -
- - - - - - - - -
virtual void RequestFriendList (IFriendListListener *const listener = NULL)
-
-pure virtual
-
- -

Performs a request for the user's list of friends.

-

This call is asynchronous. Responses come to the IFriendListListener.

-
Parameters
- - -
[in]listenerThe listener for specific operation.
-
-
- -
-
- -

◆ RequestRichPresence()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void RequestRichPresence (GalaxyID userID = GalaxyID(),
IRichPresenceRetrieveListener *const listener = NULL 
)
-
-pure virtual
-
- -

Performs a request for the user's rich presence.

-

This call is asynchronous. Responses come both to the IRichPresenceListener and IRichPresenceRetrieveListener.

-
Parameters
- - - -
[in]userIDThe ID of the user.
[in]listenerThe listener for specific operation.
-
-
- -
-
- -

◆ RequestSentFriendInvitationList()

- -
-
- - - - - -
- - - - - - - - -
virtual void RequestSentFriendInvitationList (ISentFriendInvitationListRetrieveListener *const listener = NULL)
-
-pure virtual
-
- -

Performs a request for the user's list of outgoing friend invitations.

-

This call is asynchronous. Responses come to the ISentFriendInvitationListRetrieveListener.

-
Parameters
- - -
[in]listenerThe listener for specific operation.
-
-
- -
-
- -

◆ RequestUserInformation()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
virtual void RequestUserInformation (GalaxyID userID,
AvatarCriteria avatarCriteria = AVATAR_TYPE_NONE,
IUserInformationRetrieveListener *const listener = NULL 
)
-
-pure virtual
-
- -

Performs a request for information about specified user.

-

This call is asynchronous. Responses come both to the IPersonaDataChangedListener and to the IUserInformationRetrieveListener.

-
Remarks
This call is performed automatically for friends (after requesting the list of friends) and fellow lobby members (after entering a lobby or getting a notification about some other user joining it), therefore in many cases there is no need for you to call it manually and all you should do is wait for the appropriate callback to come to the IPersonaDataChangedListener.
-
-User avatar will be downloaded according to bit sum of avatarCriteria and defaultAvatarCriteria set by calling SetDefaultAvatarCriteria().
-
Parameters
- - - - -
[in]userIDThe ID of the user.
[in]avatarCriteriaThe bit sum of the AvatarType.
[in]listenerThe listener for specific operation.
-
-
- -
-
- -

◆ RespondToFriendInvitation()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
virtual void RespondToFriendInvitation (GalaxyID userID,
bool accept,
IFriendInvitationRespondToListener *const listener = NULL 
)
-
-pure virtual
-
- -

Responds to the friend invitation.

-

This call is asynchronous. Responses come to the IFriendInvitationRespondToListener.

-
Parameters
- - - - -
[in]userIDThe ID of the user who sent the friend invitation.
[in]acceptTrue when accepting the invitation, false when declining.
[in]listenerThe listener for specific operation.
-
-
- -
-
- -

◆ SendFriendInvitation()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void SendFriendInvitation (GalaxyID userID,
IFriendInvitationSendListener *const listener = NULL 
)
-
-pure virtual
-
- -

Sends a friend invitation.

-

This call is asynchronous. Responses come to the IFriendInvitationSendListener.

-
Parameters
- - - -
[in]userIDThe ID of the user.
[in]listenerThe listener for specific operation.
-
-
- -
-
- -

◆ SendInvitation()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
virtual void SendInvitation (GalaxyID userID,
const char * connectionString,
ISendInvitationListener *const listener = NULL 
)
-
-pure virtual
-
- -

Sends a game invitation without using the overlay.

-

This call is asynchronous. Responses come to the ISendInvitationListener.

-

If invited user accepts the invitation, the connection string gets added to the command-line parameters for launching the game. If the game is already running, the connection string comes to the IGameInvitationReceivedListener, or to the IGameJoinRequestedListener if accepted by the user on the overlay.

-
Parameters
- - - - -
[in]userIDThe ID of the user.
[in]connectionStringThe string which contains connection info with the limit of 4095 bytes.
[in]listenerThe listener for specific operation.
-
-
- -
-
- -

◆ SetDefaultAvatarCriteria()

- -
-
- - - - - -
- - - - - - - - -
virtual void SetDefaultAvatarCriteria (AvatarCriteria defaultAvatarCriteria)
-
-pure virtual
-
- -

Sets the default avatar criteria.

-
Remarks
The avatar criteria will be used for automated downloads of user information, as well as additional criteria in case of calling RequestUserInformation().
-
Parameters
- - -
[in]defaultAvatarCriteriaThe bit sum of default AvatarType.
-
-
- -
-
- -

◆ SetRichPresence()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
virtual void SetRichPresence (const char * key,
const char * value,
IRichPresenceChangeListener *const listener = NULL 
)
-
-pure virtual
-
- -

Sets the variable value under a specified name.

-

There are three keys that can be used:

    -
  • "status" - The description visible in Galaxy Client with the limit of 3000 bytes.
  • -
  • "metadata" - The metadata that describes the status to other instances of the game with the limit of 2048 bytes.
  • -
  • "connect" - The string which contains connection info with the limit of 4095 bytes. It can be regarded as a passive version of IFriends::SendInvitation() because it allows friends that notice the rich presence to join a multiplayer game.
  • -
-

User must be signed in through Galaxy.

-

Passing NULL value removes the entry.

-

This call in asynchronous. Responses come to the IRichPresenceChangeListener.

-
Parameters
- - - - -
[in]keyThe name of the property of the user's rich presence.
[in]valueThe value of the property to set.
[in]listenerThe listener for specific operation.
-
-
- -
-
- -

◆ ShowOverlayInviteDialog()

- -
-
- - - - - -
- - - - - - - - -
virtual void ShowOverlayInviteDialog (const char * connectionString)
-
-pure virtual
-
- -

Shows game invitation dialog that allows to invite users to game.

-

If invited user accepts the invitation, the connection string gets added to the command-line parameters for launching the game. If the game is already running, the connection string comes to the IGameInvitationReceivedListener, or to the IGameJoinRequestedListener if accepted by the user on the overlay.

-
Precondition
For this call to work, the overlay needs to be initialized first. To check whether the overlay is initialized, call IUtils::GetOverlayState().
-
Parameters
- - -
[in]connectionStringThe string which contains connection info with the limit of 4095 bytes.
-
-
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriends.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriends.js deleted file mode 100644 index e5b84af0a..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IFriends.js +++ /dev/null @@ -1,42 +0,0 @@ -var classgalaxy_1_1api_1_1IFriends = -[ - [ "~IFriends", "classgalaxy_1_1api_1_1IFriends.html#a761cc2cc9d19afe28cdfb917ea6099e6", null ], - [ "ClearRichPresence", "classgalaxy_1_1api_1_1IFriends.html#ac4b3d7eb07d7d866e70c0770cc65ec3a", null ], - [ "DeleteFriend", "classgalaxy_1_1api_1_1IFriends.html#aabd02b47cc7208c8696fa1c04419dec7", null ], - [ "DeleteRichPresence", "classgalaxy_1_1api_1_1IFriends.html#a9ca5e270bac21300630ae985c9ef690d", null ], - [ "FindUser", "classgalaxy_1_1api_1_1IFriends.html#af56e4546f048ca3a6467fc03f5ec2448", null ], - [ "GetDefaultAvatarCriteria", "classgalaxy_1_1api_1_1IFriends.html#a93b549c9c37936bb2cbb4118140f5659", null ], - [ "GetFriendAvatarImageID", "classgalaxy_1_1api_1_1IFriends.html#afe0b4900cac6d973562d027a4fcaa33a", null ], - [ "GetFriendAvatarImageRGBA", "classgalaxy_1_1api_1_1IFriends.html#a092e51d912ad94d9c9ef2617f61c82ec", null ], - [ "GetFriendAvatarUrl", "classgalaxy_1_1api_1_1IFriends.html#a4fe15f4be55cf030e12018134a281591", null ], - [ "GetFriendAvatarUrlCopy", "classgalaxy_1_1api_1_1IFriends.html#aac64a5c1bc9789f18763d4a29eeb172f", null ], - [ "GetFriendByIndex", "classgalaxy_1_1api_1_1IFriends.html#a07746daaec828d1d9f1e67e4ff00a02d", null ], - [ "GetFriendCount", "classgalaxy_1_1api_1_1IFriends.html#a8c7db81fe693c4fb8ed9bf1420393cbb", null ], - [ "GetFriendInvitationByIndex", "classgalaxy_1_1api_1_1IFriends.html#a85682fcdbf3fecf223113e718aa604bf", null ], - [ "GetFriendInvitationCount", "classgalaxy_1_1api_1_1IFriends.html#af98fa5e1e14d1535e3a777fa85d5ed0e", null ], - [ "GetFriendPersonaName", "classgalaxy_1_1api_1_1IFriends.html#aae6d3e6af5bde578b04379cf324b30c5", null ], - [ "GetFriendPersonaNameCopy", "classgalaxy_1_1api_1_1IFriends.html#a136fe72f661d2dff7e01708f53e3bed6", null ], - [ "GetFriendPersonaState", "classgalaxy_1_1api_1_1IFriends.html#a880dc8d200130ff11f8705595980d91e", null ], - [ "GetPersonaName", "classgalaxy_1_1api_1_1IFriends.html#a3341601932e0f6e14874bb9312c09c1a", null ], - [ "GetPersonaNameCopy", "classgalaxy_1_1api_1_1IFriends.html#adfe6d1abdf9dabc36bc01714cbdf98b4", null ], - [ "GetPersonaState", "classgalaxy_1_1api_1_1IFriends.html#abc51e9c251c4428f1dc3eb403e066876", null ], - [ "GetRichPresence", "classgalaxy_1_1api_1_1IFriends.html#af7d644d840aaeff4eacef1ea74838433", null ], - [ "GetRichPresenceByIndex", "classgalaxy_1_1api_1_1IFriends.html#a714a0b7a4497cc3904a970d19a03e403", null ], - [ "GetRichPresenceCopy", "classgalaxy_1_1api_1_1IFriends.html#a661d5d43361d708d1ed3e2e57c75315f", null ], - [ "GetRichPresenceCount", "classgalaxy_1_1api_1_1IFriends.html#acdb3c067632075d4ba00ab9276981e54", null ], - [ "IsFriend", "classgalaxy_1_1api_1_1IFriends.html#a559f639ae99def14b9ce220464806693", null ], - [ "IsFriendAvatarImageRGBAAvailable", "classgalaxy_1_1api_1_1IFriends.html#aa448e4ca7b496850b24a6c7b430cd78b", null ], - [ "IsUserInformationAvailable", "classgalaxy_1_1api_1_1IFriends.html#a0fc2d00c82e5ea7d62b45508f9c66a82", null ], - [ "IsUserInTheSameGame", "classgalaxy_1_1api_1_1IFriends.html#a71854226dc4df803e73710e9d4231b69", null ], - [ "RequestFriendInvitationList", "classgalaxy_1_1api_1_1IFriends.html#aa07f371ce5b0ac7d5ccf33cf7d8f64ed", null ], - [ "RequestFriendList", "classgalaxy_1_1api_1_1IFriends.html#aa648d323f3f798bbadd745bea13fc3b5", null ], - [ "RequestRichPresence", "classgalaxy_1_1api_1_1IFriends.html#a5a3458c1a79eb77463a60278ef7a0b5d", null ], - [ "RequestSentFriendInvitationList", "classgalaxy_1_1api_1_1IFriends.html#a0523aacfc83c27deaf54c0ec9e574816", null ], - [ "RequestUserInformation", "classgalaxy_1_1api_1_1IFriends.html#a4692fc9d422740da258c351a2b709526", null ], - [ "RespondToFriendInvitation", "classgalaxy_1_1api_1_1IFriends.html#a1cf1b3f618b06aaf3b00864d854b3fc6", null ], - [ "SendFriendInvitation", "classgalaxy_1_1api_1_1IFriends.html#ac84396e28dc5a3c8d665f705ace6218e", null ], - [ "SendInvitation", "classgalaxy_1_1api_1_1IFriends.html#aefdc41edcd24ebbf88bfb25520a47397", null ], - [ "SetDefaultAvatarCriteria", "classgalaxy_1_1api_1_1IFriends.html#ae9172d7880741f6dc87f9f02ff018574", null ], - [ "SetRichPresence", "classgalaxy_1_1api_1_1IFriends.html#a73b14bf3df9d70a74eba89d5553a8241", null ], - [ "ShowOverlayInviteDialog", "classgalaxy_1_1api_1_1IFriends.html#ae589d534ed8846319e3a4d2f72d3c51a", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGalaxyListener-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGalaxyListener-members.html deleted file mode 100644 index 55e8cd692..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGalaxyListener-members.html +++ /dev/null @@ -1,107 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
IGalaxyListener Member List
-
-
- -

This is the complete list of members for IGalaxyListener, including all inherited members.

- - -
~IGalaxyListener() (defined in IGalaxyListener)IGalaxyListenerinlinevirtual
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGalaxyListener.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGalaxyListener.html deleted file mode 100644 index d3d9de1dd..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGalaxyListener.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - - - -GOG Galaxy: IGalaxyListener Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
IGalaxyListener Class Reference
-
-
- -

The interface that is implemented by all specific callback listeners. - More...

- -

#include <IListenerRegistrar.h>

- -

Inherited by GalaxyTypeAwareListener< type >, GalaxyTypeAwareListener< ACCESS_TOKEN_CHANGE >, GalaxyTypeAwareListener< ACHIEVEMENT_CHANGE >, GalaxyTypeAwareListener< AUTH >, GalaxyTypeAwareListener< CHAT_ROOM_MESSAGE_SEND_LISTENER >, GalaxyTypeAwareListener< CHAT_ROOM_MESSAGES_LISTENER >, GalaxyTypeAwareListener< CHAT_ROOM_MESSAGES_RETRIEVE_LISTENER >, GalaxyTypeAwareListener< CHAT_ROOM_WITH_USER_RETRIEVE_LISTENER >, GalaxyTypeAwareListener< CUSTOM_NETWORKING_CONNECTION_CLOSE >, GalaxyTypeAwareListener< CUSTOM_NETWORKING_CONNECTION_DATA >, GalaxyTypeAwareListener< CUSTOM_NETWORKING_CONNECTION_OPEN >, GalaxyTypeAwareListener< ENCRYPTED_APP_TICKET_RETRIEVE >, GalaxyTypeAwareListener< FILE_SHARE >, GalaxyTypeAwareListener< FRIEND_ADD_LISTENER >, GalaxyTypeAwareListener< FRIEND_DELETE_LISTENER >, GalaxyTypeAwareListener< FRIEND_INVITATION_LIST_RETRIEVE_LISTENER >, GalaxyTypeAwareListener< FRIEND_INVITATION_LISTENER >, GalaxyTypeAwareListener< FRIEND_INVITATION_RESPOND_TO_LISTENER >, GalaxyTypeAwareListener< FRIEND_INVITATION_SEND_LISTENER >, GalaxyTypeAwareListener< FRIEND_LIST_RETRIEVE >, GalaxyTypeAwareListener< GAME_INVITATION_RECEIVED_LISTENER >, GalaxyTypeAwareListener< GAME_JOIN_REQUESTED_LISTENER >, GalaxyTypeAwareListener< GOG_SERVICES_CONNECTION_STATE_LISTENER >, GalaxyTypeAwareListener< INVITATION_SEND >, GalaxyTypeAwareListener< LEADERBOARD_ENTRIES_RETRIEVE >, GalaxyTypeAwareListener< LEADERBOARD_RETRIEVE >, GalaxyTypeAwareListener< LEADERBOARD_SCORE_UPDATE_LISTENER >, GalaxyTypeAwareListener< LEADERBOARDS_RETRIEVE >, GalaxyTypeAwareListener< LOBBY_CREATED >, GalaxyTypeAwareListener< LOBBY_DATA >, GalaxyTypeAwareListener< LOBBY_DATA_RETRIEVE >, GalaxyTypeAwareListener< LOBBY_DATA_UPDATE_LISTENER >, GalaxyTypeAwareListener< LOBBY_ENTERED >, GalaxyTypeAwareListener< LOBBY_LEFT >, GalaxyTypeAwareListener< LOBBY_LIST >, GalaxyTypeAwareListener< LOBBY_MEMBER_DATA_UPDATE_LISTENER >, GalaxyTypeAwareListener< LOBBY_MEMBER_STATE >, GalaxyTypeAwareListener< LOBBY_MESSAGE >, GalaxyTypeAwareListener< LOBBY_OWNER_CHANGE >, GalaxyTypeAwareListener< NAT_TYPE_DETECTION >, GalaxyTypeAwareListener< NETWORKING >, GalaxyTypeAwareListener< NOTIFICATION_LISTENER >, GalaxyTypeAwareListener< OPERATIONAL_STATE_CHANGE >, GalaxyTypeAwareListener< OTHER_SESSION_START >, GalaxyTypeAwareListener< OVERLAY_INITIALIZATION_STATE_CHANGE >, GalaxyTypeAwareListener< OVERLAY_VISIBILITY_CHANGE >, GalaxyTypeAwareListener< PERSONA_DATA_CHANGED >, GalaxyTypeAwareListener< RICH_PRESENCE_CHANGE_LISTENER >, GalaxyTypeAwareListener< RICH_PRESENCE_LISTENER >, GalaxyTypeAwareListener< RICH_PRESENCE_RETRIEVE_LISTENER >, GalaxyTypeAwareListener< SENT_FRIEND_INVITATION_LIST_RETRIEVE_LISTENER >, GalaxyTypeAwareListener< SHARED_FILE_DOWNLOAD >, GalaxyTypeAwareListener< SPECIFIC_USER_DATA >, GalaxyTypeAwareListener< STATS_AND_ACHIEVEMENTS_STORE >, GalaxyTypeAwareListener< TELEMETRY_EVENT_SEND_LISTENER >, GalaxyTypeAwareListener< USER_DATA >, GalaxyTypeAwareListener< USER_FIND_LISTENER >, GalaxyTypeAwareListener< USER_INFORMATION_RETRIEVE_LISTENER >, GalaxyTypeAwareListener< USER_STATS_AND_ACHIEVEMENTS_RETRIEVE >, and GalaxyTypeAwareListener< USER_TIME_PLAYED_RETRIEVE >.

-

Detailed Description

-

The interface that is implemented by all specific callback listeners.

-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGalaxyListener.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGalaxyListener.js deleted file mode 100644 index d611e8642..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGalaxyListener.js +++ /dev/null @@ -1,4 +0,0 @@ -var classgalaxy_1_1api_1_1IGalaxyListener = -[ - [ "~IGalaxyListener", "classgalaxy_1_1api_1_1IGalaxyListener.html#ad7d919e10df58a661138475032008085", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGalaxyThread-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGalaxyThread-members.html deleted file mode 100644 index ef977ffb7..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGalaxyThread-members.html +++ /dev/null @@ -1,110 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
IGalaxyThread Member List
-
-
- -

This is the complete list of members for IGalaxyThread, including all inherited members.

- - - - - -
Detach()=0IGalaxyThreadpure virtual
Join()=0IGalaxyThreadpure virtual
Joinable()=0IGalaxyThreadpure virtual
~IGalaxyThread() (defined in IGalaxyThread)IGalaxyThreadinlinevirtual
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGalaxyThread.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGalaxyThread.html deleted file mode 100644 index 3659ffc77..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGalaxyThread.html +++ /dev/null @@ -1,212 +0,0 @@ - - - - - - - -GOG Galaxy: IGalaxyThread Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
IGalaxyThread Class Referenceabstract
-
-
- -

The interface representing a thread object. - More...

- -

#include <GalaxyThread.h>

- - - - - - - - - - - -

-Public Member Functions

virtual void Join ()=0
 Join the thread. More...
 
virtual bool Joinable ()=0
 Checks if the IGalaxyThread is ready to Join(). More...
 
virtual void Detach ()=0
 Detach the thread. More...
 
-

Detailed Description

-

The interface representing a thread object.

-

Member Function Documentation

- -

◆ Detach()

- -
-
- - - - - -
- - - - - - - -
virtual void Detach ()
-
-pure virtual
-
- -

Detach the thread.

-

Separate the thread of execution from the IGalaxyThread object, allowing execution to continue independently.

- -
-
- -

◆ Join()

- -
-
- - - - - -
- - - - - - - -
virtual void Join ()
-
-pure virtual
-
- -

Join the thread.

-

Wait until IGalaxyThread execution is finished. Internal callers of this function are blocked until the function returns.

- -
-
- -

◆ Joinable()

- -
-
- - - - - -
- - - - - - - -
virtual bool Joinable ()
-
-pure virtual
-
- -

Checks if the IGalaxyThread is ready to Join().

-
Returns
true if the thread is ready to Join().
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGalaxyThread.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGalaxyThread.js deleted file mode 100644 index ee2357e73..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGalaxyThread.js +++ /dev/null @@ -1,7 +0,0 @@ -var classgalaxy_1_1api_1_1IGalaxyThread = -[ - [ "~IGalaxyThread", "classgalaxy_1_1api_1_1IGalaxyThread.html#a63d6c0b7106f7a242ac82dff6fc30031", null ], - [ "Detach", "classgalaxy_1_1api_1_1IGalaxyThread.html#a4c7d7ba0157a1d4f0544968ff700691a", null ], - [ "Join", "classgalaxy_1_1api_1_1IGalaxyThread.html#af91a5eba595a7f7a9742ea592066e255", null ], - [ "Joinable", "classgalaxy_1_1api_1_1IGalaxyThread.html#aa3a0e8c6e6de907af75ff3f379f39245", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGalaxyThreadFactory-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGalaxyThreadFactory-members.html deleted file mode 100644 index 7c8758dc3..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGalaxyThreadFactory-members.html +++ /dev/null @@ -1,108 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
IGalaxyThreadFactory Member List
-
-
- -

This is the complete list of members for IGalaxyThreadFactory, including all inherited members.

- - - -
SpawnThread(ThreadEntryFunction const entryPoint, ThreadEntryParam param)=0IGalaxyThreadFactorypure virtual
~IGalaxyThreadFactory() (defined in IGalaxyThreadFactory)IGalaxyThreadFactoryinlinevirtual
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGalaxyThreadFactory.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGalaxyThreadFactory.html deleted file mode 100644 index 9a98af5d0..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGalaxyThreadFactory.html +++ /dev/null @@ -1,170 +0,0 @@ - - - - - - - -GOG Galaxy: IGalaxyThreadFactory Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
IGalaxyThreadFactory Class Referenceabstract
-
-
- -

Custom thread spawner for the Galaxy SDK. - More...

- -

#include <GalaxyThread.h>

- - - - - -

-Public Member Functions

virtual IGalaxyThreadSpawnThread (ThreadEntryFunction const entryPoint, ThreadEntryParam param)=0
 Spawn new internal Galaxy SDK thread. More...
 
-

Detailed Description

-

Custom thread spawner for the Galaxy SDK.

-

Member Function Documentation

- -

◆ SpawnThread()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual IGalaxyThread* SpawnThread (ThreadEntryFunction const entryPoint,
ThreadEntryParam param 
)
-
-pure virtual
-
- -

Spawn new internal Galaxy SDK thread.

-

A new thread shall start from the provided ThreadEntryFunction accepting provided ThreadEntryParam.

-
Note
The very same allocator shall be used for thread objects allocations as specified in the InitOptions::galaxyAllocator.
-
Parameters
- - - -
[in]entryPointThe wrapper for the entry point function.
[in]paramThe parameter for the thread entry point.
-
-
-
Returns
New thread object.
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGalaxyThreadFactory.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGalaxyThreadFactory.js deleted file mode 100644 index 5332ec223..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGalaxyThreadFactory.js +++ /dev/null @@ -1,5 +0,0 @@ -var classgalaxy_1_1api_1_1IGalaxyThreadFactory = -[ - [ "~IGalaxyThreadFactory", "classgalaxy_1_1api_1_1IGalaxyThreadFactory.html#ad4824777119a10c029190042f6609354", null ], - [ "SpawnThread", "classgalaxy_1_1api_1_1IGalaxyThreadFactory.html#ab423aff7bbfec9321c0f753e7013a7a9", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGameInvitationReceivedListener-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGameInvitationReceivedListener-members.html deleted file mode 100644 index 8cb0d6ac2..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGameInvitationReceivedListener-members.html +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
IGameInvitationReceivedListener Member List
-
-
- -

This is the complete list of members for IGameInvitationReceivedListener, including all inherited members.

- - - - -
GetListenerType()GalaxyTypeAwareListener< GAME_INVITATION_RECEIVED_LISTENER >inlinestatic
OnGameInvitationReceived(GalaxyID userID, const char *connectionString)=0IGameInvitationReceivedListenerpure virtual
~IGalaxyListener() (defined in IGalaxyListener)IGalaxyListenerinlinevirtual
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGameInvitationReceivedListener.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGameInvitationReceivedListener.html deleted file mode 100644 index 5589e525e..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGameInvitationReceivedListener.html +++ /dev/null @@ -1,181 +0,0 @@ - - - - - - - -GOG Galaxy: IGameInvitationReceivedListener Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
IGameInvitationReceivedListener Class Referenceabstract
-
-
- -

Event of receiving a game invitation. - More...

- -

#include <IFriends.h>

-
-Inheritance diagram for IGameInvitationReceivedListener:
-
-
-
-
[legend]
- - - - - -

-Public Member Functions

virtual void OnGameInvitationReceived (GalaxyID userID, const char *connectionString)=0
 Notification for the event of receiving a game invitation. More...
 
- - - - - -

-Additional Inherited Members

- Static Public Member Functions inherited from GalaxyTypeAwareListener< GAME_INVITATION_RECEIVED_LISTENER >
static ListenerType GetListenerType ()
 Returns the type of the listener. More...
 
-

Detailed Description

-

Event of receiving a game invitation.

-

This can be triggered by receiving connection string.

-

Member Function Documentation

- -

◆ OnGameInvitationReceived()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void OnGameInvitationReceived (GalaxyID userID,
const char * connectionString 
)
-
-pure virtual
-
- -

Notification for the event of receiving a game invitation.

-
Parameters
- - - -
[in]userIDThe ID of the user who sent invitation.
[in]connectionStringThe string which contains connection info.
-
-
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGameInvitationReceivedListener.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGameInvitationReceivedListener.js deleted file mode 100644 index db226e752..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGameInvitationReceivedListener.js +++ /dev/null @@ -1,4 +0,0 @@ -var classgalaxy_1_1api_1_1IGameInvitationReceivedListener = -[ - [ "OnGameInvitationReceived", "classgalaxy_1_1api_1_1IGameInvitationReceivedListener.html#a673c42fb998da553ec8397bd230a809a", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGameInvitationReceivedListener__inherit__graph.map b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGameInvitationReceivedListener__inherit__graph.map deleted file mode 100644 index 6c8f973f5..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGameInvitationReceivedListener__inherit__graph.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGameInvitationReceivedListener__inherit__graph.md5 b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGameInvitationReceivedListener__inherit__graph.md5 deleted file mode 100644 index c6f84a2e6..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGameInvitationReceivedListener__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -93c45aa234e6a22cd6a0446d661e2dab \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGameInvitationReceivedListener__inherit__graph.svg b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGameInvitationReceivedListener__inherit__graph.svg deleted file mode 100644 index b919a0011..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGameInvitationReceivedListener__inherit__graph.svg +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - -IGameInvitationReceivedListener - - -Node0 - - -IGameInvitationReceivedListener - - - - -Node1 - - -GalaxyTypeAwareListener -< GAME_INVITATION_RECEIVED -_LISTENER > - - - - -Node1->Node0 - - - - -Node2 - - -IGalaxyListener - - - - -Node2->Node1 - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGameJoinRequestedListener-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGameJoinRequestedListener-members.html deleted file mode 100644 index b21f2d57b..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGameJoinRequestedListener-members.html +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
IGameJoinRequestedListener Member List
-
-
- -

This is the complete list of members for IGameJoinRequestedListener, including all inherited members.

- - - - -
GetListenerType()GalaxyTypeAwareListener< GAME_JOIN_REQUESTED_LISTENER >inlinestatic
OnGameJoinRequested(GalaxyID userID, const char *connectionString)=0IGameJoinRequestedListenerpure virtual
~IGalaxyListener() (defined in IGalaxyListener)IGalaxyListenerinlinevirtual
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGameJoinRequestedListener.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGameJoinRequestedListener.html deleted file mode 100644 index 16aa02db1..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGameJoinRequestedListener.html +++ /dev/null @@ -1,181 +0,0 @@ - - - - - - - -GOG Galaxy: IGameJoinRequestedListener Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
IGameJoinRequestedListener Class Referenceabstract
-
-
- -

Event of requesting a game join by user. - More...

- -

#include <IFriends.h>

-
-Inheritance diagram for IGameJoinRequestedListener:
-
-
-
-
[legend]
- - - - - -

-Public Member Functions

virtual void OnGameJoinRequested (GalaxyID userID, const char *connectionString)=0
 Notification for the event of accepting a game invitation. More...
 
- - - - - -

-Additional Inherited Members

- Static Public Member Functions inherited from GalaxyTypeAwareListener< GAME_JOIN_REQUESTED_LISTENER >
static ListenerType GetListenerType ()
 Returns the type of the listener. More...
 
-

Detailed Description

-

Event of requesting a game join by user.

-

This can be triggered by accepting a game invitation or by user's request to join a friend's game.

-

Member Function Documentation

- -

◆ OnGameJoinRequested()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void OnGameJoinRequested (GalaxyID userID,
const char * connectionString 
)
-
-pure virtual
-
- -

Notification for the event of accepting a game invitation.

-
Parameters
- - - -
[in]userIDThe ID of the user who sent invitation.
[in]connectionStringThe string which contains connection info.
-
-
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGameJoinRequestedListener.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGameJoinRequestedListener.js deleted file mode 100644 index fcc1d2388..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGameJoinRequestedListener.js +++ /dev/null @@ -1,4 +0,0 @@ -var classgalaxy_1_1api_1_1IGameJoinRequestedListener = -[ - [ "OnGameJoinRequested", "classgalaxy_1_1api_1_1IGameJoinRequestedListener.html#a78819865eeb26db1e3d53d53f78c5cf3", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGameJoinRequestedListener__inherit__graph.map b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGameJoinRequestedListener__inherit__graph.map deleted file mode 100644 index 3153d6de9..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGameJoinRequestedListener__inherit__graph.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGameJoinRequestedListener__inherit__graph.md5 b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGameJoinRequestedListener__inherit__graph.md5 deleted file mode 100644 index b3eac54f2..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGameJoinRequestedListener__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -647ea6fa610e6016ae873ee25763f886 \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGameJoinRequestedListener__inherit__graph.svg b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGameJoinRequestedListener__inherit__graph.svg deleted file mode 100644 index 9b906cf19..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGameJoinRequestedListener__inherit__graph.svg +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - -IGameJoinRequestedListener - - -Node0 - - -IGameJoinRequestedListener - - - - -Node1 - - -GalaxyTypeAwareListener -< GAME_JOIN_REQUESTED -_LISTENER > - - - - -Node1->Node0 - - - - -Node2 - - -IGalaxyListener - - - - -Node2->Node1 - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGogServicesConnectionStateListener-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGogServicesConnectionStateListener-members.html deleted file mode 100644 index fa419be05..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGogServicesConnectionStateListener-members.html +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
IGogServicesConnectionStateListener Member List
-
-
- -

This is the complete list of members for IGogServicesConnectionStateListener, including all inherited members.

- - - - -
GetListenerType()GalaxyTypeAwareListener< GOG_SERVICES_CONNECTION_STATE_LISTENER >inlinestatic
OnConnectionStateChange(GogServicesConnectionState connectionState)=0IGogServicesConnectionStateListenerpure virtual
~IGalaxyListener() (defined in IGalaxyListener)IGalaxyListenerinlinevirtual
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGogServicesConnectionStateListener.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGogServicesConnectionStateListener.html deleted file mode 100644 index 3941d282f..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGogServicesConnectionStateListener.html +++ /dev/null @@ -1,169 +0,0 @@ - - - - - - - -GOG Galaxy: IGogServicesConnectionStateListener Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
IGogServicesConnectionStateListener Class Referenceabstract
-
-
- -

Listener for the event of GOG services connection change. - More...

- -

#include <IUtils.h>

-
-Inheritance diagram for IGogServicesConnectionStateListener:
-
-
-
-
[legend]
- - - - - -

-Public Member Functions

virtual void OnConnectionStateChange (GogServicesConnectionState connectionState)=0
 Notification of the GOG services connection changed. More...
 
- - - - - -

-Additional Inherited Members

- Static Public Member Functions inherited from GalaxyTypeAwareListener< GOG_SERVICES_CONNECTION_STATE_LISTENER >
static ListenerType GetListenerType ()
 Returns the type of the listener. More...
 
-

Detailed Description

-

Listener for the event of GOG services connection change.

-

Member Function Documentation

- -

◆ OnConnectionStateChange()

- -
-
- - - - - -
- - - - - - - - -
virtual void OnConnectionStateChange (GogServicesConnectionState connectionState)
-
-pure virtual
-
- -

Notification of the GOG services connection changed.

-
Parameters
- - -
[in]connectionStateCurrent connection state.
-
-
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGogServicesConnectionStateListener.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGogServicesConnectionStateListener.js deleted file mode 100644 index 14f12f96d..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGogServicesConnectionStateListener.js +++ /dev/null @@ -1,4 +0,0 @@ -var classgalaxy_1_1api_1_1IGogServicesConnectionStateListener = -[ - [ "OnConnectionStateChange", "classgalaxy_1_1api_1_1IGogServicesConnectionStateListener.html#a0a20d3b673832ba33903454988a4aca6", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGogServicesConnectionStateListener__inherit__graph.map b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGogServicesConnectionStateListener__inherit__graph.map deleted file mode 100644 index 4b5332bd4..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGogServicesConnectionStateListener__inherit__graph.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGogServicesConnectionStateListener__inherit__graph.md5 b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGogServicesConnectionStateListener__inherit__graph.md5 deleted file mode 100644 index 0c66b0d0e..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGogServicesConnectionStateListener__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -46fa3e7c1196388a3ce6d7be740ee050 \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGogServicesConnectionStateListener__inherit__graph.svg b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGogServicesConnectionStateListener__inherit__graph.svg deleted file mode 100644 index b50a0f5f1..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IGogServicesConnectionStateListener__inherit__graph.svg +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - -IGogServicesConnectionStateListener - - -Node0 - - -IGogServicesConnectionState -Listener - - - - -Node1 - - -GalaxyTypeAwareListener -< GOG_SERVICES_CONNECTION -_STATE_LISTENER > - - - - -Node1->Node0 - - - - -Node2 - - -IGalaxyListener - - - - -Node2->Node1 - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IInvalidArgumentError-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IInvalidArgumentError-members.html deleted file mode 100644 index c2ee32e07..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IInvalidArgumentError-members.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
IInvalidArgumentError Member List
-
-
- -

This is the complete list of members for IInvalidArgumentError, including all inherited members.

- - - - - - - - - - -
GetMsg() const =0IErrorpure virtual
GetName() const =0IErrorpure virtual
GetType() const =0IErrorpure virtual
INVALID_ARGUMENT enum value (defined in IError)IError
INVALID_STATE enum value (defined in IError)IError
RUNTIME_ERROR enum value (defined in IError)IError
Type enum nameIError
UNAUTHORIZED_ACCESS enum value (defined in IError)IError
~IError() (defined in IError)IErrorinlinevirtual
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IInvalidArgumentError.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IInvalidArgumentError.html deleted file mode 100644 index f8b392d40..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IInvalidArgumentError.html +++ /dev/null @@ -1,141 +0,0 @@ - - - - - - - -GOG Galaxy: IInvalidArgumentError Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
IInvalidArgumentError Class Reference
-
-
- -

The exception thrown to report that a method was called with an invalid argument. - More...

- -

#include <Errors.h>

-
-Inheritance diagram for IInvalidArgumentError:
-
-
-
-
[legend]
- - - - - - - - - - - - - - - - -

-Additional Inherited Members

- Public Types inherited from IError
enum  Type { UNAUTHORIZED_ACCESS, -INVALID_ARGUMENT, -INVALID_STATE, -RUNTIME_ERROR - }
 Type of error.
 
- Public Member Functions inherited from IError
virtual const char * GetName () const =0
 Returns the name of the error. More...
 
virtual const char * GetMsg () const =0
 Returns the error message. More...
 
virtual Type GetType () const =0
 Returns the type of the error. More...
 
-

Detailed Description

-

The exception thrown to report that a method was called with an invalid argument.

-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IInvalidArgumentError__inherit__graph.map b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IInvalidArgumentError__inherit__graph.map deleted file mode 100644 index 0aa6174ca..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IInvalidArgumentError__inherit__graph.map +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IInvalidArgumentError__inherit__graph.md5 b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IInvalidArgumentError__inherit__graph.md5 deleted file mode 100644 index a7eb6eacb..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IInvalidArgumentError__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -4af0b5f2b3c75355ed513aa0fc0abe4e \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IInvalidArgumentError__inherit__graph.svg b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IInvalidArgumentError__inherit__graph.svg deleted file mode 100644 index 604de9592..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IInvalidArgumentError__inherit__graph.svg +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - -IInvalidArgumentError - - -Node0 - - -IInvalidArgumentError - - - - -Node1 - - -IError - - - - -Node1->Node0 - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IInvalidStateError-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IInvalidStateError-members.html deleted file mode 100644 index 7fc3e3081..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IInvalidStateError-members.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
IInvalidStateError Member List
-
-
- -

This is the complete list of members for IInvalidStateError, including all inherited members.

- - - - - - - - - - -
GetMsg() const =0IErrorpure virtual
GetName() const =0IErrorpure virtual
GetType() const =0IErrorpure virtual
INVALID_ARGUMENT enum value (defined in IError)IError
INVALID_STATE enum value (defined in IError)IError
RUNTIME_ERROR enum value (defined in IError)IError
Type enum nameIError
UNAUTHORIZED_ACCESS enum value (defined in IError)IError
~IError() (defined in IError)IErrorinlinevirtual
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IInvalidStateError.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IInvalidStateError.html deleted file mode 100644 index e0eb0abaf..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IInvalidStateError.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - - -GOG Galaxy: IInvalidStateError Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
IInvalidStateError Class Reference
-
-
- -

The exception thrown to report that a method was called while the callee is in an invalid state, i.e. - More...

- -

#include <Errors.h>

-
-Inheritance diagram for IInvalidStateError:
-
-
-
-
[legend]
- - - - - - - - - - - - - - - - -

-Additional Inherited Members

- Public Types inherited from IError
enum  Type { UNAUTHORIZED_ACCESS, -INVALID_ARGUMENT, -INVALID_STATE, -RUNTIME_ERROR - }
 Type of error.
 
- Public Member Functions inherited from IError
virtual const char * GetName () const =0
 Returns the name of the error. More...
 
virtual const char * GetMsg () const =0
 Returns the error message. More...
 
virtual Type GetType () const =0
 Returns the type of the error. More...
 
-

Detailed Description

-

The exception thrown to report that a method was called while the callee is in an invalid state, i.e.

-

should not have been called the way it was at that time.

-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IInvalidStateError__inherit__graph.map b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IInvalidStateError__inherit__graph.map deleted file mode 100644 index 48747223c..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IInvalidStateError__inherit__graph.map +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IInvalidStateError__inherit__graph.md5 b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IInvalidStateError__inherit__graph.md5 deleted file mode 100644 index f37f5b0c4..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IInvalidStateError__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -d190688700368c513d18ae45b00e44cb \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IInvalidStateError__inherit__graph.svg b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IInvalidStateError__inherit__graph.svg deleted file mode 100644 index 281809abf..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IInvalidStateError__inherit__graph.svg +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - -IInvalidStateError - - -Node0 - - -IInvalidStateError - - - - -Node1 - - -IError - - - - -Node1->Node0 - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILeaderboardEntriesRetrieveListener-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILeaderboardEntriesRetrieveListener-members.html deleted file mode 100644 index 8c6e1d774..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILeaderboardEntriesRetrieveListener-members.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
ILeaderboardEntriesRetrieveListener Member List
-
- -
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILeaderboardEntriesRetrieveListener.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILeaderboardEntriesRetrieveListener.html deleted file mode 100644 index 81164256c..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILeaderboardEntriesRetrieveListener.html +++ /dev/null @@ -1,264 +0,0 @@ - - - - - - - -GOG Galaxy: ILeaderboardEntriesRetrieveListener Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
ILeaderboardEntriesRetrieveListener Class Referenceabstract
-
-
- -

Listener for the event of retrieving requested entries of a leaderboard. - More...

- -

#include <IStats.h>

-
-Inheritance diagram for ILeaderboardEntriesRetrieveListener:
-
-
-
-
[legend]
- - - - - -

-Public Types

enum  FailureReason { FAILURE_REASON_UNDEFINED, -FAILURE_REASON_NOT_FOUND, -FAILURE_REASON_CONNECTION_FAILURE - }
 The reason of a failure in retrieving requested entries of a leaderboard. More...
 
- - - - - - - -

-Public Member Functions

virtual void OnLeaderboardEntriesRetrieveSuccess (const char *name, uint32_t entryCount)=0
 Notification for the event of a success in retrieving requested entries of a leaderboard. More...
 
virtual void OnLeaderboardEntriesRetrieveFailure (const char *name, FailureReason failureReason)=0
 Notification for the event of a failure in retrieving requested entries of a leaderboard. More...
 
- - - - - -

-Additional Inherited Members

- Static Public Member Functions inherited from GalaxyTypeAwareListener< LEADERBOARD_ENTRIES_RETRIEVE >
static ListenerType GetListenerType ()
 Returns the type of the listener. More...
 
-

Detailed Description

-

Listener for the event of retrieving requested entries of a leaderboard.

-

Member Enumeration Documentation

- -

◆ FailureReason

- -
-
- - - - -
enum FailureReason
-
- -

The reason of a failure in retrieving requested entries of a leaderboard.

- - - - -
Enumerator
FAILURE_REASON_UNDEFINED 

Unspecified error.

-
FAILURE_REASON_NOT_FOUND 

Could not find any entries for specified search criteria.

-
FAILURE_REASON_CONNECTION_FAILURE 

Unable to communicate with backend services.

-
- -
-
-

Member Function Documentation

- -

◆ OnLeaderboardEntriesRetrieveFailure()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void OnLeaderboardEntriesRetrieveFailure (const char * name,
FailureReason failureReason 
)
-
-pure virtual
-
- -

Notification for the event of a failure in retrieving requested entries of a leaderboard.

-
Parameters
- - - -
[in]nameThe name of the leaderboard.
[in]failureReasonThe cause of the failure.
-
-
- -
-
- -

◆ OnLeaderboardEntriesRetrieveSuccess()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void OnLeaderboardEntriesRetrieveSuccess (const char * name,
uint32_t entryCount 
)
-
-pure virtual
-
- -

Notification for the event of a success in retrieving requested entries of a leaderboard.

-

In order to read subsequent entries, call IStats::GetRequestedLeaderboardEntry().

-
Parameters
- - - -
[in]nameThe name of the leaderboard.
[in]entryCountThe number of entries that were retrieved.
-
-
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILeaderboardEntriesRetrieveListener.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILeaderboardEntriesRetrieveListener.js deleted file mode 100644 index 1df273711..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILeaderboardEntriesRetrieveListener.js +++ /dev/null @@ -1,10 +0,0 @@ -var classgalaxy_1_1api_1_1ILeaderboardEntriesRetrieveListener = -[ - [ "FailureReason", "classgalaxy_1_1api_1_1ILeaderboardEntriesRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6e", [ - [ "FAILURE_REASON_UNDEFINED", "classgalaxy_1_1api_1_1ILeaderboardEntriesRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39", null ], - [ "FAILURE_REASON_NOT_FOUND", "classgalaxy_1_1api_1_1ILeaderboardEntriesRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6ea1757345b21c8d539d78e69d1266a8854", null ], - [ "FAILURE_REASON_CONNECTION_FAILURE", "classgalaxy_1_1api_1_1ILeaderboardEntriesRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0", null ] - ] ], - [ "OnLeaderboardEntriesRetrieveFailure", "classgalaxy_1_1api_1_1ILeaderboardEntriesRetrieveListener.html#aa69003540d3702d8d93016b76df931f2", null ], - [ "OnLeaderboardEntriesRetrieveSuccess", "classgalaxy_1_1api_1_1ILeaderboardEntriesRetrieveListener.html#ac31bd6c12ee1c2b2ea4b7a38c8ebd593", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILeaderboardEntriesRetrieveListener__inherit__graph.map b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILeaderboardEntriesRetrieveListener__inherit__graph.map deleted file mode 100644 index 58770a6c3..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILeaderboardEntriesRetrieveListener__inherit__graph.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILeaderboardEntriesRetrieveListener__inherit__graph.md5 b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILeaderboardEntriesRetrieveListener__inherit__graph.md5 deleted file mode 100644 index 56e19583e..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILeaderboardEntriesRetrieveListener__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -495693c8747afcb34a48a8f74022202c \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILeaderboardEntriesRetrieveListener__inherit__graph.svg b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILeaderboardEntriesRetrieveListener__inherit__graph.svg deleted file mode 100644 index feb98cf23..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILeaderboardEntriesRetrieveListener__inherit__graph.svg +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - -ILeaderboardEntriesRetrieveListener - - -Node0 - - -ILeaderboardEntriesRetrieve -Listener - - - - -Node1 - - -GalaxyTypeAwareListener -< LEADERBOARD_ENTRIES -_RETRIEVE > - - - - -Node1->Node0 - - - - -Node2 - - -IGalaxyListener - - - - -Node2->Node1 - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILeaderboardRetrieveListener-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILeaderboardRetrieveListener-members.html deleted file mode 100644 index 25e5b35be..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILeaderboardRetrieveListener-members.html +++ /dev/null @@ -1,113 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
ILeaderboardRetrieveListener Member List
-
-
- -

This is the complete list of members for ILeaderboardRetrieveListener, including all inherited members.

- - - - - - - - -
FAILURE_REASON_CONNECTION_FAILURE enum valueILeaderboardRetrieveListener
FAILURE_REASON_UNDEFINED enum valueILeaderboardRetrieveListener
FailureReason enum nameILeaderboardRetrieveListener
GetListenerType()GalaxyTypeAwareListener< LEADERBOARD_RETRIEVE >inlinestatic
OnLeaderboardRetrieveFailure(const char *name, FailureReason failureReason)=0ILeaderboardRetrieveListenerpure virtual
OnLeaderboardRetrieveSuccess(const char *name)=0ILeaderboardRetrieveListenerpure virtual
~IGalaxyListener() (defined in IGalaxyListener)IGalaxyListenerinlinevirtual
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILeaderboardRetrieveListener.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILeaderboardRetrieveListener.html deleted file mode 100644 index 6f1606702..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILeaderboardRetrieveListener.html +++ /dev/null @@ -1,251 +0,0 @@ - - - - - - - -GOG Galaxy: ILeaderboardRetrieveListener Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
ILeaderboardRetrieveListener Class Referenceabstract
-
-
- -

Listener for the event of retrieving definition of a leaderboard. - More...

- -

#include <IStats.h>

-
-Inheritance diagram for ILeaderboardRetrieveListener:
-
-
-
-
[legend]
- - - - - -

-Public Types

enum  FailureReason { FAILURE_REASON_UNDEFINED, -FAILURE_REASON_CONNECTION_FAILURE - }
 The reason of a failure in retrieving definition of a leaderboard. More...
 
- - - - - - - -

-Public Member Functions

virtual void OnLeaderboardRetrieveSuccess (const char *name)=0
 Notification for the event of a success in retrieving definition of a leaderboard. More...
 
virtual void OnLeaderboardRetrieveFailure (const char *name, FailureReason failureReason)=0
 Notification for the event of a failure in retrieving definition of a leaderboard. More...
 
- - - - - -

-Additional Inherited Members

- Static Public Member Functions inherited from GalaxyTypeAwareListener< LEADERBOARD_RETRIEVE >
static ListenerType GetListenerType ()
 Returns the type of the listener. More...
 
-

Detailed Description

-

Listener for the event of retrieving definition of a leaderboard.

-

Member Enumeration Documentation

- -

◆ FailureReason

- -
-
- - - - -
enum FailureReason
-
- -

The reason of a failure in retrieving definition of a leaderboard.

- - - -
Enumerator
FAILURE_REASON_UNDEFINED 

Unspecified error.

-
FAILURE_REASON_CONNECTION_FAILURE 

Unable to communicate with backend services.

-
- -
-
-

Member Function Documentation

- -

◆ OnLeaderboardRetrieveFailure()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void OnLeaderboardRetrieveFailure (const char * name,
FailureReason failureReason 
)
-
-pure virtual
-
- -

Notification for the event of a failure in retrieving definition of a leaderboard.

-
Parameters
- - - -
[in]nameThe name of the leaderboard.
[in]failureReasonThe cause of the failure.
-
-
- -
-
- -

◆ OnLeaderboardRetrieveSuccess()

- -
-
- - - - - -
- - - - - - - - -
virtual void OnLeaderboardRetrieveSuccess (const char * name)
-
-pure virtual
-
- -

Notification for the event of a success in retrieving definition of a leaderboard.

-

In order to read metadata of the retrieved leaderboard, call IStats::GetLeaderboardDisplayName(), IStats::GetLeaderboardSortMethod(), or IStats::GetLeaderboardDisplayType().

-

In order to read entries, retrieve some first by calling IStats::RequestLeaderboardEntriesGlobal(), IStats::RequestLeaderboardEntriesAroundUser(), or IStats::RequestLeaderboardEntriesForUsers().

-
Parameters
- - -
[in]nameThe name of the leaderboard.
-
-
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILeaderboardRetrieveListener.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILeaderboardRetrieveListener.js deleted file mode 100644 index c9c00ea08..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILeaderboardRetrieveListener.js +++ /dev/null @@ -1,9 +0,0 @@ -var classgalaxy_1_1api_1_1ILeaderboardRetrieveListener = -[ - [ "FailureReason", "classgalaxy_1_1api_1_1ILeaderboardRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6e", [ - [ "FAILURE_REASON_UNDEFINED", "classgalaxy_1_1api_1_1ILeaderboardRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39", null ], - [ "FAILURE_REASON_CONNECTION_FAILURE", "classgalaxy_1_1api_1_1ILeaderboardRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0", null ] - ] ], - [ "OnLeaderboardRetrieveFailure", "classgalaxy_1_1api_1_1ILeaderboardRetrieveListener.html#af7fa4c2ef5d3b9d1b77718a05e9cbdda", null ], - [ "OnLeaderboardRetrieveSuccess", "classgalaxy_1_1api_1_1ILeaderboardRetrieveListener.html#a565a53daee664b5104c29cbb37a3f1b8", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILeaderboardRetrieveListener__inherit__graph.map b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILeaderboardRetrieveListener__inherit__graph.map deleted file mode 100644 index a8758fca4..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILeaderboardRetrieveListener__inherit__graph.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILeaderboardRetrieveListener__inherit__graph.md5 b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILeaderboardRetrieveListener__inherit__graph.md5 deleted file mode 100644 index a6847ac6a..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILeaderboardRetrieveListener__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -d59c88703ddf73d6c3a87de717a881d1 \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILeaderboardRetrieveListener__inherit__graph.svg b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILeaderboardRetrieveListener__inherit__graph.svg deleted file mode 100644 index dd1c6a6bf..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILeaderboardRetrieveListener__inherit__graph.svg +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - -ILeaderboardRetrieveListener - - -Node0 - - -ILeaderboardRetrieveListener - - - - -Node1 - - -GalaxyTypeAwareListener -< LEADERBOARD_RETRIEVE > - - - - -Node1->Node0 - - - - -Node2 - - -IGalaxyListener - - - - -Node2->Node1 - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILeaderboardScoreUpdateListener-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILeaderboardScoreUpdateListener-members.html deleted file mode 100644 index 5f6d8ec80..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILeaderboardScoreUpdateListener-members.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
ILeaderboardScoreUpdateListener Member List
-
-
- -

This is the complete list of members for ILeaderboardScoreUpdateListener, including all inherited members.

- - - - - - - - - -
FAILURE_REASON_CONNECTION_FAILURE enum valueILeaderboardScoreUpdateListener
FAILURE_REASON_NO_IMPROVEMENT enum valueILeaderboardScoreUpdateListener
FAILURE_REASON_UNDEFINED enum valueILeaderboardScoreUpdateListener
FailureReason enum nameILeaderboardScoreUpdateListener
GetListenerType()GalaxyTypeAwareListener< LEADERBOARD_SCORE_UPDATE_LISTENER >inlinestatic
OnLeaderboardScoreUpdateFailure(const char *name, int32_t score, FailureReason failureReason)=0ILeaderboardScoreUpdateListenerpure virtual
OnLeaderboardScoreUpdateSuccess(const char *name, int32_t score, uint32_t oldRank, uint32_t newRank)=0ILeaderboardScoreUpdateListenerpure virtual
~IGalaxyListener() (defined in IGalaxyListener)IGalaxyListenerinlinevirtual
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILeaderboardScoreUpdateListener.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILeaderboardScoreUpdateListener.html deleted file mode 100644 index c4f1c3804..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILeaderboardScoreUpdateListener.html +++ /dev/null @@ -1,284 +0,0 @@ - - - - - - - -GOG Galaxy: ILeaderboardScoreUpdateListener Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
ILeaderboardScoreUpdateListener Class Referenceabstract
-
-
- -

Listener for the event of updating score in a leaderboard. - More...

- -

#include <IStats.h>

-
-Inheritance diagram for ILeaderboardScoreUpdateListener:
-
-
-
-
[legend]
- - - - - -

-Public Types

enum  FailureReason { FAILURE_REASON_UNDEFINED, -FAILURE_REASON_NO_IMPROVEMENT, -FAILURE_REASON_CONNECTION_FAILURE - }
 The reason of a failure in updating score in a leaderboard. More...
 
- - - - - - - -

-Public Member Functions

virtual void OnLeaderboardScoreUpdateSuccess (const char *name, int32_t score, uint32_t oldRank, uint32_t newRank)=0
 Notification for the event of a success in setting score in a leaderboard. More...
 
virtual void OnLeaderboardScoreUpdateFailure (const char *name, int32_t score, FailureReason failureReason)=0
 The reason of a failure in updating score in a leaderboard. More...
 
- - - - - -

-Additional Inherited Members

- Static Public Member Functions inherited from GalaxyTypeAwareListener< LEADERBOARD_SCORE_UPDATE_LISTENER >
static ListenerType GetListenerType ()
 Returns the type of the listener. More...
 
-

Detailed Description

-

Listener for the event of updating score in a leaderboard.

-

Member Enumeration Documentation

- -

◆ FailureReason

- -
-
- - - - -
enum FailureReason
-
- -

The reason of a failure in updating score in a leaderboard.

- - - - -
Enumerator
FAILURE_REASON_UNDEFINED 

Unspecified error.

-
FAILURE_REASON_NO_IMPROVEMENT 

Previous score was better and the update operation was not forced.

-
FAILURE_REASON_CONNECTION_FAILURE 

Unable to communicate with backend services.

-
- -
-
-

Member Function Documentation

- -

◆ OnLeaderboardScoreUpdateFailure()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
virtual void OnLeaderboardScoreUpdateFailure (const char * name,
int32_t score,
FailureReason failureReason 
)
-
-pure virtual
-
- -

The reason of a failure in updating score in a leaderboard.

-
Parameters
- - - - -
[in]nameThe name of the leaderboard.
[in]scoreThe score that was attempted to set.
[in]failureReasonThe cause of the failure.
-
-
- -
-
- -

◆ OnLeaderboardScoreUpdateSuccess()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
virtual void OnLeaderboardScoreUpdateSuccess (const char * name,
int32_t score,
uint32_t oldRank,
uint32_t newRank 
)
-
-pure virtual
-
- -

Notification for the event of a success in setting score in a leaderboard.

-
Parameters
- - - - - -
[in]nameThe name of the leaderboard.
[in]scoreThe score after the update.
[in]oldRankPrevious rank, i.e. before the update; 0 if the user had no entry yet.
[in]newRankCurrent rank, i.e. after the update.
-
-
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILeaderboardScoreUpdateListener.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILeaderboardScoreUpdateListener.js deleted file mode 100644 index 412d23c18..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILeaderboardScoreUpdateListener.js +++ /dev/null @@ -1,10 +0,0 @@ -var classgalaxy_1_1api_1_1ILeaderboardScoreUpdateListener = -[ - [ "FailureReason", "classgalaxy_1_1api_1_1ILeaderboardScoreUpdateListener.html#a2e1fab5fc244b0783172514baec21a6e", [ - [ "FAILURE_REASON_UNDEFINED", "classgalaxy_1_1api_1_1ILeaderboardScoreUpdateListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39", null ], - [ "FAILURE_REASON_NO_IMPROVEMENT", "classgalaxy_1_1api_1_1ILeaderboardScoreUpdateListener.html#a2e1fab5fc244b0783172514baec21a6eaceb48ff7593713d35ec069494e299f19", null ], - [ "FAILURE_REASON_CONNECTION_FAILURE", "classgalaxy_1_1api_1_1ILeaderboardScoreUpdateListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0", null ] - ] ], - [ "OnLeaderboardScoreUpdateFailure", "classgalaxy_1_1api_1_1ILeaderboardScoreUpdateListener.html#adeb4ae48a27254492eb93b9319bc5cb7", null ], - [ "OnLeaderboardScoreUpdateSuccess", "classgalaxy_1_1api_1_1ILeaderboardScoreUpdateListener.html#aa1f80d6a174a445c2ae14e1cd5a01214", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILeaderboardScoreUpdateListener__inherit__graph.map b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILeaderboardScoreUpdateListener__inherit__graph.map deleted file mode 100644 index 7ee4df6e4..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILeaderboardScoreUpdateListener__inherit__graph.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILeaderboardScoreUpdateListener__inherit__graph.md5 b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILeaderboardScoreUpdateListener__inherit__graph.md5 deleted file mode 100644 index 9ca8369dd..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILeaderboardScoreUpdateListener__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -2d6c0884afbeb8004237df1e10972b2f \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILeaderboardScoreUpdateListener__inherit__graph.svg b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILeaderboardScoreUpdateListener__inherit__graph.svg deleted file mode 100644 index df8c39d55..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILeaderboardScoreUpdateListener__inherit__graph.svg +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - -ILeaderboardScoreUpdateListener - - -Node0 - - -ILeaderboardScoreUpdateListener - - - - -Node1 - - -GalaxyTypeAwareListener -< LEADERBOARD_SCORE_UPDATE -_LISTENER > - - - - -Node1->Node0 - - - - -Node2 - - -IGalaxyListener - - - - -Node2->Node1 - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILeaderboardsRetrieveListener-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILeaderboardsRetrieveListener-members.html deleted file mode 100644 index 6c6d0b79b..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILeaderboardsRetrieveListener-members.html +++ /dev/null @@ -1,113 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
ILeaderboardsRetrieveListener Member List
-
- -
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILeaderboardsRetrieveListener.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILeaderboardsRetrieveListener.html deleted file mode 100644 index 92906ae32..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILeaderboardsRetrieveListener.html +++ /dev/null @@ -1,233 +0,0 @@ - - - - - - - -GOG Galaxy: ILeaderboardsRetrieveListener Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
ILeaderboardsRetrieveListener Class Referenceabstract
-
-
- -

Listener for the event of retrieving definitions of leaderboards. - More...

- -

#include <IStats.h>

-
-Inheritance diagram for ILeaderboardsRetrieveListener:
-
-
-
-
[legend]
- - - - - -

-Public Types

enum  FailureReason { FAILURE_REASON_UNDEFINED, -FAILURE_REASON_CONNECTION_FAILURE - }
 The reason of a failure in retrieving definitions of leaderboards. More...
 
- - - - - - - -

-Public Member Functions

virtual void OnLeaderboardsRetrieveSuccess ()=0
 Notification for the event of a success in retrieving definitions of leaderboards. More...
 
virtual void OnLeaderboardsRetrieveFailure (FailureReason failureReason)=0
 Notification for the event of a failure in retrieving definitions of leaderboards. More...
 
- - - - - -

-Additional Inherited Members

- Static Public Member Functions inherited from GalaxyTypeAwareListener< LEADERBOARDS_RETRIEVE >
static ListenerType GetListenerType ()
 Returns the type of the listener. More...
 
-

Detailed Description

-

Listener for the event of retrieving definitions of leaderboards.

-

Member Enumeration Documentation

- -

◆ FailureReason

- -
-
- - - - -
enum FailureReason
-
- -

The reason of a failure in retrieving definitions of leaderboards.

- - - -
Enumerator
FAILURE_REASON_UNDEFINED 

Unspecified error.

-
FAILURE_REASON_CONNECTION_FAILURE 

Unable to communicate with backend services.

-
- -
-
-

Member Function Documentation

- -

◆ OnLeaderboardsRetrieveFailure()

- -
-
- - - - - -
- - - - - - - - -
virtual void OnLeaderboardsRetrieveFailure (FailureReason failureReason)
-
-pure virtual
-
- -

Notification for the event of a failure in retrieving definitions of leaderboards.

-
Parameters
- - -
[in]failureReasonThe cause of the failure.
-
-
- -
-
- -

◆ OnLeaderboardsRetrieveSuccess()

- -
-
- - - - - -
- - - - - - - -
virtual void OnLeaderboardsRetrieveSuccess ()
-
-pure virtual
-
- -

Notification for the event of a success in retrieving definitions of leaderboards.

-

In order to read metadata of retrieved leaderboards, call IStats::GetLeaderboardDisplayName(), IStats::GetLeaderboardSortMethod(), or IStats::GetLeaderboardDisplayType().

-

In order to read entries, retrieve some first by calling IStats::RequestLeaderboardEntriesGlobal(), IStats::RequestLeaderboardEntriesAroundUser(), or IStats::RequestLeaderboardEntriesForUsers().

- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILeaderboardsRetrieveListener.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILeaderboardsRetrieveListener.js deleted file mode 100644 index 8ad6fe2fe..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILeaderboardsRetrieveListener.js +++ /dev/null @@ -1,9 +0,0 @@ -var classgalaxy_1_1api_1_1ILeaderboardsRetrieveListener = -[ - [ "FailureReason", "classgalaxy_1_1api_1_1ILeaderboardsRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6e", [ - [ "FAILURE_REASON_UNDEFINED", "classgalaxy_1_1api_1_1ILeaderboardsRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39", null ], - [ "FAILURE_REASON_CONNECTION_FAILURE", "classgalaxy_1_1api_1_1ILeaderboardsRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0", null ] - ] ], - [ "OnLeaderboardsRetrieveFailure", "classgalaxy_1_1api_1_1ILeaderboardsRetrieveListener.html#a38cc600b366e5f0ae784167ab3eccb03", null ], - [ "OnLeaderboardsRetrieveSuccess", "classgalaxy_1_1api_1_1ILeaderboardsRetrieveListener.html#a9527b6016861117afe441116221c4668", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILeaderboardsRetrieveListener__inherit__graph.map b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILeaderboardsRetrieveListener__inherit__graph.map deleted file mode 100644 index 2fbb61918..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILeaderboardsRetrieveListener__inherit__graph.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILeaderboardsRetrieveListener__inherit__graph.md5 b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILeaderboardsRetrieveListener__inherit__graph.md5 deleted file mode 100644 index 5618d0986..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILeaderboardsRetrieveListener__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -95c6f60747f70cb85665301b181a35f4 \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILeaderboardsRetrieveListener__inherit__graph.svg b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILeaderboardsRetrieveListener__inherit__graph.svg deleted file mode 100644 index e86bede5b..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILeaderboardsRetrieveListener__inherit__graph.svg +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - -ILeaderboardsRetrieveListener - - -Node0 - - -ILeaderboardsRetrieveListener - - - - -Node1 - - -GalaxyTypeAwareListener -< LEADERBOARDS_RETRIEVE > - - - - -Node1->Node0 - - - - -Node2 - - -IGalaxyListener - - - - -Node2->Node1 - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IListenerRegistrar-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IListenerRegistrar-members.html deleted file mode 100644 index 73e725364..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IListenerRegistrar-members.html +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
IListenerRegistrar Member List
-
-
- -

This is the complete list of members for IListenerRegistrar, including all inherited members.

- - - - -
Register(ListenerType listenerType, IGalaxyListener *listener)=0IListenerRegistrarpure virtual
Unregister(ListenerType listenerType, IGalaxyListener *listener)=0IListenerRegistrarpure virtual
~IListenerRegistrar() (defined in IListenerRegistrar)IListenerRegistrarinlinevirtual
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IListenerRegistrar.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IListenerRegistrar.html deleted file mode 100644 index 4ed4c9a16..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IListenerRegistrar.html +++ /dev/null @@ -1,218 +0,0 @@ - - - - - - - -GOG Galaxy: IListenerRegistrar Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
IListenerRegistrar Class Referenceabstract
-
-
- -

The class that enables and disables global registration of the instances of specific listeners. - More...

- -

#include <IListenerRegistrar.h>

- - - - - - - - -

-Public Member Functions

virtual void Register (ListenerType listenerType, IGalaxyListener *listener)=0
 Globally registers a callback listener that inherits from IGalaxyListener and is of any of the standard listener types specified in ListenerType. More...
 
virtual void Unregister (ListenerType listenerType, IGalaxyListener *listener)=0
 Unregisters a listener previously globally registered with Register() or registered for specific action. More...
 
-

Detailed Description

-

The class that enables and disables global registration of the instances of specific listeners.

-

You can either use it explicitly, or implicitly by inheriting from a self-registering basic listener of desired type.

-

Member Function Documentation

- -

◆ Register()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void Register (ListenerType listenerType,
IGalaxyListenerlistener 
)
-
-pure virtual
-
- -

Globally registers a callback listener that inherits from IGalaxyListener and is of any of the standard listener types specified in ListenerType.

-
Remarks
Call Unregister() for all registered listeners before calling Shutdown().
-
Parameters
- - - -
[in]listenerTypeThe type of the listener. A value of ListenerType.
[in]listenerThe specific listener of the specified type.
-
-
- -
-
- -

◆ Unregister()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void Unregister (ListenerType listenerType,
IGalaxyListenerlistener 
)
-
-pure virtual
-
- -

Unregisters a listener previously globally registered with Register() or registered for specific action.

-

Call Unregister() unregisters listener from all pending asynchonous calls.

-
Parameters
- - - -
[in]listenerTypeThe type of the listener. A value of ListenerType.
[in]listenerThe specific listener of the specified type.
-
-
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IListenerRegistrar.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IListenerRegistrar.js deleted file mode 100644 index 23dc4f92a..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IListenerRegistrar.js +++ /dev/null @@ -1,6 +0,0 @@ -var classgalaxy_1_1api_1_1IListenerRegistrar = -[ - [ "~IListenerRegistrar", "classgalaxy_1_1api_1_1IListenerRegistrar.html#a15d41175e84b107ebaeb625a365a46a3", null ], - [ "Register", "classgalaxy_1_1api_1_1IListenerRegistrar.html#a9672d896a93300ab681718d6a5c8f529", null ], - [ "Unregister", "classgalaxy_1_1api_1_1IListenerRegistrar.html#a12efe4237c46626606669fc2f22113bb", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyCreatedListener-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyCreatedListener-members.html deleted file mode 100644 index ed2b235d1..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyCreatedListener-members.html +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
ILobbyCreatedListener Member List
-
-
- -

This is the complete list of members for ILobbyCreatedListener, including all inherited members.

- - - - -
GetListenerType()GalaxyTypeAwareListener< LOBBY_CREATED >inlinestatic
OnLobbyCreated(const GalaxyID &lobbyID, LobbyCreateResult result)=0ILobbyCreatedListenerpure virtual
~IGalaxyListener() (defined in IGalaxyListener)IGalaxyListenerinlinevirtual
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyCreatedListener.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyCreatedListener.html deleted file mode 100644 index 1fc384174..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyCreatedListener.html +++ /dev/null @@ -1,181 +0,0 @@ - - - - - - - -GOG Galaxy: ILobbyCreatedListener Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
ILobbyCreatedListener Class Referenceabstract
-
-
- -

Listener for the event of creating a lobby. - More...

- -

#include <IMatchmaking.h>

-
-Inheritance diagram for ILobbyCreatedListener:
-
-
-
-
[legend]
- - - - - -

-Public Member Functions

virtual void OnLobbyCreated (const GalaxyID &lobbyID, LobbyCreateResult result)=0
 Notification for the event of creating a lobby. More...
 
- - - - - -

-Additional Inherited Members

- Static Public Member Functions inherited from GalaxyTypeAwareListener< LOBBY_CREATED >
static ListenerType GetListenerType ()
 Returns the type of the listener. More...
 
-

Detailed Description

-

Listener for the event of creating a lobby.

-

Member Function Documentation

- -

◆ OnLobbyCreated()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void OnLobbyCreated (const GalaxyIDlobbyID,
LobbyCreateResult result 
)
-
-pure virtual
-
- -

Notification for the event of creating a lobby.

-

When the lobby is successfully created it is joined and ready to use. Since the lobby is entered automatically, an explicit notification for ILobbyEnteredListener will follow immediately.

-
Parameters
- - - -
[in]lobbyIDThe ID of the lobby.
[in]resultlobby create result.
-
-
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyCreatedListener.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyCreatedListener.js deleted file mode 100644 index b6f32f51b..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyCreatedListener.js +++ /dev/null @@ -1,4 +0,0 @@ -var classgalaxy_1_1api_1_1ILobbyCreatedListener = -[ - [ "OnLobbyCreated", "classgalaxy_1_1api_1_1ILobbyCreatedListener.html#a47fc589a8aeded491c5e7afcf9641d1f", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyCreatedListener__inherit__graph.map b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyCreatedListener__inherit__graph.map deleted file mode 100644 index 0e2b908e3..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyCreatedListener__inherit__graph.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyCreatedListener__inherit__graph.md5 b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyCreatedListener__inherit__graph.md5 deleted file mode 100644 index 8d6842a62..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyCreatedListener__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -2fc87e69dbc2687e249d4d1288c83ab2 \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyCreatedListener__inherit__graph.svg b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyCreatedListener__inherit__graph.svg deleted file mode 100644 index 75831d503..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyCreatedListener__inherit__graph.svg +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - -ILobbyCreatedListener - - -Node0 - - -ILobbyCreatedListener - - - - -Node1 - - -GalaxyTypeAwareListener -< LOBBY_CREATED > - - - - -Node1->Node0 - - - - -Node2 - - -IGalaxyListener - - - - -Node2->Node1 - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyDataListener-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyDataListener-members.html deleted file mode 100644 index f5e73d554..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyDataListener-members.html +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
ILobbyDataListener Member List
-
-
- -

This is the complete list of members for ILobbyDataListener, including all inherited members.

- - - - -
GetListenerType()GalaxyTypeAwareListener< LOBBY_DATA >inlinestatic
OnLobbyDataUpdated(const GalaxyID &lobbyID, const GalaxyID &memberID)=0ILobbyDataListenerpure virtual
~IGalaxyListener() (defined in IGalaxyListener)IGalaxyListenerinlinevirtual
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyDataListener.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyDataListener.html deleted file mode 100644 index 76f1ef953..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyDataListener.html +++ /dev/null @@ -1,180 +0,0 @@ - - - - - - - -GOG Galaxy: ILobbyDataListener Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
ILobbyDataListener Class Referenceabstract
-
-
- -

Listener for the event of receiving an updated version of lobby data. - More...

- -

#include <IMatchmaking.h>

-
-Inheritance diagram for ILobbyDataListener:
-
-
-
-
[legend]
- - - - - -

-Public Member Functions

virtual void OnLobbyDataUpdated (const GalaxyID &lobbyID, const GalaxyID &memberID)=0
 Notification for the event of receiving an updated version of lobby data. More...
 
- - - - - -

-Additional Inherited Members

- Static Public Member Functions inherited from GalaxyTypeAwareListener< LOBBY_DATA >
static ListenerType GetListenerType ()
 Returns the type of the listener. More...
 
-

Detailed Description

-

Listener for the event of receiving an updated version of lobby data.

-

Member Function Documentation

- -

◆ OnLobbyDataUpdated()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void OnLobbyDataUpdated (const GalaxyIDlobbyID,
const GalaxyIDmemberID 
)
-
-pure virtual
-
- -

Notification for the event of receiving an updated version of lobby data.

-
Parameters
- - - -
[in]lobbyIDThe ID of the lobby.
[in]memberIDThe ID of the lobby member, valid only if it is a change in a lobby member data.
-
-
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyDataListener.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyDataListener.js deleted file mode 100644 index 8b37f5b03..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyDataListener.js +++ /dev/null @@ -1,4 +0,0 @@ -var classgalaxy_1_1api_1_1ILobbyDataListener = -[ - [ "OnLobbyDataUpdated", "classgalaxy_1_1api_1_1ILobbyDataListener.html#a1dc57c5cd1fca408a3752cd0c2bbbebc", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyDataListener__inherit__graph.map b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyDataListener__inherit__graph.map deleted file mode 100644 index 9c75b59ce..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyDataListener__inherit__graph.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyDataListener__inherit__graph.md5 b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyDataListener__inherit__graph.md5 deleted file mode 100644 index 7f3155540..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyDataListener__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -4be110e53c5bbe0cf477f1e41a7a99aa \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyDataListener__inherit__graph.svg b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyDataListener__inherit__graph.svg deleted file mode 100644 index 2ad31a25b..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyDataListener__inherit__graph.svg +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - -ILobbyDataListener - - -Node0 - - -ILobbyDataListener - - - - -Node1 - - -GalaxyTypeAwareListener -< LOBBY_DATA > - - - - -Node1->Node0 - - - - -Node2 - - -IGalaxyListener - - - - -Node2->Node1 - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyDataRetrieveListener-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyDataRetrieveListener-members.html deleted file mode 100644 index 5f582a206..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyDataRetrieveListener-members.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
ILobbyDataRetrieveListener Member List
-
-
- -

This is the complete list of members for ILobbyDataRetrieveListener, including all inherited members.

- - - - - - - - - -
FAILURE_REASON_CONNECTION_FAILURE enum valueILobbyDataRetrieveListener
FAILURE_REASON_LOBBY_DOES_NOT_EXIST enum valueILobbyDataRetrieveListener
FAILURE_REASON_UNDEFINED enum valueILobbyDataRetrieveListener
FailureReason enum nameILobbyDataRetrieveListener
GetListenerType()GalaxyTypeAwareListener< LOBBY_DATA_RETRIEVE >inlinestatic
OnLobbyDataRetrieveFailure(const GalaxyID &lobbyID, FailureReason failureReason)=0ILobbyDataRetrieveListenerpure virtual
OnLobbyDataRetrieveSuccess(const GalaxyID &lobbyID)=0ILobbyDataRetrieveListenerpure virtual
~IGalaxyListener() (defined in IGalaxyListener)IGalaxyListenerinlinevirtual
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyDataRetrieveListener.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyDataRetrieveListener.html deleted file mode 100644 index 3a37cb7c2..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyDataRetrieveListener.html +++ /dev/null @@ -1,252 +0,0 @@ - - - - - - - -GOG Galaxy: ILobbyDataRetrieveListener Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
ILobbyDataRetrieveListener Class Referenceabstract
-
-
- -

Listener for the event of retrieving lobby data. - More...

- -

#include <IMatchmaking.h>

-
-Inheritance diagram for ILobbyDataRetrieveListener:
-
-
-
-
[legend]
- - - - - -

-Public Types

enum  FailureReason { FAILURE_REASON_UNDEFINED, -FAILURE_REASON_LOBBY_DOES_NOT_EXIST, -FAILURE_REASON_CONNECTION_FAILURE - }
 The reason of a failure in retrieving lobby data. More...
 
- - - - - - - -

-Public Member Functions

virtual void OnLobbyDataRetrieveSuccess (const GalaxyID &lobbyID)=0
 Notification for the event of success in retrieving lobby data. More...
 
virtual void OnLobbyDataRetrieveFailure (const GalaxyID &lobbyID, FailureReason failureReason)=0
 Notification for the event of a failure in retrieving lobby data. More...
 
- - - - - -

-Additional Inherited Members

- Static Public Member Functions inherited from GalaxyTypeAwareListener< LOBBY_DATA_RETRIEVE >
static ListenerType GetListenerType ()
 Returns the type of the listener. More...
 
-

Detailed Description

-

Listener for the event of retrieving lobby data.

-

Member Enumeration Documentation

- -

◆ FailureReason

- -
-
- - - - -
enum FailureReason
-
- -

The reason of a failure in retrieving lobby data.

- - - - -
Enumerator
FAILURE_REASON_UNDEFINED 

Unspecified error.

-
FAILURE_REASON_LOBBY_DOES_NOT_EXIST 

Specified lobby does not exist.

-
FAILURE_REASON_CONNECTION_FAILURE 

Unable to communicate with backend services.

-
- -
-
-

Member Function Documentation

- -

◆ OnLobbyDataRetrieveFailure()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void OnLobbyDataRetrieveFailure (const GalaxyIDlobbyID,
FailureReason failureReason 
)
-
-pure virtual
-
- -

Notification for the event of a failure in retrieving lobby data.

-
Parameters
- - - -
[in]lobbyIDThe ID of the lobby.
[in]failureReasonThe cause of the failure.
-
-
- -
-
- -

◆ OnLobbyDataRetrieveSuccess()

- -
-
- - - - - -
- - - - - - - - -
virtual void OnLobbyDataRetrieveSuccess (const GalaxyIDlobbyID)
-
-pure virtual
-
- -

Notification for the event of success in retrieving lobby data.

-
Parameters
- - -
[in]lobbyIDThe ID of the lobby.
-
-
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyDataRetrieveListener.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyDataRetrieveListener.js deleted file mode 100644 index 6ba033e94..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyDataRetrieveListener.js +++ /dev/null @@ -1,10 +0,0 @@ -var classgalaxy_1_1api_1_1ILobbyDataRetrieveListener = -[ - [ "FailureReason", "classgalaxy_1_1api_1_1ILobbyDataRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6e", [ - [ "FAILURE_REASON_UNDEFINED", "classgalaxy_1_1api_1_1ILobbyDataRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39", null ], - [ "FAILURE_REASON_LOBBY_DOES_NOT_EXIST", "classgalaxy_1_1api_1_1ILobbyDataRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6ea6e9ef4e4fbd09f5734790f71e9d6e97c", null ], - [ "FAILURE_REASON_CONNECTION_FAILURE", "classgalaxy_1_1api_1_1ILobbyDataRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0", null ] - ] ], - [ "OnLobbyDataRetrieveFailure", "classgalaxy_1_1api_1_1ILobbyDataRetrieveListener.html#af8d58a649d3b6f61e2e4cb0644c849a4", null ], - [ "OnLobbyDataRetrieveSuccess", "classgalaxy_1_1api_1_1ILobbyDataRetrieveListener.html#af7e26db1c50ccf070b2378a5b78cda7c", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyDataRetrieveListener__inherit__graph.map b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyDataRetrieveListener__inherit__graph.map deleted file mode 100644 index 4a26afa25..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyDataRetrieveListener__inherit__graph.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyDataRetrieveListener__inherit__graph.md5 b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyDataRetrieveListener__inherit__graph.md5 deleted file mode 100644 index 222eefefa..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyDataRetrieveListener__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -1896c231ef817b5157ada7366de490bd \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyDataRetrieveListener__inherit__graph.svg b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyDataRetrieveListener__inherit__graph.svg deleted file mode 100644 index c64ec5536..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyDataRetrieveListener__inherit__graph.svg +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - -ILobbyDataRetrieveListener - - -Node0 - - -ILobbyDataRetrieveListener - - - - -Node1 - - -GalaxyTypeAwareListener -< LOBBY_DATA_RETRIEVE > - - - - -Node1->Node0 - - - - -Node2 - - -IGalaxyListener - - - - -Node2->Node1 - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyDataUpdateListener-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyDataUpdateListener-members.html deleted file mode 100644 index ada3da4a4..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyDataUpdateListener-members.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
ILobbyDataUpdateListener Member List
-
-
- -

This is the complete list of members for ILobbyDataUpdateListener, including all inherited members.

- - - - - - - - - -
FAILURE_REASON_CONNECTION_FAILURE enum valueILobbyDataUpdateListener
FAILURE_REASON_LOBBY_DOES_NOT_EXIST enum valueILobbyDataUpdateListener
FAILURE_REASON_UNDEFINED enum valueILobbyDataUpdateListener
FailureReason enum nameILobbyDataUpdateListener
GetListenerType()GalaxyTypeAwareListener< LOBBY_DATA_UPDATE_LISTENER >inlinestatic
OnLobbyDataUpdateFailure(const GalaxyID &lobbyID, FailureReason failureReason)=0ILobbyDataUpdateListenerpure virtual
OnLobbyDataUpdateSuccess(const GalaxyID &lobbyID)=0ILobbyDataUpdateListenerpure virtual
~IGalaxyListener() (defined in IGalaxyListener)IGalaxyListenerinlinevirtual
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyDataUpdateListener.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyDataUpdateListener.html deleted file mode 100644 index 8c2c317a6..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyDataUpdateListener.html +++ /dev/null @@ -1,252 +0,0 @@ - - - - - - - -GOG Galaxy: ILobbyDataUpdateListener Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
ILobbyDataUpdateListener Class Referenceabstract
-
-
- -

Listener for the event of updating lobby data. - More...

- -

#include <IMatchmaking.h>

-
-Inheritance diagram for ILobbyDataUpdateListener:
-
-
-
-
[legend]
- - - - - -

-Public Types

enum  FailureReason { FAILURE_REASON_UNDEFINED, -FAILURE_REASON_LOBBY_DOES_NOT_EXIST, -FAILURE_REASON_CONNECTION_FAILURE - }
 The reason of a failure in updating lobby data. More...
 
- - - - - - - -

-Public Member Functions

virtual void OnLobbyDataUpdateSuccess (const GalaxyID &lobbyID)=0
 Notification for the event of success in updating lobby data. More...
 
virtual void OnLobbyDataUpdateFailure (const GalaxyID &lobbyID, FailureReason failureReason)=0
 Notification for the failure in updating lobby data. More...
 
- - - - - -

-Additional Inherited Members

- Static Public Member Functions inherited from GalaxyTypeAwareListener< LOBBY_DATA_UPDATE_LISTENER >
static ListenerType GetListenerType ()
 Returns the type of the listener. More...
 
-

Detailed Description

-

Listener for the event of updating lobby data.

-

Member Enumeration Documentation

- -

◆ FailureReason

- -
-
- - - - -
enum FailureReason
-
- -

The reason of a failure in updating lobby data.

- - - - -
Enumerator
FAILURE_REASON_UNDEFINED 

Unspecified error.

-
FAILURE_REASON_LOBBY_DOES_NOT_EXIST 

Specified lobby does not exist.

-
FAILURE_REASON_CONNECTION_FAILURE 

Unable to communicate with backend services.

-
- -
-
-

Member Function Documentation

- -

◆ OnLobbyDataUpdateFailure()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void OnLobbyDataUpdateFailure (const GalaxyIDlobbyID,
FailureReason failureReason 
)
-
-pure virtual
-
- -

Notification for the failure in updating lobby data.

-
Parameters
- - - -
[in]lobbyIDThe ID of the lobby.
[in]failureReasonThe cause of the failure.
-
-
- -
-
- -

◆ OnLobbyDataUpdateSuccess()

- -
-
- - - - - -
- - - - - - - - -
virtual void OnLobbyDataUpdateSuccess (const GalaxyIDlobbyID)
-
-pure virtual
-
- -

Notification for the event of success in updating lobby data.

-
Parameters
- - -
[in]lobbyIDThe ID of the lobby.
-
-
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyDataUpdateListener.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyDataUpdateListener.js deleted file mode 100644 index 835a05fb1..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyDataUpdateListener.js +++ /dev/null @@ -1,10 +0,0 @@ -var classgalaxy_1_1api_1_1ILobbyDataUpdateListener = -[ - [ "FailureReason", "classgalaxy_1_1api_1_1ILobbyDataUpdateListener.html#a2e1fab5fc244b0783172514baec21a6e", [ - [ "FAILURE_REASON_UNDEFINED", "classgalaxy_1_1api_1_1ILobbyDataUpdateListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39", null ], - [ "FAILURE_REASON_LOBBY_DOES_NOT_EXIST", "classgalaxy_1_1api_1_1ILobbyDataUpdateListener.html#a2e1fab5fc244b0783172514baec21a6ea6e9ef4e4fbd09f5734790f71e9d6e97c", null ], - [ "FAILURE_REASON_CONNECTION_FAILURE", "classgalaxy_1_1api_1_1ILobbyDataUpdateListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0", null ] - ] ], - [ "OnLobbyDataUpdateFailure", "classgalaxy_1_1api_1_1ILobbyDataUpdateListener.html#a149a668522af870cb1ed061e848ca209", null ], - [ "OnLobbyDataUpdateSuccess", "classgalaxy_1_1api_1_1ILobbyDataUpdateListener.html#a29f949881d51c39627d2063ce03647a1", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyDataUpdateListener__inherit__graph.map b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyDataUpdateListener__inherit__graph.map deleted file mode 100644 index 561dbec51..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyDataUpdateListener__inherit__graph.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyDataUpdateListener__inherit__graph.md5 b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyDataUpdateListener__inherit__graph.md5 deleted file mode 100644 index d711bfcd5..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyDataUpdateListener__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -31e6eff129f92936c2731fa5efac5915 \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyDataUpdateListener__inherit__graph.svg b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyDataUpdateListener__inherit__graph.svg deleted file mode 100644 index b16275288..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyDataUpdateListener__inherit__graph.svg +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - -ILobbyDataUpdateListener - - -Node0 - - -ILobbyDataUpdateListener - - - - -Node1 - - -GalaxyTypeAwareListener -< LOBBY_DATA_UPDATE_LISTENER > - - - - -Node1->Node0 - - - - -Node2 - - -IGalaxyListener - - - - -Node2->Node1 - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyEnteredListener-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyEnteredListener-members.html deleted file mode 100644 index 06d62d5ea..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyEnteredListener-members.html +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
ILobbyEnteredListener Member List
-
-
- -

This is the complete list of members for ILobbyEnteredListener, including all inherited members.

- - - - -
GetListenerType()GalaxyTypeAwareListener< LOBBY_ENTERED >inlinestatic
OnLobbyEntered(const GalaxyID &lobbyID, LobbyEnterResult result)=0ILobbyEnteredListenerpure virtual
~IGalaxyListener() (defined in IGalaxyListener)IGalaxyListenerinlinevirtual
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyEnteredListener.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyEnteredListener.html deleted file mode 100644 index 4158ff71c..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyEnteredListener.html +++ /dev/null @@ -1,181 +0,0 @@ - - - - - - - -GOG Galaxy: ILobbyEnteredListener Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
ILobbyEnteredListener Class Referenceabstract
-
-
- -

Listener for the event of entering a lobby. - More...

- -

#include <IMatchmaking.h>

-
-Inheritance diagram for ILobbyEnteredListener:
-
-
-
-
[legend]
- - - - - -

-Public Member Functions

virtual void OnLobbyEntered (const GalaxyID &lobbyID, LobbyEnterResult result)=0
 Notification for the event of entering a lobby. More...
 
- - - - - -

-Additional Inherited Members

- Static Public Member Functions inherited from GalaxyTypeAwareListener< LOBBY_ENTERED >
static ListenerType GetListenerType ()
 Returns the type of the listener. More...
 
-

Detailed Description

-

Listener for the event of entering a lobby.

-

Member Function Documentation

- -

◆ OnLobbyEntered()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void OnLobbyEntered (const GalaxyIDlobbyID,
LobbyEnterResult result 
)
-
-pure virtual
-
- -

Notification for the event of entering a lobby.

-

It is called both after joining an existing lobby and after creating one.

-
Parameters
- - - -
[in]lobbyIDThe ID of the lobby.
[in]resultlobby enter result.
-
-
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyEnteredListener.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyEnteredListener.js deleted file mode 100644 index 00f61e42f..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyEnteredListener.js +++ /dev/null @@ -1,4 +0,0 @@ -var classgalaxy_1_1api_1_1ILobbyEnteredListener = -[ - [ "OnLobbyEntered", "classgalaxy_1_1api_1_1ILobbyEnteredListener.html#a6031d49f0d56094761deac38ca7a8460", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyEnteredListener__inherit__graph.map b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyEnteredListener__inherit__graph.map deleted file mode 100644 index 188351112..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyEnteredListener__inherit__graph.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyEnteredListener__inherit__graph.md5 b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyEnteredListener__inherit__graph.md5 deleted file mode 100644 index 4c693ef9d..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyEnteredListener__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -7cc20d39c37d73904c59a363cf88b96f \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyEnteredListener__inherit__graph.svg b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyEnteredListener__inherit__graph.svg deleted file mode 100644 index f78fcdaf3..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyEnteredListener__inherit__graph.svg +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - -ILobbyEnteredListener - - -Node0 - - -ILobbyEnteredListener - - - - -Node1 - - -GalaxyTypeAwareListener -< LOBBY_ENTERED > - - - - -Node1->Node0 - - - - -Node2 - - -IGalaxyListener - - - - -Node2->Node1 - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyLeftListener-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyLeftListener-members.html deleted file mode 100644 index f58b201b8..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyLeftListener-members.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
ILobbyLeftListener Member List
-
-
- -

This is the complete list of members for ILobbyLeftListener, including all inherited members.

- - - - - - - - - -
GetListenerType()GalaxyTypeAwareListener< LOBBY_LEFT >inlinestatic
LOBBY_LEAVE_REASON_CONNECTION_LOST enum valueILobbyLeftListener
LOBBY_LEAVE_REASON_LOBBY_CLOSED enum valueILobbyLeftListener
LOBBY_LEAVE_REASON_UNDEFINED enum valueILobbyLeftListener
LOBBY_LEAVE_REASON_USER_LEFT enum valueILobbyLeftListener
LobbyLeaveReason enum nameILobbyLeftListener
OnLobbyLeft(const GalaxyID &lobbyID, LobbyLeaveReason leaveReason)=0ILobbyLeftListenerpure virtual
~IGalaxyListener() (defined in IGalaxyListener)IGalaxyListenerinlinevirtual
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyLeftListener.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyLeftListener.html deleted file mode 100644 index ddaf5fc71..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyLeftListener.html +++ /dev/null @@ -1,218 +0,0 @@ - - - - - - - -GOG Galaxy: ILobbyLeftListener Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
ILobbyLeftListener Class Referenceabstract
-
-
- -

Listener for the event of leaving a lobby. - More...

- -

#include <IMatchmaking.h>

-
-Inheritance diagram for ILobbyLeftListener:
-
-
-
-
[legend]
- - - - - -

-Public Types

enum  LobbyLeaveReason { LOBBY_LEAVE_REASON_UNDEFINED, -LOBBY_LEAVE_REASON_USER_LEFT, -LOBBY_LEAVE_REASON_LOBBY_CLOSED, -LOBBY_LEAVE_REASON_CONNECTION_LOST - }
 The reason of leaving a lobby. More...
 
- - - - -

-Public Member Functions

virtual void OnLobbyLeft (const GalaxyID &lobbyID, LobbyLeaveReason leaveReason)=0
 Notification for the event of leaving lobby. More...
 
- - - - - -

-Additional Inherited Members

- Static Public Member Functions inherited from GalaxyTypeAwareListener< LOBBY_LEFT >
static ListenerType GetListenerType ()
 Returns the type of the listener. More...
 
-

Detailed Description

-

Listener for the event of leaving a lobby.

-

Member Enumeration Documentation

- -

◆ LobbyLeaveReason

- -
-
- - - - -
enum LobbyLeaveReason
-
- -

The reason of leaving a lobby.

- - - - - -
Enumerator
LOBBY_LEAVE_REASON_UNDEFINED 

Unspecified error.

-
LOBBY_LEAVE_REASON_USER_LEFT 

The user has left the lobby as a result of calling IMatchmaking::LeaveLobby().

-
LOBBY_LEAVE_REASON_LOBBY_CLOSED 

The lobby has been closed (e.g. the owner has left the lobby without host migration).

-
LOBBY_LEAVE_REASON_CONNECTION_LOST 

The Peer has lost the connection.

-
- -
-
-

Member Function Documentation

- -

◆ OnLobbyLeft()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void OnLobbyLeft (const GalaxyIDlobbyID,
LobbyLeaveReason leaveReason 
)
-
-pure virtual
-
- -

Notification for the event of leaving lobby.

-
Parameters
- - - -
[in]lobbyIDThe ID of the lobby.
[in]leaveReasonThe cause of leaving the lobby.
-
-
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyLeftListener.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyLeftListener.js deleted file mode 100644 index b60373b1b..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyLeftListener.js +++ /dev/null @@ -1,10 +0,0 @@ -var classgalaxy_1_1api_1_1ILobbyLeftListener = -[ - [ "LobbyLeaveReason", "classgalaxy_1_1api_1_1ILobbyLeftListener.html#a47f45bc710b2a54713190fe298784ad2", [ - [ "LOBBY_LEAVE_REASON_UNDEFINED", "classgalaxy_1_1api_1_1ILobbyLeftListener.html#a47f45bc710b2a54713190fe298784ad2a6070b2697b7c0e6f2646ca763b256513", null ], - [ "LOBBY_LEAVE_REASON_USER_LEFT", "classgalaxy_1_1api_1_1ILobbyLeftListener.html#a47f45bc710b2a54713190fe298784ad2adb3c59b9e3d120fa6aba361e8d67d1c1", null ], - [ "LOBBY_LEAVE_REASON_LOBBY_CLOSED", "classgalaxy_1_1api_1_1ILobbyLeftListener.html#a47f45bc710b2a54713190fe298784ad2ae4bc91d153942bdfe568aae8379c0747", null ], - [ "LOBBY_LEAVE_REASON_CONNECTION_LOST", "classgalaxy_1_1api_1_1ILobbyLeftListener.html#a47f45bc710b2a54713190fe298784ad2a4a16b2972e1ab9c0ff5056e1fdc54db2", null ] - ] ], - [ "OnLobbyLeft", "classgalaxy_1_1api_1_1ILobbyLeftListener.html#a9bad9ee60861636ee6e710f44910d450", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyLeftListener__inherit__graph.map b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyLeftListener__inherit__graph.map deleted file mode 100644 index 157e82645..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyLeftListener__inherit__graph.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyLeftListener__inherit__graph.md5 b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyLeftListener__inherit__graph.md5 deleted file mode 100644 index 46decb872..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyLeftListener__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -febd6c51e45dc33282d76fc070a701c3 \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyLeftListener__inherit__graph.svg b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyLeftListener__inherit__graph.svg deleted file mode 100644 index cef1ecc0d..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyLeftListener__inherit__graph.svg +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - -ILobbyLeftListener - - -Node0 - - -ILobbyLeftListener - - - - -Node1 - - -GalaxyTypeAwareListener -< LOBBY_LEFT > - - - - -Node1->Node0 - - - - -Node2 - - -IGalaxyListener - - - - -Node2->Node1 - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyListListener-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyListListener-members.html deleted file mode 100644 index 640b26b4f..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyListListener-members.html +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
ILobbyListListener Member List
-
-
- -

This is the complete list of members for ILobbyListListener, including all inherited members.

- - - - -
GetListenerType()GalaxyTypeAwareListener< LOBBY_LIST >inlinestatic
OnLobbyList(uint32_t lobbyCount, LobbyListResult result)=0ILobbyListListenerpure virtual
~IGalaxyListener() (defined in IGalaxyListener)IGalaxyListenerinlinevirtual
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyListListener.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyListListener.html deleted file mode 100644 index 6d9a94429..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyListListener.html +++ /dev/null @@ -1,180 +0,0 @@ - - - - - - - -GOG Galaxy: ILobbyListListener Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
ILobbyListListener Class Referenceabstract
-
-
- -

Listener for the event of receiving a list of lobbies. - More...

- -

#include <IMatchmaking.h>

-
-Inheritance diagram for ILobbyListListener:
-
-
-
-
[legend]
- - - - - -

-Public Member Functions

virtual void OnLobbyList (uint32_t lobbyCount, LobbyListResult result)=0
 Notification for the event of receiving a list of lobbies. More...
 
- - - - - -

-Additional Inherited Members

- Static Public Member Functions inherited from GalaxyTypeAwareListener< LOBBY_LIST >
static ListenerType GetListenerType ()
 Returns the type of the listener. More...
 
-

Detailed Description

-

Listener for the event of receiving a list of lobbies.

-

Member Function Documentation

- -

◆ OnLobbyList()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void OnLobbyList (uint32_t lobbyCount,
LobbyListResult result 
)
-
-pure virtual
-
- -

Notification for the event of receiving a list of lobbies.

-
Parameters
- - - -
[in]lobbyCountThe number of matched lobbies.
[in]resultlobby list result.
-
-
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyListListener.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyListListener.js deleted file mode 100644 index f0ee4e099..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyListListener.js +++ /dev/null @@ -1,4 +0,0 @@ -var classgalaxy_1_1api_1_1ILobbyListListener = -[ - [ "OnLobbyList", "classgalaxy_1_1api_1_1ILobbyListListener.html#a95e2555359b52d867ca6e2338cbcafcf", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyListListener__inherit__graph.map b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyListListener__inherit__graph.map deleted file mode 100644 index 77300a92d..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyListListener__inherit__graph.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyListListener__inherit__graph.md5 b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyListListener__inherit__graph.md5 deleted file mode 100644 index 216ed35db..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyListListener__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -a3843af2cf7ad39427fb195d89087286 \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyListListener__inherit__graph.svg b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyListListener__inherit__graph.svg deleted file mode 100644 index a017b402b..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyListListener__inherit__graph.svg +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - -ILobbyListListener - - -Node0 - - -ILobbyListListener - - - - -Node1 - - -GalaxyTypeAwareListener -< LOBBY_LIST > - - - - -Node1->Node0 - - - - -Node2 - - -IGalaxyListener - - - - -Node2->Node1 - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyMemberDataUpdateListener-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyMemberDataUpdateListener-members.html deleted file mode 100644 index 965d88e98..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyMemberDataUpdateListener-members.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
ILobbyMemberDataUpdateListener Member List
-
-
- -

This is the complete list of members for ILobbyMemberDataUpdateListener, including all inherited members.

- - - - - - - - - -
FAILURE_REASON_CONNECTION_FAILURE enum valueILobbyMemberDataUpdateListener
FAILURE_REASON_LOBBY_DOES_NOT_EXIST enum valueILobbyMemberDataUpdateListener
FAILURE_REASON_UNDEFINED enum valueILobbyMemberDataUpdateListener
FailureReason enum nameILobbyMemberDataUpdateListener
GetListenerType()GalaxyTypeAwareListener< LOBBY_MEMBER_DATA_UPDATE_LISTENER >inlinestatic
OnLobbyMemberDataUpdateFailure(const GalaxyID &lobbyID, const GalaxyID &memberID, FailureReason failureReason)=0ILobbyMemberDataUpdateListenerpure virtual
OnLobbyMemberDataUpdateSuccess(const GalaxyID &lobbyID, const GalaxyID &memberID)=0ILobbyMemberDataUpdateListenerpure virtual
~IGalaxyListener() (defined in IGalaxyListener)IGalaxyListenerinlinevirtual
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyMemberDataUpdateListener.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyMemberDataUpdateListener.html deleted file mode 100644 index 2364f2760..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyMemberDataUpdateListener.html +++ /dev/null @@ -1,270 +0,0 @@ - - - - - - - -GOG Galaxy: ILobbyMemberDataUpdateListener Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
ILobbyMemberDataUpdateListener Class Referenceabstract
-
-
- -

Listener for the event of updating lobby member data. - More...

- -

#include <IMatchmaking.h>

-
-Inheritance diagram for ILobbyMemberDataUpdateListener:
-
-
-
-
[legend]
- - - - - -

-Public Types

enum  FailureReason { FAILURE_REASON_UNDEFINED, -FAILURE_REASON_LOBBY_DOES_NOT_EXIST, -FAILURE_REASON_CONNECTION_FAILURE - }
 The reason of a failure in updating lobby data. More...
 
- - - - - - - -

-Public Member Functions

virtual void OnLobbyMemberDataUpdateSuccess (const GalaxyID &lobbyID, const GalaxyID &memberID)=0
 Notification for the event of success in updating lobby member data. More...
 
virtual void OnLobbyMemberDataUpdateFailure (const GalaxyID &lobbyID, const GalaxyID &memberID, FailureReason failureReason)=0
 Notification for the failure in updating lobby member data. More...
 
- - - - - -

-Additional Inherited Members

- Static Public Member Functions inherited from GalaxyTypeAwareListener< LOBBY_MEMBER_DATA_UPDATE_LISTENER >
static ListenerType GetListenerType ()
 Returns the type of the listener. More...
 
-

Detailed Description

-

Listener for the event of updating lobby member data.

-

Member Enumeration Documentation

- -

◆ FailureReason

- -
-
- - - - -
enum FailureReason
-
- -

The reason of a failure in updating lobby data.

- - - - -
Enumerator
FAILURE_REASON_UNDEFINED 

Unspecified error.

-
FAILURE_REASON_LOBBY_DOES_NOT_EXIST 

Specified lobby does not exist.

-
FAILURE_REASON_CONNECTION_FAILURE 

Unable to communicate with backend services.

-
- -
-
-

Member Function Documentation

- -

◆ OnLobbyMemberDataUpdateFailure()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
virtual void OnLobbyMemberDataUpdateFailure (const GalaxyIDlobbyID,
const GalaxyIDmemberID,
FailureReason failureReason 
)
-
-pure virtual
-
- -

Notification for the failure in updating lobby member data.

-
Parameters
- - - - -
[in]lobbyIDThe ID of the lobby.
[in]memberIDThe ID of the lobby member.
[in]failureReasonThe cause of the failure.
-
-
- -
-
- -

◆ OnLobbyMemberDataUpdateSuccess()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void OnLobbyMemberDataUpdateSuccess (const GalaxyIDlobbyID,
const GalaxyIDmemberID 
)
-
-pure virtual
-
- -

Notification for the event of success in updating lobby member data.

-
Parameters
- - - -
[in]lobbyIDThe ID of the lobby.
[in]memberIDThe ID of the lobby member.
-
-
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyMemberDataUpdateListener.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyMemberDataUpdateListener.js deleted file mode 100644 index 2d5ded8cb..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyMemberDataUpdateListener.js +++ /dev/null @@ -1,10 +0,0 @@ -var classgalaxy_1_1api_1_1ILobbyMemberDataUpdateListener = -[ - [ "FailureReason", "classgalaxy_1_1api_1_1ILobbyMemberDataUpdateListener.html#a2e1fab5fc244b0783172514baec21a6e", [ - [ "FAILURE_REASON_UNDEFINED", "classgalaxy_1_1api_1_1ILobbyMemberDataUpdateListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39", null ], - [ "FAILURE_REASON_LOBBY_DOES_NOT_EXIST", "classgalaxy_1_1api_1_1ILobbyMemberDataUpdateListener.html#a2e1fab5fc244b0783172514baec21a6ea6e9ef4e4fbd09f5734790f71e9d6e97c", null ], - [ "FAILURE_REASON_CONNECTION_FAILURE", "classgalaxy_1_1api_1_1ILobbyMemberDataUpdateListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0", null ] - ] ], - [ "OnLobbyMemberDataUpdateFailure", "classgalaxy_1_1api_1_1ILobbyMemberDataUpdateListener.html#ae0cb87451b2602ed7a41ecceb308df96", null ], - [ "OnLobbyMemberDataUpdateSuccess", "classgalaxy_1_1api_1_1ILobbyMemberDataUpdateListener.html#abdf4b48e9f7c421f8ae044cf07338d23", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyMemberDataUpdateListener__inherit__graph.map b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyMemberDataUpdateListener__inherit__graph.map deleted file mode 100644 index 01278776d..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyMemberDataUpdateListener__inherit__graph.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyMemberDataUpdateListener__inherit__graph.md5 b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyMemberDataUpdateListener__inherit__graph.md5 deleted file mode 100644 index 7f985fdd1..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyMemberDataUpdateListener__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -111b21469220e4f00d1fcb8d8089806d \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyMemberDataUpdateListener__inherit__graph.svg b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyMemberDataUpdateListener__inherit__graph.svg deleted file mode 100644 index b91c1855e..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyMemberDataUpdateListener__inherit__graph.svg +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - -ILobbyMemberDataUpdateListener - - -Node0 - - -ILobbyMemberDataUpdateListener - - - - -Node1 - - -GalaxyTypeAwareListener -< LOBBY_MEMBER_DATA_UPDATE -_LISTENER > - - - - -Node1->Node0 - - - - -Node2 - - -IGalaxyListener - - - - -Node2->Node1 - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyMemberStateListener-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyMemberStateListener-members.html deleted file mode 100644 index 46b379ef2..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyMemberStateListener-members.html +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
ILobbyMemberStateListener Member List
-
-
- -

This is the complete list of members for ILobbyMemberStateListener, including all inherited members.

- - - - -
GetListenerType()GalaxyTypeAwareListener< LOBBY_MEMBER_STATE >inlinestatic
OnLobbyMemberStateChanged(const GalaxyID &lobbyID, const GalaxyID &memberID, LobbyMemberStateChange memberStateChange)=0ILobbyMemberStateListenerpure virtual
~IGalaxyListener() (defined in IGalaxyListener)IGalaxyListenerinlinevirtual
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyMemberStateListener.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyMemberStateListener.html deleted file mode 100644 index 93d8382e0..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyMemberStateListener.html +++ /dev/null @@ -1,187 +0,0 @@ - - - - - - - -GOG Galaxy: ILobbyMemberStateListener Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
ILobbyMemberStateListener Class Referenceabstract
-
-
- -

Listener for the event of a change of the state of a lobby member. - More...

- -

#include <IMatchmaking.h>

-
-Inheritance diagram for ILobbyMemberStateListener:
-
-
-
-
[legend]
- - - - - -

-Public Member Functions

virtual void OnLobbyMemberStateChanged (const GalaxyID &lobbyID, const GalaxyID &memberID, LobbyMemberStateChange memberStateChange)=0
 Notification for the event of a change of the state of a lobby member. More...
 
- - - - - -

-Additional Inherited Members

- Static Public Member Functions inherited from GalaxyTypeAwareListener< LOBBY_MEMBER_STATE >
static ListenerType GetListenerType ()
 Returns the type of the listener. More...
 
-

Detailed Description

-

Listener for the event of a change of the state of a lobby member.

-

Member Function Documentation

- -

◆ OnLobbyMemberStateChanged()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
virtual void OnLobbyMemberStateChanged (const GalaxyIDlobbyID,
const GalaxyIDmemberID,
LobbyMemberStateChange memberStateChange 
)
-
-pure virtual
-
- -

Notification for the event of a change of the state of a lobby member.

-
Parameters
- - - - -
[in]lobbyIDThe ID of the lobby.
[in]memberIDThe ID of the lobby member.
[in]memberStateChangeChange of the state of the lobby member.
-
-
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyMemberStateListener.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyMemberStateListener.js deleted file mode 100644 index 11cc22d4c..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyMemberStateListener.js +++ /dev/null @@ -1,4 +0,0 @@ -var classgalaxy_1_1api_1_1ILobbyMemberStateListener = -[ - [ "OnLobbyMemberStateChanged", "classgalaxy_1_1api_1_1ILobbyMemberStateListener.html#a6800dd47f89e3c03e230bd31fa87023e", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyMemberStateListener__inherit__graph.map b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyMemberStateListener__inherit__graph.map deleted file mode 100644 index 2e33dfaa6..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyMemberStateListener__inherit__graph.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyMemberStateListener__inherit__graph.md5 b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyMemberStateListener__inherit__graph.md5 deleted file mode 100644 index 0f301ff39..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyMemberStateListener__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -a852127f22975e1c540499ebad6602ab \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyMemberStateListener__inherit__graph.svg b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyMemberStateListener__inherit__graph.svg deleted file mode 100644 index e2d780b43..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyMemberStateListener__inherit__graph.svg +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - -ILobbyMemberStateListener - - -Node0 - - -ILobbyMemberStateListener - - - - -Node1 - - -GalaxyTypeAwareListener -< LOBBY_MEMBER_STATE > - - - - -Node1->Node0 - - - - -Node2 - - -IGalaxyListener - - - - -Node2->Node1 - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyMessageListener-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyMessageListener-members.html deleted file mode 100644 index 4ed7d7911..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyMessageListener-members.html +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
ILobbyMessageListener Member List
-
-
- -

This is the complete list of members for ILobbyMessageListener, including all inherited members.

- - - - -
GetListenerType()GalaxyTypeAwareListener< LOBBY_MESSAGE >inlinestatic
OnLobbyMessageReceived(const GalaxyID &lobbyID, const GalaxyID &senderID, uint32_t messageID, uint32_t messageLength)=0ILobbyMessageListenerpure virtual
~IGalaxyListener() (defined in IGalaxyListener)IGalaxyListenerinlinevirtual
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyMessageListener.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyMessageListener.html deleted file mode 100644 index 62405dee2..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyMessageListener.html +++ /dev/null @@ -1,195 +0,0 @@ - - - - - - - -GOG Galaxy: ILobbyMessageListener Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
ILobbyMessageListener Class Referenceabstract
-
-
- -

Listener for the event of receiving a lobby message. - More...

- -

#include <IMatchmaking.h>

-
-Inheritance diagram for ILobbyMessageListener:
-
-
-
-
[legend]
- - - - - -

-Public Member Functions

virtual void OnLobbyMessageReceived (const GalaxyID &lobbyID, const GalaxyID &senderID, uint32_t messageID, uint32_t messageLength)=0
 Notification for the event of receiving a lobby message. More...
 
- - - - - -

-Additional Inherited Members

- Static Public Member Functions inherited from GalaxyTypeAwareListener< LOBBY_MESSAGE >
static ListenerType GetListenerType ()
 Returns the type of the listener. More...
 
-

Detailed Description

-

Listener for the event of receiving a lobby message.

-

Member Function Documentation

- -

◆ OnLobbyMessageReceived()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
virtual void OnLobbyMessageReceived (const GalaxyIDlobbyID,
const GalaxyIDsenderID,
uint32_t messageID,
uint32_t messageLength 
)
-
-pure virtual
-
- -

Notification for the event of receiving a lobby message.

-

To read the message you need to call IMatchmaking::GetLobbyMessage().

-
Parameters
- - - - - -
[in]lobbyIDThe ID of the lobby.
[in]senderIDThe ID of the sender.
[in]messageIDThe ID of the message.
[in]messageLengthLength of the message.
-
-
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyMessageListener.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyMessageListener.js deleted file mode 100644 index 23a97553b..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyMessageListener.js +++ /dev/null @@ -1,4 +0,0 @@ -var classgalaxy_1_1api_1_1ILobbyMessageListener = -[ - [ "OnLobbyMessageReceived", "classgalaxy_1_1api_1_1ILobbyMessageListener.html#aa31d9ad7d79a3ab5e0b9b18cdb16976a", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyMessageListener__inherit__graph.map b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyMessageListener__inherit__graph.map deleted file mode 100644 index daa9351df..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyMessageListener__inherit__graph.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyMessageListener__inherit__graph.md5 b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyMessageListener__inherit__graph.md5 deleted file mode 100644 index 4a95ee2ad..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyMessageListener__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -d9d70f7130c15151f95d87c2465187d0 \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyMessageListener__inherit__graph.svg b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyMessageListener__inherit__graph.svg deleted file mode 100644 index 2b44c22ed..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyMessageListener__inherit__graph.svg +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - -ILobbyMessageListener - - -Node0 - - -ILobbyMessageListener - - - - -Node1 - - -GalaxyTypeAwareListener -< LOBBY_MESSAGE > - - - - -Node1->Node0 - - - - -Node2 - - -IGalaxyListener - - - - -Node2->Node1 - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyOwnerChangeListener-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyOwnerChangeListener-members.html deleted file mode 100644 index 432b5b8a0..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyOwnerChangeListener-members.html +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
ILobbyOwnerChangeListener Member List
-
-
- -

This is the complete list of members for ILobbyOwnerChangeListener, including all inherited members.

- - - - -
GetListenerType()GalaxyTypeAwareListener< LOBBY_OWNER_CHANGE >inlinestatic
OnLobbyOwnerChanged(const GalaxyID &lobbyID, const GalaxyID &newOwnerID)=0ILobbyOwnerChangeListenerpure virtual
~IGalaxyListener() (defined in IGalaxyListener)IGalaxyListenerinlinevirtual
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyOwnerChangeListener.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyOwnerChangeListener.html deleted file mode 100644 index eb43f4a54..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyOwnerChangeListener.html +++ /dev/null @@ -1,182 +0,0 @@ - - - - - - - -GOG Galaxy: ILobbyOwnerChangeListener Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
ILobbyOwnerChangeListener Class Referenceabstract
-
-
- -

Listener for the event of changing the owner of a lobby. - More...

- -

#include <IMatchmaking.h>

-
-Inheritance diagram for ILobbyOwnerChangeListener:
-
-
-
-
[legend]
- - - - - -

-Public Member Functions

virtual void OnLobbyOwnerChanged (const GalaxyID &lobbyID, const GalaxyID &newOwnerID)=0
 Notification for the event of someone else becoming the owner of a lobby. More...
 
- - - - - -

-Additional Inherited Members

- Static Public Member Functions inherited from GalaxyTypeAwareListener< LOBBY_OWNER_CHANGE >
static ListenerType GetListenerType ()
 Returns the type of the listener. More...
 
-

Detailed Description

-

Listener for the event of changing the owner of a lobby.

-

The event occurs when a lobby member is chosen to become the new owner of the lobby in place of the previous owner that apparently left the lobby, which should be explicitly indicated in a separate notification.

-
Remarks
This listener should be implemented only if the game can handle the situation where the lobby owner leaves the lobby for any reason (e.g. is disconnected), letting the other users continue playing in the same lobby with the new owner knowing the state of the lobby and taking the responsibility for managing it.
-

Member Function Documentation

- -

◆ OnLobbyOwnerChanged()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void OnLobbyOwnerChanged (const GalaxyIDlobbyID,
const GalaxyIDnewOwnerID 
)
-
-pure virtual
-
- -

Notification for the event of someone else becoming the owner of a lobby.

-
Parameters
- - - -
[in]lobbyIDThe ID of the lobby.
[in]newOwnerIDThe ID of the user who became new lobby owner.
-
-
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyOwnerChangeListener.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyOwnerChangeListener.js deleted file mode 100644 index 088f9ec55..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyOwnerChangeListener.js +++ /dev/null @@ -1,4 +0,0 @@ -var classgalaxy_1_1api_1_1ILobbyOwnerChangeListener = -[ - [ "OnLobbyOwnerChanged", "classgalaxy_1_1api_1_1ILobbyOwnerChangeListener.html#a7a9300e96fb1276b47c486181abedec8", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyOwnerChangeListener__inherit__graph.map b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyOwnerChangeListener__inherit__graph.map deleted file mode 100644 index e07c575fc..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyOwnerChangeListener__inherit__graph.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyOwnerChangeListener__inherit__graph.md5 b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyOwnerChangeListener__inherit__graph.md5 deleted file mode 100644 index 1e906f95b..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyOwnerChangeListener__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -087867647d79fb27ee43fe8fc4c11f41 \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyOwnerChangeListener__inherit__graph.svg b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyOwnerChangeListener__inherit__graph.svg deleted file mode 100644 index 384a92d84..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILobbyOwnerChangeListener__inherit__graph.svg +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - -ILobbyOwnerChangeListener - - -Node0 - - -ILobbyOwnerChangeListener - - - - -Node1 - - -GalaxyTypeAwareListener -< LOBBY_OWNER_CHANGE > - - - - -Node1->Node0 - - - - -Node2 - - -IGalaxyListener - - - - -Node2->Node1 - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILogger-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILogger-members.html deleted file mode 100644 index 285e595a6..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILogger-members.html +++ /dev/null @@ -1,113 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
ILogger Member List
-
-
- -

This is the complete list of members for ILogger, including all inherited members.

- - - - - - - - -
Debug(const char *format,...)=0ILoggerpure virtual
Error(const char *format,...)=0ILoggerpure virtual
Fatal(const char *format,...)=0ILoggerpure virtual
Info(const char *format,...)=0ILoggerpure virtual
Trace(const char *format,...)=0ILoggerpure virtual
Warning(const char *format,...)=0ILoggerpure virtual
~ILogger() (defined in ILogger)ILoggerinlinevirtual
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILogger.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILogger.html deleted file mode 100644 index c3d5f30a5..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILogger.html +++ /dev/null @@ -1,407 +0,0 @@ - - - - - - - -GOG Galaxy: ILogger Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
ILogger Class Referenceabstract
-
-
- -

The interface for logging. - More...

- -

#include <ILogger.h>

- - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

virtual void Trace (const char *format,...)=0
 Creates a log entry with level TRACE. More...
 
virtual void Debug (const char *format,...)=0
 Creates a log entry with level DEBUG. More...
 
virtual void Info (const char *format,...)=0
 Creates a log entry with level INFO. More...
 
virtual void Warning (const char *format,...)=0
 Creates a log entry with level WARNING. More...
 
virtual void Error (const char *format,...)=0
 Creates a log entry with level ERROR. More...
 
virtual void Fatal (const char *format,...)=0
 Creates a log entry with level FATAL. More...
 
-

Detailed Description

-

The interface for logging.

-

Member Function Documentation

- -

◆ Debug()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void Debug (const char * format,
 ... 
)
-
-pure virtual
-
- -

Creates a log entry with level DEBUG.

-
Parameters
- - - -
[in]formatFormat string.
[in]...Parameters for the format string.
-
-
- -
-
- -

◆ Error()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void Error (const char * format,
 ... 
)
-
-pure virtual
-
- -

Creates a log entry with level ERROR.

-
Parameters
- - - -
[in]formatFormat string.
[in]...Parameters for the format string.
-
-
- -
-
- -

◆ Fatal()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void Fatal (const char * format,
 ... 
)
-
-pure virtual
-
- -

Creates a log entry with level FATAL.

-
Parameters
- - - -
[in]formatFormat string.
[in]...Parameters for the format string.
-
-
- -
-
- -

◆ Info()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void Info (const char * format,
 ... 
)
-
-pure virtual
-
- -

Creates a log entry with level INFO.

-
Parameters
- - - -
[in]formatFormat string.
[in]...Parameters for the format string.
-
-
- -
-
- -

◆ Trace()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void Trace (const char * format,
 ... 
)
-
-pure virtual
-
- -

Creates a log entry with level TRACE.

-
Parameters
- - - -
[in]formatFormat string.
[in]...Parameters for the format string.
-
-
- -
-
- -

◆ Warning()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void Warning (const char * format,
 ... 
)
-
-pure virtual
-
- -

Creates a log entry with level WARNING.

-
Parameters
- - - -
[in]formatFormat string.
[in]...Parameters for the format string.
-
-
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILogger.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILogger.js deleted file mode 100644 index 0ea8e29b8..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ILogger.js +++ /dev/null @@ -1,10 +0,0 @@ -var classgalaxy_1_1api_1_1ILogger = -[ - [ "~ILogger", "classgalaxy_1_1api_1_1ILogger.html#a61cb5612fcaa9eb33f7077833e0517dc", null ], - [ "Debug", "classgalaxy_1_1api_1_1ILogger.html#a2576db3f8fc28842d624c02175af2eb8", null ], - [ "Error", "classgalaxy_1_1api_1_1ILogger.html#a8019dc6a7edbf285ab91d6b058b93d42", null ], - [ "Fatal", "classgalaxy_1_1api_1_1ILogger.html#a9f845ab48be230fa39be75c73ad5c8ec", null ], - [ "Info", "classgalaxy_1_1api_1_1ILogger.html#a48787fd7db790bcebfcb1f881a822229", null ], - [ "Trace", "classgalaxy_1_1api_1_1ILogger.html#a2f884acd20718a6751ec1840c7fc0c3f", null ], - [ "Warning", "classgalaxy_1_1api_1_1ILogger.html#ad8294a3f478bb0e03f96f9bee6976920", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IMatchmaking-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IMatchmaking-members.html deleted file mode 100644 index 954fa5781..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IMatchmaking-members.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
IMatchmaking Member List
-
-
- -

This is the complete list of members for IMatchmaking, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
AddRequestLobbyListNearValueFilter(const char *keyToMatch, int32_t valueToBeCloseTo)=0IMatchmakingpure virtual
AddRequestLobbyListNumericalFilter(const char *keyToMatch, int32_t valueToMatch, LobbyComparisonType comparisonType)=0IMatchmakingpure virtual
AddRequestLobbyListResultCountFilter(uint32_t limit)=0IMatchmakingpure virtual
AddRequestLobbyListStringFilter(const char *keyToMatch, const char *valueToMatch, LobbyComparisonType comparisonType)=0IMatchmakingpure virtual
CreateLobby(LobbyType lobbyType, uint32_t maxMembers, bool joinable, LobbyTopologyType lobbyTopologyType, ILobbyCreatedListener *const lobbyCreatedListener=NULL, ILobbyEnteredListener *const lobbyEnteredListener=NULL)=0IMatchmakingpure virtual
DeleteLobbyData(GalaxyID lobbyID, const char *key, ILobbyDataUpdateListener *const listener=NULL)=0IMatchmakingpure virtual
DeleteLobbyMemberData(GalaxyID lobbyID, const char *key, ILobbyMemberDataUpdateListener *const listener=NULL)=0IMatchmakingpure virtual
GetLobbyByIndex(uint32_t index)=0IMatchmakingpure virtual
GetLobbyData(GalaxyID lobbyID, const char *key)=0IMatchmakingpure virtual
GetLobbyDataByIndex(GalaxyID lobbyID, uint32_t index, char *key, uint32_t keyLength, char *value, uint32_t valueLength)=0IMatchmakingpure virtual
GetLobbyDataCopy(GalaxyID lobbyID, const char *key, char *buffer, uint32_t bufferLength)=0IMatchmakingpure virtual
GetLobbyDataCount(GalaxyID lobbyID)=0IMatchmakingpure virtual
GetLobbyMemberByIndex(GalaxyID lobbyID, uint32_t index)=0IMatchmakingpure virtual
GetLobbyMemberData(GalaxyID lobbyID, GalaxyID memberID, const char *key)=0IMatchmakingpure virtual
GetLobbyMemberDataByIndex(GalaxyID lobbyID, GalaxyID memberID, uint32_t index, char *key, uint32_t keyLength, char *value, uint32_t valueLength)=0IMatchmakingpure virtual
GetLobbyMemberDataCopy(GalaxyID lobbyID, GalaxyID memberID, const char *key, char *buffer, uint32_t bufferLength)=0IMatchmakingpure virtual
GetLobbyMemberDataCount(GalaxyID lobbyID, GalaxyID memberID)=0IMatchmakingpure virtual
GetLobbyMessage(GalaxyID lobbyID, uint32_t messageID, GalaxyID &senderID, char *msg, uint32_t msgLength)=0IMatchmakingpure virtual
GetLobbyOwner(GalaxyID lobbyID)=0IMatchmakingpure virtual
GetLobbyType(GalaxyID lobbyID)=0IMatchmakingpure virtual
GetMaxNumLobbyMembers(GalaxyID lobbyID)=0IMatchmakingpure virtual
GetNumLobbyMembers(GalaxyID lobbyID)=0IMatchmakingpure virtual
IsLobbyJoinable(GalaxyID lobbyID)=0IMatchmakingpure virtual
JoinLobby(GalaxyID lobbyID, ILobbyEnteredListener *const listener=NULL)=0IMatchmakingpure virtual
LeaveLobby(GalaxyID lobbyID, ILobbyLeftListener *const listener=NULL)=0IMatchmakingpure virtual
RequestLobbyData(GalaxyID lobbyID, ILobbyDataRetrieveListener *const listener=NULL)=0IMatchmakingpure virtual
RequestLobbyList(bool allowFullLobbies=false, ILobbyListListener *const listener=NULL)=0IMatchmakingpure virtual
SendLobbyMessage(GalaxyID lobbyID, const void *data, uint32_t dataSize)=0IMatchmakingpure virtual
SetLobbyData(GalaxyID lobbyID, const char *key, const char *value, ILobbyDataUpdateListener *const listener=NULL)=0IMatchmakingpure virtual
SetLobbyJoinable(GalaxyID lobbyID, bool joinable, ILobbyDataUpdateListener *const listener=NULL)=0IMatchmakingpure virtual
SetLobbyMemberData(GalaxyID lobbyID, const char *key, const char *value, ILobbyMemberDataUpdateListener *const listener=NULL)=0IMatchmakingpure virtual
SetLobbyType(GalaxyID lobbyID, LobbyType lobbyType, ILobbyDataUpdateListener *const listener=NULL)=0IMatchmakingpure virtual
SetMaxNumLobbyMembers(GalaxyID lobbyID, uint32_t maxNumLobbyMembers, ILobbyDataUpdateListener *const listener=NULL)=0IMatchmakingpure virtual
~IMatchmaking() (defined in IMatchmaking)IMatchmakinginlinevirtual
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IMatchmaking.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IMatchmaking.html deleted file mode 100644 index afce7f46e..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IMatchmaking.html +++ /dev/null @@ -1,1928 +0,0 @@ - - - - - - - -GOG Galaxy: IMatchmaking Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
IMatchmaking Class Referenceabstract
-
-
- -

The interface for managing game lobbies. - More...

- -

#include <IMatchmaking.h>

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

virtual void CreateLobby (LobbyType lobbyType, uint32_t maxMembers, bool joinable, LobbyTopologyType lobbyTopologyType, ILobbyCreatedListener *const lobbyCreatedListener=NULL, ILobbyEnteredListener *const lobbyEnteredListener=NULL)=0
 Creates a lobby. More...
 
virtual void RequestLobbyList (bool allowFullLobbies=false, ILobbyListListener *const listener=NULL)=0
 Performs a request for a list of relevant lobbies. More...
 
virtual void AddRequestLobbyListResultCountFilter (uint32_t limit)=0
 Sets the maximum number of lobbies to be returned next time you call RequestLobbyList(). More...
 
virtual void AddRequestLobbyListStringFilter (const char *keyToMatch, const char *valueToMatch, LobbyComparisonType comparisonType)=0
 Adds a string filter to be applied next time you call RequestLobbyList(). More...
 
virtual void AddRequestLobbyListNumericalFilter (const char *keyToMatch, int32_t valueToMatch, LobbyComparisonType comparisonType)=0
 Adds a numerical filter to be applied next time you call RequestLobbyList(). More...
 
virtual void AddRequestLobbyListNearValueFilter (const char *keyToMatch, int32_t valueToBeCloseTo)=0
 Adds a near value filter to be applied next time you call RequestLobbyList(). More...
 
virtual GalaxyID GetLobbyByIndex (uint32_t index)=0
 Returns GalaxyID of a retrieved lobby by index. More...
 
virtual void JoinLobby (GalaxyID lobbyID, ILobbyEnteredListener *const listener=NULL)=0
 Joins a specified existing lobby. More...
 
virtual void LeaveLobby (GalaxyID lobbyID, ILobbyLeftListener *const listener=NULL)=0
 Leaves a specified lobby. More...
 
virtual void SetMaxNumLobbyMembers (GalaxyID lobbyID, uint32_t maxNumLobbyMembers, ILobbyDataUpdateListener *const listener=NULL)=0
 Sets the maximum number of users that can be in a specified lobby. More...
 
virtual uint32_t GetMaxNumLobbyMembers (GalaxyID lobbyID)=0
 Returns the maximum number of users that can be in a specified lobby. More...
 
virtual uint32_t GetNumLobbyMembers (GalaxyID lobbyID)=0
 Returns the number of users in a specified lobby. More...
 
virtual GalaxyID GetLobbyMemberByIndex (GalaxyID lobbyID, uint32_t index)=0
 Returns the GalaxyID of a user in a specified lobby. More...
 
virtual void SetLobbyType (GalaxyID lobbyID, LobbyType lobbyType, ILobbyDataUpdateListener *const listener=NULL)=0
 Sets the type of a specified lobby. More...
 
virtual LobbyType GetLobbyType (GalaxyID lobbyID)=0
 Returns the type of a specified lobby. More...
 
virtual void SetLobbyJoinable (GalaxyID lobbyID, bool joinable, ILobbyDataUpdateListener *const listener=NULL)=0
 Sets if a specified lobby is joinable. More...
 
virtual bool IsLobbyJoinable (GalaxyID lobbyID)=0
 Checks if a specified lobby is joinable. More...
 
virtual void RequestLobbyData (GalaxyID lobbyID, ILobbyDataRetrieveListener *const listener=NULL)=0
 Refreshes info about a specified lobby. More...
 
virtual const char * GetLobbyData (GalaxyID lobbyID, const char *key)=0
 Returns an entry from the properties of a specified lobby. More...
 
virtual void GetLobbyDataCopy (GalaxyID lobbyID, const char *key, char *buffer, uint32_t bufferLength)=0
 Copies an entry from the properties of a specified lobby. More...
 
virtual void SetLobbyData (GalaxyID lobbyID, const char *key, const char *value, ILobbyDataUpdateListener *const listener=NULL)=0
 Creates or updates an entry in the properties of a specified lobby. More...
 
virtual uint32_t GetLobbyDataCount (GalaxyID lobbyID)=0
 Returns the number of entries in the properties of a specified lobby. More...
 
virtual bool GetLobbyDataByIndex (GalaxyID lobbyID, uint32_t index, char *key, uint32_t keyLength, char *value, uint32_t valueLength)=0
 Returns a property of a specified lobby by index. More...
 
virtual void DeleteLobbyData (GalaxyID lobbyID, const char *key, ILobbyDataUpdateListener *const listener=NULL)=0
 Clears a property of a specified lobby by its name. More...
 
virtual const char * GetLobbyMemberData (GalaxyID lobbyID, GalaxyID memberID, const char *key)=0
 Returns an entry from the properties of a specified member of a specified lobby. More...
 
virtual void GetLobbyMemberDataCopy (GalaxyID lobbyID, GalaxyID memberID, const char *key, char *buffer, uint32_t bufferLength)=0
 Copies an entry from the properties of a specified member of a specified lobby. More...
 
virtual void SetLobbyMemberData (GalaxyID lobbyID, const char *key, const char *value, ILobbyMemberDataUpdateListener *const listener=NULL)=0
 Creates or updates an entry in the user's properties (as a lobby member) in a specified lobby. More...
 
virtual uint32_t GetLobbyMemberDataCount (GalaxyID lobbyID, GalaxyID memberID)=0
 Returns the number of entries in the properties of a specified member of a specified lobby. More...
 
virtual bool GetLobbyMemberDataByIndex (GalaxyID lobbyID, GalaxyID memberID, uint32_t index, char *key, uint32_t keyLength, char *value, uint32_t valueLength)=0
 Returns a property of a specified lobby member by index. More...
 
virtual void DeleteLobbyMemberData (GalaxyID lobbyID, const char *key, ILobbyMemberDataUpdateListener *const listener=NULL)=0
 Clears a property of a specified lobby member by its name. More...
 
virtual GalaxyID GetLobbyOwner (GalaxyID lobbyID)=0
 Returns the owner of a specified lobby. More...
 
virtual bool SendLobbyMessage (GalaxyID lobbyID, const void *data, uint32_t dataSize)=0
 Sends a message to all lobby members, including the sender. More...
 
virtual uint32_t GetLobbyMessage (GalaxyID lobbyID, uint32_t messageID, GalaxyID &senderID, char *msg, uint32_t msgLength)=0
 Receives a specified message from one of the members of a specified lobby. More...
 
-

Detailed Description

-

The interface for managing game lobbies.

-

Member Function Documentation

- -

◆ AddRequestLobbyListNearValueFilter()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void AddRequestLobbyListNearValueFilter (const char * keyToMatch,
int32_t valueToBeCloseTo 
)
-
-pure virtual
-
- -

Adds a near value filter to be applied next time you call RequestLobbyList().

-

You can add multiple filters. All filters operate on lobby properties.

-
Remarks
After each call to RequestLobbyList() all filters are cleared.
-
Parameters
- - - -
[in]keyToMatchThe key to match.
[in]valueToBeCloseToThe value to be close to.
-
-
- -
-
- -

◆ AddRequestLobbyListNumericalFilter()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
virtual void AddRequestLobbyListNumericalFilter (const char * keyToMatch,
int32_t valueToMatch,
LobbyComparisonType comparisonType 
)
-
-pure virtual
-
- -

Adds a numerical filter to be applied next time you call RequestLobbyList().

-

You can add multiple filters. All filters operate on lobby properties.

-
Remarks
After each call to RequestLobbyList() all filters are cleared.
-
Parameters
- - - - -
[in]keyToMatchThe key to match.
[in]valueToMatchThe value to match.
[in]comparisonTypeThe type of comparison.
-
-
- -
-
- -

◆ AddRequestLobbyListResultCountFilter()

- -
-
- - - - - -
- - - - - - - - -
virtual void AddRequestLobbyListResultCountFilter (uint32_t limit)
-
-pure virtual
-
- -

Sets the maximum number of lobbies to be returned next time you call RequestLobbyList().

-

You can add multiple filters. All filters operate on lobby properties.

-
Remarks
After each call to RequestLobbyList() all filters are cleared.
-
Parameters
- - -
[in]limitThe maximum non-zero number of lobbies to retrieve.
-
-
- -
-
- -

◆ AddRequestLobbyListStringFilter()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
virtual void AddRequestLobbyListStringFilter (const char * keyToMatch,
const char * valueToMatch,
LobbyComparisonType comparisonType 
)
-
-pure virtual
-
- -

Adds a string filter to be applied next time you call RequestLobbyList().

-

You can add multiple filters. All filters operate on lobby properties.

-
Remarks
After each call to RequestLobbyList() all filters are cleared.
-
Parameters
- - - - -
[in]keyToMatchThe key to match.
[in]valueToMatchThe value to match.
[in]comparisonTypeThe type of comparison.
-
-
- -
-
- -

◆ CreateLobby()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
virtual void CreateLobby (LobbyType lobbyType,
uint32_t maxMembers,
bool joinable,
LobbyTopologyType lobbyTopologyType,
ILobbyCreatedListener *const lobbyCreatedListener = NULL,
ILobbyEnteredListener *const lobbyEnteredListener = NULL 
)
-
-pure virtual
-
- -

Creates a lobby.

-

Depending on the lobby type specified, the lobby will be visible for other users and joinable either for everyone or just specific users.

-

This call is asynchronous. Responses come to the ILobbyCreatedListener, as well as ILobbyEnteredListener, provided that the lobby was created successfully, in which case the owning user enters it automatically.

-
Parameters
- - - - - - - -
[in]lobbyTypeThe type of the lobby.
[in]maxMembersThe maximum number of members allowed for the lobby with the limit of 250 members.
[in]joinableIs the lobby joinable.
[in]lobbyTopologyTypeThe type of the lobby topology.
[in]lobbyCreatedListenerThe lobby creation listener for specific operation call.
[in]lobbyEnteredListenerThe lobby entering listener for specific operation call.
-
-
- -
-
- -

◆ DeleteLobbyData()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
virtual void DeleteLobbyData (GalaxyID lobbyID,
const char * key,
ILobbyDataUpdateListener *const listener = NULL 
)
-
-pure virtual
-
- -

Clears a property of a specified lobby by its name.

-

This is the same as calling SetLobbyData() and providing an empty string as the value of the property that is to be altered.

-

Each user that is a member of the lobby will receive a notification when the properties of the lobby are changed. The notifications come to ILobbyDataListener.

-
Parameters
- - - - -
[in]lobbyIDThe ID of the lobby.
[in]keyThe name of the property of the lobby.
[in]listenerThe listener for specific operation.
-
-
- -
-
- -

◆ DeleteLobbyMemberData()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
virtual void DeleteLobbyMemberData (GalaxyID lobbyID,
const char * key,
ILobbyMemberDataUpdateListener *const listener = NULL 
)
-
-pure virtual
-
- -

Clears a property of a specified lobby member by its name.

-

This is the same as calling SetLobbyMemberData() and providing an empty string as the value of the property that is to be altered.

-

Each user that is a member of the lobby will receive a notification when the lobby member properties are changed. The notifications come to ILobbyDataListener.

-
Parameters
- - - - -
[in]lobbyIDThe ID of the lobby.
[in]keyThe name of the property of the lobby member.
[in]listenerThe listener for specific operation.
-
-
- -
-
- -

◆ GetLobbyByIndex()

- -
-
- - - - - -
- - - - - - - - -
virtual GalaxyID GetLobbyByIndex (uint32_t index)
-
-pure virtual
-
- -

Returns GalaxyID of a retrieved lobby by index.

-

Use this call to iterate over last retrieved lobbies, indexed from 0.

-
Remarks
This method can be used only inside of ILobbyListListener::OnLobbyList().
-
Precondition
In order to retrieve lobbies and get their count, you need to call RequestLobbyList() first.
-
Parameters
- - -
[in]indexIndex as an integer in the range of [0, number of lobbies fetched).
-
-
-
Returns
The ID of the lobby, valid only if the index is valid.
- -
-
- -

◆ GetLobbyData()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual const char* GetLobbyData (GalaxyID lobbyID,
const char * key 
)
-
-pure virtual
-
- -

Returns an entry from the properties of a specified lobby.

-

It returns an empty string if there is no such property of the lobby, or if the ID of the lobby is invalid.

-
Remarks
This call is not thread-safe as opposed to GetLobbyDataCopy().
-
Precondition
If not currently in the lobby, retrieve the data first by calling RequestLobbyData().
-
Parameters
- - - -
[in]lobbyIDThe ID of the lobby.
[in]keyThe name of the property of the lobby.
-
-
-
Returns
The value of the property, or an empty string if failed.
- -
-
- -

◆ GetLobbyDataByIndex()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
virtual bool GetLobbyDataByIndex (GalaxyID lobbyID,
uint32_t index,
char * key,
uint32_t keyLength,
char * value,
uint32_t valueLength 
)
-
-pure virtual
-
- -

Returns a property of a specified lobby by index.

-
Parameters
- - - - - - - -
[in]lobbyIDThe ID of the lobby.
[in]indexIndex as an integer in the range of [0, number of entries).
[in,out]keyThe name of the property of the lobby.
[in]keyLengthThe length of the name of the property of the lobby.
[in,out]valueThe value of the property of the lobby.
[in]valueLengthThe length of the value of the property of the lobby.
-
-
-
Returns
true if succeeded, false when there is no such property.
- -
-
- -

◆ GetLobbyDataCopy()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
virtual void GetLobbyDataCopy (GalaxyID lobbyID,
const char * key,
char * buffer,
uint32_t bufferLength 
)
-
-pure virtual
-
- -

Copies an entry from the properties of a specified lobby.

-

It copies an empty string if there is no such property of the lobby, or if the ID of the lobby is invalid.

-
Precondition
If not currently in the lobby, retrieve the data first by calling RequestLobbyData().
-
Parameters
- - - - - -
[in]lobbyIDThe ID of the lobby.
[in]keyThe name of the property of the lobby.
[in,out]bufferThe output buffer.
[in]bufferLengthThe size of the output buffer.
-
-
- -
-
- -

◆ GetLobbyDataCount()

- -
-
- - - - - -
- - - - - - - - -
virtual uint32_t GetLobbyDataCount (GalaxyID lobbyID)
-
-pure virtual
-
- -

Returns the number of entries in the properties of a specified lobby.

-
Precondition
If not currently in the lobby, retrieve the data first by calling RequestLobbyData().
-
Parameters
- - -
[in]lobbyIDThe ID of the lobby.
-
-
-
Returns
The number of entries, or 0 if failed.
- -
-
- -

◆ GetLobbyMemberByIndex()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual GalaxyID GetLobbyMemberByIndex (GalaxyID lobbyID,
uint32_t index 
)
-
-pure virtual
-
- -

Returns the GalaxyID of a user in a specified lobby.

-
Precondition
The user must be in the lobby in order to retrieve the lobby members.
-
Parameters
- - - -
[in]lobbyIDThe ID of the lobby.
[in]indexIndex as an integer in the range of [0, number of lobby members).
-
-
-
Returns
The ID of the lobby member, valid only if the index is valid.
- -
-
- -

◆ GetLobbyMemberData()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
virtual const char* GetLobbyMemberData (GalaxyID lobbyID,
GalaxyID memberID,
const char * key 
)
-
-pure virtual
-
- -

Returns an entry from the properties of a specified member of a specified lobby.

-

It returns an empty string if there is no such property of the member of the lobby, or if any of the specified IDs are invalid (including false membership).

-
Remarks
This call is not thread-safe as opposed to GetLobbyMemberDataCopy().
-
Precondition
If not currently in the lobby, retrieve the data first by calling RequestLobbyData().
-
Parameters
- - - - -
[in]lobbyIDThe ID of the lobby.
[in]memberIDThe ID of the lobby member.
[in]keyThe name of the property of the lobby member.
-
-
-
Returns
The value of the property, or an empty string if failed.
- -
-
- -

◆ GetLobbyMemberDataByIndex()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
virtual bool GetLobbyMemberDataByIndex (GalaxyID lobbyID,
GalaxyID memberID,
uint32_t index,
char * key,
uint32_t keyLength,
char * value,
uint32_t valueLength 
)
-
-pure virtual
-
- -

Returns a property of a specified lobby member by index.

-
Parameters
- - - - - - - - -
[in]lobbyIDThe ID of the lobby.
[in]memberIDThe ID of the lobby member.
[in]indexIndex as an integer in the range of [0, number of entries).
[in,out]keyThe name of the property of the lobby member.
[in]keyLengthThe length of the name of the property of the lobby member.
[in,out]valueThe value of the property of the lobby member.
[in]valueLengthThe length of the value of the property of the lobby member.
-
-
-
Returns
true if succeeded, false when there is no such property.
- -
-
- -

◆ GetLobbyMemberDataCopy()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
virtual void GetLobbyMemberDataCopy (GalaxyID lobbyID,
GalaxyID memberID,
const char * key,
char * buffer,
uint32_t bufferLength 
)
-
-pure virtual
-
- -

Copies an entry from the properties of a specified member of a specified lobby.

-

It copies an empty string if there is no such property of the member of the lobby, or if any of the specified IDs are invalid (including false membership).

-
Precondition
If not currently in the lobby, retrieve the data first by calling RequestLobbyData().
-
Parameters
- - - - - - -
[in]lobbyIDThe ID of the lobby.
[in]memberIDThe ID of the lobby member.
[in]keyThe name of the property of the lobby member.
[in,out]bufferThe output buffer.
[in]bufferLengthThe size of the output buffer.
-
-
- -
-
- -

◆ GetLobbyMemberDataCount()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual uint32_t GetLobbyMemberDataCount (GalaxyID lobbyID,
GalaxyID memberID 
)
-
-pure virtual
-
- -

Returns the number of entries in the properties of a specified member of a specified lobby.

-
Precondition
If not currently in the lobby, retrieve the data first by calling RequestLobbyData().
-
Parameters
- - - -
[in]lobbyIDThe ID of the lobby.
[in]memberIDThe ID of the lobby member.
-
-
-
Returns
The number of entries, or 0 if failed.
- -
-
- -

◆ GetLobbyMessage()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
virtual uint32_t GetLobbyMessage (GalaxyID lobbyID,
uint32_t messageID,
GalaxyIDsenderID,
char * msg,
uint32_t msgLength 
)
-
-pure virtual
-
- -

Receives a specified message from one of the members of a specified lobby.

-
Parameters
- - - - - - -
[in]lobbyIDThe ID of the lobby.
[in]messageIDThe ID of the message.
[out]senderIDThe ID of the sender.
[in,out]msgThe buffer to pass the data to.
[in]msgLengthThe size of the buffer.
-
-
-
Returns
The number of bytes written to the buffer.
- -
-
- -

◆ GetLobbyOwner()

- -
-
- - - - - -
- - - - - - - - -
virtual GalaxyID GetLobbyOwner (GalaxyID lobbyID)
-
-pure virtual
-
- -

Returns the owner of a specified lobby.

-
Precondition
If not currently in the lobby, retrieve the data first by calling RequestLobbyData().
-
Parameters
- - -
[in]lobbyIDThe ID of the lobby.
-
-
-
Returns
The ID of the lobby member who is also its owner, valid only when called by a member.
- -
-
- -

◆ GetLobbyType()

- -
-
- - - - - -
- - - - - - - - -
virtual LobbyType GetLobbyType (GalaxyID lobbyID)
-
-pure virtual
-
- -

Returns the type of a specified lobby.

-
Precondition
If not currently in the lobby, retrieve the data first by calling RequestLobbyData().
-
Parameters
- - -
[in]lobbyIDThe ID of the lobby.
-
-
-
Returns
lobbyType The type of the lobby.
- -
-
- -

◆ GetMaxNumLobbyMembers()

- -
-
- - - - - -
- - - - - - - - -
virtual uint32_t GetMaxNumLobbyMembers (GalaxyID lobbyID)
-
-pure virtual
-
- -

Returns the maximum number of users that can be in a specified lobby.

-
Precondition
If not currently in the lobby, retrieve the data first by calling RequestLobbyData().
-
Parameters
- - -
[in]lobbyIDThe ID of the lobby to check.
-
-
-
Returns
The maximum number of members allowed for the lobby.
- -
-
- -

◆ GetNumLobbyMembers()

- -
-
- - - - - -
- - - - - - - - -
virtual uint32_t GetNumLobbyMembers (GalaxyID lobbyID)
-
-pure virtual
-
- -

Returns the number of users in a specified lobby.

-
Precondition
If not currently in the lobby, retrieve the data first by calling RequestLobbyData().
-
Parameters
- - -
[in]lobbyIDThe ID of the lobby to check.
-
-
-
Returns
The number of members of the lobby.
- -
-
- -

◆ IsLobbyJoinable()

- -
-
- - - - - -
- - - - - - - - -
virtual bool IsLobbyJoinable (GalaxyID lobbyID)
-
-pure virtual
-
- -

Checks if a specified lobby is joinable.

-
Precondition
If not currently in the lobby, retrieve the data first by calling RequestLobbyData().
-
Parameters
- - -
[in]lobbyIDThe ID of the lobby.
-
-
-
Returns
If the lobby is joinable.
- -
-
- -

◆ JoinLobby()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void JoinLobby (GalaxyID lobbyID,
ILobbyEnteredListener *const listener = NULL 
)
-
-pure virtual
-
- -

Joins a specified existing lobby.

-

This call is asynchronous. Responses come to the ILobbyEnteredListener.

-

For other lobby members notifications come to the ILobbyMemberStateListener.

-
Parameters
- - - -
[in]lobbyIDThe ID of the lobby to join.
[in]listenerThe listener for specific operation call.
-
-
- -
-
- -

◆ LeaveLobby()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void LeaveLobby (GalaxyID lobbyID,
ILobbyLeftListener *const listener = NULL 
)
-
-pure virtual
-
- -

Leaves a specified lobby.

-

ILobbyLeftListener will be called when lobby is left. For other lobby members notifications come to the ILobbyMemberStateListener.

-

Lobby data and lobby messages will not be reachable for lobby that we left.

-
Parameters
- - - -
[in]lobbyIDThe ID of the lobby to leave.
[in]listenerThe listener for specific operation call.
-
-
- -
-
- -

◆ RequestLobbyData()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void RequestLobbyData (GalaxyID lobbyID,
ILobbyDataRetrieveListener *const listener = NULL 
)
-
-pure virtual
-
- -

Refreshes info about a specified lobby.

-

This is needed only for the lobbies that the user is not currently in, since for entered lobbies any info is updated automatically.

-

This call is asynchronous. Responses come to the ILobbyDataListener and ILobbyDataRetrieveListener.

-
Parameters
- - - -
[in]lobbyIDThe ID of the lobby.
[in]listenerThe listener for specific operation call.
-
-
- -
-
- -

◆ RequestLobbyList()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void RequestLobbyList (bool allowFullLobbies = false,
ILobbyListListener *const listener = NULL 
)
-
-pure virtual
-
- -

Performs a request for a list of relevant lobbies.

-

This call is asynchronous. When the list is received, a notification will come to the ILobbyListListener. The notification contains only the number of lobbies that were found and are available for reading.

-

In order to read subsequent lobbies, call GetLobbyByIndex().

-
Remarks
The resulting list of lobbies is filtered according to all the filters that were specified prior to this call and after the previous request for lobby list, since filters are consumed only once and not used again.
-
-Full lobbies are never included in the list.
-
Parameters
- - - -
[in]allowFullLobbiesAre full lobbies allowed.
[in]listenerThe listener for specific operation call.
-
-
- -
-
- -

◆ SendLobbyMessage()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
virtual bool SendLobbyMessage (GalaxyID lobbyID,
const void * data,
uint32_t dataSize 
)
-
-pure virtual
-
- -

Sends a message to all lobby members, including the sender.

-

For all the lobby members there comes a notification to the ILobbyMessageListener. Since that moment it is possible to retrieve the message by ID using GetLobbyMessage().

-
Precondition
The user needs to be in the lobby in order to send a message to its members.
-
Parameters
- - - - -
[in]lobbyIDThe ID of the lobby.
[in]dataThe data to send.
[in]dataSizeThe length of the data.
-
-
-
Returns
true if the message was scheduled for sending, false otherwise.
- -
-
- -

◆ SetLobbyData()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
virtual void SetLobbyData (GalaxyID lobbyID,
const char * key,
const char * value,
ILobbyDataUpdateListener *const listener = NULL 
)
-
-pure virtual
-
- -

Creates or updates an entry in the properties of a specified lobby.

-

The properties can be used for matchmaking or broadcasting any lobby data (e.g. the name of the lobby) to other Galaxy Peers.

-

The properties are assigned to the lobby and available for matchmaking. Each user that is a member of the lobby will receive a notification when the properties of the lobby are changed. The notifications come to ILobbyDataListener.

-

Any user that joins the lobby will be able to read the data.

-
Remarks
To clear a property, set it to an empty string.
-
Precondition
Only the owner of the lobby can edit its properties.
-
Parameters
- - - - - -
[in]lobbyIDThe ID of the lobby.
[in]keyThe name of the property of the lobby with the limit of 1023 bytes.
[in]valueThe value of the property to set with the limit of 4095 bytes.
[in]listenerThe listener for specific operation.
-
-
- -
-
- -

◆ SetLobbyJoinable()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
virtual void SetLobbyJoinable (GalaxyID lobbyID,
bool joinable,
ILobbyDataUpdateListener *const listener = NULL 
)
-
-pure virtual
-
- -

Sets if a specified lobby is joinable.

-
Remarks
When a lobby is not joinable, no user can join in even if there are still some empty slots for lobby members. The lobby is also hidden from matchmaking.
-
-Newly created lobbies are joinable by default. Close a lobby by making it not joinable e.g. when the game has started and no new lobby members are allowed.
-
Parameters
- - - - -
[in]lobbyIDThe ID of the lobby.
[in]joinableIs the lobby joinable.
[in]listenerThe listener for specific operation.
-
-
- -
-
- -

◆ SetLobbyMemberData()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
virtual void SetLobbyMemberData (GalaxyID lobbyID,
const char * key,
const char * value,
ILobbyMemberDataUpdateListener *const listener = NULL 
)
-
-pure virtual
-
- -

Creates or updates an entry in the user's properties (as a lobby member) in a specified lobby.

-

The properties can be used for broadcasting any data as the lobby member data (e.g. the name of the user in the lobby) to other lobby members.

-

The properties are assigned to the user as a lobby member in the lobby. Each user that is a member of the lobby will receive a notification when the lobby member properties are changed. The notifications come to ILobbyDataListener.

-

Any user that joins the lobby will be able to read the data.

-
Remarks
To clear a property, set it to an empty string.
-
Parameters
- - - - - -
[in]lobbyIDThe ID of the lobby.
[in]keyThe name of the property of the lobby member with the limit of 1023 bytes.
[in]valueThe value of the property to set with the limit of 4095 bytes.
[in]listenerThe listener for specific operation.
-
-
- -
-
- -

◆ SetLobbyType()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
virtual void SetLobbyType (GalaxyID lobbyID,
LobbyType lobbyType,
ILobbyDataUpdateListener *const listener = NULL 
)
-
-pure virtual
-
- -

Sets the type of a specified lobby.

-
Parameters
- - - - -
[in]lobbyIDThe ID of the lobby.
[in]lobbyTypeThe type of the lobby.
[in]listenerThe listener for specific operation.
-
-
- -
-
- -

◆ SetMaxNumLobbyMembers()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
virtual void SetMaxNumLobbyMembers (GalaxyID lobbyID,
uint32_t maxNumLobbyMembers,
ILobbyDataUpdateListener *const listener = NULL 
)
-
-pure virtual
-
- -

Sets the maximum number of users that can be in a specified lobby.

-
Parameters
- - - - -
[in]lobbyIDThe ID of the lobby to check.
[in]maxNumLobbyMembersThe maximum number of members allowed for the lobby with the limit of 250 members.
[in]listenerThe listener for specific operation.
-
-
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IMatchmaking.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IMatchmaking.js deleted file mode 100644 index 7501c1e57..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IMatchmaking.js +++ /dev/null @@ -1,37 +0,0 @@ -var classgalaxy_1_1api_1_1IMatchmaking = -[ - [ "~IMatchmaking", "classgalaxy_1_1api_1_1IMatchmaking.html#a4984fac2f626363ee119256d5e361ec2", null ], - [ "AddRequestLobbyListNearValueFilter", "classgalaxy_1_1api_1_1IMatchmaking.html#af8fd83c5ee487eca6862e2b8f5d3fc73", null ], - [ "AddRequestLobbyListNumericalFilter", "classgalaxy_1_1api_1_1IMatchmaking.html#a3fd3d34a2cccaf9bfe237418ab368329", null ], - [ "AddRequestLobbyListResultCountFilter", "classgalaxy_1_1api_1_1IMatchmaking.html#ad8b19c6d5c86194b90c01c1d14ba3ef7", null ], - [ "AddRequestLobbyListStringFilter", "classgalaxy_1_1api_1_1IMatchmaking.html#a04440a136415d4c6f5272c9cca52b56e", null ], - [ "CreateLobby", "classgalaxy_1_1api_1_1IMatchmaking.html#a092de26b8b91e450552a12494dce4644", null ], - [ "DeleteLobbyData", "classgalaxy_1_1api_1_1IMatchmaking.html#a4f413410b728855d1d1a9e400d3ac259", null ], - [ "DeleteLobbyMemberData", "classgalaxy_1_1api_1_1IMatchmaking.html#ab43f4d563799e071ba889c36b8db81ce", null ], - [ "GetLobbyByIndex", "classgalaxy_1_1api_1_1IMatchmaking.html#aec7feb30e61e3ad6b606b23649c56cc2", null ], - [ "GetLobbyData", "classgalaxy_1_1api_1_1IMatchmaking.html#a9f5a411d64cf35ad1ed6c87d7f5b465b", null ], - [ "GetLobbyDataByIndex", "classgalaxy_1_1api_1_1IMatchmaking.html#a81176ccf6d66aa5b2af62695e4abb3e4", null ], - [ "GetLobbyDataCopy", "classgalaxy_1_1api_1_1IMatchmaking.html#a11e88cacb3f95d38ff5622976ef2a5fa", null ], - [ "GetLobbyDataCount", "classgalaxy_1_1api_1_1IMatchmaking.html#a80ab767663908892e6d442a079dcdff9", null ], - [ "GetLobbyMemberByIndex", "classgalaxy_1_1api_1_1IMatchmaking.html#a7d4cc75cea4a211d399f3bd37b870ccd", null ], - [ "GetLobbyMemberData", "classgalaxy_1_1api_1_1IMatchmaking.html#acfc05eaa67dd8dbd90d3ad78af014aa2", null ], - [ "GetLobbyMemberDataByIndex", "classgalaxy_1_1api_1_1IMatchmaking.html#acc583230e2b8352f4cffc2bc91d367b7", null ], - [ "GetLobbyMemberDataCopy", "classgalaxy_1_1api_1_1IMatchmaking.html#aa2f5e017878bc9b65379832cbb578af5", null ], - [ "GetLobbyMemberDataCount", "classgalaxy_1_1api_1_1IMatchmaking.html#ae126e8b323d66e6433fa5424aab85e22", null ], - [ "GetLobbyMessage", "classgalaxy_1_1api_1_1IMatchmaking.html#a372290fa1405296bae96afe7476e1147", null ], - [ "GetLobbyOwner", "classgalaxy_1_1api_1_1IMatchmaking.html#ab70f27b6307243a8d3054cb39efc0789", null ], - [ "GetLobbyType", "classgalaxy_1_1api_1_1IMatchmaking.html#a70af013e7dfa5b40d44520c6f9cd41d2", null ], - [ "GetMaxNumLobbyMembers", "classgalaxy_1_1api_1_1IMatchmaking.html#a8007909a1e97a3f026546481f0e06c12", null ], - [ "GetNumLobbyMembers", "classgalaxy_1_1api_1_1IMatchmaking.html#a3afa0810758ebfd189ad6c871d216b4d", null ], - [ "IsLobbyJoinable", "classgalaxy_1_1api_1_1IMatchmaking.html#a85ad3a098cc95e8e6adeef88712cdc77", null ], - [ "JoinLobby", "classgalaxy_1_1api_1_1IMatchmaking.html#a809b3d5508a63bd183bcd72682ce7113", null ], - [ "LeaveLobby", "classgalaxy_1_1api_1_1IMatchmaking.html#a96dfce0b1e35fdc46f61eadaa9639f49", null ], - [ "RequestLobbyData", "classgalaxy_1_1api_1_1IMatchmaking.html#a26d24d194a26e7596ee00b7866c8f244", null ], - [ "RequestLobbyList", "classgalaxy_1_1api_1_1IMatchmaking.html#a3968e89f7989f0271c795bde7f894cd5", null ], - [ "SendLobbyMessage", "classgalaxy_1_1api_1_1IMatchmaking.html#a61228fc0b2683c365e3993b251814ac5", null ], - [ "SetLobbyData", "classgalaxy_1_1api_1_1IMatchmaking.html#a665683ee5377f48f6a10e57be41d35bd", null ], - [ "SetLobbyJoinable", "classgalaxy_1_1api_1_1IMatchmaking.html#a1b2e04c42a169da9deb5969704b67a85", null ], - [ "SetLobbyMemberData", "classgalaxy_1_1api_1_1IMatchmaking.html#a6e261274b1b12773851ca54be7a3ac04", null ], - [ "SetLobbyType", "classgalaxy_1_1api_1_1IMatchmaking.html#ab7e0c34b0df5814515506dcbfcb894c0", null ], - [ "SetMaxNumLobbyMembers", "classgalaxy_1_1api_1_1IMatchmaking.html#acbb790062f8185019e409918a8029a7c", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1INatTypeDetectionListener-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1INatTypeDetectionListener-members.html deleted file mode 100644 index 3a3dafd1d..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1INatTypeDetectionListener-members.html +++ /dev/null @@ -1,110 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
INatTypeDetectionListener Member List
-
-
- -

This is the complete list of members for INatTypeDetectionListener, including all inherited members.

- - - - - -
GetListenerType()GalaxyTypeAwareListener< NAT_TYPE_DETECTION >inlinestatic
OnNatTypeDetectionFailure()=0INatTypeDetectionListenerpure virtual
OnNatTypeDetectionSuccess(NatType natType)=0INatTypeDetectionListenerpure virtual
~IGalaxyListener() (defined in IGalaxyListener)IGalaxyListenerinlinevirtual
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1INatTypeDetectionListener.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1INatTypeDetectionListener.html deleted file mode 100644 index 7a20190a1..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1INatTypeDetectionListener.html +++ /dev/null @@ -1,173 +0,0 @@ - - - - - - - -GOG Galaxy: INatTypeDetectionListener Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
INatTypeDetectionListener Class Referenceabstract
-
-
- -

Listener for the events related to NAT type detection. - More...

- -

#include <INetworking.h>

-
-Inheritance diagram for INatTypeDetectionListener:
-
-
-
-
[legend]
- - - - - - - - -

-Public Member Functions

virtual void OnNatTypeDetectionSuccess (NatType natType)=0
 Notification for the event of a success in NAT type detection. More...
 
-virtual void OnNatTypeDetectionFailure ()=0
 Notification for the event of a failure in NAT type detection.
 
- - - - - -

-Additional Inherited Members

- Static Public Member Functions inherited from GalaxyTypeAwareListener< NAT_TYPE_DETECTION >
static ListenerType GetListenerType ()
 Returns the type of the listener. More...
 
-

Detailed Description

-

Listener for the events related to NAT type detection.

-

Member Function Documentation

- -

◆ OnNatTypeDetectionSuccess()

- -
-
- - - - - -
- - - - - - - - -
virtual void OnNatTypeDetectionSuccess (NatType natType)
-
-pure virtual
-
- -

Notification for the event of a success in NAT type detection.

-
Parameters
- - -
[in]natTypeThe NAT type.
-
-
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1INatTypeDetectionListener.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1INatTypeDetectionListener.js deleted file mode 100644 index 56f8502ab..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1INatTypeDetectionListener.js +++ /dev/null @@ -1,5 +0,0 @@ -var classgalaxy_1_1api_1_1INatTypeDetectionListener = -[ - [ "OnNatTypeDetectionFailure", "classgalaxy_1_1api_1_1INatTypeDetectionListener.html#af40081fd5f73a291b0ff0f83037f1de8", null ], - [ "OnNatTypeDetectionSuccess", "classgalaxy_1_1api_1_1INatTypeDetectionListener.html#abc8873bccaa5e9aaa69295fca4821efc", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1INatTypeDetectionListener__inherit__graph.map b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1INatTypeDetectionListener__inherit__graph.map deleted file mode 100644 index d3dc95aee..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1INatTypeDetectionListener__inherit__graph.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1INatTypeDetectionListener__inherit__graph.md5 b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1INatTypeDetectionListener__inherit__graph.md5 deleted file mode 100644 index 96bb71321..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1INatTypeDetectionListener__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -911373ffd395a3fad171de16aead8569 \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1INatTypeDetectionListener__inherit__graph.svg b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1INatTypeDetectionListener__inherit__graph.svg deleted file mode 100644 index 236922216..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1INatTypeDetectionListener__inherit__graph.svg +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - -INatTypeDetectionListener - - -Node0 - - -INatTypeDetectionListener - - - - -Node1 - - -GalaxyTypeAwareListener -< NAT_TYPE_DETECTION > - - - - -Node1->Node0 - - - - -Node2 - - -IGalaxyListener - - - - -Node2->Node1 - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1INetworking-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1INetworking-members.html deleted file mode 100644 index 8d93ad4d0..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1INetworking-members.html +++ /dev/null @@ -1,116 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
INetworking Member List
-
-
- -

This is the complete list of members for INetworking, including all inherited members.

- - - - - - - - - - - -
GetConnectionType(GalaxyID userID)=0INetworkingpure virtual
GetNatType()=0INetworkingpure virtual
GetPingWith(GalaxyID galaxyID)=0INetworkingpure virtual
IsP2PPacketAvailable(uint32_t *outMsgSize, uint8_t channel=0)=0INetworkingpure virtual
PeekP2PPacket(void *dest, uint32_t destSize, uint32_t *outMsgSize, GalaxyID &outGalaxyID, uint8_t channel=0)=0INetworkingpure virtual
PopP2PPacket(uint8_t channel=0)=0INetworkingpure virtual
ReadP2PPacket(void *dest, uint32_t destSize, uint32_t *outMsgSize, GalaxyID &outGalaxyID, uint8_t channel=0)=0INetworkingpure virtual
RequestNatTypeDetection()=0INetworkingpure virtual
SendP2PPacket(GalaxyID galaxyID, const void *data, uint32_t dataSize, P2PSendType sendType, uint8_t channel=0)=0INetworkingpure virtual
~INetworking() (defined in INetworking)INetworkinginlinevirtual
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1INetworking.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1INetworking.html deleted file mode 100644 index 9738ebd04..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1INetworking.html +++ /dev/null @@ -1,578 +0,0 @@ - - - - - - - -GOG Galaxy: INetworking Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
INetworking Class Referenceabstract
-
-
- -

The interface for communicating with other Galaxy Peers. - More...

- -

#include <INetworking.h>

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

virtual bool SendP2PPacket (GalaxyID galaxyID, const void *data, uint32_t dataSize, P2PSendType sendType, uint8_t channel=0)=0
 Sends a P2P packet to a specified user. More...
 
virtual bool PeekP2PPacket (void *dest, uint32_t destSize, uint32_t *outMsgSize, GalaxyID &outGalaxyID, uint8_t channel=0)=0
 Reads an incoming packet that was sent from another Galaxy Peer by calling SendP2PPacket() with the same channel number. More...
 
virtual bool IsP2PPacketAvailable (uint32_t *outMsgSize, uint8_t channel=0)=0
 Checks for any incoming packets on a specified channel. More...
 
virtual bool ReadP2PPacket (void *dest, uint32_t destSize, uint32_t *outMsgSize, GalaxyID &outGalaxyID, uint8_t channel=0)=0
 Reads an incoming packet that was sent from another Galaxy Peer by calling SendP2PPacket() with the same channel number. More...
 
virtual void PopP2PPacket (uint8_t channel=0)=0
 Removes the first packet from the packet queue. More...
 
virtual int GetPingWith (GalaxyID galaxyID)=0
 Retrieves current ping value in milliseconds with a specified entity, i.e. More...
 
virtual void RequestNatTypeDetection ()=0
 Initiates a NAT type detection process. More...
 
virtual NatType GetNatType ()=0
 Retrieves determined NAT type. More...
 
virtual ConnectionType GetConnectionType (GalaxyID userID)=0
 Retrieves connection type of the specified user. More...
 
-

Detailed Description

-

The interface for communicating with other Galaxy Peers.

-

Member Function Documentation

- -

◆ GetConnectionType()

- -
-
- - - - - -
- - - - - - - - -
virtual ConnectionType GetConnectionType (GalaxyID userID)
-
-pure virtual
-
- -

Retrieves connection type of the specified user.

-
Remarks
CONNECTION_TYPE_DIRECT is returned for the current user ID.
-
Parameters
- - -
[in]userIDID of the specified user to check connection type.
-
-
-
Returns
The connection type of the specified user.
- -
-
- -

◆ GetNatType()

- -
-
- - - - - -
- - - - - - - -
virtual NatType GetNatType ()
-
-pure virtual
-
- -

Retrieves determined NAT type.

-
Precondition
Initial value of NAT type is NAT_TYPE_UNKNOWN.
-
-NAT type detection is performed automatically when creating or joining a lobby for the first time.
-
-NAT type can be detected by calling RequestNatTypeDetection() without creating or joining a lobby.
-
Returns
The determined NAT type.
- -
-
- -

◆ GetPingWith()

- -
-
- - - - - -
- - - - - - - - -
virtual int GetPingWith (GalaxyID galaxyID)
-
-pure virtual
-
- -

Retrieves current ping value in milliseconds with a specified entity, i.e.

-

another member of the same lobby that the current user is in, or the lobby itself, in which case the returned value is the ping with the lobby owner. For lobbies that the current user is not in, an approximate ping is returned.

-
Precondition
To get an approximate ping, the lobby has to be first retrieved with either IMatchmaking::RequestLobbyList() or IMatchmaking::RequestLobbyData().
-
Parameters
- - -
[in]galaxyIDID of the specified user or lobby to check ping with.
-
-
-
Returns
Ping with the target entity or -1 if the target entity is not connected or the ping has not been determined yet.
- -
-
- -

◆ IsP2PPacketAvailable()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual bool IsP2PPacketAvailable (uint32_t * outMsgSize,
uint8_t channel = 0 
)
-
-pure virtual
-
- -

Checks for any incoming packets on a specified channel.

-
Remarks
Do not call this method if employing INetworkingListener. Instead, during the notification about an incoming packet read packets by calling PeekP2PPacket().
-
Parameters
- - - -
[in,out]outMsgSizeThe size of the first incoming message if there is any.
[in]channelThe number of the channel to use.
-
-
-
Returns
true if there are any awaiting incoming packets, false otherwise.
- -
-
- -

◆ PeekP2PPacket()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
virtual bool PeekP2PPacket (void * dest,
uint32_t destSize,
uint32_t * outMsgSize,
GalaxyIDoutGalaxyID,
uint8_t channel = 0 
)
-
-pure virtual
-
- -

Reads an incoming packet that was sent from another Galaxy Peer by calling SendP2PPacket() with the same channel number.

-

The packet that was read this way is left in the packet queue.

-

If the buffer that is supposed to take the data is too small, the message will be truncated to its size. The size of the packet is provided in the notification about an incoming packet in INetworkingListener during which this call is intended to be performed.

-

This call is non-blocking and operates on the awaiting packets that have already come to the Galaxy Peer, thus instantly finishes, claiming a failure if there are no packets on the specified channel yet.

-
Remarks
This call works similarly to ReadP2PPacket(), yet does not remove the packet from the packet queue.
-
Parameters
- - - - - - -
[in,out]destThe buffer to pass the data to.
[in]destSizeThe size of the buffer.
[in,out]outMsgSizeThe size of the message.
[out]outGalaxyIDThe ID of the user who sent the packet.
[in]channelThe number of the channel to use.
-
-
-
Returns
true if succeeded, false when there are no packets.
- -
-
- -

◆ PopP2PPacket()

- -
-
- - - - - -
- - - - - - - - -
virtual void PopP2PPacket (uint8_t channel = 0)
-
-pure virtual
-
- -

Removes the first packet from the packet queue.

-
Remarks
Do not call this method if employing INetworkingListener, since the packet that the notification is related to is automatically removed from the packet queue right after all the related notifications are finished.
-
Parameters
- - -
[in]channelThe number of the channel to use.
-
-
- -
-
- -

◆ ReadP2PPacket()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
virtual bool ReadP2PPacket (void * dest,
uint32_t destSize,
uint32_t * outMsgSize,
GalaxyIDoutGalaxyID,
uint8_t channel = 0 
)
-
-pure virtual
-
- -

Reads an incoming packet that was sent from another Galaxy Peer by calling SendP2PPacket() with the same channel number.

-

The packet that was read this way is removed from the packet queue.

-

This call is non-blocking and operates on the awaiting packets that have already come to the Galaxy Peer, thus instantly finishes, claiming a failure if there are no packets on the specified channel yet.

-
Remarks
This call is equivalent to calling PeekP2PPacket(), and then calling PopP2PPacket().
-
-Do not call this method if employing INetworkingListener since the packet that the notification is related to is automatically removed from the packet queue right after all the related notifications are finished. Instead, read the incoming packet by calling PeekP2PPacket() during the notification.
-
Precondition
If the buffer that is supposed to take the data is too small, the message will be truncated to its size. For that reason prior to reading a packet it is recommended to check for it by calling IsP2PPacketAvailable(), which also returns the packet size.
-
Parameters
- - - - - - -
[in,out]destThe buffer to pass the data to.
[in]destSizeThe size of the buffer.
[in,out]outMsgSizeThe size of the message.
[out]outGalaxyIDThe ID of the user who sent the packet.
[in]channelThe number of the channel to use.
-
-
-
Returns
true if succeeded, false when there are no packets.
- -
-
- -

◆ RequestNatTypeDetection()

- -
-
- - - - - -
- - - - - - - -
virtual void RequestNatTypeDetection ()
-
-pure virtual
-
- -

Initiates a NAT type detection process.

-

This call is asynchronous. Responses come to the INatTypeDetectionListener.

-
Remarks
NAT type detection is performed automatically when creating or joining a lobby for the first time.
- -
-
- -

◆ SendP2PPacket()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
virtual bool SendP2PPacket (GalaxyID galaxyID,
const void * data,
uint32_t dataSize,
P2PSendType sendType,
uint8_t channel = 0 
)
-
-pure virtual
-
- -

Sends a P2P packet to a specified user.

-

It is possible to communicate only with the users within the same lobby. It is recommended to send 1200 bytes at most in a single packet.

-

The channel is a routing number that allows to implement separate layers of communication while using the same existing connection in order to save some network resources. Since there is only a single connection between each two Galaxy Peers, the Galaxy Peer that is supposed to receive the packet needs to know which channel number to use when checking for incoming packets.

-

In order to receive the packet on the other Galaxy Peer, call there ReadP2PPacket() with the same channel number.

-

Packets addressed to a user (by providing a user ID as the GalaxyID) need to be received with the networking interface. Packets addressed to a lobby (by providing a lobby ID as the GalaxyID) come to the lobby owner that also acts as the game server.

-
Parameters
- - - - - - -
[in]galaxyIDID of the specified user to whom the packet is to be sent.
[in]dataThe data to send.
[in]dataSizeThe size of the data.
[in]sendTypeThe level of reliability of the operation.
[in]channelThe number of the channel to use.
-
-
-
Returns
true if the packet was scheduled for sending, false otherwise.
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1INetworking.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1INetworking.js deleted file mode 100644 index 1dbf23024..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1INetworking.js +++ /dev/null @@ -1,13 +0,0 @@ -var classgalaxy_1_1api_1_1INetworking = -[ - [ "~INetworking", "classgalaxy_1_1api_1_1INetworking.html#a307113b1784cd35d28c020c2a85d70ba", null ], - [ "GetConnectionType", "classgalaxy_1_1api_1_1INetworking.html#ac4786da1e56445c29cafe94c29b86185", null ], - [ "GetNatType", "classgalaxy_1_1api_1_1INetworking.html#aec50077fbe5a927028a1bffcb8bca52a", null ], - [ "GetPingWith", "classgalaxy_1_1api_1_1INetworking.html#a8949164f11b2f956fd0e4e1f1f8d1eb5", null ], - [ "IsP2PPacketAvailable", "classgalaxy_1_1api_1_1INetworking.html#aebff94c689ad6ad987b24f430a456677", null ], - [ "PeekP2PPacket", "classgalaxy_1_1api_1_1INetworking.html#ae17ea8db06874f4f48d72aa747e843b8", null ], - [ "PopP2PPacket", "classgalaxy_1_1api_1_1INetworking.html#aa7fbf9ee962869cdcdd6d356b1804dc2", null ], - [ "ReadP2PPacket", "classgalaxy_1_1api_1_1INetworking.html#a1c902bc6fbdf52a79a396c642f43bb22", null ], - [ "RequestNatTypeDetection", "classgalaxy_1_1api_1_1INetworking.html#a51aacf39969e92ca4acff9dd240cff0e", null ], - [ "SendP2PPacket", "classgalaxy_1_1api_1_1INetworking.html#a1fa6f25d0cbd7337ffacea9ffc9032ad", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1INetworkingListener-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1INetworkingListener-members.html deleted file mode 100644 index bcc5e0e01..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1INetworkingListener-members.html +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
INetworkingListener Member List
-
-
- -

This is the complete list of members for INetworkingListener, including all inherited members.

- - - - -
GetListenerType()GalaxyTypeAwareListener< NETWORKING >inlinestatic
OnP2PPacketAvailable(uint32_t msgSize, uint8_t channel)=0INetworkingListenerpure virtual
~IGalaxyListener() (defined in IGalaxyListener)IGalaxyListenerinlinevirtual
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1INetworkingListener.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1INetworkingListener.html deleted file mode 100644 index 848b6068b..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1INetworkingListener.html +++ /dev/null @@ -1,180 +0,0 @@ - - - - - - - -GOG Galaxy: INetworkingListener Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
INetworkingListener Class Referenceabstract
-
-
- -

Listener for the events related to packets that come to the client. - More...

- -

#include <INetworking.h>

-
-Inheritance diagram for INetworkingListener:
-
-
-
-
[legend]
- - - - - -

-Public Member Functions

virtual void OnP2PPacketAvailable (uint32_t msgSize, uint8_t channel)=0
 Notification for the event of receiving a packet. More...
 
- - - - - -

-Additional Inherited Members

- Static Public Member Functions inherited from GalaxyTypeAwareListener< NETWORKING >
static ListenerType GetListenerType ()
 Returns the type of the listener. More...
 
-

Detailed Description

-

Listener for the events related to packets that come to the client.

-

Member Function Documentation

- -

◆ OnP2PPacketAvailable()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void OnP2PPacketAvailable (uint32_t msgSize,
uint8_t channel 
)
-
-pure virtual
-
- -

Notification for the event of receiving a packet.

-
Parameters
- - - -
[in]msgSizeThe length of the message.
[in]channelThe number of the channel used.
-
-
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1INetworkingListener.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1INetworkingListener.js deleted file mode 100644 index 51df1d173..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1INetworkingListener.js +++ /dev/null @@ -1,4 +0,0 @@ -var classgalaxy_1_1api_1_1INetworkingListener = -[ - [ "OnP2PPacketAvailable", "classgalaxy_1_1api_1_1INetworkingListener.html#afa7df957063fe159e005566be01b0886", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1INetworkingListener__inherit__graph.map b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1INetworkingListener__inherit__graph.map deleted file mode 100644 index f55e4425c..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1INetworkingListener__inherit__graph.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1INetworkingListener__inherit__graph.md5 b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1INetworkingListener__inherit__graph.md5 deleted file mode 100644 index a1f4f939f..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1INetworkingListener__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -3c420525b7b1b7eaae02e66a72039628 \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1INetworkingListener__inherit__graph.svg b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1INetworkingListener__inherit__graph.svg deleted file mode 100644 index e6ed3daa2..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1INetworkingListener__inherit__graph.svg +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - -INetworkingListener - - -Node0 - - -INetworkingListener - - - - -Node1 - - -GalaxyTypeAwareListener -< NETWORKING > - - - - -Node1->Node0 - - - - -Node2 - - -IGalaxyListener - - - - -Node2->Node1 - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1INotificationListener-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1INotificationListener-members.html deleted file mode 100644 index 9882ad141..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1INotificationListener-members.html +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
INotificationListener Member List
-
-
- -

This is the complete list of members for INotificationListener, including all inherited members.

- - - - -
GetListenerType()GalaxyTypeAwareListener< NOTIFICATION_LISTENER >inlinestatic
OnNotificationReceived(NotificationID notificationID, uint32_t typeLength, uint32_t contentSize)=0INotificationListenerpure virtual
~IGalaxyListener() (defined in IGalaxyListener)IGalaxyListenerinlinevirtual
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1INotificationListener.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1INotificationListener.html deleted file mode 100644 index 753a1d2e5..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1INotificationListener.html +++ /dev/null @@ -1,188 +0,0 @@ - - - - - - - -GOG Galaxy: INotificationListener Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
INotificationListener Class Referenceabstract
-
-
- -

Listener for the event of receiving a notification. - More...

- -

#include <IUtils.h>

-
-Inheritance diagram for INotificationListener:
-
-
-
-
[legend]
- - - - - -

-Public Member Functions

virtual void OnNotificationReceived (NotificationID notificationID, uint32_t typeLength, uint32_t contentSize)=0
 Notification for the event of receiving a notification. More...
 
- - - - - -

-Additional Inherited Members

- Static Public Member Functions inherited from GalaxyTypeAwareListener< NOTIFICATION_LISTENER >
static ListenerType GetListenerType ()
 Returns the type of the listener. More...
 
-

Detailed Description

-

Listener for the event of receiving a notification.

-

Member Function Documentation

- -

◆ OnNotificationReceived()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
virtual void OnNotificationReceived (NotificationID notificationID,
uint32_t typeLength,
uint32_t contentSize 
)
-
-pure virtual
-
- -

Notification for the event of receiving a notification.

-

To read the message you need to call IUtils::GetNotification().

-
Parameters
- - - - -
[in]notificationIDThe ID of the notification.
[in]typeLengthThe size of the type of the notification.
[in]contentSizeThe size of the content of the notification.
-
-
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1INotificationListener.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1INotificationListener.js deleted file mode 100644 index 153e24ad4..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1INotificationListener.js +++ /dev/null @@ -1,4 +0,0 @@ -var classgalaxy_1_1api_1_1INotificationListener = -[ - [ "OnNotificationReceived", "classgalaxy_1_1api_1_1INotificationListener.html#a4983ed497c6db643f26854c14d318ab8", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1INotificationListener__inherit__graph.map b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1INotificationListener__inherit__graph.map deleted file mode 100644 index c7386563e..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1INotificationListener__inherit__graph.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1INotificationListener__inherit__graph.md5 b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1INotificationListener__inherit__graph.md5 deleted file mode 100644 index 85f0ff9e9..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1INotificationListener__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -7376a6ae3353041ca83d0d573d9d8571 \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1INotificationListener__inherit__graph.svg b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1INotificationListener__inherit__graph.svg deleted file mode 100644 index 7a27a9ce9..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1INotificationListener__inherit__graph.svg +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - -INotificationListener - - -Node0 - - -INotificationListener - - - - -Node1 - - -GalaxyTypeAwareListener -< NOTIFICATION_LISTENER > - - - - -Node1->Node0 - - - - -Node2 - - -IGalaxyListener - - - - -Node2->Node1 - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IOperationalStateChangeListener-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IOperationalStateChangeListener-members.html deleted file mode 100644 index 996524a09..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IOperationalStateChangeListener-members.html +++ /dev/null @@ -1,112 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
IOperationalStateChangeListener Member List
-
- -
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IOperationalStateChangeListener.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IOperationalStateChangeListener.html deleted file mode 100644 index d2734f2b4..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IOperationalStateChangeListener.html +++ /dev/null @@ -1,201 +0,0 @@ - - - - - - - -GOG Galaxy: IOperationalStateChangeListener Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
IOperationalStateChangeListener Class Referenceabstract
-
-
- -

Listener for the event of a change of the operational state. - More...

- -

#include <IUser.h>

-
-Inheritance diagram for IOperationalStateChangeListener:
-
-
-
-
[legend]
- - - - - -

-Public Types

enum  OperationalState { OPERATIONAL_STATE_SIGNED_IN = 0x0001, -OPERATIONAL_STATE_LOGGED_ON = 0x0002 - }
 Aspect of the operational state. More...
 
- - - - -

-Public Member Functions

virtual void OnOperationalStateChanged (uint32_t operationalState)=0
 Notification for the event of a change of the operational state. More...
 
- - - - - -

-Additional Inherited Members

- Static Public Member Functions inherited from GalaxyTypeAwareListener< OPERATIONAL_STATE_CHANGE >
static ListenerType GetListenerType ()
 Returns the type of the listener. More...
 
-

Detailed Description

-

Listener for the event of a change of the operational state.

-

Member Enumeration Documentation

- -

◆ OperationalState

- -
-
- - - - -
enum OperationalState
-
- -

Aspect of the operational state.

- - - -
Enumerator
OPERATIONAL_STATE_SIGNED_IN 

User signed in.

-
OPERATIONAL_STATE_LOGGED_ON 

User logged on.

-
- -
-
-

Member Function Documentation

- -

◆ OnOperationalStateChanged()

- -
-
- - - - - -
- - - - - - - - -
virtual void OnOperationalStateChanged (uint32_t operationalState)
-
-pure virtual
-
- -

Notification for the event of a change of the operational state.

-
Parameters
- - -
[in]operationalStateThe sum of the bit flags representing the operational state, as defined in IOperationalStateChangeListener::OperationalState.
-
-
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IOperationalStateChangeListener.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IOperationalStateChangeListener.js deleted file mode 100644 index 6c1e7d594..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IOperationalStateChangeListener.js +++ /dev/null @@ -1,8 +0,0 @@ -var classgalaxy_1_1api_1_1IOperationalStateChangeListener = -[ - [ "OperationalState", "classgalaxy_1_1api_1_1IOperationalStateChangeListener.html#ae5205e56c5331a5b85e3dd2a5f14e0fa", [ - [ "OPERATIONAL_STATE_SIGNED_IN", "classgalaxy_1_1api_1_1IOperationalStateChangeListener.html#ae5205e56c5331a5b85e3dd2a5f14e0faa94463a70f6647a95037fb5a34c21df55", null ], - [ "OPERATIONAL_STATE_LOGGED_ON", "classgalaxy_1_1api_1_1IOperationalStateChangeListener.html#ae5205e56c5331a5b85e3dd2a5f14e0faa18d05370294c6b322124488caa892ac1", null ] - ] ], - [ "OnOperationalStateChanged", "classgalaxy_1_1api_1_1IOperationalStateChangeListener.html#a7de944d408b2386e77a7081638caef96", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IOperationalStateChangeListener__inherit__graph.map b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IOperationalStateChangeListener__inherit__graph.map deleted file mode 100644 index c8ea7f9be..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IOperationalStateChangeListener__inherit__graph.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IOperationalStateChangeListener__inherit__graph.md5 b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IOperationalStateChangeListener__inherit__graph.md5 deleted file mode 100644 index 73a36628d..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IOperationalStateChangeListener__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -e1c07001e4fdc270e0d47b66f4d18608 \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IOperationalStateChangeListener__inherit__graph.svg b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IOperationalStateChangeListener__inherit__graph.svg deleted file mode 100644 index b6594571e..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IOperationalStateChangeListener__inherit__graph.svg +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - -IOperationalStateChangeListener - - -Node0 - - -IOperationalStateChangeListener - - - - -Node1 - - -GalaxyTypeAwareListener -< OPERATIONAL_STATE_CHANGE > - - - - -Node1->Node0 - - - - -Node2 - - -IGalaxyListener - - - - -Node2->Node1 - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IOtherSessionStartListener-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IOtherSessionStartListener-members.html deleted file mode 100644 index 19eda5b6f..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IOtherSessionStartListener-members.html +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
IOtherSessionStartListener Member List
-
-
- -

This is the complete list of members for IOtherSessionStartListener, including all inherited members.

- - - - -
GetListenerType()GalaxyTypeAwareListener< OTHER_SESSION_START >inlinestatic
OnOtherSessionStarted()=0IOtherSessionStartListenerpure virtual
~IGalaxyListener() (defined in IGalaxyListener)IGalaxyListenerinlinevirtual
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IOtherSessionStartListener.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IOtherSessionStartListener.html deleted file mode 100644 index f02d1d0ef..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IOtherSessionStartListener.html +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - - -GOG Galaxy: IOtherSessionStartListener Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
IOtherSessionStartListener Class Referenceabstract
-
-
- -

Listener for the events related to starting of other sessions. - More...

- -

#include <IUser.h>

-
-Inheritance diagram for IOtherSessionStartListener:
-
-
-
-
[legend]
- - - - - -

-Public Member Functions

-virtual void OnOtherSessionStarted ()=0
 Notification for the event of other session being started.
 
- - - - - -

-Additional Inherited Members

- Static Public Member Functions inherited from GalaxyTypeAwareListener< OTHER_SESSION_START >
static ListenerType GetListenerType ()
 Returns the type of the listener. More...
 
-

Detailed Description

-

Listener for the events related to starting of other sessions.

-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IOtherSessionStartListener.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IOtherSessionStartListener.js deleted file mode 100644 index 9e29ff88e..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IOtherSessionStartListener.js +++ /dev/null @@ -1,4 +0,0 @@ -var classgalaxy_1_1api_1_1IOtherSessionStartListener = -[ - [ "OnOtherSessionStarted", "classgalaxy_1_1api_1_1IOtherSessionStartListener.html#ac52e188f08e67d25609ef61f2d3d10c7", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IOtherSessionStartListener__inherit__graph.map b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IOtherSessionStartListener__inherit__graph.map deleted file mode 100644 index 691fd57e9..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IOtherSessionStartListener__inherit__graph.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IOtherSessionStartListener__inherit__graph.md5 b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IOtherSessionStartListener__inherit__graph.md5 deleted file mode 100644 index 1d317fe28..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IOtherSessionStartListener__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -c1ca813eb5d0cc8174509ef15c94c4e1 \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IOtherSessionStartListener__inherit__graph.svg b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IOtherSessionStartListener__inherit__graph.svg deleted file mode 100644 index 4f3987bd7..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IOtherSessionStartListener__inherit__graph.svg +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - -IOtherSessionStartListener - - -Node0 - - -IOtherSessionStartListener - - - - -Node1 - - -GalaxyTypeAwareListener -< OTHER_SESSION_START > - - - - -Node1->Node0 - - - - -Node2 - - -IGalaxyListener - - - - -Node2->Node1 - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IOverlayInitializationStateChangeListener-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IOverlayInitializationStateChangeListener-members.html deleted file mode 100644 index a2ef7e925..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IOverlayInitializationStateChangeListener-members.html +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
IOverlayInitializationStateChangeListener Member List
-
-
- -

This is the complete list of members for IOverlayInitializationStateChangeListener, including all inherited members.

- - - - -
GetListenerType()GalaxyTypeAwareListener< OVERLAY_INITIALIZATION_STATE_CHANGE >inlinestatic
OnOverlayStateChanged(OverlayState overlayState)=0IOverlayInitializationStateChangeListenerpure virtual
~IGalaxyListener() (defined in IGalaxyListener)IGalaxyListenerinlinevirtual
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IOverlayInitializationStateChangeListener.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IOverlayInitializationStateChangeListener.html deleted file mode 100644 index 81400f0ad..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IOverlayInitializationStateChangeListener.html +++ /dev/null @@ -1,169 +0,0 @@ - - - - - - - -GOG Galaxy: IOverlayInitializationStateChangeListener Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
IOverlayInitializationStateChangeListener Class Referenceabstract
-
-
- -

Listener for the event of changing overlay state. - More...

- -

#include <IUtils.h>

-
-Inheritance diagram for IOverlayInitializationStateChangeListener:
-
-
-
-
[legend]
- - - - - -

-Public Member Functions

virtual void OnOverlayStateChanged (OverlayState overlayState)=0
 Notification for the event of changing overlay state change. More...
 
- - - - - -

-Additional Inherited Members

- Static Public Member Functions inherited from GalaxyTypeAwareListener< OVERLAY_INITIALIZATION_STATE_CHANGE >
static ListenerType GetListenerType ()
 Returns the type of the listener. More...
 
-

Detailed Description

-

Listener for the event of changing overlay state.

-

Member Function Documentation

- -

◆ OnOverlayStateChanged()

- -
-
- - - - - -
- - - - - - - - -
virtual void OnOverlayStateChanged (OverlayState overlayState)
-
-pure virtual
-
- -

Notification for the event of changing overlay state change.

-
Parameters
- - -
[in]overlayStateIndicates current state of the overlay.
-
-
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IOverlayInitializationStateChangeListener.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IOverlayInitializationStateChangeListener.js deleted file mode 100644 index 2a16b55ec..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IOverlayInitializationStateChangeListener.js +++ /dev/null @@ -1,4 +0,0 @@ -var classgalaxy_1_1api_1_1IOverlayInitializationStateChangeListener = -[ - [ "OnOverlayStateChanged", "classgalaxy_1_1api_1_1IOverlayInitializationStateChangeListener.html#af55f5b8e0b10dde7869226c0fbd63b35", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IOverlayInitializationStateChangeListener__inherit__graph.map b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IOverlayInitializationStateChangeListener__inherit__graph.map deleted file mode 100644 index d7f7dabc1..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IOverlayInitializationStateChangeListener__inherit__graph.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IOverlayInitializationStateChangeListener__inherit__graph.md5 b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IOverlayInitializationStateChangeListener__inherit__graph.md5 deleted file mode 100644 index 971ff0f27..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IOverlayInitializationStateChangeListener__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -fee71fc8da7740f44f92fa30e40f361b \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IOverlayInitializationStateChangeListener__inherit__graph.svg b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IOverlayInitializationStateChangeListener__inherit__graph.svg deleted file mode 100644 index 24258e2ed..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IOverlayInitializationStateChangeListener__inherit__graph.svg +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - -IOverlayInitializationStateChangeListener - - -Node0 - - -IOverlayInitializationState -ChangeListener - - - - -Node1 - - -GalaxyTypeAwareListener -< OVERLAY_INITIALIZATION -_STATE_CHANGE > - - - - -Node1->Node0 - - - - -Node2 - - -IGalaxyListener - - - - -Node2->Node1 - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IOverlayVisibilityChangeListener-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IOverlayVisibilityChangeListener-members.html deleted file mode 100644 index a7421e86a..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IOverlayVisibilityChangeListener-members.html +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
IOverlayVisibilityChangeListener Member List
-
-
- -

This is the complete list of members for IOverlayVisibilityChangeListener, including all inherited members.

- - - - -
GetListenerType()GalaxyTypeAwareListener< OVERLAY_VISIBILITY_CHANGE >inlinestatic
OnOverlayVisibilityChanged(bool overlayVisible)=0IOverlayVisibilityChangeListenerpure virtual
~IGalaxyListener() (defined in IGalaxyListener)IGalaxyListenerinlinevirtual
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IOverlayVisibilityChangeListener.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IOverlayVisibilityChangeListener.html deleted file mode 100644 index cf3d0172c..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IOverlayVisibilityChangeListener.html +++ /dev/null @@ -1,169 +0,0 @@ - - - - - - - -GOG Galaxy: IOverlayVisibilityChangeListener Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
IOverlayVisibilityChangeListener Class Referenceabstract
-
-
- -

Listener for the event of changing overlay visibility. - More...

- -

#include <IUtils.h>

-
-Inheritance diagram for IOverlayVisibilityChangeListener:
-
-
-
-
[legend]
- - - - - -

-Public Member Functions

virtual void OnOverlayVisibilityChanged (bool overlayVisible)=0
 Notification for the event of changing overlay visibility. More...
 
- - - - - -

-Additional Inherited Members

- Static Public Member Functions inherited from GalaxyTypeAwareListener< OVERLAY_VISIBILITY_CHANGE >
static ListenerType GetListenerType ()
 Returns the type of the listener. More...
 
-

Detailed Description

-

Listener for the event of changing overlay visibility.

-

Member Function Documentation

- -

◆ OnOverlayVisibilityChanged()

- -
-
- - - - - -
- - - - - - - - -
virtual void OnOverlayVisibilityChanged (bool overlayVisible)
-
-pure virtual
-
- -

Notification for the event of changing overlay visibility.

-
Parameters
- - -
[in]overlayVisibleIndicates if overlay is in front of the game.
-
-
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IOverlayVisibilityChangeListener.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IOverlayVisibilityChangeListener.js deleted file mode 100644 index 77cccdc27..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IOverlayVisibilityChangeListener.js +++ /dev/null @@ -1,4 +0,0 @@ -var classgalaxy_1_1api_1_1IOverlayVisibilityChangeListener = -[ - [ "OnOverlayVisibilityChanged", "classgalaxy_1_1api_1_1IOverlayVisibilityChangeListener.html#a139110a3ff4c92f1d63cac39b433d504", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IOverlayVisibilityChangeListener__inherit__graph.map b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IOverlayVisibilityChangeListener__inherit__graph.map deleted file mode 100644 index 2e2f40c8d..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IOverlayVisibilityChangeListener__inherit__graph.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IOverlayVisibilityChangeListener__inherit__graph.md5 b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IOverlayVisibilityChangeListener__inherit__graph.md5 deleted file mode 100644 index 8dc95dcb3..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IOverlayVisibilityChangeListener__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -d0f1e26de300eca5dc8d58f6a6b696a8 \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IOverlayVisibilityChangeListener__inherit__graph.svg b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IOverlayVisibilityChangeListener__inherit__graph.svg deleted file mode 100644 index 74a0b946b..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IOverlayVisibilityChangeListener__inherit__graph.svg +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - -IOverlayVisibilityChangeListener - - -Node0 - - -IOverlayVisibilityChange -Listener - - - - -Node1 - - -GalaxyTypeAwareListener -< OVERLAY_VISIBILITY_CHANGE > - - - - -Node1->Node0 - - - - -Node2 - - -IGalaxyListener - - - - -Node2->Node1 - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IPersonaDataChangedListener-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IPersonaDataChangedListener-members.html deleted file mode 100644 index 4968dc66f..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IPersonaDataChangedListener-members.html +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IPersonaDataChangedListener.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IPersonaDataChangedListener.html deleted file mode 100644 index 99f879e9b..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IPersonaDataChangedListener.html +++ /dev/null @@ -1,230 +0,0 @@ - - - - - - - -GOG Galaxy: IPersonaDataChangedListener Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
IPersonaDataChangedListener Class Referenceabstract
-
-
- -

Listener for the event of changing persona data. - More...

- -

#include <IFriends.h>

-
-Inheritance diagram for IPersonaDataChangedListener:
-
-
-
-
[legend]
- - - - - -

-Public Types

enum  PersonaStateChange {
-  PERSONA_CHANGE_NONE = 0x0000, -PERSONA_CHANGE_NAME = 0x0001, -PERSONA_CHANGE_AVATAR = 0x0002, -PERSONA_CHANGE_AVATAR_DOWNLOADED_IMAGE_SMALL = 0x0004, -
-  PERSONA_CHANGE_AVATAR_DOWNLOADED_IMAGE_MEDIUM = 0x0008, -PERSONA_CHANGE_AVATAR_DOWNLOADED_IMAGE_LARGE = 0x0010, -PERSONA_CHANGE_AVATAR_DOWNLOADED_IMAGE_ANY = PERSONA_CHANGE_AVATAR_DOWNLOADED_IMAGE_SMALL | PERSONA_CHANGE_AVATAR_DOWNLOADED_IMAGE_MEDIUM | PERSONA_CHANGE_AVATAR_DOWNLOADED_IMAGE_LARGE -
- }
 Describes what has changed about a user. More...
 
- - - - -

-Public Member Functions

virtual void OnPersonaDataChanged (GalaxyID userID, uint32_t personaStateChange)=0
 Notification for the event of changing persona data. More...
 
- - - - - -

-Additional Inherited Members

- Static Public Member Functions inherited from GalaxyTypeAwareListener< PERSONA_DATA_CHANGED >
static ListenerType GetListenerType ()
 Returns the type of the listener. More...
 
-

Detailed Description

-

Listener for the event of changing persona data.

-

Member Enumeration Documentation

- -

◆ PersonaStateChange

- -
-
- - - - -
enum PersonaStateChange
-
- -

Describes what has changed about a user.

- - - - - - - - -
Enumerator
PERSONA_CHANGE_NONE 

No information has changed.

-
PERSONA_CHANGE_NAME 

Persona name has changed.

-
PERSONA_CHANGE_AVATAR 

Avatar, i.e. its URL, has changed.

-
PERSONA_CHANGE_AVATAR_DOWNLOADED_IMAGE_SMALL 

Small avatar image has been downloaded.

-
PERSONA_CHANGE_AVATAR_DOWNLOADED_IMAGE_MEDIUM 

Medium avatar image has been downloaded.

-
PERSONA_CHANGE_AVATAR_DOWNLOADED_IMAGE_LARGE 

Large avatar image has been downloaded.

-
PERSONA_CHANGE_AVATAR_DOWNLOADED_IMAGE_ANY 

Any avatar images have been downloaded.

-
- -
-
-

Member Function Documentation

- -

◆ OnPersonaDataChanged()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void OnPersonaDataChanged (GalaxyID userID,
uint32_t personaStateChange 
)
-
-pure virtual
-
- -

Notification for the event of changing persona data.

-
Parameters
- - - -
[in]userIDThe ID of the user.
[in]personaStateChangeThe bit sum of the PersonaStateChange.
-
-
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IPersonaDataChangedListener.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IPersonaDataChangedListener.js deleted file mode 100644 index ccf1a3d2b..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IPersonaDataChangedListener.js +++ /dev/null @@ -1,13 +0,0 @@ -var classgalaxy_1_1api_1_1IPersonaDataChangedListener = -[ - [ "PersonaStateChange", "classgalaxy_1_1api_1_1IPersonaDataChangedListener.html#a895bc6c37e8cba72dba5136f2bfa2c2d", [ - [ "PERSONA_CHANGE_NONE", "classgalaxy_1_1api_1_1IPersonaDataChangedListener.html#a895bc6c37e8cba72dba5136f2bfa2c2daf328d5471b051ab3f1a93012e3f4a22e", null ], - [ "PERSONA_CHANGE_NAME", "classgalaxy_1_1api_1_1IPersonaDataChangedListener.html#a895bc6c37e8cba72dba5136f2bfa2c2dad4270d6ae3f97bb91e11d64b12fb77c2", null ], - [ "PERSONA_CHANGE_AVATAR", "classgalaxy_1_1api_1_1IPersonaDataChangedListener.html#a895bc6c37e8cba72dba5136f2bfa2c2da4e4f10aa284754bc26a15d44e163cf78", null ], - [ "PERSONA_CHANGE_AVATAR_DOWNLOADED_IMAGE_SMALL", "classgalaxy_1_1api_1_1IPersonaDataChangedListener.html#a895bc6c37e8cba72dba5136f2bfa2c2dadbb246999072276f12e9a0a6abc17d15", null ], - [ "PERSONA_CHANGE_AVATAR_DOWNLOADED_IMAGE_MEDIUM", "classgalaxy_1_1api_1_1IPersonaDataChangedListener.html#a895bc6c37e8cba72dba5136f2bfa2c2dab26c3430bcd4093891fa1f5277fe691d", null ], - [ "PERSONA_CHANGE_AVATAR_DOWNLOADED_IMAGE_LARGE", "classgalaxy_1_1api_1_1IPersonaDataChangedListener.html#a895bc6c37e8cba72dba5136f2bfa2c2daac3b48fe851d2d69a46bcf15fd4ba27c", null ], - [ "PERSONA_CHANGE_AVATAR_DOWNLOADED_IMAGE_ANY", "classgalaxy_1_1api_1_1IPersonaDataChangedListener.html#a895bc6c37e8cba72dba5136f2bfa2c2dab965c14b0100cb51ca5347d520adc934", null ] - ] ], - [ "OnPersonaDataChanged", "classgalaxy_1_1api_1_1IPersonaDataChangedListener.html#a3d13d371bbedd3f600590c187a13ea28", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IPersonaDataChangedListener__inherit__graph.map b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IPersonaDataChangedListener__inherit__graph.map deleted file mode 100644 index 03f2ff349..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IPersonaDataChangedListener__inherit__graph.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IPersonaDataChangedListener__inherit__graph.md5 b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IPersonaDataChangedListener__inherit__graph.md5 deleted file mode 100644 index 3a94af01b..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IPersonaDataChangedListener__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -35e2f2d696566bc4dba617f1dbdac0cc \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IPersonaDataChangedListener__inherit__graph.svg b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IPersonaDataChangedListener__inherit__graph.svg deleted file mode 100644 index e445206d1..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IPersonaDataChangedListener__inherit__graph.svg +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - -IPersonaDataChangedListener - - -Node0 - - -IPersonaDataChangedListener - - - - -Node1 - - -GalaxyTypeAwareListener -< PERSONA_DATA_CHANGED > - - - - -Node1->Node0 - - - - -Node2 - - -IGalaxyListener - - - - -Node2->Node1 - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IRichPresenceChangeListener-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IRichPresenceChangeListener-members.html deleted file mode 100644 index 9f9cccf9e..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IRichPresenceChangeListener-members.html +++ /dev/null @@ -1,113 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
IRichPresenceChangeListener Member List
-
- -
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IRichPresenceChangeListener.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IRichPresenceChangeListener.html deleted file mode 100644 index 3dc378ecd..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IRichPresenceChangeListener.html +++ /dev/null @@ -1,205 +0,0 @@ - - - - - - - -GOG Galaxy: IRichPresenceChangeListener Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
IRichPresenceChangeListener Class Referenceabstract
-
-
- -

Listener for the event of rich presence modification. - More...

- -

#include <IFriends.h>

-
-Inheritance diagram for IRichPresenceChangeListener:
-
-
-
-
[legend]
- - - - - -

-Public Types

enum  FailureReason { FAILURE_REASON_UNDEFINED, -FAILURE_REASON_CONNECTION_FAILURE - }
 The reason of a failure in rich presence modification. More...
 
- - - - - - - -

-Public Member Functions

-virtual void OnRichPresenceChangeSuccess ()=0
 Notification for the event of successful rich presence change.
 
virtual void OnRichPresenceChangeFailure (FailureReason failureReason)=0
 Notification for the event of failure to modify rich presence. More...
 
- - - - - -

-Additional Inherited Members

- Static Public Member Functions inherited from GalaxyTypeAwareListener< RICH_PRESENCE_CHANGE_LISTENER >
static ListenerType GetListenerType ()
 Returns the type of the listener. More...
 
-

Detailed Description

-

Listener for the event of rich presence modification.

-

Member Enumeration Documentation

- -

◆ FailureReason

- -
-
- - - - -
enum FailureReason
-
- -

The reason of a failure in rich presence modification.

- - - -
Enumerator
FAILURE_REASON_UNDEFINED 

Unspecified error.

-
FAILURE_REASON_CONNECTION_FAILURE 

Unable to communicate with backend services.

-
- -
-
-

Member Function Documentation

- -

◆ OnRichPresenceChangeFailure()

- -
-
- - - - - -
- - - - - - - - -
virtual void OnRichPresenceChangeFailure (FailureReason failureReason)
-
-pure virtual
-
- -

Notification for the event of failure to modify rich presence.

-
Parameters
- - -
[in]failureReasonThe cause of the failure.
-
-
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IRichPresenceChangeListener.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IRichPresenceChangeListener.js deleted file mode 100644 index 515b12963..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IRichPresenceChangeListener.js +++ /dev/null @@ -1,9 +0,0 @@ -var classgalaxy_1_1api_1_1IRichPresenceChangeListener = -[ - [ "FailureReason", "classgalaxy_1_1api_1_1IRichPresenceChangeListener.html#a2e1fab5fc244b0783172514baec21a6e", [ - [ "FAILURE_REASON_UNDEFINED", "classgalaxy_1_1api_1_1IRichPresenceChangeListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39", null ], - [ "FAILURE_REASON_CONNECTION_FAILURE", "classgalaxy_1_1api_1_1IRichPresenceChangeListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0", null ] - ] ], - [ "OnRichPresenceChangeFailure", "classgalaxy_1_1api_1_1IRichPresenceChangeListener.html#a2467a872892d3a50dd00347d1f30bc7b", null ], - [ "OnRichPresenceChangeSuccess", "classgalaxy_1_1api_1_1IRichPresenceChangeListener.html#aa3636f8d79edd9e32e388b1ef6402005", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IRichPresenceChangeListener__inherit__graph.map b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IRichPresenceChangeListener__inherit__graph.map deleted file mode 100644 index f7d4a5d72..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IRichPresenceChangeListener__inherit__graph.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IRichPresenceChangeListener__inherit__graph.md5 b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IRichPresenceChangeListener__inherit__graph.md5 deleted file mode 100644 index 3766ddb89..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IRichPresenceChangeListener__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -eb2cc9917ccdf854e5358b96cab2ec71 \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IRichPresenceChangeListener__inherit__graph.svg b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IRichPresenceChangeListener__inherit__graph.svg deleted file mode 100644 index cbe80d684..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IRichPresenceChangeListener__inherit__graph.svg +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - -IRichPresenceChangeListener - - -Node0 - - -IRichPresenceChangeListener - - - - -Node1 - - -GalaxyTypeAwareListener -< RICH_PRESENCE_CHANGE -_LISTENER > - - - - -Node1->Node0 - - - - -Node2 - - -IGalaxyListener - - - - -Node2->Node1 - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IRichPresenceListener-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IRichPresenceListener-members.html deleted file mode 100644 index fa5474254..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IRichPresenceListener-members.html +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
IRichPresenceListener Member List
-
-
- -

This is the complete list of members for IRichPresenceListener, including all inherited members.

- - - - -
GetListenerType()GalaxyTypeAwareListener< RICH_PRESENCE_LISTENER >inlinestatic
OnRichPresenceUpdated(GalaxyID userID)=0IRichPresenceListenerpure virtual
~IGalaxyListener() (defined in IGalaxyListener)IGalaxyListenerinlinevirtual
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IRichPresenceListener.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IRichPresenceListener.html deleted file mode 100644 index 7cde10ae5..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IRichPresenceListener.html +++ /dev/null @@ -1,169 +0,0 @@ - - - - - - - -GOG Galaxy: IRichPresenceListener Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
IRichPresenceListener Class Referenceabstract
-
-
- -

Listener for the event of any user rich presence update. - More...

- -

#include <IFriends.h>

-
-Inheritance diagram for IRichPresenceListener:
-
-
-
-
[legend]
- - - - - -

-Public Member Functions

virtual void OnRichPresenceUpdated (GalaxyID userID)=0
 Notification for the event of successful rich presence update. More...
 
- - - - - -

-Additional Inherited Members

- Static Public Member Functions inherited from GalaxyTypeAwareListener< RICH_PRESENCE_LISTENER >
static ListenerType GetListenerType ()
 Returns the type of the listener. More...
 
-

Detailed Description

-

Listener for the event of any user rich presence update.

-

Member Function Documentation

- -

◆ OnRichPresenceUpdated()

- -
-
- - - - - -
- - - - - - - - -
virtual void OnRichPresenceUpdated (GalaxyID userID)
-
-pure virtual
-
- -

Notification for the event of successful rich presence update.

-
Parameters
- - -
[in]userIDThe ID of the user.
-
-
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IRichPresenceListener.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IRichPresenceListener.js deleted file mode 100644 index 436031bf9..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IRichPresenceListener.js +++ /dev/null @@ -1,4 +0,0 @@ -var classgalaxy_1_1api_1_1IRichPresenceListener = -[ - [ "OnRichPresenceUpdated", "classgalaxy_1_1api_1_1IRichPresenceListener.html#aa9874ac50140dbb608026b72172ac31c", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IRichPresenceListener__inherit__graph.map b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IRichPresenceListener__inherit__graph.map deleted file mode 100644 index afbfe7dbf..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IRichPresenceListener__inherit__graph.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IRichPresenceListener__inherit__graph.md5 b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IRichPresenceListener__inherit__graph.md5 deleted file mode 100644 index a3fb26442..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IRichPresenceListener__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -48e3b2edcf0c2e889445d434f2b047c8 \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IRichPresenceListener__inherit__graph.svg b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IRichPresenceListener__inherit__graph.svg deleted file mode 100644 index 231b80aba..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IRichPresenceListener__inherit__graph.svg +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - -IRichPresenceListener - - -Node0 - - -IRichPresenceListener - - - - -Node1 - - -GalaxyTypeAwareListener -< RICH_PRESENCE_LISTENER > - - - - -Node1->Node0 - - - - -Node2 - - -IGalaxyListener - - - - -Node2->Node1 - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IRichPresenceRetrieveListener-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IRichPresenceRetrieveListener-members.html deleted file mode 100644 index bcee70471..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IRichPresenceRetrieveListener-members.html +++ /dev/null @@ -1,113 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
IRichPresenceRetrieveListener Member List
-
-
- -

This is the complete list of members for IRichPresenceRetrieveListener, including all inherited members.

- - - - - - - - -
FAILURE_REASON_CONNECTION_FAILURE enum valueIRichPresenceRetrieveListener
FAILURE_REASON_UNDEFINED enum valueIRichPresenceRetrieveListener
FailureReason enum nameIRichPresenceRetrieveListener
GetListenerType()GalaxyTypeAwareListener< RICH_PRESENCE_RETRIEVE_LISTENER >inlinestatic
OnRichPresenceRetrieveFailure(GalaxyID userID, FailureReason failureReason)=0IRichPresenceRetrieveListenerpure virtual
OnRichPresenceRetrieveSuccess(GalaxyID userID)=0IRichPresenceRetrieveListenerpure virtual
~IGalaxyListener() (defined in IGalaxyListener)IGalaxyListenerinlinevirtual
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IRichPresenceRetrieveListener.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IRichPresenceRetrieveListener.html deleted file mode 100644 index f9ee9146e..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IRichPresenceRetrieveListener.html +++ /dev/null @@ -1,249 +0,0 @@ - - - - - - - -GOG Galaxy: IRichPresenceRetrieveListener Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
IRichPresenceRetrieveListener Class Referenceabstract
-
-
- -

Listener for the event of retrieving requested user's rich presence. - More...

- -

#include <IFriends.h>

-
-Inheritance diagram for IRichPresenceRetrieveListener:
-
-
-
-
[legend]
- - - - - -

-Public Types

enum  FailureReason { FAILURE_REASON_UNDEFINED, -FAILURE_REASON_CONNECTION_FAILURE - }
 The reason of a failure in retrieving the user's rich presence. More...
 
- - - - - - - -

-Public Member Functions

virtual void OnRichPresenceRetrieveSuccess (GalaxyID userID)=0
 Notification for the event of a success in retrieving the user's rich presence. More...
 
virtual void OnRichPresenceRetrieveFailure (GalaxyID userID, FailureReason failureReason)=0
 Notification for the event of a failure in retrieving the user's rich presence. More...
 
- - - - - -

-Additional Inherited Members

- Static Public Member Functions inherited from GalaxyTypeAwareListener< RICH_PRESENCE_RETRIEVE_LISTENER >
static ListenerType GetListenerType ()
 Returns the type of the listener. More...
 
-

Detailed Description

-

Listener for the event of retrieving requested user's rich presence.

-

Member Enumeration Documentation

- -

◆ FailureReason

- -
-
- - - - -
enum FailureReason
-
- -

The reason of a failure in retrieving the user's rich presence.

- - - -
Enumerator
FAILURE_REASON_UNDEFINED 

Unspecified error.

-
FAILURE_REASON_CONNECTION_FAILURE 

Unable to communicate with backend services.

-
- -
-
-

Member Function Documentation

- -

◆ OnRichPresenceRetrieveFailure()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void OnRichPresenceRetrieveFailure (GalaxyID userID,
FailureReason failureReason 
)
-
-pure virtual
-
- -

Notification for the event of a failure in retrieving the user's rich presence.

-
Parameters
- - - -
[in]userIDThe ID of the user.
[in]failureReasonThe cause of the failure.
-
-
- -
-
- -

◆ OnRichPresenceRetrieveSuccess()

- -
-
- - - - - -
- - - - - - - - -
virtual void OnRichPresenceRetrieveSuccess (GalaxyID userID)
-
-pure virtual
-
- -

Notification for the event of a success in retrieving the user's rich presence.

-
Parameters
- - -
[in]userIDThe ID of the user.
-
-
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IRichPresenceRetrieveListener.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IRichPresenceRetrieveListener.js deleted file mode 100644 index 983ed88e5..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IRichPresenceRetrieveListener.js +++ /dev/null @@ -1,9 +0,0 @@ -var classgalaxy_1_1api_1_1IRichPresenceRetrieveListener = -[ - [ "FailureReason", "classgalaxy_1_1api_1_1IRichPresenceRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6e", [ - [ "FAILURE_REASON_UNDEFINED", "classgalaxy_1_1api_1_1IRichPresenceRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39", null ], - [ "FAILURE_REASON_CONNECTION_FAILURE", "classgalaxy_1_1api_1_1IRichPresenceRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0", null ] - ] ], - [ "OnRichPresenceRetrieveFailure", "classgalaxy_1_1api_1_1IRichPresenceRetrieveListener.html#a6fe9f78c1cb04a87327791203143304b", null ], - [ "OnRichPresenceRetrieveSuccess", "classgalaxy_1_1api_1_1IRichPresenceRetrieveListener.html#ac494c03a72aa7ef80392ed30104caa11", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IRichPresenceRetrieveListener__inherit__graph.map b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IRichPresenceRetrieveListener__inherit__graph.map deleted file mode 100644 index 600a7b035..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IRichPresenceRetrieveListener__inherit__graph.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IRichPresenceRetrieveListener__inherit__graph.md5 b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IRichPresenceRetrieveListener__inherit__graph.md5 deleted file mode 100644 index a225184cd..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IRichPresenceRetrieveListener__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -403d394932eb945c2d0a848979cd7209 \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IRichPresenceRetrieveListener__inherit__graph.svg b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IRichPresenceRetrieveListener__inherit__graph.svg deleted file mode 100644 index a995c1e77..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IRichPresenceRetrieveListener__inherit__graph.svg +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - -IRichPresenceRetrieveListener - - -Node0 - - -IRichPresenceRetrieveListener - - - - -Node1 - - -GalaxyTypeAwareListener -< RICH_PRESENCE_RETRIEVE -_LISTENER > - - - - -Node1->Node0 - - - - -Node2 - - -IGalaxyListener - - - - -Node2->Node1 - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IRuntimeError-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IRuntimeError-members.html deleted file mode 100644 index d5ac744c0..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IRuntimeError-members.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
IRuntimeError Member List
-
-
- -

This is the complete list of members for IRuntimeError, including all inherited members.

- - - - - - - - - - -
GetMsg() const =0IErrorpure virtual
GetName() const =0IErrorpure virtual
GetType() const =0IErrorpure virtual
INVALID_ARGUMENT enum value (defined in IError)IError
INVALID_STATE enum value (defined in IError)IError
RUNTIME_ERROR enum value (defined in IError)IError
Type enum nameIError
UNAUTHORIZED_ACCESS enum value (defined in IError)IError
~IError() (defined in IError)IErrorinlinevirtual
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IRuntimeError.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IRuntimeError.html deleted file mode 100644 index d38ab5ac5..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IRuntimeError.html +++ /dev/null @@ -1,141 +0,0 @@ - - - - - - - -GOG Galaxy: IRuntimeError Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
IRuntimeError Class Reference
-
-
- -

The exception thrown to report errors that can only be detected during runtime. - More...

- -

#include <Errors.h>

-
-Inheritance diagram for IRuntimeError:
-
-
-
-
[legend]
- - - - - - - - - - - - - - - - -

-Additional Inherited Members

- Public Types inherited from IError
enum  Type { UNAUTHORIZED_ACCESS, -INVALID_ARGUMENT, -INVALID_STATE, -RUNTIME_ERROR - }
 Type of error.
 
- Public Member Functions inherited from IError
virtual const char * GetName () const =0
 Returns the name of the error. More...
 
virtual const char * GetMsg () const =0
 Returns the error message. More...
 
virtual Type GetType () const =0
 Returns the type of the error. More...
 
-

Detailed Description

-

The exception thrown to report errors that can only be detected during runtime.

-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IRuntimeError__inherit__graph.map b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IRuntimeError__inherit__graph.map deleted file mode 100644 index 3ab8ece01..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IRuntimeError__inherit__graph.map +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IRuntimeError__inherit__graph.md5 b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IRuntimeError__inherit__graph.md5 deleted file mode 100644 index 3b949e3ca..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IRuntimeError__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -3c8a6d789fd18a7b52a49ec4013c12a4 \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IRuntimeError__inherit__graph.svg b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IRuntimeError__inherit__graph.svg deleted file mode 100644 index 62210eba7..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IRuntimeError__inherit__graph.svg +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - -IRuntimeError - - -Node0 - - -IRuntimeError - - - - -Node1 - - -IError - - - - -Node1->Node0 - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ISendInvitationListener-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ISendInvitationListener-members.html deleted file mode 100644 index 7449529ac..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ISendInvitationListener-members.html +++ /dev/null @@ -1,118 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
ISendInvitationListener Member List
-
- -
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ISendInvitationListener.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ISendInvitationListener.html deleted file mode 100644 index c167bec7c..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ISendInvitationListener.html +++ /dev/null @@ -1,285 +0,0 @@ - - - - - - - -GOG Galaxy: ISendInvitationListener Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
ISendInvitationListener Class Referenceabstract
-
-
- -

Listener for the event of sending an invitation without using the overlay. - More...

- -

#include <IFriends.h>

-
-Inheritance diagram for ISendInvitationListener:
-
-
-
-
[legend]
- - - - - -

-Public Types

enum  FailureReason {
-  FAILURE_REASON_UNDEFINED, -FAILURE_REASON_USER_DOES_NOT_EXIST, -FAILURE_REASON_RECEIVER_DOES_NOT_ALLOW_INVITING, -FAILURE_REASON_SENDER_DOES_NOT_ALLOW_INVITING, -
-  FAILURE_REASON_RECEIVER_BLOCKED, -FAILURE_REASON_SENDER_BLOCKED, -FAILURE_REASON_CONNECTION_FAILURE -
- }
 The reason of a failure in sending an invitation. More...
 
- - - - - - - -

-Public Member Functions

virtual void OnInvitationSendSuccess (GalaxyID userID, const char *connectionString)=0
 Notification for the event of success in sending an invitation. More...
 
virtual void OnInvitationSendFailure (GalaxyID userID, const char *connectionString, FailureReason failureReason)=0
 Notification for the event of a failure in sending an invitation. More...
 
- - - - - -

-Additional Inherited Members

- Static Public Member Functions inherited from GalaxyTypeAwareListener< INVITATION_SEND >
static ListenerType GetListenerType ()
 Returns the type of the listener. More...
 
-

Detailed Description

-

Listener for the event of sending an invitation without using the overlay.

-

Member Enumeration Documentation

- -

◆ FailureReason

- -
-
- - - - -
enum FailureReason
-
- -

The reason of a failure in sending an invitation.

- - - - - - - - -
Enumerator
FAILURE_REASON_UNDEFINED 

Unspecified error.

-
FAILURE_REASON_USER_DOES_NOT_EXIST 

Receiver does not exist.

-
FAILURE_REASON_RECEIVER_DOES_NOT_ALLOW_INVITING 

Receiver does not allow inviting.

-
FAILURE_REASON_SENDER_DOES_NOT_ALLOW_INVITING 

Sender does not allow inviting.

-
FAILURE_REASON_RECEIVER_BLOCKED 

Receiver blocked by sender.

-
FAILURE_REASON_SENDER_BLOCKED 

Sender blocked by receiver. Will also occur if both users blocked each other.

-
FAILURE_REASON_CONNECTION_FAILURE 

Unable to communicate with backend services.

-
- -
-
-

Member Function Documentation

- -

◆ OnInvitationSendFailure()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
virtual void OnInvitationSendFailure (GalaxyID userID,
const char * connectionString,
FailureReason failureReason 
)
-
-pure virtual
-
- -

Notification for the event of a failure in sending an invitation.

-
Parameters
- - - - -
[in]userIDThe ID of the user to whom the invitation was being sent.
[in]connectionStringThe string which contains connection info.
[in]failureReasonThe cause of the failure.
-
-
- -
-
- -

◆ OnInvitationSendSuccess()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void OnInvitationSendSuccess (GalaxyID userID,
const char * connectionString 
)
-
-pure virtual
-
- -

Notification for the event of success in sending an invitation.

-
Parameters
- - - -
[in]userIDThe ID of the user to whom the invitation was being sent.
[in]connectionStringThe string which contains connection info.
-
-
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ISendInvitationListener.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ISendInvitationListener.js deleted file mode 100644 index f93732dea..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ISendInvitationListener.js +++ /dev/null @@ -1,14 +0,0 @@ -var classgalaxy_1_1api_1_1ISendInvitationListener = -[ - [ "FailureReason", "classgalaxy_1_1api_1_1ISendInvitationListener.html#a2e1fab5fc244b0783172514baec21a6e", [ - [ "FAILURE_REASON_UNDEFINED", "classgalaxy_1_1api_1_1ISendInvitationListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39", null ], - [ "FAILURE_REASON_USER_DOES_NOT_EXIST", "classgalaxy_1_1api_1_1ISendInvitationListener.html#a2e1fab5fc244b0783172514baec21a6eaa7fdbf5fd0f8fb915cd270eaf4dee431", null ], - [ "FAILURE_REASON_RECEIVER_DOES_NOT_ALLOW_INVITING", "classgalaxy_1_1api_1_1ISendInvitationListener.html#a2e1fab5fc244b0783172514baec21a6ea2d07a59b06b2000f02c8122509cdc41f", null ], - [ "FAILURE_REASON_SENDER_DOES_NOT_ALLOW_INVITING", "classgalaxy_1_1api_1_1ISendInvitationListener.html#a2e1fab5fc244b0783172514baec21a6ead6c9cfbb428609b302e2e6d3ca401a5b", null ], - [ "FAILURE_REASON_RECEIVER_BLOCKED", "classgalaxy_1_1api_1_1ISendInvitationListener.html#a2e1fab5fc244b0783172514baec21a6ea4afc4feb156c1277318d40ef8d43f8bf", null ], - [ "FAILURE_REASON_SENDER_BLOCKED", "classgalaxy_1_1api_1_1ISendInvitationListener.html#a2e1fab5fc244b0783172514baec21a6ea24759fa13b642cae2eda00c5fcfe2cfc", null ], - [ "FAILURE_REASON_CONNECTION_FAILURE", "classgalaxy_1_1api_1_1ISendInvitationListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0", null ] - ] ], - [ "OnInvitationSendFailure", "classgalaxy_1_1api_1_1ISendInvitationListener.html#a81583609c907c7fd1a341ad56c852fe5", null ], - [ "OnInvitationSendSuccess", "classgalaxy_1_1api_1_1ISendInvitationListener.html#ab4497ece9b9aba93c62aee0adf770215", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ISendInvitationListener__inherit__graph.map b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ISendInvitationListener__inherit__graph.map deleted file mode 100644 index 31158c0d7..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ISendInvitationListener__inherit__graph.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ISendInvitationListener__inherit__graph.md5 b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ISendInvitationListener__inherit__graph.md5 deleted file mode 100644 index 713e118fd..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ISendInvitationListener__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -48435bd3c2ab18e0e3e72c095ca3d7b2 \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ISendInvitationListener__inherit__graph.svg b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ISendInvitationListener__inherit__graph.svg deleted file mode 100644 index 7e224deff..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ISendInvitationListener__inherit__graph.svg +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - -ISendInvitationListener - - -Node0 - - -ISendInvitationListener - - - - -Node1 - - -GalaxyTypeAwareListener -< INVITATION_SEND > - - - - -Node1->Node0 - - - - -Node2 - - -IGalaxyListener - - - - -Node2->Node1 - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ISentFriendInvitationListRetrieveListener-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ISentFriendInvitationListRetrieveListener-members.html deleted file mode 100644 index 43d8a09e7..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ISentFriendInvitationListRetrieveListener-members.html +++ /dev/null @@ -1,113 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ISentFriendInvitationListRetrieveListener.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ISentFriendInvitationListRetrieveListener.html deleted file mode 100644 index 7b27b236c..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ISentFriendInvitationListRetrieveListener.html +++ /dev/null @@ -1,232 +0,0 @@ - - - - - - - -GOG Galaxy: ISentFriendInvitationListRetrieveListener Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
ISentFriendInvitationListRetrieveListener Class Referenceabstract
-
-
- -

Listener for the event of retrieving requested list of outgoing friend invitations. - More...

- -

#include <IFriends.h>

-
-Inheritance diagram for ISentFriendInvitationListRetrieveListener:
-
-
-
-
[legend]
- - - - - -

-Public Types

enum  FailureReason { FAILURE_REASON_UNDEFINED, -FAILURE_REASON_CONNECTION_FAILURE - }
 The reason of a failure in retrieving the user's list of outgoing friend invitations. More...
 
- - - - - - - -

-Public Member Functions

virtual void OnSentFriendInvitationListRetrieveSuccess ()=0
 Notification for the event of a success in retrieving the user's list of outgoing friend invitations. More...
 
virtual void OnSentFriendInvitationListRetrieveFailure (FailureReason failureReason)=0
 Notification for the event of a failure in retrieving the user's list of outgoing friend invitations. More...
 
- - - - - -

-Additional Inherited Members

- Static Public Member Functions inherited from GalaxyTypeAwareListener< SENT_FRIEND_INVITATION_LIST_RETRIEVE_LISTENER >
static ListenerType GetListenerType ()
 Returns the type of the listener. More...
 
-

Detailed Description

-

Listener for the event of retrieving requested list of outgoing friend invitations.

-

Member Enumeration Documentation

- -

◆ FailureReason

- -
-
- - - - -
enum FailureReason
-
- -

The reason of a failure in retrieving the user's list of outgoing friend invitations.

- - - -
Enumerator
FAILURE_REASON_UNDEFINED 

Unspecified error.

-
FAILURE_REASON_CONNECTION_FAILURE 

Unable to communicate with backend services.

-
- -
-
-

Member Function Documentation

- -

◆ OnSentFriendInvitationListRetrieveFailure()

- -
-
- - - - - -
- - - - - - - - -
virtual void OnSentFriendInvitationListRetrieveFailure (FailureReason failureReason)
-
-pure virtual
-
- -

Notification for the event of a failure in retrieving the user's list of outgoing friend invitations.

-
Parameters
- - -
[in]failureReasonThe cause of the failure.
-
-
- -
-
- -

◆ OnSentFriendInvitationListRetrieveSuccess()

- -
-
- - - - - -
- - - - - - - -
virtual void OnSentFriendInvitationListRetrieveSuccess ()
-
-pure virtual
-
- -

Notification for the event of a success in retrieving the user's list of outgoing friend invitations.

-

In order to read subsequent invitation IDs, call and IFriends::GetFriendInvitationByIndex().

- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ISentFriendInvitationListRetrieveListener.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ISentFriendInvitationListRetrieveListener.js deleted file mode 100644 index c3153e68f..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ISentFriendInvitationListRetrieveListener.js +++ /dev/null @@ -1,9 +0,0 @@ -var classgalaxy_1_1api_1_1ISentFriendInvitationListRetrieveListener = -[ - [ "FailureReason", "classgalaxy_1_1api_1_1ISentFriendInvitationListRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6e", [ - [ "FAILURE_REASON_UNDEFINED", "classgalaxy_1_1api_1_1ISentFriendInvitationListRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39", null ], - [ "FAILURE_REASON_CONNECTION_FAILURE", "classgalaxy_1_1api_1_1ISentFriendInvitationListRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0", null ] - ] ], - [ "OnSentFriendInvitationListRetrieveFailure", "classgalaxy_1_1api_1_1ISentFriendInvitationListRetrieveListener.html#a35d5c1f02fd7cfae43cdae41554e2f74", null ], - [ "OnSentFriendInvitationListRetrieveSuccess", "classgalaxy_1_1api_1_1ISentFriendInvitationListRetrieveListener.html#aa6ba4aaafe84d611b1f43068f815f491", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ISentFriendInvitationListRetrieveListener__inherit__graph.map b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ISentFriendInvitationListRetrieveListener__inherit__graph.map deleted file mode 100644 index 046c6df7b..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ISentFriendInvitationListRetrieveListener__inherit__graph.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ISentFriendInvitationListRetrieveListener__inherit__graph.md5 b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ISentFriendInvitationListRetrieveListener__inherit__graph.md5 deleted file mode 100644 index 641012a9d..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ISentFriendInvitationListRetrieveListener__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -da1797f04050db7cfbf85e9f12123509 \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ISentFriendInvitationListRetrieveListener__inherit__graph.svg b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ISentFriendInvitationListRetrieveListener__inherit__graph.svg deleted file mode 100644 index f502b11f9..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ISentFriendInvitationListRetrieveListener__inherit__graph.svg +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - -ISentFriendInvitationListRetrieveListener - - -Node0 - - -ISentFriendInvitationList -RetrieveListener - - - - -Node1 - - -GalaxyTypeAwareListener -< SENT_FRIEND_INVITATION -_LIST_RETRIEVE_LISTENER > - - - - -Node1->Node0 - - - - -Node2 - - -IGalaxyListener - - - - -Node2->Node1 - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ISharedFileDownloadListener-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ISharedFileDownloadListener-members.html deleted file mode 100644 index 02f0bb296..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ISharedFileDownloadListener-members.html +++ /dev/null @@ -1,113 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
ISharedFileDownloadListener Member List
-
-
- -

This is the complete list of members for ISharedFileDownloadListener, including all inherited members.

- - - - - - - - -
FAILURE_REASON_CONNECTION_FAILURE enum valueISharedFileDownloadListener
FAILURE_REASON_UNDEFINED enum valueISharedFileDownloadListener
FailureReason enum nameISharedFileDownloadListener
GetListenerType()GalaxyTypeAwareListener< SHARED_FILE_DOWNLOAD >inlinestatic
OnSharedFileDownloadFailure(SharedFileID sharedFileID, FailureReason failureReason)=0ISharedFileDownloadListenerpure virtual
OnSharedFileDownloadSuccess(SharedFileID sharedFileID, const char *fileName)=0ISharedFileDownloadListenerpure virtual
~IGalaxyListener() (defined in IGalaxyListener)IGalaxyListenerinlinevirtual
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ISharedFileDownloadListener.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ISharedFileDownloadListener.html deleted file mode 100644 index ad5c5f2be..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ISharedFileDownloadListener.html +++ /dev/null @@ -1,260 +0,0 @@ - - - - - - - -GOG Galaxy: ISharedFileDownloadListener Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
ISharedFileDownloadListener Class Referenceabstract
-
-
- -

Listener for the event of downloading a shared file. - More...

- -

#include <IStorage.h>

-
-Inheritance diagram for ISharedFileDownloadListener:
-
-
-
-
[legend]
- - - - - -

-Public Types

enum  FailureReason { FAILURE_REASON_UNDEFINED, -FAILURE_REASON_CONNECTION_FAILURE - }
 The reason of a failure in downloading a shared file. More...
 
- - - - - - - -

-Public Member Functions

virtual void OnSharedFileDownloadSuccess (SharedFileID sharedFileID, const char *fileName)=0
 Notification for the event of a success in downloading a shared file. More...
 
virtual void OnSharedFileDownloadFailure (SharedFileID sharedFileID, FailureReason failureReason)=0
 Notification for the event of a failure in downloading a shared file. More...
 
- - - - - -

-Additional Inherited Members

- Static Public Member Functions inherited from GalaxyTypeAwareListener< SHARED_FILE_DOWNLOAD >
static ListenerType GetListenerType ()
 Returns the type of the listener. More...
 
-

Detailed Description

-

Listener for the event of downloading a shared file.

-

Member Enumeration Documentation

- -

◆ FailureReason

- -
-
- - - - -
enum FailureReason
-
- -

The reason of a failure in downloading a shared file.

- - - -
Enumerator
FAILURE_REASON_UNDEFINED 

Unspecified error.

-
FAILURE_REASON_CONNECTION_FAILURE 

Unable to communicate with backend services.

-
- -
-
-

Member Function Documentation

- -

◆ OnSharedFileDownloadFailure()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void OnSharedFileDownloadFailure (SharedFileID sharedFileID,
FailureReason failureReason 
)
-
-pure virtual
-
- -

Notification for the event of a failure in downloading a shared file.

-
Parameters
- - - -
[in]sharedFileIDThe ID of the file.
[in]failureReasonThe cause of the failure.
-
-
- -
-
- -

◆ OnSharedFileDownloadSuccess()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void OnSharedFileDownloadSuccess (SharedFileID sharedFileID,
const char * fileName 
)
-
-pure virtual
-
- -

Notification for the event of a success in downloading a shared file.

-
Parameters
- - - -
[in]sharedFileIDThe ID of the file.
[in]fileNameThe name of the file in the form of a path (see the description of IStorage::FileWrite()).
-
-
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ISharedFileDownloadListener.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ISharedFileDownloadListener.js deleted file mode 100644 index d025ef184..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ISharedFileDownloadListener.js +++ /dev/null @@ -1,9 +0,0 @@ -var classgalaxy_1_1api_1_1ISharedFileDownloadListener = -[ - [ "FailureReason", "classgalaxy_1_1api_1_1ISharedFileDownloadListener.html#a2e1fab5fc244b0783172514baec21a6e", [ - [ "FAILURE_REASON_UNDEFINED", "classgalaxy_1_1api_1_1ISharedFileDownloadListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39", null ], - [ "FAILURE_REASON_CONNECTION_FAILURE", "classgalaxy_1_1api_1_1ISharedFileDownloadListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0", null ] - ] ], - [ "OnSharedFileDownloadFailure", "classgalaxy_1_1api_1_1ISharedFileDownloadListener.html#a9308c8f0719c03ee3025aed3f51ede4d", null ], - [ "OnSharedFileDownloadSuccess", "classgalaxy_1_1api_1_1ISharedFileDownloadListener.html#a6ab1bf95a27bb9437f2eb3daff36f98d", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ISharedFileDownloadListener__inherit__graph.map b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ISharedFileDownloadListener__inherit__graph.map deleted file mode 100644 index 3d8d4b2b8..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ISharedFileDownloadListener__inherit__graph.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ISharedFileDownloadListener__inherit__graph.md5 b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ISharedFileDownloadListener__inherit__graph.md5 deleted file mode 100644 index a659bd58a..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ISharedFileDownloadListener__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -125c5cedf8b6fddc2b7f5c9229f4d482 \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ISharedFileDownloadListener__inherit__graph.svg b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ISharedFileDownloadListener__inherit__graph.svg deleted file mode 100644 index cb05324e5..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ISharedFileDownloadListener__inherit__graph.svg +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - -ISharedFileDownloadListener - - -Node0 - - -ISharedFileDownloadListener - - - - -Node1 - - -GalaxyTypeAwareListener -< SHARED_FILE_DOWNLOAD > - - - - -Node1->Node0 - - - - -Node2 - - -IGalaxyListener - - - - -Node2->Node1 - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ISpecificUserDataListener-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ISpecificUserDataListener-members.html deleted file mode 100644 index 8b2dc67c1..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ISpecificUserDataListener-members.html +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
ISpecificUserDataListener Member List
-
-
- -

This is the complete list of members for ISpecificUserDataListener, including all inherited members.

- - - - -
GetListenerType()GalaxyTypeAwareListener< SPECIFIC_USER_DATA >inlinestatic
OnSpecificUserDataUpdated(GalaxyID userID)=0ISpecificUserDataListenerpure virtual
~IGalaxyListener() (defined in IGalaxyListener)IGalaxyListenerinlinevirtual
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ISpecificUserDataListener.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ISpecificUserDataListener.html deleted file mode 100644 index aeb5a53cc..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ISpecificUserDataListener.html +++ /dev/null @@ -1,169 +0,0 @@ - - - - - - - -GOG Galaxy: ISpecificUserDataListener Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
ISpecificUserDataListener Class Referenceabstract
-
-
- -

Listener for the events related to user data changes. - More...

- -

#include <IUser.h>

-
-Inheritance diagram for ISpecificUserDataListener:
-
-
-
-
[legend]
- - - - - -

-Public Member Functions

virtual void OnSpecificUserDataUpdated (GalaxyID userID)=0
 Notification for the event of user data change. More...
 
- - - - - -

-Additional Inherited Members

- Static Public Member Functions inherited from GalaxyTypeAwareListener< SPECIFIC_USER_DATA >
static ListenerType GetListenerType ()
 Returns the type of the listener. More...
 
-

Detailed Description

-

Listener for the events related to user data changes.

-

Member Function Documentation

- -

◆ OnSpecificUserDataUpdated()

- -
-
- - - - - -
- - - - - - - - -
virtual void OnSpecificUserDataUpdated (GalaxyID userID)
-
-pure virtual
-
- -

Notification for the event of user data change.

-
Parameters
- - -
[in]userIDThe ID of the user.
-
-
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ISpecificUserDataListener.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ISpecificUserDataListener.js deleted file mode 100644 index 8c2e392df..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ISpecificUserDataListener.js +++ /dev/null @@ -1,4 +0,0 @@ -var classgalaxy_1_1api_1_1ISpecificUserDataListener = -[ - [ "OnSpecificUserDataUpdated", "classgalaxy_1_1api_1_1ISpecificUserDataListener.html#a79a7b06373b8ffc7f55ab2d7d1a4391a", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ISpecificUserDataListener__inherit__graph.map b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ISpecificUserDataListener__inherit__graph.map deleted file mode 100644 index bc94a383f..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ISpecificUserDataListener__inherit__graph.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ISpecificUserDataListener__inherit__graph.md5 b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ISpecificUserDataListener__inherit__graph.md5 deleted file mode 100644 index 889abb3be..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ISpecificUserDataListener__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -252d17de1ecc9706f525a88d42dafccd \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ISpecificUserDataListener__inherit__graph.svg b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ISpecificUserDataListener__inherit__graph.svg deleted file mode 100644 index ae0e5d79c..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ISpecificUserDataListener__inherit__graph.svg +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - -ISpecificUserDataListener - - -Node0 - - -ISpecificUserDataListener - - - - -Node1 - - -GalaxyTypeAwareListener -< SPECIFIC_USER_DATA > - - - - -Node1->Node0 - - - - -Node2 - - -IGalaxyListener - - - - -Node2->Node1 - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IStats-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IStats-members.html deleted file mode 100644 index a83322291..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IStats-members.html +++ /dev/null @@ -1,141 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
IStats Member List
-
-
- -

This is the complete list of members for IStats, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ClearAchievement(const char *name)=0IStatspure virtual
FindLeaderboard(const char *name, ILeaderboardRetrieveListener *const listener=NULL)=0IStatspure virtual
FindOrCreateLeaderboard(const char *name, const char *displayName, const LeaderboardSortMethod &sortMethod, const LeaderboardDisplayType &displayType, ILeaderboardRetrieveListener *const listener=NULL)=0IStatspure virtual
GetAchievement(const char *name, bool &unlocked, uint32_t &unlockTime, GalaxyID userID=GalaxyID())=0IStatspure virtual
GetAchievementDescription(const char *name)=0IStatspure virtual
GetAchievementDescriptionCopy(const char *name, char *buffer, uint32_t bufferLength)=0IStatspure virtual
GetAchievementDisplayName(const char *name)=0IStatspure virtual
GetAchievementDisplayNameCopy(const char *name, char *buffer, uint32_t bufferLength)=0IStatspure virtual
GetLeaderboardDisplayName(const char *name)=0IStatspure virtual
GetLeaderboardDisplayNameCopy(const char *name, char *buffer, uint32_t bufferLength)=0IStatspure virtual
GetLeaderboardDisplayType(const char *name)=0IStatspure virtual
GetLeaderboardEntryCount(const char *name)=0IStatspure virtual
GetLeaderboardSortMethod(const char *name)=0IStatspure virtual
GetRequestedLeaderboardEntry(uint32_t index, uint32_t &rank, int32_t &score, GalaxyID &userID)=0IStatspure virtual
GetRequestedLeaderboardEntryWithDetails(uint32_t index, uint32_t &rank, int32_t &score, void *details, uint32_t detailsSize, uint32_t &outDetailsSize, GalaxyID &userID)=0IStatspure virtual
GetStatFloat(const char *name, GalaxyID userID=GalaxyID())=0IStatspure virtual
GetStatInt(const char *name, GalaxyID userID=GalaxyID())=0IStatspure virtual
GetUserTimePlayed(GalaxyID userID=GalaxyID())=0IStatspure virtual
IsAchievementVisible(const char *name)=0IStatspure virtual
IsAchievementVisibleWhileLocked(const char *name)=0IStatspure virtual
RequestLeaderboardEntriesAroundUser(const char *name, uint32_t countBefore, uint32_t countAfter, GalaxyID userID=GalaxyID(), ILeaderboardEntriesRetrieveListener *const listener=NULL)=0IStatspure virtual
RequestLeaderboardEntriesForUsers(const char *name, GalaxyID *userArray, uint32_t userArraySize, ILeaderboardEntriesRetrieveListener *const listener=NULL)=0IStatspure virtual
RequestLeaderboardEntriesGlobal(const char *name, uint32_t rangeStart, uint32_t rangeEnd, ILeaderboardEntriesRetrieveListener *const listener=NULL)=0IStatspure virtual
RequestLeaderboards(ILeaderboardsRetrieveListener *const listener=NULL)=0IStatspure virtual
RequestUserStatsAndAchievements(GalaxyID userID=GalaxyID(), IUserStatsAndAchievementsRetrieveListener *const listener=NULL)=0IStatspure virtual
RequestUserTimePlayed(GalaxyID userID=GalaxyID(), IUserTimePlayedRetrieveListener *const listener=NULL)=0IStatspure virtual
ResetStatsAndAchievements(IStatsAndAchievementsStoreListener *const listener=NULL)=0IStatspure virtual
SetAchievement(const char *name)=0IStatspure virtual
SetLeaderboardScore(const char *name, int32_t score, bool forceUpdate=false, ILeaderboardScoreUpdateListener *const listener=NULL)=0IStatspure virtual
SetLeaderboardScoreWithDetails(const char *name, int32_t score, const void *details, uint32_t detailsSize, bool forceUpdate=false, ILeaderboardScoreUpdateListener *const listener=NULL)=0IStatspure virtual
SetStatFloat(const char *name, float value)=0IStatspure virtual
SetStatInt(const char *name, int32_t value)=0IStatspure virtual
StoreStatsAndAchievements(IStatsAndAchievementsStoreListener *const listener=NULL)=0IStatspure virtual
UpdateAvgRateStat(const char *name, float countThisSession, double sessionLength)=0IStatspure virtual
~IStats() (defined in IStats)IStatsinlinevirtual
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IStats.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IStats.html deleted file mode 100644 index 6abb16f19..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IStats.html +++ /dev/null @@ -1,1875 +0,0 @@ - - - - - - - -GOG Galaxy: IStats Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
IStats Class Referenceabstract
-
-
- -

The interface for managing statistics, achievements and leaderboards. - More...

- -

#include <IStats.h>

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

virtual void RequestUserStatsAndAchievements (GalaxyID userID=GalaxyID(), IUserStatsAndAchievementsRetrieveListener *const listener=NULL)=0
 Performs a request for statistics and achievements of a specified user. More...
 
virtual int32_t GetStatInt (const char *name, GalaxyID userID=GalaxyID())=0
 Reads integer value of a statistic of a specified user. More...
 
virtual float GetStatFloat (const char *name, GalaxyID userID=GalaxyID())=0
 Reads floating point value of a statistic of a specified user. More...
 
virtual void SetStatInt (const char *name, int32_t value)=0
 Updates a statistic with an integer value. More...
 
virtual void SetStatFloat (const char *name, float value)=0
 Updates a statistic with a floating point value. More...
 
virtual void UpdateAvgRateStat (const char *name, float countThisSession, double sessionLength)=0
 Updates an average-rate statistic with a delta. More...
 
virtual void GetAchievement (const char *name, bool &unlocked, uint32_t &unlockTime, GalaxyID userID=GalaxyID())=0
 Reads the state of an achievement of a specified user. More...
 
virtual void SetAchievement (const char *name)=0
 Unlocks an achievement. More...
 
virtual void ClearAchievement (const char *name)=0
 Clears an achievement. More...
 
virtual void StoreStatsAndAchievements (IStatsAndAchievementsStoreListener *const listener=NULL)=0
 Persists all changes in statistics and achievements. More...
 
virtual void ResetStatsAndAchievements (IStatsAndAchievementsStoreListener *const listener=NULL)=0
 Resets all statistics and achievements. More...
 
virtual const char * GetAchievementDisplayName (const char *name)=0
 Returns display name of a specified achievement. More...
 
virtual void GetAchievementDisplayNameCopy (const char *name, char *buffer, uint32_t bufferLength)=0
 Copies display name of a specified achievement. More...
 
virtual const char * GetAchievementDescription (const char *name)=0
 Returns description of a specified achievement. More...
 
virtual void GetAchievementDescriptionCopy (const char *name, char *buffer, uint32_t bufferLength)=0
 Copies description of a specified achievement. More...
 
virtual bool IsAchievementVisible (const char *name)=0
 Returns visibility status of a specified achievement. More...
 
virtual bool IsAchievementVisibleWhileLocked (const char *name)=0
 Returns visibility status of a specified achievement before unlocking. More...
 
virtual void RequestLeaderboards (ILeaderboardsRetrieveListener *const listener=NULL)=0
 Performs a request for definitions of leaderboards. More...
 
virtual const char * GetLeaderboardDisplayName (const char *name)=0
 Returns display name of a specified leaderboard. More...
 
virtual void GetLeaderboardDisplayNameCopy (const char *name, char *buffer, uint32_t bufferLength)=0
 Copies display name of a specified leaderboard. More...
 
virtual LeaderboardSortMethod GetLeaderboardSortMethod (const char *name)=0
 Returns sort method of a specified leaderboard. More...
 
virtual LeaderboardDisplayType GetLeaderboardDisplayType (const char *name)=0
 Returns display type of a specified leaderboard. More...
 
virtual void RequestLeaderboardEntriesGlobal (const char *name, uint32_t rangeStart, uint32_t rangeEnd, ILeaderboardEntriesRetrieveListener *const listener=NULL)=0
 Performs a request for entries of a specified leaderboard in a global scope, i.e. More...
 
virtual void RequestLeaderboardEntriesAroundUser (const char *name, uint32_t countBefore, uint32_t countAfter, GalaxyID userID=GalaxyID(), ILeaderboardEntriesRetrieveListener *const listener=NULL)=0
 Performs a request for entries of a specified leaderboard for and near the specified user. More...
 
virtual void RequestLeaderboardEntriesForUsers (const char *name, GalaxyID *userArray, uint32_t userArraySize, ILeaderboardEntriesRetrieveListener *const listener=NULL)=0
 Performs a request for entries of a specified leaderboard for specified users. More...
 
virtual void GetRequestedLeaderboardEntry (uint32_t index, uint32_t &rank, int32_t &score, GalaxyID &userID)=0
 Returns data from the currently processed request for leaderboard entries. More...
 
virtual void GetRequestedLeaderboardEntryWithDetails (uint32_t index, uint32_t &rank, int32_t &score, void *details, uint32_t detailsSize, uint32_t &outDetailsSize, GalaxyID &userID)=0
 Returns data with details from the currently processed request for leaderboard entries. More...
 
virtual void SetLeaderboardScore (const char *name, int32_t score, bool forceUpdate=false, ILeaderboardScoreUpdateListener *const listener=NULL)=0
 Updates entry for own user in a specified leaderboard. More...
 
virtual void SetLeaderboardScoreWithDetails (const char *name, int32_t score, const void *details, uint32_t detailsSize, bool forceUpdate=false, ILeaderboardScoreUpdateListener *const listener=NULL)=0
 Updates entry with details for own user in a specified leaderboard. More...
 
virtual uint32_t GetLeaderboardEntryCount (const char *name)=0
 Returns the leaderboard entry count for requested leaderboard. More...
 
virtual void FindLeaderboard (const char *name, ILeaderboardRetrieveListener *const listener=NULL)=0
 Performs a request for definition of a specified leaderboard. More...
 
virtual void FindOrCreateLeaderboard (const char *name, const char *displayName, const LeaderboardSortMethod &sortMethod, const LeaderboardDisplayType &displayType, ILeaderboardRetrieveListener *const listener=NULL)=0
 Performs a request for definition of a specified leaderboard, creating it if there is no such leaderboard yet. More...
 
virtual void RequestUserTimePlayed (GalaxyID userID=GalaxyID(), IUserTimePlayedRetrieveListener *const listener=NULL)=0
 Performs a request for user time played. More...
 
virtual uint32_t GetUserTimePlayed (GalaxyID userID=GalaxyID())=0
 Reads the number of seconds played by a specified user. More...
 
-

Detailed Description

-

The interface for managing statistics, achievements and leaderboards.

-

Member Function Documentation

- -

◆ ClearAchievement()

- -
-
- - - - - -
- - - - - - - - -
virtual void ClearAchievement (const char * name)
-
-pure virtual
-
- -

Clears an achievement.

-
Remarks
In order to make this and other changes persistent, call StoreStatsAndAchievements().
-
Precondition
Retrieve the achievements first by calling RequestUserStatsAndAchievements().
-
Parameters
- - -
[in]nameThe code name of the achievement.
-
-
- -
-
- -

◆ FindLeaderboard()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void FindLeaderboard (const char * name,
ILeaderboardRetrieveListener *const listener = NULL 
)
-
-pure virtual
-
- -

Performs a request for definition of a specified leaderboard.

-

This call is asynchronous. Responses come to the ILeaderboardRetrieveListener.

-
Parameters
- - - -
[in]nameThe name of the leaderboard.
[in]listenerThe listener for specific operation.
-
-
- -
-
- -

◆ FindOrCreateLeaderboard()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
virtual void FindOrCreateLeaderboard (const char * name,
const char * displayName,
const LeaderboardSortMethodsortMethod,
const LeaderboardDisplayTypedisplayType,
ILeaderboardRetrieveListener *const listener = NULL 
)
-
-pure virtual
-
- -

Performs a request for definition of a specified leaderboard, creating it if there is no such leaderboard yet.

-

This call is asynchronous. Responses come to the ILeaderboardRetrieveListener.

-
Remarks
If the leaderboard of the specified name is found, this call ends with success no matter if the definition of the leaderboard matches the parameters specified in the call to this method.
-
Parameters
- - - - - - -
[in]nameThe name of the leaderboard.
[in]displayNameThe display name of the leaderboard.
[in]sortMethodThe sort method of the leaderboard.
[in]displayTypeThe display method of the leaderboard.
[in]listenerThe listener for specific operation.
-
-
- -
-
- -

◆ GetAchievement()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
virtual void GetAchievement (const char * name,
bool & unlocked,
uint32_t & unlockTime,
GalaxyID userID = GalaxyID() 
)
-
-pure virtual
-
- -

Reads the state of an achievement of a specified user.

-
Precondition
Retrieve the achievements first by calling RequestUserStatsAndAchievements().
-
Parameters
- - - - - -
[in]nameThe code name of the achievement.
[in,out]unlockedIndicates if the achievement has been unlocked.
[out]unlockTimeThe time at which the achievement was unlocked.
[in]userIDThe ID of the user. It can be omitted when requesting for own data.
-
-
- -
-
- -

◆ GetAchievementDescription()

- -
-
- - - - - -
- - - - - - - - -
virtual const char* GetAchievementDescription (const char * name)
-
-pure virtual
-
- -

Returns description of a specified achievement.

-
Remarks
This call is not thread-safe as opposed to GetAchievementDescriptionCopy().
-
Precondition
Retrieve the achievements first by calling RequestUserStatsAndAchievements().
-
Parameters
- - -
[in]nameThe name of the achievement.
-
-
-
Returns
Description of the specified achievement.
- -
-
- -

◆ GetAchievementDescriptionCopy()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
virtual void GetAchievementDescriptionCopy (const char * name,
char * buffer,
uint32_t bufferLength 
)
-
-pure virtual
-
- -

Copies description of a specified achievement.

-
Precondition
Retrieve the achievements first by calling RequestUserStatsAndAchievements().
-
Parameters
- - - - -
[in]nameThe name of the achievement.
[in,out]bufferThe output buffer.
[in]bufferLengthThe size of the output buffer.
-
-
- -
-
- -

◆ GetAchievementDisplayName()

- -
-
- - - - - -
- - - - - - - - -
virtual const char* GetAchievementDisplayName (const char * name)
-
-pure virtual
-
- -

Returns display name of a specified achievement.

-
Remarks
This call is not thread-safe as opposed to GetAchievementDisplayNameCopy().
-
Precondition
Retrieve the achievements first by calling RequestUserStatsAndAchievements().
-
Parameters
- - -
[in]nameThe name of the achievement.
-
-
-
Returns
Display name of the specified achievement.
- -
-
- -

◆ GetAchievementDisplayNameCopy()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
virtual void GetAchievementDisplayNameCopy (const char * name,
char * buffer,
uint32_t bufferLength 
)
-
-pure virtual
-
- -

Copies display name of a specified achievement.

-
Precondition
Retrieve the achievements first by calling RequestUserStatsAndAchievements().
-
Parameters
- - - - -
[in]nameThe name of the achievement.
[in,out]bufferThe output buffer.
[in]bufferLengthThe size of the output buffer.
-
-
- -
-
- -

◆ GetLeaderboardDisplayName()

- -
-
- - - - - -
- - - - - - - - -
virtual const char* GetLeaderboardDisplayName (const char * name)
-
-pure virtual
-
- -

Returns display name of a specified leaderboard.

-
Remarks
This call is not thread-safe as opposed to GetLeaderboardDisplayNameCopy().
-
Precondition
Retrieve definition of this particular leaderboard first by calling either FindLeaderboard() or FindOrCreateLeaderboard(), or definitions of all existing leaderboards by calling RequestLeaderboards().
-
Parameters
- - -
[in]nameThe name of the leaderboard.
-
-
-
Returns
Display name of the leaderboard.
- -
-
- -

◆ GetLeaderboardDisplayNameCopy()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
virtual void GetLeaderboardDisplayNameCopy (const char * name,
char * buffer,
uint32_t bufferLength 
)
-
-pure virtual
-
- -

Copies display name of a specified leaderboard.

-
Precondition
Retrieve definition of this particular leaderboard first by calling either FindLeaderboard() or FindOrCreateLeaderboard(), or definitions of all existing leaderboards by calling RequestLeaderboards().
-
Parameters
- - - - -
[in]nameThe name of the leaderboard.
[in,out]bufferThe output buffer.
[in]bufferLengthThe size of the output buffer.
-
-
- -
-
- -

◆ GetLeaderboardDisplayType()

- -
-
- - - - - -
- - - - - - - - -
virtual LeaderboardDisplayType GetLeaderboardDisplayType (const char * name)
-
-pure virtual
-
- -

Returns display type of a specified leaderboard.

-
Precondition
Retrieve definition of this particular leaderboard first by calling either FindLeaderboard() or FindOrCreateLeaderboard(), or definitions of all existing leaderboards by calling RequestLeaderboards().
-
Parameters
- - -
[in]nameThe name of the leaderboard.
-
-
-
Returns
Display type of the leaderboard.
- -
-
- -

◆ GetLeaderboardEntryCount()

- -
-
- - - - - -
- - - - - - - - -
virtual uint32_t GetLeaderboardEntryCount (const char * name)
-
-pure virtual
-
- -

Returns the leaderboard entry count for requested leaderboard.

-
Precondition
In order to retrieve leaderboard entry count, first you need to call RequestLeaderboardEntriesGlobal(), RequestLeaderboardEntriesAroundUser(), or RequestLeaderboardEntriesForUsers().
-
Parameters
- - -
[in]nameThe name of the leaderboard.
-
-
-
Returns
The leaderboard entry count.
- -
-
- -

◆ GetLeaderboardSortMethod()

- -
-
- - - - - -
- - - - - - - - -
virtual LeaderboardSortMethod GetLeaderboardSortMethod (const char * name)
-
-pure virtual
-
- -

Returns sort method of a specified leaderboard.

-
Precondition
Retrieve definition of this particular leaderboard first by calling either FindLeaderboard() or FindOrCreateLeaderboard(), or definitions of all existing leaderboards by calling RequestLeaderboards().
-
Parameters
- - -
[in]nameThe name of the leaderboard.
-
-
-
Returns
Sort method of the leaderboard.
- -
-
- -

◆ GetRequestedLeaderboardEntry()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
virtual void GetRequestedLeaderboardEntry (uint32_t index,
uint32_t & rank,
int32_t & score,
GalaxyIDuserID 
)
-
-pure virtual
-
- -

Returns data from the currently processed request for leaderboard entries.

-

Use this call to iterate over last retrieved lobby entries, indexed from 0.

-
Remarks
This method can be used only inside of ILeaderboardEntriesRetrieveListener::OnLeaderboardEntriesRetrieveSuccess().
-
Precondition
In order to retrieve lobbies and get their count, first you need to call RequestLeaderboardEntriesGlobal(), RequestLeaderboardEntriesAroundUser(), or RequestLeaderboardEntriesForUsers().
-
Parameters
- - - - - -
[in]indexIndex as an integer in the range of [0, number of entries fetched).
[out]rankUser's rank in the leaderboard.
[out]scoreUser's score in the leaderboard.
[out]userIDThe ID of the user.
-
-
- -
-
- -

◆ GetRequestedLeaderboardEntryWithDetails()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
virtual void GetRequestedLeaderboardEntryWithDetails (uint32_t index,
uint32_t & rank,
int32_t & score,
void * details,
uint32_t detailsSize,
uint32_t & outDetailsSize,
GalaxyIDuserID 
)
-
-pure virtual
-
- -

Returns data with details from the currently processed request for leaderboard entries.

-

Use this call to iterate over last retrieved lobby entries, indexed from 0.

-

If the buffer that is supposed to take the details data is too small, the details will be truncated to its size.

-
Precondition
In order to retrieve lobbies and get their count, first you need to call RequestLeaderboardEntriesGlobal(), RequestLeaderboardEntriesAroundUser(), or RequestLeaderboardEntriesForUsers().
-
Remarks
This method can be used only inside of ILeaderboardEntriesRetrieveListener::OnLeaderboardEntriesRetrieveSuccess().
-
Parameters
- - - - - - - - -
[in]indexIndex as an integer in the range of [0, number of entries fetched).
[out]rankUser's rank in the leaderboard.
[out]scoreUser's score in the leaderboard.
[in,out]detailsAn extra, outgoing game-defined information regarding how the user got that score.
[in]detailsSizeThe size of passed buffer of the extra game-defined information.
[out]outDetailsSizeThe size of the extra game-defined information.
[out]userIDThe ID of the user.
-
-
- -
-
- -

◆ GetStatFloat()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual float GetStatFloat (const char * name,
GalaxyID userID = GalaxyID() 
)
-
-pure virtual
-
- -

Reads floating point value of a statistic of a specified user.

-
Precondition
Retrieve the statistics first by calling RequestUserStatsAndAchievements().
-
Parameters
- - - -
[in]nameThe code name of the statistic.
[in]userIDThe ID of the user. It can be omitted when requesting for own data.
-
-
-
Returns
The value of the statistic.
- -
-
- -

◆ GetStatInt()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual int32_t GetStatInt (const char * name,
GalaxyID userID = GalaxyID() 
)
-
-pure virtual
-
- -

Reads integer value of a statistic of a specified user.

-
Precondition
Retrieve the statistics first by calling RequestUserStatsAndAchievements().
-
Parameters
- - - -
[in]nameThe code name of the statistic.
[in]userIDThe ID of the user. It can be omitted when requesting for own data.
-
-
-
Returns
The value of the statistic.
- -
-
- -

◆ GetUserTimePlayed()

- -
-
- - - - - -
- - - - - - - - -
virtual uint32_t GetUserTimePlayed (GalaxyID userID = GalaxyID())
-
-pure virtual
-
- -

Reads the number of seconds played by a specified user.

-
Precondition
Retrieve the statistics first by calling RequestUserTimePlayed().
-
Parameters
- - -
[in]userIDThe ID of the user. It can be omitted when requesting for own data.
-
-
-
Returns
The number of seconds played by the specified user.
- -
-
- -

◆ IsAchievementVisible()

- -
-
- - - - - -
- - - - - - - - -
virtual bool IsAchievementVisible (const char * name)
-
-pure virtual
-
- -

Returns visibility status of a specified achievement.

-
Precondition
Retrieve the achievements first by calling RequestUserStatsAndAchievements().
-
Parameters
- - -
[in]nameThe name of the achievement.
-
-
-
Returns
If the achievement is visible.
- -
-
- -

◆ IsAchievementVisibleWhileLocked()

- -
-
- - - - - -
- - - - - - - - -
virtual bool IsAchievementVisibleWhileLocked (const char * name)
-
-pure virtual
-
- -

Returns visibility status of a specified achievement before unlocking.

-
Precondition
Retrieve the achievements first by calling RequestUserStatsAndAchievements().
-
Parameters
- - -
[in]nameThe name of the achievement.
-
-
-
Returns
If the achievement is visible before unlocking.
- -
-
- -

◆ RequestLeaderboardEntriesAroundUser()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
virtual void RequestLeaderboardEntriesAroundUser (const char * name,
uint32_t countBefore,
uint32_t countAfter,
GalaxyID userID = GalaxyID(),
ILeaderboardEntriesRetrieveListener *const listener = NULL 
)
-
-pure virtual
-
- -

Performs a request for entries of a specified leaderboard for and near the specified user.

-

The specified numbers of entries before and after the specified user are treated as hints. If the requested range would go beyond the set of all leaderboard entries, it is shifted so that it fits in the set of all leaderboard entries and preserves its size if possible.

-

This call is asynchronous. Responses come to the ILeaderboardEntriesRetrieveListener.

-
Remarks
This call will end with failure in case there is no entry for the specified user in the specified leaderboard.
-
Precondition
Retrieve definition of this particular leaderboard first by calling either FindLeaderboard() or FindOrCreateLeaderboard(), or definitions of all existing leaderboards by calling RequestLeaderboards().
-
Parameters
- - - - - - -
[in]nameThe name of the leaderboard.
[in]countBeforeThe number of entries placed before the user's entry to retrieve (hint).
[in]countAfterThe number of entries placed after the user's entry to retrieve (hint).
[in]userIDThe ID of the user. It can be omitted when requesting for own data.
[in]listenerThe listener for specific operation.
-
-
- -
-
- -

◆ RequestLeaderboardEntriesForUsers()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
virtual void RequestLeaderboardEntriesForUsers (const char * name,
GalaxyIDuserArray,
uint32_t userArraySize,
ILeaderboardEntriesRetrieveListener *const listener = NULL 
)
-
-pure virtual
-
- -

Performs a request for entries of a specified leaderboard for specified users.

-

This call is asynchronous. Responses come to the ILeaderboardEntriesRetrieveListener.

-
Precondition
Retrieve definition of this particular leaderboard first by calling either FindLeaderboard() or FindOrCreateLeaderboard(), or definitions of all existing leaderboards by calling RequestLeaderboards().
-
Parameters
- - - - - -
[in]nameThe name of the leaderboard.
[in]userArrayAn array with the list of IDs of the users in scope.
[in]userArraySizeThe size of the array, i.e. the number of users in the specified list.
[in]listenerThe listener for specific operation.
-
-
- -
-
- -

◆ RequestLeaderboardEntriesGlobal()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
virtual void RequestLeaderboardEntriesGlobal (const char * name,
uint32_t rangeStart,
uint32_t rangeEnd,
ILeaderboardEntriesRetrieveListener *const listener = NULL 
)
-
-pure virtual
-
- -

Performs a request for entries of a specified leaderboard in a global scope, i.e.

-

without any specific users in the scope of interest.

-

The entries are indexed by integers in the range of [0, number of entries).

-

This call is asynchronous. Responses come to the ILeaderboardEntriesRetrieveListener.

-
Precondition
Retrieve definition of this particular leaderboard first by calling either FindLeaderboard() or FindOrCreateLeaderboard(), or definitions of all existing leaderboards by calling RequestLeaderboards().
-
Parameters
- - - - - -
[in]nameThe name of the leaderboard.
[in]rangeStartThe index position of the entry to start with.
[in]rangeEndThe index position of the entry to finish with.
[in]listenerThe listener for specific operation.
-
-
- -
-
- -

◆ RequestLeaderboards()

- -
-
- - - - - -
- - - - - - - - -
virtual void RequestLeaderboards (ILeaderboardsRetrieveListener *const listener = NULL)
-
-pure virtual
-
- -

Performs a request for definitions of leaderboards.

-

This call is asynchronous. Responses come to the ILeaderboardsRetrieveListener.

-
Parameters
- - -
[in]listenerThe listener for specific operation.
-
-
- -
-
- -

◆ RequestUserStatsAndAchievements()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void RequestUserStatsAndAchievements (GalaxyID userID = GalaxyID(),
IUserStatsAndAchievementsRetrieveListener *const listener = NULL 
)
-
-pure virtual
-
- -

Performs a request for statistics and achievements of a specified user.

-

This call is asynchronous. Responses come to the IUserStatsAndAchievementsRetrieveListener (for all GlobalUserStatsAndAchievementsRetrieveListener-derived and optional listener passed as argument).

-
Parameters
- - - -
[in]userIDThe ID of the user. It can be omitted when requesting for own data.
[in]listenerThe listener for specific operation.
-
-
- -
-
- -

◆ RequestUserTimePlayed()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void RequestUserTimePlayed (GalaxyID userID = GalaxyID(),
IUserTimePlayedRetrieveListener *const listener = NULL 
)
-
-pure virtual
-
- -

Performs a request for user time played.

-

This call is asynchronous. Responses come to the IUserTimePlayedRetrieveListener.

-
Parameters
- - - -
[in]userIDThe ID of the user. It can be omitted when requesting for own data.
[in]listenerThe listener for specific operation.
-
-
- -
-
- -

◆ ResetStatsAndAchievements()

- -
-
- - - - - -
- - - - - - - - -
virtual void ResetStatsAndAchievements (IStatsAndAchievementsStoreListener *const listener = NULL)
-
-pure virtual
-
- -

Resets all statistics and achievements.

-

This is the same as setting statistics and achievements to their initial values and calling StoreStatsAndAchievements().

-

This call is asynchronous. Responses come to the IStatsAndAchievementsStoreListener (for all GlobalStatsAndAchievementsStoreListener-derived and optional listener passed as argument).

-
Parameters
- - -
[in]listenerThe listener for specific operation.
-
-
- -
-
- -

◆ SetAchievement()

- -
-
- - - - - -
- - - - - - - - -
virtual void SetAchievement (const char * name)
-
-pure virtual
-
- -

Unlocks an achievement.

-

The achievement is marked as unlocked at the time at which this message was called.

-
Remarks
In order to make this and other changes persistent, call StoreStatsAndAchievements().
-
Precondition
Retrieve the achievements first by calling RequestUserStatsAndAchievements().
-
Parameters
- - -
[in]nameThe code name of the achievement.
-
-
- -
-
- -

◆ SetLeaderboardScore()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
virtual void SetLeaderboardScore (const char * name,
int32_t score,
bool forceUpdate = false,
ILeaderboardScoreUpdateListener *const listener = NULL 
)
-
-pure virtual
-
- -

Updates entry for own user in a specified leaderboard.

-

This call is asynchronous. Responses come to the ILeaderboardScoreUpdateListener.

-
Precondition
Retrieve definition of this particular leaderboard first by calling either FindLeaderboard() or FindOrCreateLeaderboard(), or definitions of all existing leaderboards by calling RequestLeaderboards().
-
-For this call to work while the user is logged off, the definition of the leaderboard must have been retrieved at least once while the user was logged on.
-
Parameters
- - - - - -
[in]nameThe name of the leaderboard.
[in]scoreThe score to set.
[in]forceUpdateIf the update should be performed in case the score is worse than the previous score.
[in]listenerThe listener for specific operation.
-
-
- -
-
- -

◆ SetLeaderboardScoreWithDetails()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
virtual void SetLeaderboardScoreWithDetails (const char * name,
int32_t score,
const void * details,
uint32_t detailsSize,
bool forceUpdate = false,
ILeaderboardScoreUpdateListener *const listener = NULL 
)
-
-pure virtual
-
- -

Updates entry with details for own user in a specified leaderboard.

-

This call is asynchronous. Responses come to the ILeaderboardScoreUpdateListener.

-
Precondition
Retrieve definition of this particular leaderboard first by calling either FindLeaderboard() or FindOrCreateLeaderboard(), or definitions of all existing leaderboards by calling RequestLeaderboards().
-
-For this call to work while the user is logged off, the definition of the leaderboard must have been retrieved at least once while the user was logged on.
-
Parameters
- - - - - - - -
[in]nameThe name of the leaderboard.
[in]scoreThe score to set.
[in]detailsAn extra game-defined information regarding how the user got that score with the limit of 3071 bytes.
[in]detailsSizeThe size of buffer of the extra game-defined information.
[in]forceUpdateIf the update should be performed in case the score is worse than the previous score.
[in]listenerThe listener for specific operation.
-
-
- -
-
- -

◆ SetStatFloat()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void SetStatFloat (const char * name,
float value 
)
-
-pure virtual
-
- -

Updates a statistic with a floating point value.

-
Remarks
In order to make this and other changes persistent, call StoreStatsAndAchievements().
-
Precondition
Retrieve the statistics first by calling RequestUserStatsAndAchievements().
-
Parameters
- - - -
[in]nameThe code name of the statistic.
[in]valueThe value of the statistic to set.
-
-
- -
-
- -

◆ SetStatInt()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void SetStatInt (const char * name,
int32_t value 
)
-
-pure virtual
-
- -

Updates a statistic with an integer value.

-
Remarks
In order to make this and other changes persistent, call StoreStatsAndAchievements().
-
Precondition
Retrieve the statistics first by calling RequestUserStatsAndAchievements().
-
Parameters
- - - -
[in]nameThe code name of the statistic.
[in]valueThe value of the statistic to set.
-
-
- -
-
- -

◆ StoreStatsAndAchievements()

- -
-
- - - - - -
- - - - - - - - -
virtual void StoreStatsAndAchievements (IStatsAndAchievementsStoreListener *const listener = NULL)
-
-pure virtual
-
- -

Persists all changes in statistics and achievements.

-

This call is asynchronous. Responses come to the IStatsAndAchievementsStoreListener (for all GlobalStatsAndAchievementsStoreListener-derived and optional listener passed as argument).

-
Remarks
Notifications about storing changes that result in unlocking achievements come to the IAchievementChangeListener.
-
Parameters
- - -
[in]listenerThe listener for specific operation.
-
-
- -
-
- -

◆ UpdateAvgRateStat()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
virtual void UpdateAvgRateStat (const char * name,
float countThisSession,
double sessionLength 
)
-
-pure virtual
-
- -

Updates an average-rate statistic with a delta.

-
Remarks
In order to make this and other changes persistent, call StoreStatsAndAchievements().
-
Precondition
Retrieve the statistics first by calling RequestUserStatsAndAchievements().
-
Parameters
- - - - -
[in]nameThe code name of the statistic.
[in]countThisSessionThe delta of the count.
[in]sessionLengthThe delta of the session.
-
-
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IStats.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IStats.js deleted file mode 100644 index 22a28da18..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IStats.js +++ /dev/null @@ -1,38 +0,0 @@ -var classgalaxy_1_1api_1_1IStats = -[ - [ "~IStats", "classgalaxy_1_1api_1_1IStats.html#a0f4ef3e998e676d7ee13b3534985f713", null ], - [ "ClearAchievement", "classgalaxy_1_1api_1_1IStats.html#adef56fea6b98328144d7c61b69233b68", null ], - [ "FindLeaderboard", "classgalaxy_1_1api_1_1IStats.html#ace79a09f5cc55acdc502b9251cdb0898", null ], - [ "FindOrCreateLeaderboard", "classgalaxy_1_1api_1_1IStats.html#a1854172caa8de815218a0c44e2d04d8c", null ], - [ "GetAchievement", "classgalaxy_1_1api_1_1IStats.html#a4c38e91a161d4097215cfa0f3167ed58", null ], - [ "GetAchievementDescription", "classgalaxy_1_1api_1_1IStats.html#a766ea6f3667b08da01de7fdb2e16a378", null ], - [ "GetAchievementDescriptionCopy", "classgalaxy_1_1api_1_1IStats.html#a2d946793c6c51957e9f8183280809503", null ], - [ "GetAchievementDisplayName", "classgalaxy_1_1api_1_1IStats.html#afc6ab1ea447fefc02a4b3fd0b3f4a630", null ], - [ "GetAchievementDisplayNameCopy", "classgalaxy_1_1api_1_1IStats.html#af31e1040a95f89b70f87e84f3ca510fb", null ], - [ "GetLeaderboardDisplayName", "classgalaxy_1_1api_1_1IStats.html#aeb8ad13b648b02f2ad6f8afd3658e40e", null ], - [ "GetLeaderboardDisplayNameCopy", "classgalaxy_1_1api_1_1IStats.html#af9b3abfcc55395e59e6695a3825e3dcd", null ], - [ "GetLeaderboardDisplayType", "classgalaxy_1_1api_1_1IStats.html#a6e3db56a07e5c333b0bc011e1982cd15", null ], - [ "GetLeaderboardEntryCount", "classgalaxy_1_1api_1_1IStats.html#a7824b3508a71c3dfa1727d5720430589", null ], - [ "GetLeaderboardSortMethod", "classgalaxy_1_1api_1_1IStats.html#a1ab3329a34f670415ac45dbea6bc5e1d", null ], - [ "GetRequestedLeaderboardEntry", "classgalaxy_1_1api_1_1IStats.html#a2a83a60778dafd8375aa7c477d9f7bff", null ], - [ "GetRequestedLeaderboardEntryWithDetails", "classgalaxy_1_1api_1_1IStats.html#ab76b8431bd7f2ef75022a54ad704dbfd", null ], - [ "GetStatFloat", "classgalaxy_1_1api_1_1IStats.html#a4949fc4f78cf0292dca401f6411fab5b", null ], - [ "GetStatInt", "classgalaxy_1_1api_1_1IStats.html#a5a40b3ae1cd2d0cb0b8cf1f54bb8b759", null ], - [ "GetUserTimePlayed", "classgalaxy_1_1api_1_1IStats.html#abffc15f858208b1c9272334823ead905", null ], - [ "IsAchievementVisible", "classgalaxy_1_1api_1_1IStats.html#aca68bad66bc4e7c9d87c9984dea052eb", null ], - [ "IsAchievementVisibleWhileLocked", "classgalaxy_1_1api_1_1IStats.html#a23a4ce388c7a4d5f5801225081463019", null ], - [ "RequestLeaderboardEntriesAroundUser", "classgalaxy_1_1api_1_1IStats.html#a1215ca0927c038ed5380d23d1825d92d", null ], - [ "RequestLeaderboardEntriesForUsers", "classgalaxy_1_1api_1_1IStats.html#ac06a171edf21bb4b2b1b73db0d3ba994", null ], - [ "RequestLeaderboardEntriesGlobal", "classgalaxy_1_1api_1_1IStats.html#a8001acf6133977206aae970b04e82433", null ], - [ "RequestLeaderboards", "classgalaxy_1_1api_1_1IStats.html#a7290943ee81882d006239f103d523a1d", null ], - [ "RequestUserStatsAndAchievements", "classgalaxy_1_1api_1_1IStats.html#a38f5c146772f06dfd58c21ca599d7c25", null ], - [ "RequestUserTimePlayed", "classgalaxy_1_1api_1_1IStats.html#a1e3d7b1ea57ea4f65d08b9c47c52af27", null ], - [ "ResetStatsAndAchievements", "classgalaxy_1_1api_1_1IStats.html#a90d371596d2210a5889fc20dc708dc39", null ], - [ "SetAchievement", "classgalaxy_1_1api_1_1IStats.html#aa5f8d8f187ae0870b3a6cb7dd5ab60e5", null ], - [ "SetLeaderboardScore", "classgalaxy_1_1api_1_1IStats.html#a95d5043fc61c941d882f0773225ace35", null ], - [ "SetLeaderboardScoreWithDetails", "classgalaxy_1_1api_1_1IStats.html#a089a1c895fce4fe49a3be6b341edc15c", null ], - [ "SetStatFloat", "classgalaxy_1_1api_1_1IStats.html#ab6e6c0a170b7ffcab82f1718df355814", null ], - [ "SetStatInt", "classgalaxy_1_1api_1_1IStats.html#adefd43488e071c40dc508d38284a1074", null ], - [ "StoreStatsAndAchievements", "classgalaxy_1_1api_1_1IStats.html#a0e7f8f26b1825f6ccfb4dc26482b97ee", null ], - [ "UpdateAvgRateStat", "classgalaxy_1_1api_1_1IStats.html#ac3b5485e260faea00926df1354a38ccc", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IStatsAndAchievementsStoreListener-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IStatsAndAchievementsStoreListener-members.html deleted file mode 100644 index 102c0233d..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IStatsAndAchievementsStoreListener-members.html +++ /dev/null @@ -1,113 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
IStatsAndAchievementsStoreListener Member List
-
- -
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IStatsAndAchievementsStoreListener.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IStatsAndAchievementsStoreListener.html deleted file mode 100644 index c81b5bbff..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IStatsAndAchievementsStoreListener.html +++ /dev/null @@ -1,205 +0,0 @@ - - - - - - - -GOG Galaxy: IStatsAndAchievementsStoreListener Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
IStatsAndAchievementsStoreListener Class Referenceabstract
-
-
- -

Listener for the event of storing own statistics and achievements. - More...

- -

#include <IStats.h>

-
-Inheritance diagram for IStatsAndAchievementsStoreListener:
-
-
-
-
[legend]
- - - - - -

-Public Types

enum  FailureReason { FAILURE_REASON_UNDEFINED, -FAILURE_REASON_CONNECTION_FAILURE - }
 The reason of a failure in storing statistics and achievements. More...
 
- - - - - - - -

-Public Member Functions

-virtual void OnUserStatsAndAchievementsStoreSuccess ()=0
 Notification for the event of success in storing statistics and achievements.
 
virtual void OnUserStatsAndAchievementsStoreFailure (FailureReason failureReason)=0
 Notification for the event of a failure in storing statistics and achievements. More...
 
- - - - - -

-Additional Inherited Members

- Static Public Member Functions inherited from GalaxyTypeAwareListener< STATS_AND_ACHIEVEMENTS_STORE >
static ListenerType GetListenerType ()
 Returns the type of the listener. More...
 
-

Detailed Description

-

Listener for the event of storing own statistics and achievements.

-

Member Enumeration Documentation

- -

◆ FailureReason

- -
-
- - - - -
enum FailureReason
-
- -

The reason of a failure in storing statistics and achievements.

- - - -
Enumerator
FAILURE_REASON_UNDEFINED 

Unspecified error.

-
FAILURE_REASON_CONNECTION_FAILURE 

Unable to communicate with backend services.

-
- -
-
-

Member Function Documentation

- -

◆ OnUserStatsAndAchievementsStoreFailure()

- -
-
- - - - - -
- - - - - - - - -
virtual void OnUserStatsAndAchievementsStoreFailure (FailureReason failureReason)
-
-pure virtual
-
- -

Notification for the event of a failure in storing statistics and achievements.

-
Parameters
- - -
[in]failureReasonThe cause of the failure.
-
-
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IStatsAndAchievementsStoreListener.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IStatsAndAchievementsStoreListener.js deleted file mode 100644 index 5a129d64f..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IStatsAndAchievementsStoreListener.js +++ /dev/null @@ -1,9 +0,0 @@ -var classgalaxy_1_1api_1_1IStatsAndAchievementsStoreListener = -[ - [ "FailureReason", "classgalaxy_1_1api_1_1IStatsAndAchievementsStoreListener.html#a2e1fab5fc244b0783172514baec21a6e", [ - [ "FAILURE_REASON_UNDEFINED", "classgalaxy_1_1api_1_1IStatsAndAchievementsStoreListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39", null ], - [ "FAILURE_REASON_CONNECTION_FAILURE", "classgalaxy_1_1api_1_1IStatsAndAchievementsStoreListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0", null ] - ] ], - [ "OnUserStatsAndAchievementsStoreFailure", "classgalaxy_1_1api_1_1IStatsAndAchievementsStoreListener.html#a24285d1f5582f92213e68ad3ac97f061", null ], - [ "OnUserStatsAndAchievementsStoreSuccess", "classgalaxy_1_1api_1_1IStatsAndAchievementsStoreListener.html#a63c77ca57cee4a6f564158ec1c03f7f1", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IStatsAndAchievementsStoreListener__inherit__graph.map b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IStatsAndAchievementsStoreListener__inherit__graph.map deleted file mode 100644 index 13140e853..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IStatsAndAchievementsStoreListener__inherit__graph.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IStatsAndAchievementsStoreListener__inherit__graph.md5 b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IStatsAndAchievementsStoreListener__inherit__graph.md5 deleted file mode 100644 index 4afce1552..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IStatsAndAchievementsStoreListener__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -ea26f02060b6c7d9db2f9daf4125a6af \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IStatsAndAchievementsStoreListener__inherit__graph.svg b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IStatsAndAchievementsStoreListener__inherit__graph.svg deleted file mode 100644 index d53570701..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IStatsAndAchievementsStoreListener__inherit__graph.svg +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - -IStatsAndAchievementsStoreListener - - -Node0 - - -IStatsAndAchievementsStore -Listener - - - - -Node1 - - -GalaxyTypeAwareListener -< STATS_AND_ACHIEVEMENTS -_STORE > - - - - -Node1->Node0 - - - - -Node2 - - -IGalaxyListener - - - - -Node2->Node1 - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IStorage-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IStorage-members.html deleted file mode 100644 index 223bc55a5..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IStorage-members.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
IStorage Member List
-
-
- -

This is the complete list of members for IStorage, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - -
DownloadSharedFile(SharedFileID sharedFileID, ISharedFileDownloadListener *const listener=NULL)=0IStoragepure virtual
FileDelete(const char *fileName)=0IStoragepure virtual
FileExists(const char *fileName)=0IStoragepure virtual
FileRead(const char *fileName, void *data, uint32_t dataSize)=0IStoragepure virtual
FileShare(const char *fileName, IFileShareListener *const listener=NULL)=0IStoragepure virtual
FileWrite(const char *fileName, const void *data, uint32_t dataSize)=0IStoragepure virtual
GetDownloadedSharedFileByIndex(uint32_t index)=0IStoragepure virtual
GetDownloadedSharedFileCount()=0IStoragepure virtual
GetFileCount()=0IStoragepure virtual
GetFileNameByIndex(uint32_t index)=0IStoragepure virtual
GetFileNameCopyByIndex(uint32_t index, char *buffer, uint32_t bufferLength)=0IStoragepure virtual
GetFileSize(const char *fileName)=0IStoragepure virtual
GetFileTimestamp(const char *fileName)=0IStoragepure virtual
GetSharedFileName(SharedFileID sharedFileID)=0IStoragepure virtual
GetSharedFileNameCopy(SharedFileID sharedFileID, char *buffer, uint32_t bufferLength)=0IStoragepure virtual
GetSharedFileOwner(SharedFileID sharedFileID)=0IStoragepure virtual
GetSharedFileSize(SharedFileID sharedFileID)=0IStoragepure virtual
SharedFileClose(SharedFileID sharedFileID)=0IStoragepure virtual
SharedFileRead(SharedFileID sharedFileID, void *data, uint32_t dataSize, uint32_t offset=0)=0IStoragepure virtual
~IStorage() (defined in IStorage)IStorageinlinevirtual
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IStorage.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IStorage.html deleted file mode 100644 index 1ebb0c164..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IStorage.html +++ /dev/null @@ -1,949 +0,0 @@ - - - - - - - -GOG Galaxy: IStorage Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
IStorage Class Referenceabstract
-
-
- -

The interface for managing of cloud storage files. - More...

- -

#include <IStorage.h>

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

virtual void FileWrite (const char *fileName, const void *data, uint32_t dataSize)=0
 Writes data into the file. More...
 
virtual uint32_t FileRead (const char *fileName, void *data, uint32_t dataSize)=0
 Reads file content into the buffer. More...
 
virtual void FileDelete (const char *fileName)=0
 Deletes the file. More...
 
virtual bool FileExists (const char *fileName)=0
 Returns if the file exists. More...
 
virtual uint32_t GetFileSize (const char *fileName)=0
 Returns the size of the file. More...
 
virtual uint32_t GetFileTimestamp (const char *fileName)=0
 Returns the timestamp of the last file modification. More...
 
virtual uint32_t GetFileCount ()=0
 Returns number of the files in the storage. More...
 
virtual const char * GetFileNameByIndex (uint32_t index)=0
 Returns name of the file. More...
 
virtual void GetFileNameCopyByIndex (uint32_t index, char *buffer, uint32_t bufferLength)=0
 Copies the name of the file to a buffer. More...
 
virtual void FileShare (const char *fileName, IFileShareListener *const listener=NULL)=0
 Uploads the file for sharing. More...
 
virtual void DownloadSharedFile (SharedFileID sharedFileID, ISharedFileDownloadListener *const listener=NULL)=0
 Downloads previously shared file. More...
 
virtual const char * GetSharedFileName (SharedFileID sharedFileID)=0
 Gets name of downloaded shared file. More...
 
virtual void GetSharedFileNameCopy (SharedFileID sharedFileID, char *buffer, uint32_t bufferLength)=0
 Copies the name of downloaded shared file to a buffer. More...
 
virtual uint32_t GetSharedFileSize (SharedFileID sharedFileID)=0
 Gets size of downloaded shared file. More...
 
virtual GalaxyID GetSharedFileOwner (SharedFileID sharedFileID)=0
 Gets the owner of downloaded shared file. More...
 
virtual uint32_t SharedFileRead (SharedFileID sharedFileID, void *data, uint32_t dataSize, uint32_t offset=0)=0
 Reads downloaded shared file content into the buffer. More...
 
virtual void SharedFileClose (SharedFileID sharedFileID)=0
 Closes downloaded shared file and frees the memory. More...
 
virtual uint32_t GetDownloadedSharedFileCount ()=0
 Returns the number of open downloaded shared files. More...
 
virtual SharedFileID GetDownloadedSharedFileByIndex (uint32_t index)=0
 Returns the ID of the open downloaded shared file. More...
 
-

Detailed Description

-

The interface for managing of cloud storage files.

-

Member Function Documentation

- -

◆ DownloadSharedFile()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void DownloadSharedFile (SharedFileID sharedFileID,
ISharedFileDownloadListener *const listener = NULL 
)
-
-pure virtual
-
- -

Downloads previously shared file.

-

This call is asynchronous. Responses come to the ISharedFileDownloadListener.

-
Parameters
- - - -
[in]sharedFileIDThe ID of the shared file.
[in]listenerThe listener for specific operation.
-
-
- -
-
- -

◆ FileDelete()

- -
-
- - - - - -
- - - - - - - - -
virtual void FileDelete (const char * fileName)
-
-pure virtual
-
- -

Deletes the file.

-
Parameters
- - -
[in]fileNameThe name of the file in the form of a path (see the description of FileWrite()).
-
-
- -
-
- -

◆ FileExists()

- -
-
- - - - - -
- - - - - - - - -
virtual bool FileExists (const char * fileName)
-
-pure virtual
-
- -

Returns if the file exists.

-
Parameters
- - -
[in]fileNameThe name of the file in the form of a path (see the description of FileWrite()).
-
-
-
Returns
If the file exist.
- -
-
- -

◆ FileRead()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
virtual uint32_t FileRead (const char * fileName,
void * data,
uint32_t dataSize 
)
-
-pure virtual
-
- -

Reads file content into the buffer.

-
Parameters
- - - - -
[in]fileNameThe name of the file in the form of a path (see the description of FileWrite()).
[in,out]dataThe output buffer.
[in]dataSizeThe size of the output buffer.
-
-
-
Returns
The number of bytes written to the buffer.
- -
-
- -

◆ FileShare()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void FileShare (const char * fileName,
IFileShareListener *const listener = NULL 
)
-
-pure virtual
-
- -

Uploads the file for sharing.

-

This call is asynchronous. Responses come to the IFileShareListener.

-
Parameters
- - - -
[in]fileNameThe name of the file in the form of a path (see the description of FileWrite()).
[in]listenerThe listener for specific operation.
-
-
- -
-
- -

◆ FileWrite()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
virtual void FileWrite (const char * fileName,
const void * data,
uint32_t dataSize 
)
-
-pure virtual
-
- -

Writes data into the file.

-
Precondition
The name that specifies the file has to be provided in the form of a relative path that uses slashes as separators and is a valid UTF-8 string. Every part of the path must must be portable, i.e. it cannot refer to any special or restricted name on any of the supported platforms. Backslashes are not allowed. The files created using this method will be stored in GOG Galaxy internal directory and should be accessed only via Galaxy SDK methods.
-
Parameters
- - - - -
[in]fileNameThe name of the file in the form of a path (see the description of the method).
[in]dataThe data to write.
[in]dataSizeThe size of the data to write.
-
-
- -
-
- -

◆ GetDownloadedSharedFileByIndex()

- -
-
- - - - - -
- - - - - - - - -
virtual SharedFileID GetDownloadedSharedFileByIndex (uint32_t index)
-
-pure virtual
-
- -

Returns the ID of the open downloaded shared file.

-
Parameters
- - -
[in]indexIndex as an integer in the range of [0, number of open downloaded shared files).
-
-
-
Returns
The ID of the shared file.
- -
-
- -

◆ GetDownloadedSharedFileCount()

- -
-
- - - - - -
- - - - - - - -
virtual uint32_t GetDownloadedSharedFileCount ()
-
-pure virtual
-
- -

Returns the number of open downloaded shared files.

-
Returns
The number of open downloaded shared files.
- -
-
- -

◆ GetFileCount()

- -
-
- - - - - -
- - - - - - - -
virtual uint32_t GetFileCount ()
-
-pure virtual
-
- -

Returns number of the files in the storage.

-
Returns
The number of the files in the storage.
- -
-
- -

◆ GetFileNameByIndex()

- -
-
- - - - - -
- - - - - - - - -
virtual const char* GetFileNameByIndex (uint32_t index)
-
-pure virtual
-
- -

Returns name of the file.

-
Parameters
- - -
[in]indexIndex as an integer in the range of [0, number of files).
-
-
-
Returns
The name of the file.
- -
-
- -

◆ GetFileNameCopyByIndex()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
virtual void GetFileNameCopyByIndex (uint32_t index,
char * buffer,
uint32_t bufferLength 
)
-
-pure virtual
-
- -

Copies the name of the file to a buffer.

-
Parameters
- - - - -
[in]indexIndex as an integer in the range of [0, number of files).
[in,out]bufferThe output buffer.
[in]bufferLengthThe size of the output buffer.
-
-
- -
-
- -

◆ GetFileSize()

- -
-
- - - - - -
- - - - - - - - -
virtual uint32_t GetFileSize (const char * fileName)
-
-pure virtual
-
- -

Returns the size of the file.

-
Parameters
- - -
[in]fileNameThe name of the file in the form of a path (see the description of FileWrite()).
-
-
-
Returns
The size of the file.
- -
-
- -

◆ GetFileTimestamp()

- -
-
- - - - - -
- - - - - - - - -
virtual uint32_t GetFileTimestamp (const char * fileName)
-
-pure virtual
-
- -

Returns the timestamp of the last file modification.

-
Parameters
- - -
[in]fileNameThe name of the file in the form of a path (see the description of FileWrite()).
-
-
-
Returns
The time of file's last modification.
- -
-
- -

◆ GetSharedFileName()

- -
-
- - - - - -
- - - - - - - - -
virtual const char* GetSharedFileName (SharedFileID sharedFileID)
-
-pure virtual
-
- -

Gets name of downloaded shared file.

-
Precondition
Download the file first by calling DownloadSharedFile().
-
Parameters
- - -
[in]sharedFileIDThe ID of the shared file.
-
-
-
Returns
The name of the shared file.
- -
-
- -

◆ GetSharedFileNameCopy()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
virtual void GetSharedFileNameCopy (SharedFileID sharedFileID,
char * buffer,
uint32_t bufferLength 
)
-
-pure virtual
-
- -

Copies the name of downloaded shared file to a buffer.

-
Precondition
Download the file first by calling DownloadSharedFile().
-
Parameters
- - - - -
[in]sharedFileIDThe ID of the shared file.
[in,out]bufferThe output buffer.
[in]bufferLengthThe size of the output buffer.
-
-
- -
-
- -

◆ GetSharedFileOwner()

- -
-
- - - - - -
- - - - - - - - -
virtual GalaxyID GetSharedFileOwner (SharedFileID sharedFileID)
-
-pure virtual
-
- -

Gets the owner of downloaded shared file.

-
Precondition
Download the file first by calling DownloadSharedFile().
-
Parameters
- - -
[in]sharedFileIDThe ID of the shared file.
-
-
-
Returns
The owner of the shared file.
- -
-
- -

◆ GetSharedFileSize()

- -
-
- - - - - -
- - - - - - - - -
virtual uint32_t GetSharedFileSize (SharedFileID sharedFileID)
-
-pure virtual
-
- -

Gets size of downloaded shared file.

-
Precondition
Download the file first by calling DownloadSharedFile().
-
Parameters
- - -
[in]sharedFileIDThe ID of the shared file.
-
-
-
Returns
The size of the shared file.
- -
-
- -

◆ SharedFileClose()

- -
-
- - - - - -
- - - - - - - - -
virtual void SharedFileClose (SharedFileID sharedFileID)
-
-pure virtual
-
- -

Closes downloaded shared file and frees the memory.

-

The content of the file will not be available until next download.

-
Precondition
Download the file first by calling DownloadSharedFile().
-
Parameters
- - -
[in]sharedFileIDThe ID of the shared file.
-
-
- -
-
- -

◆ SharedFileRead()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
virtual uint32_t SharedFileRead (SharedFileID sharedFileID,
void * data,
uint32_t dataSize,
uint32_t offset = 0 
)
-
-pure virtual
-
- -

Reads downloaded shared file content into the buffer.

-
Precondition
Download the file first by calling DownloadSharedFile().
-
Parameters
- - - - - -
[in]sharedFileIDThe ID of the shared file.
[in,out]dataThe output buffer.
[in]dataSizeThe size of the output buffer.
[in]offsetThe number of bytes to skip from the beginning of the file.
-
-
-
Returns
The number of bytes written to the buffer.
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IStorage.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IStorage.js deleted file mode 100644 index 10a591268..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IStorage.js +++ /dev/null @@ -1,23 +0,0 @@ -var classgalaxy_1_1api_1_1IStorage = -[ - [ "~IStorage", "classgalaxy_1_1api_1_1IStorage.html#ae72678ebbce0d219efd0e78b66af120d", null ], - [ "DownloadSharedFile", "classgalaxy_1_1api_1_1IStorage.html#aabdcf590bfdd6365e82aba4f1f332005", null ], - [ "FileDelete", "classgalaxy_1_1api_1_1IStorage.html#a51d41b83fca88ea99f4efbf8eb821759", null ], - [ "FileExists", "classgalaxy_1_1api_1_1IStorage.html#a3e0e304228ce32f9adf541cebf9c5056", null ], - [ "FileRead", "classgalaxy_1_1api_1_1IStorage.html#acf76533ce14ff9dd852d06e311447ef9", null ], - [ "FileShare", "classgalaxy_1_1api_1_1IStorage.html#a10cfbb334ff48fcb8c9f891adc45ca1d", null ], - [ "FileWrite", "classgalaxy_1_1api_1_1IStorage.html#a1c3179a4741b7e84fe2626a696e9b4df", null ], - [ "GetDownloadedSharedFileByIndex", "classgalaxy_1_1api_1_1IStorage.html#a125d232851e082fefbb19320be248f27", null ], - [ "GetDownloadedSharedFileCount", "classgalaxy_1_1api_1_1IStorage.html#ae8d18b49e528f976f733557c54a75ef2", null ], - [ "GetFileCount", "classgalaxy_1_1api_1_1IStorage.html#a17310a285edce9efbebb58d402380ef8", null ], - [ "GetFileNameByIndex", "classgalaxy_1_1api_1_1IStorage.html#abac455600508afd15e56cbc3b9297c2d", null ], - [ "GetFileNameCopyByIndex", "classgalaxy_1_1api_1_1IStorage.html#a4b16324889bc91da876d07c822e2506a", null ], - [ "GetFileSize", "classgalaxy_1_1api_1_1IStorage.html#aaa5db00c6af8afc0b230bd237a3bdac3", null ], - [ "GetFileTimestamp", "classgalaxy_1_1api_1_1IStorage.html#a978cf0ad929a1b92456978ec2806c9d8", null ], - [ "GetSharedFileName", "classgalaxy_1_1api_1_1IStorage.html#aa5c616ea1b64b7be860dc61d3d467dd3", null ], - [ "GetSharedFileNameCopy", "classgalaxy_1_1api_1_1IStorage.html#aa42aa0a57227db892066c3e948c16e38", null ], - [ "GetSharedFileOwner", "classgalaxy_1_1api_1_1IStorage.html#a96afe47cd5ed635950f15f84b5cd51d3", null ], - [ "GetSharedFileSize", "classgalaxy_1_1api_1_1IStorage.html#af389717a0a383175e17b8821b6e38f44", null ], - [ "SharedFileClose", "classgalaxy_1_1api_1_1IStorage.html#a3f52b2af09c33a746891606b574d4526", null ], - [ "SharedFileRead", "classgalaxy_1_1api_1_1IStorage.html#af4bbf0a1c95571c56b0eca0e5c3e9089", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ITelemetry-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ITelemetry-members.html deleted file mode 100644 index a2354e8ec..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ITelemetry-members.html +++ /dev/null @@ -1,121 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
ITelemetry Member List
-
-
- -

This is the complete list of members for ITelemetry, including all inherited members.

- - - - - - - - - - - - - - - - -
AddArrayParam(const char *name)=0ITelemetrypure virtual
AddBoolParam(const char *name, bool value)=0ITelemetrypure virtual
AddFloatParam(const char *name, double value)=0ITelemetrypure virtual
AddIntParam(const char *name, int32_t value)=0ITelemetrypure virtual
AddObjectParam(const char *name)=0ITelemetrypure virtual
AddStringParam(const char *name, const char *value)=0ITelemetrypure virtual
ClearParams()=0ITelemetrypure virtual
CloseParam()=0ITelemetrypure virtual
GetVisitID()=0ITelemetrypure virtual
GetVisitIDCopy(char *buffer, uint32_t bufferLength)=0ITelemetrypure virtual
ResetVisitID()=0ITelemetrypure virtual
SendAnonymousTelemetryEvent(const char *eventType, ITelemetryEventSendListener *const listener=NULL)=0ITelemetrypure virtual
SendTelemetryEvent(const char *eventType, ITelemetryEventSendListener *const listener=NULL)=0ITelemetrypure virtual
SetSamplingClass(const char *name)=0ITelemetrypure virtual
~ITelemetry() (defined in ITelemetry)ITelemetryinlinevirtual
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ITelemetry.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ITelemetry.html deleted file mode 100644 index cf4b9a3a1..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ITelemetry.html +++ /dev/null @@ -1,725 +0,0 @@ - - - - - - - -GOG Galaxy: ITelemetry Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
ITelemetry Class Referenceabstract
-
-
- -

The interface for handling telemetry. - More...

- -

#include <ITelemetry.h>

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

virtual void AddStringParam (const char *name, const char *value)=0
 Adds a string parameter to be applied next time you call SendTelemetryEvent() or SendAnonymousTelemetryEvent(). More...
 
virtual void AddIntParam (const char *name, int32_t value)=0
 Adds an integer parameter to be applied next time you call SendTelemetryEvent() or SendAnonymousTelemetryEvent(). More...
 
virtual void AddFloatParam (const char *name, double value)=0
 Adds a float parameter to be applied next time you call SendTelemetryEvent() or SendAnonymousTelemetryEvent(). More...
 
virtual void AddBoolParam (const char *name, bool value)=0
 Adds a boolean parameter to be applied next time you call SendTelemetryEvent() or SendAnonymousTelemetryEvent(). More...
 
virtual void AddObjectParam (const char *name)=0
 Adds an object parameter to be applied next time you call SendTelemetryEvent() or SendAnonymousTelemetryEvent(). More...
 
virtual void AddArrayParam (const char *name)=0
 Adds an array parameter to be applied next time you call SendTelemetryEvent() or SendAnonymousTelemetryEvent(). More...
 
virtual void CloseParam ()=0
 Closes an object or array parameter and leaves its scope. More...
 
virtual void ClearParams ()=0
 Clears all parameters that may have been set so far at any level. More...
 
virtual void SetSamplingClass (const char *name)=0
 Sets a sampling class to be applied next time you call SendTelemetryEvent() or SendAnonymousTelemetryEvent(). More...
 
virtual uint32_t SendTelemetryEvent (const char *eventType, ITelemetryEventSendListener *const listener=NULL)=0
 Sends a telemetry event. More...
 
virtual uint32_t SendAnonymousTelemetryEvent (const char *eventType, ITelemetryEventSendListener *const listener=NULL)=0
 Sends an anonymous telemetry event. More...
 
virtual const char * GetVisitID ()=0
 Retrieves current VisitID. More...
 
virtual void GetVisitIDCopy (char *buffer, uint32_t bufferLength)=0
 Copies current VisitID. More...
 
virtual void ResetVisitID ()=0
 Resets current VisitID. More...
 
-

Detailed Description

-

The interface for handling telemetry.

-

Member Function Documentation

- -

◆ AddArrayParam()

- -
-
- - - - - -
- - - - - - - - -
virtual void AddArrayParam (const char * name)
-
-pure virtual
-
- -

Adds an array parameter to be applied next time you call SendTelemetryEvent() or SendAnonymousTelemetryEvent().

-

Subsequent calls to add parameters operate within the newly created array parameter. In order to be able to add parameters on the upper level, you need to call ITelemetry::CloseParam().

-
Remarks
You can add multiple parameters of different types.
-
-All object parameters must have a unique name.
-
Parameters
- - -
[in]nameThe name of the parameter or NULL when adding a value to an array.
-
-
- -
-
- -

◆ AddBoolParam()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void AddBoolParam (const char * name,
bool value 
)
-
-pure virtual
-
- -

Adds a boolean parameter to be applied next time you call SendTelemetryEvent() or SendAnonymousTelemetryEvent().

-
Remarks
You can add multiple parameters of different types.
-
-All object parameters must have a unique name.
-
Parameters
- - - -
[in]nameThe name of the parameter or NULL when adding a value to an array.
[in]valueThe value of the parameter.
-
-
- -
-
- -

◆ AddFloatParam()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void AddFloatParam (const char * name,
double value 
)
-
-pure virtual
-
- -

Adds a float parameter to be applied next time you call SendTelemetryEvent() or SendAnonymousTelemetryEvent().

-
Remarks
You can add multiple parameters of different types.
-
-All object parameters must have a unique name.
-
Parameters
- - - -
[in]nameThe name of the parameter or NULL when adding a value to an array.
[in]valueThe value of the parameter.
-
-
- -
-
- -

◆ AddIntParam()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void AddIntParam (const char * name,
int32_t value 
)
-
-pure virtual
-
- -

Adds an integer parameter to be applied next time you call SendTelemetryEvent() or SendAnonymousTelemetryEvent().

-
Remarks
You can add multiple parameters of different types.
-
-All object parameters must have a unique name.
-
Parameters
- - - -
[in]nameThe name of the parameter or NULL when adding a value to an array.
[in]valueThe value of the parameter.
-
-
- -
-
- -

◆ AddObjectParam()

- -
-
- - - - - -
- - - - - - - - -
virtual void AddObjectParam (const char * name)
-
-pure virtual
-
- -

Adds an object parameter to be applied next time you call SendTelemetryEvent() or SendAnonymousTelemetryEvent().

-

Subsequent calls to add parameters operate within the newly created object parameter. In order to be able to add parameters on the upper level, you need to call ITelemetry::CloseParam().

-
Remarks
You can add multiple parameters of different types.
-
-All object parameters must have a unique name.
-
Parameters
- - -
[in]nameThe name of the parameter or NULL when adding a value to an array.
-
-
- -
-
- -

◆ AddStringParam()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void AddStringParam (const char * name,
const char * value 
)
-
-pure virtual
-
- -

Adds a string parameter to be applied next time you call SendTelemetryEvent() or SendAnonymousTelemetryEvent().

-
Remarks
You can add multiple parameters of different types.
-
-All object parameters must have a unique name.
-
Parameters
- - - -
[in]nameThe name of the parameter or NULL when adding a value to an array.
[in]valueThe value of the parameter.
-
-
- -
-
- -

◆ ClearParams()

- -
-
- - - - - -
- - - - - - - -
virtual void ClearParams ()
-
-pure virtual
-
- -

Clears all parameters that may have been set so far at any level.

-

This allows for safely starting to build an event from scratch.

- -
-
- -

◆ CloseParam()

- -
-
- - - - - -
- - - - - - - -
virtual void CloseParam ()
-
-pure virtual
-
- -

Closes an object or array parameter and leaves its scope.

-

This allows for adding parameters to the upper scope.

-
Remarks
Once closed, an object or array cannot be extended with new parameters.
-
-Has no effect on simple parameters as well as on the event object itself.
- -
-
- -

◆ GetVisitID()

- -
-
- - - - - -
- - - - - - - -
virtual const char* GetVisitID ()
-
-pure virtual
-
- -

Retrieves current VisitID.

-

Visit ID is used to link subsequent telemetry events that corresponds to the same action (e.x. game session).

-
Returns
Visit ID.
- -
-
- -

◆ GetVisitIDCopy()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void GetVisitIDCopy (char * buffer,
uint32_t bufferLength 
)
-
-pure virtual
-
- -

Copies current VisitID.

-

Visit ID is used to link subsequent telemetry events that corresponds to the same action (e.x. game session).

-
Parameters
- - - -
[in,out]bufferThe output buffer.
[in]bufferLengthThe size of the output buffer.
-
-
- -
-
- -

◆ ResetVisitID()

- -
-
- - - - - -
- - - - - - - -
virtual void ResetVisitID ()
-
-pure virtual
-
- -

Resets current VisitID.

-

Visit ID is used to link subsequent telemetry events that corresponds to the same action (e.x. game session).

- -
-
- -

◆ SendAnonymousTelemetryEvent()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual uint32_t SendAnonymousTelemetryEvent (const char * eventType,
ITelemetryEventSendListener *const listener = NULL 
)
-
-pure virtual
-
- -

Sends an anonymous telemetry event.

-

This call is asynchronous. Responses come to the ITelemetryEventSendListener.

-
Remarks
After each call to SendTelemetryEvent() or SendAnonymousTelemetryEvent() all parameters are cleared automatically as if you called ClearParams().
-
-Internal event index returned by this method should only be used to identify sent events in callbacks that come to the ITelemetryEventSendListener.
-
Parameters
- - - -
[in]eventTypeThe type of the event.
[in]listenerThe listener for specific operation.
-
-
-
Returns
Internal event index.
- -
-
- -

◆ SendTelemetryEvent()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual uint32_t SendTelemetryEvent (const char * eventType,
ITelemetryEventSendListener *const listener = NULL 
)
-
-pure virtual
-
- -

Sends a telemetry event.

-

This call is asynchronous. Responses come to the ITelemetryEventSendListener.

-
Remarks
After each call to SendTelemetryEvent() or SendAnonymousTelemetryEvent() all parameters are cleared automatically as if you called ClearParams().
-
-Internal event index returned by this method should only be used to identify sent events in callbacks that come to the ITelemetryEventSendListener.
-
Parameters
- - - -
[in]eventTypeThe type of the event.
[in]listenerThe listener for specific operation.
-
-
-
Returns
Internal event index.
- -
-
- -

◆ SetSamplingClass()

- -
-
- - - - - -
- - - - - - - - -
virtual void SetSamplingClass (const char * name)
-
-pure virtual
-
- -

Sets a sampling class to be applied next time you call SendTelemetryEvent() or SendAnonymousTelemetryEvent().

-
Parameters
- - -
[in]nameThe name of the sampling class.
-
-
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ITelemetry.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ITelemetry.js deleted file mode 100644 index 348d2d405..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ITelemetry.js +++ /dev/null @@ -1,18 +0,0 @@ -var classgalaxy_1_1api_1_1ITelemetry = -[ - [ "~ITelemetry", "classgalaxy_1_1api_1_1ITelemetry.html#a6d59d8c9180466759b0444dc9aa9a5c0", null ], - [ "AddArrayParam", "classgalaxy_1_1api_1_1ITelemetry.html#a07994689bf6a549ae654698dd9c25a0b", null ], - [ "AddBoolParam", "classgalaxy_1_1api_1_1ITelemetry.html#a6e9402df9141078a493f01285a61dae5", null ], - [ "AddFloatParam", "classgalaxy_1_1api_1_1ITelemetry.html#a836a98e4ffc28abd853c6bf24227c4f1", null ], - [ "AddIntParam", "classgalaxy_1_1api_1_1ITelemetry.html#a9bd9baaba76b0b075ae024c94859e244", null ], - [ "AddObjectParam", "classgalaxy_1_1api_1_1ITelemetry.html#a68b7108e87039bf36432c51c01c3879c", null ], - [ "AddStringParam", "classgalaxy_1_1api_1_1ITelemetry.html#adf201bc466f23d5d1c97075d8ac54251", null ], - [ "ClearParams", "classgalaxy_1_1api_1_1ITelemetry.html#aec117a240e2a5d255834044301ef9269", null ], - [ "CloseParam", "classgalaxy_1_1api_1_1ITelemetry.html#a0f87fdc31f540ce3816520fc0d17eb23", null ], - [ "GetVisitID", "classgalaxy_1_1api_1_1ITelemetry.html#a184d85edc455e7c6742e62e3279d35e3", null ], - [ "GetVisitIDCopy", "classgalaxy_1_1api_1_1ITelemetry.html#afce956301c516233bbe752f29a89c420", null ], - [ "ResetVisitID", "classgalaxy_1_1api_1_1ITelemetry.html#a2b73bb788af5434e7bba31c899e999be", null ], - [ "SendAnonymousTelemetryEvent", "classgalaxy_1_1api_1_1ITelemetry.html#ae70ab04b9a5df7039bf76b6b9124d30a", null ], - [ "SendTelemetryEvent", "classgalaxy_1_1api_1_1ITelemetry.html#a902944123196aad4dd33ab6ffa4f33f2", null ], - [ "SetSamplingClass", "classgalaxy_1_1api_1_1ITelemetry.html#a53682759c6c71cc3e46df486de95bd3a", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ITelemetryEventSendListener-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ITelemetryEventSendListener-members.html deleted file mode 100644 index d97da86db..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ITelemetryEventSendListener-members.html +++ /dev/null @@ -1,118 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
ITelemetryEventSendListener Member List
-
- -
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ITelemetryEventSendListener.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ITelemetryEventSendListener.html deleted file mode 100644 index 35323239b..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ITelemetryEventSendListener.html +++ /dev/null @@ -1,285 +0,0 @@ - - - - - - - -GOG Galaxy: ITelemetryEventSendListener Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
ITelemetryEventSendListener Class Referenceabstract
-
-
- -

Listener for the event of sending a telemetry event. - More...

- -

#include <ITelemetry.h>

-
-Inheritance diagram for ITelemetryEventSendListener:
-
-
-
-
[legend]
- - - - - -

-Public Types

enum  FailureReason {
-  FAILURE_REASON_UNDEFINED, -FAILURE_REASON_CLIENT_FORBIDDEN, -FAILURE_REASON_INVALID_DATA, -FAILURE_REASON_CONNECTION_FAILURE, -
-  FAILURE_REASON_NO_SAMPLING_CLASS_IN_CONFIG, -FAILURE_REASON_SAMPLING_CLASS_FIELD_MISSING, -FAILURE_REASON_EVENT_SAMPLED_OUT -
- }
 The reason of a failure in sending a telemetry event. More...
 
- - - - - - - -

-Public Member Functions

virtual void OnTelemetryEventSendSuccess (const char *eventType, uint32_t sentEventIndex)=0
 Notification for the event of sending a telemetry event. More...
 
virtual void OnTelemetryEventSendFailure (const char *eventType, uint32_t sentEventIndex, FailureReason failureReason)=0
 Notification for the event of a failure in sending a telemetry event. More...
 
- - - - - -

-Additional Inherited Members

- Static Public Member Functions inherited from GalaxyTypeAwareListener< TELEMETRY_EVENT_SEND_LISTENER >
static ListenerType GetListenerType ()
 Returns the type of the listener. More...
 
-

Detailed Description

-

Listener for the event of sending a telemetry event.

-

Member Enumeration Documentation

- -

◆ FailureReason

- -
-
- - - - -
enum FailureReason
-
- -

The reason of a failure in sending a telemetry event.

- - - - - - - - -
Enumerator
FAILURE_REASON_UNDEFINED 

Unspecified error.

-
FAILURE_REASON_CLIENT_FORBIDDEN 

Sending telemetry events is forbidden for this application.

-
FAILURE_REASON_INVALID_DATA 

The event of given type and form does not match specification.

-
FAILURE_REASON_CONNECTION_FAILURE 

Unable to communicate with backend services.

-
FAILURE_REASON_NO_SAMPLING_CLASS_IN_CONFIG 

The event sampling class not present in configuration.

-
FAILURE_REASON_SAMPLING_CLASS_FIELD_MISSING 

Sampling class' field not present in the event.

-
FAILURE_REASON_EVENT_SAMPLED_OUT 

The event did not match sampling criteria.

-
- -
-
-

Member Function Documentation

- -

◆ OnTelemetryEventSendFailure()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
virtual void OnTelemetryEventSendFailure (const char * eventType,
uint32_t sentEventIndex,
FailureReason failureReason 
)
-
-pure virtual
-
- -

Notification for the event of a failure in sending a telemetry event.

-
Parameters
- - - - -
[in]eventTypeThe type of the event.
[in]sentEventIndexThe internal index of the sent event.
[in]failureReasonThe cause of the failure.
-
-
- -
-
- -

◆ OnTelemetryEventSendSuccess()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void OnTelemetryEventSendSuccess (const char * eventType,
uint32_t sentEventIndex 
)
-
-pure virtual
-
- -

Notification for the event of sending a telemetry event.

-
Parameters
- - - -
[in]eventTypeThe type of the event.
[in]sentEventIndexThe internal index of the sent event.
-
-
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ITelemetryEventSendListener.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ITelemetryEventSendListener.js deleted file mode 100644 index ed52a86aa..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ITelemetryEventSendListener.js +++ /dev/null @@ -1,14 +0,0 @@ -var classgalaxy_1_1api_1_1ITelemetryEventSendListener = -[ - [ "FailureReason", "classgalaxy_1_1api_1_1ITelemetryEventSendListener.html#a2e1fab5fc244b0783172514baec21a6e", [ - [ "FAILURE_REASON_UNDEFINED", "classgalaxy_1_1api_1_1ITelemetryEventSendListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39", null ], - [ "FAILURE_REASON_CLIENT_FORBIDDEN", "classgalaxy_1_1api_1_1ITelemetryEventSendListener.html#a2e1fab5fc244b0783172514baec21a6ea7fba7ed642dcdbd0369695993582e872", null ], - [ "FAILURE_REASON_INVALID_DATA", "classgalaxy_1_1api_1_1ITelemetryEventSendListener.html#a2e1fab5fc244b0783172514baec21a6eace58a894eb8fe9f9a3e97f630475ca3a", null ], - [ "FAILURE_REASON_CONNECTION_FAILURE", "classgalaxy_1_1api_1_1ITelemetryEventSendListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0", null ], - [ "FAILURE_REASON_NO_SAMPLING_CLASS_IN_CONFIG", "classgalaxy_1_1api_1_1ITelemetryEventSendListener.html#a2e1fab5fc244b0783172514baec21a6ea86ff39a7adf0a5c2eef68436db4eb9cc", null ], - [ "FAILURE_REASON_SAMPLING_CLASS_FIELD_MISSING", "classgalaxy_1_1api_1_1ITelemetryEventSendListener.html#a2e1fab5fc244b0783172514baec21a6eae1926d3db86e0b3d2d248dde7769755e", null ], - [ "FAILURE_REASON_EVENT_SAMPLED_OUT", "classgalaxy_1_1api_1_1ITelemetryEventSendListener.html#a2e1fab5fc244b0783172514baec21a6ea3d2c601e0008f0c4ecc929feeaa4f58a", null ] - ] ], - [ "OnTelemetryEventSendFailure", "classgalaxy_1_1api_1_1ITelemetryEventSendListener.html#a80164ea4f31e6591804882fff7309ce7", null ], - [ "OnTelemetryEventSendSuccess", "classgalaxy_1_1api_1_1ITelemetryEventSendListener.html#a2458f75178736f5720312a0a8177bdb8", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ITelemetryEventSendListener__inherit__graph.map b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ITelemetryEventSendListener__inherit__graph.map deleted file mode 100644 index 34fb54638..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ITelemetryEventSendListener__inherit__graph.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ITelemetryEventSendListener__inherit__graph.md5 b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ITelemetryEventSendListener__inherit__graph.md5 deleted file mode 100644 index 81e28840c..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ITelemetryEventSendListener__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -74071ea94974c4c13c5d7343914f6299 \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ITelemetryEventSendListener__inherit__graph.svg b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ITelemetryEventSendListener__inherit__graph.svg deleted file mode 100644 index 066aafd41..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1ITelemetryEventSendListener__inherit__graph.svg +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - -ITelemetryEventSendListener - - -Node0 - - -ITelemetryEventSendListener - - - - -Node1 - - -GalaxyTypeAwareListener -< TELEMETRY_EVENT_SEND -_LISTENER > - - - - -Node1->Node0 - - - - -Node2 - - -IGalaxyListener - - - - -Node2->Node1 - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUnauthorizedAccessError-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUnauthorizedAccessError-members.html deleted file mode 100644 index add2f283c..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUnauthorizedAccessError-members.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
IUnauthorizedAccessError Member List
-
-
- -

This is the complete list of members for IUnauthorizedAccessError, including all inherited members.

- - - - - - - - - - -
GetMsg() const =0IErrorpure virtual
GetName() const =0IErrorpure virtual
GetType() const =0IErrorpure virtual
INVALID_ARGUMENT enum value (defined in IError)IError
INVALID_STATE enum value (defined in IError)IError
RUNTIME_ERROR enum value (defined in IError)IError
Type enum nameIError
UNAUTHORIZED_ACCESS enum value (defined in IError)IError
~IError() (defined in IError)IErrorinlinevirtual
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUnauthorizedAccessError.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUnauthorizedAccessError.html deleted file mode 100644 index 3f9b46664..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUnauthorizedAccessError.html +++ /dev/null @@ -1,141 +0,0 @@ - - - - - - - -GOG Galaxy: IUnauthorizedAccessError Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
IUnauthorizedAccessError Class Reference
-
-
- -

The exception thrown when calling Galaxy interfaces while the user is not signed in and thus not authorized for any interaction. - More...

- -

#include <Errors.h>

-
-Inheritance diagram for IUnauthorizedAccessError:
-
-
-
-
[legend]
- - - - - - - - - - - - - - - - -

-Additional Inherited Members

- Public Types inherited from IError
enum  Type { UNAUTHORIZED_ACCESS, -INVALID_ARGUMENT, -INVALID_STATE, -RUNTIME_ERROR - }
 Type of error.
 
- Public Member Functions inherited from IError
virtual const char * GetName () const =0
 Returns the name of the error. More...
 
virtual const char * GetMsg () const =0
 Returns the error message. More...
 
virtual Type GetType () const =0
 Returns the type of the error. More...
 
-

Detailed Description

-

The exception thrown when calling Galaxy interfaces while the user is not signed in and thus not authorized for any interaction.

-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUnauthorizedAccessError__inherit__graph.map b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUnauthorizedAccessError__inherit__graph.map deleted file mode 100644 index 8bb056ac4..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUnauthorizedAccessError__inherit__graph.map +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUnauthorizedAccessError__inherit__graph.md5 b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUnauthorizedAccessError__inherit__graph.md5 deleted file mode 100644 index ea7bb0f07..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUnauthorizedAccessError__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -ed0ebb3d3eb43020604c1f54171d40b5 \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUnauthorizedAccessError__inherit__graph.svg b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUnauthorizedAccessError__inherit__graph.svg deleted file mode 100644 index c4957e14e..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUnauthorizedAccessError__inherit__graph.svg +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - -IUnauthorizedAccessError - - -Node0 - - -IUnauthorizedAccessError - - - - -Node1 - - -IError - - - - -Node1->Node0 - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUser-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUser-members.html deleted file mode 100644 index 47f90ec66..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUser-members.html +++ /dev/null @@ -1,138 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
IUser Member List
-
-
- -

This is the complete list of members for IUser, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
DeleteUserData(const char *key, ISpecificUserDataListener *const listener=NULL)=0IUserpure virtual
GetAccessToken()=0IUserpure virtual
GetAccessTokenCopy(char *buffer, uint32_t bufferLength)=0IUserpure virtual
GetEncryptedAppTicket(void *encryptedAppTicket, uint32_t maxEncryptedAppTicketSize, uint32_t &currentEncryptedAppTicketSize)=0IUserpure virtual
GetGalaxyID()=0IUserpure virtual
GetSessionID()=0IUserpure virtual
GetUserData(const char *key, GalaxyID userID=GalaxyID())=0IUserpure virtual
GetUserDataByIndex(uint32_t index, char *key, uint32_t keyLength, char *value, uint32_t valueLength, GalaxyID userID=GalaxyID())=0IUserpure virtual
GetUserDataCopy(const char *key, char *buffer, uint32_t bufferLength, GalaxyID userID=GalaxyID())=0IUserpure virtual
GetUserDataCount(GalaxyID userID=GalaxyID())=0IUserpure virtual
IsLoggedOn()=0IUserpure virtual
IsUserDataAvailable(GalaxyID userID=GalaxyID())=0IUserpure virtual
ReportInvalidAccessToken(const char *accessToken, const char *info=NULL)=0IUserpure virtual
RequestEncryptedAppTicket(const void *data, uint32_t dataSize, IEncryptedAppTicketListener *const listener=NULL)=0IUserpure virtual
RequestUserData(GalaxyID userID=GalaxyID(), ISpecificUserDataListener *const listener=NULL)=0IUserpure virtual
SetUserData(const char *key, const char *value, ISpecificUserDataListener *const listener=NULL)=0IUserpure virtual
SignedIn()=0IUserpure virtual
SignInAnonymous(IAuthListener *const listener=NULL)=0IUserpure virtual
SignInAnonymousTelemetry(IAuthListener *const listener=NULL)=0IUserpure virtual
SignInCredentials(const char *login, const char *password, IAuthListener *const listener=NULL)=0IUserpure virtual
SignInEpic(const char *epicAccessToken, const char *epicUsername, IAuthListener *const listener=NULL)=0IUserpure virtual
SignInGalaxy(bool requireOnline=false, IAuthListener *const listener=NULL)=0IUserpure virtual
SignInLauncher(IAuthListener *const listener=NULL)=0IUserpure virtual
SignInPS4(const char *ps4ClientID, IAuthListener *const listener=NULL)=0IUserpure virtual
SignInServerKey(const char *serverKey, IAuthListener *const listener=NULL)=0IUserpure virtual
SignInSteam(const void *steamAppTicket, uint32_t steamAppTicketSize, const char *personaName, IAuthListener *const listener=NULL)=0IUserpure virtual
SignInToken(const char *refreshToken, IAuthListener *const listener=NULL)=0IUserpure virtual
SignInUWP(IAuthListener *const listener=NULL)=0IUserpure virtual
SignInXB1(const char *xboxOneUserID, IAuthListener *const listener=NULL)=0IUserpure virtual
SignInXBLive(const char *token, const char *signature, const char *marketplaceID, const char *locale, IAuthListener *const listener=NULL)=0IUserpure virtual
SignOut()=0IUserpure virtual
~IUser() (defined in IUser)IUserinlinevirtual
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUser.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUser.html deleted file mode 100644 index 86a402de7..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUser.html +++ /dev/null @@ -1,1618 +0,0 @@ - - - - - - - -GOG Galaxy: IUser Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
IUser Class Referenceabstract
-
-
- -

The interface for handling the user account. - More...

- -

#include <IUser.h>

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

virtual bool SignedIn ()=0
 Checks if the user is signed in to Galaxy. More...
 
virtual GalaxyID GetGalaxyID ()=0
 Returns the ID of the user, provided that the user is signed in. More...
 
virtual void SignInCredentials (const char *login, const char *password, IAuthListener *const listener=NULL)=0
 Authenticates the Galaxy Peer with specified user credentials. More...
 
virtual void SignInToken (const char *refreshToken, IAuthListener *const listener=NULL)=0
 Authenticates the Galaxy Peer with refresh token. More...
 
virtual void SignInLauncher (IAuthListener *const listener=NULL)=0
 Authenticates the Galaxy Peer based on CDPR launcher authentication. More...
 
virtual void SignInSteam (const void *steamAppTicket, uint32_t steamAppTicketSize, const char *personaName, IAuthListener *const listener=NULL)=0
 Authenticates the Galaxy Peer based on Steam Encrypted App Ticket. More...
 
virtual void SignInEpic (const char *epicAccessToken, const char *epicUsername, IAuthListener *const listener=NULL)=0
 Authenticates the Galaxy Peer based on Epic Access Token. More...
 
virtual void SignInGalaxy (bool requireOnline=false, IAuthListener *const listener=NULL)=0
 Authenticates the Galaxy Peer based on Galaxy Client authentication. More...
 
virtual void SignInUWP (IAuthListener *const listener=NULL)=0
 Authenticates the Galaxy Peer based on Windows Store authentication in Universal Windows Platform application. More...
 
virtual void SignInPS4 (const char *ps4ClientID, IAuthListener *const listener=NULL)=0
 Authenticates the Galaxy Peer based on PS4 credentials. More...
 
virtual void SignInXB1 (const char *xboxOneUserID, IAuthListener *const listener=NULL)=0
 Authenticates the Galaxy Peer based on XBOX ONE credentials. More...
 
virtual void SignInXBLive (const char *token, const char *signature, const char *marketplaceID, const char *locale, IAuthListener *const listener=NULL)=0
 Authenticates the Galaxy Peer based on Xbox Live tokens. More...
 
virtual void SignInAnonymous (IAuthListener *const listener=NULL)=0
 Authenticates the Galaxy Game Server anonymously. More...
 
virtual void SignInAnonymousTelemetry (IAuthListener *const listener=NULL)=0
 Authenticates the Galaxy Peer anonymously. More...
 
virtual void SignInServerKey (const char *serverKey, IAuthListener *const listener=NULL)=0
 Authenticates the Galaxy Peer with a specified server key. More...
 
virtual void SignOut ()=0
 Signs the Galaxy Peer out. More...
 
virtual void RequestUserData (GalaxyID userID=GalaxyID(), ISpecificUserDataListener *const listener=NULL)=0
 Retrieves/Refreshes user data storage. More...
 
virtual bool IsUserDataAvailable (GalaxyID userID=GalaxyID())=0
 Checks if user data exists. More...
 
virtual const char * GetUserData (const char *key, GalaxyID userID=GalaxyID())=0
 Returns an entry from the data storage of current user. More...
 
virtual void GetUserDataCopy (const char *key, char *buffer, uint32_t bufferLength, GalaxyID userID=GalaxyID())=0
 Copies an entry from the data storage of current user. More...
 
virtual void SetUserData (const char *key, const char *value, ISpecificUserDataListener *const listener=NULL)=0
 Creates or updates an entry in the user data storage. More...
 
virtual uint32_t GetUserDataCount (GalaxyID userID=GalaxyID())=0
 Returns the number of entries in the user data storage. More...
 
virtual bool GetUserDataByIndex (uint32_t index, char *key, uint32_t keyLength, char *value, uint32_t valueLength, GalaxyID userID=GalaxyID())=0
 Returns a property from the user data storage by index. More...
 
virtual void DeleteUserData (const char *key, ISpecificUserDataListener *const listener=NULL)=0
 Clears a property of user data storage. More...
 
virtual bool IsLoggedOn ()=0
 Checks if the user is logged on to Galaxy backend services. More...
 
virtual void RequestEncryptedAppTicket (const void *data, uint32_t dataSize, IEncryptedAppTicketListener *const listener=NULL)=0
 Performs a request for an Encrypted App Ticket. More...
 
virtual void GetEncryptedAppTicket (void *encryptedAppTicket, uint32_t maxEncryptedAppTicketSize, uint32_t &currentEncryptedAppTicketSize)=0
 Returns the Encrypted App Ticket. More...
 
virtual SessionID GetSessionID ()=0
 Returns the ID of current session. More...
 
virtual const char * GetAccessToken ()=0
 Returns the access token for current session. More...
 
virtual void GetAccessTokenCopy (char *buffer, uint32_t bufferLength)=0
 Copies the access token for current session. More...
 
virtual bool ReportInvalidAccessToken (const char *accessToken, const char *info=NULL)=0
 Reports current access token as no longer working. More...
 
-

Detailed Description

-

The interface for handling the user account.

-

Member Function Documentation

- -

◆ DeleteUserData()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void DeleteUserData (const char * key,
ISpecificUserDataListener *const listener = NULL 
)
-
-pure virtual
-
- -

Clears a property of user data storage.

-

This is the same as calling SetUserData() and providing an empty string as the value of the property that is to be altered.

-

This call in asynchronous. Responses come to the IUserDataListener and ISpecificUserDataListener.

-
Parameters
- - - -
[in]keyThe name of the property of the user data storage.
[in]listenerThe listener for specific operation.
-
-
- -
-
- -

◆ GetAccessToken()

- -
-
- - - - - -
- - - - - - - -
virtual const char* GetAccessToken ()
-
-pure virtual
-
- -

Returns the access token for current session.

-
Remarks
This call is not thread-safe as opposed to GetAccessTokenCopy().
-
-The access token that is used for current session might be updated in the background automatically, without any request for that. Each time the access token is updated, a notification comes to the IAccessTokenListener.
-
Returns
The access token.
- -
-
- -

◆ GetAccessTokenCopy()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void GetAccessTokenCopy (char * buffer,
uint32_t bufferLength 
)
-
-pure virtual
-
- -

Copies the access token for current session.

-
Remarks
The access token that is used for current session might be updated in the background automatically, without any request for that. Each time the access token is updated, a notification comes to the IAccessTokenListener.
-
Parameters
- - - -
[in,out]bufferThe output buffer.
[in]bufferLengthThe size of the output buffer.
-
-
- -
-
- -

◆ GetEncryptedAppTicket()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
virtual void GetEncryptedAppTicket (void * encryptedAppTicket,
uint32_t maxEncryptedAppTicketSize,
uint32_t & currentEncryptedAppTicketSize 
)
-
-pure virtual
-
- -

Returns the Encrypted App Ticket.

-

If the buffer that is supposed to take the data is too small, the Encrypted App Ticket will be truncated to its size.

-
Precondition
Retrieve an Encrypted App Ticket first by calling RequestEncryptedAppTicket().
-
Parameters
- - - - -
[in,out]encryptedAppTicketThe buffer for the Encrypted App Ticket.
[in]maxEncryptedAppTicketSizeThe maximum size of the Encrypted App Ticket buffer.
[out]currentEncryptedAppTicketSizeThe actual size of the Encrypted App Ticket.
-
-
- -
-
- -

◆ GetGalaxyID()

- -
-
- - - - - -
- - - - - - - -
virtual GalaxyID GetGalaxyID ()
-
-pure virtual
-
- -

Returns the ID of the user, provided that the user is signed in.

-
Returns
The ID of the user.
- -
-
- -

◆ GetSessionID()

- -
-
- - - - - -
- - - - - - - -
virtual SessionID GetSessionID ()
-
-pure virtual
-
- -

Returns the ID of current session.

-
Returns
The session ID.
- -
-
- -

◆ GetUserData()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual const char* GetUserData (const char * key,
GalaxyID userID = GalaxyID() 
)
-
-pure virtual
-
- -

Returns an entry from the data storage of current user.

-
Remarks
This call is not thread-safe as opposed to GetUserDataCopy().
-
Precondition
Retrieve the user data first by calling RequestUserData().
-
Parameters
- - - -
[in]keyThe name of the property of the user data storage.
[in]userIDThe ID of the user. It can be omitted when reading own data.
-
-
-
Returns
The value of the property, or an empty string if failed.
- -
-
- -

◆ GetUserDataByIndex()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
virtual bool GetUserDataByIndex (uint32_t index,
char * key,
uint32_t keyLength,
char * value,
uint32_t valueLength,
GalaxyID userID = GalaxyID() 
)
-
-pure virtual
-
- -

Returns a property from the user data storage by index.

-
Precondition
Retrieve the user data first by calling RequestUserData().
-
Parameters
- - - - - - - -
[in]indexIndex as an integer in the range of [0, number of entries).
[in,out]keyThe name of the property of the user data storage.
[in]keyLengthThe length of the name of the property of the user data storage.
[in,out]valueThe value of the property of the user data storage.
[in]valueLengthThe length of the value of the property of the user data storage.
[in]userIDThe ID of the user. It can be omitted when reading own data.
-
-
-
Returns
true if succeeded, false when there is no such property.
- -
-
- -

◆ GetUserDataCopy()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
virtual void GetUserDataCopy (const char * key,
char * buffer,
uint32_t bufferLength,
GalaxyID userID = GalaxyID() 
)
-
-pure virtual
-
- -

Copies an entry from the data storage of current user.

-
Precondition
Retrieve the user data first by calling RequestUserData().
-
Parameters
- - - - - -
[in]keyThe name of the property of the user data storage.
[in,out]bufferThe output buffer.
[in]bufferLengthThe size of the output buffer.
[in]userIDThe ID of the user. It can be omitted when reading own data.
-
-
- -
-
- -

◆ GetUserDataCount()

- -
-
- - - - - -
- - - - - - - - -
virtual uint32_t GetUserDataCount (GalaxyID userID = GalaxyID())
-
-pure virtual
-
- -

Returns the number of entries in the user data storage.

-
Precondition
Retrieve the user data first by calling RequestUserData().
-
Parameters
- - -
[in]userIDThe ID of the user. It can be omitted when reading own data.
-
-
-
Returns
The number of entries, or 0 if failed.
- -
-
- -

◆ IsLoggedOn()

- -
-
- - - - - -
- - - - - - - -
virtual bool IsLoggedOn ()
-
-pure virtual
-
- -

Checks if the user is logged on to Galaxy backend services.

-
Remarks
Only a user that has been successfully signed in within Galaxy Service can be logged on to Galaxy backend services, hence a user that is logged on is also signed in, and a user that is not signed in is also not logged on.
-
-Information about being logged on or logged off also comes to the IOperationalStateChangeListener.
-
Returns
true if the user is logged on to Galaxy backend services, false otherwise.
- -
-
- -

◆ IsUserDataAvailable()

- -
-
- - - - - -
- - - - - - - - -
virtual bool IsUserDataAvailable (GalaxyID userID = GalaxyID())
-
-pure virtual
-
- -

Checks if user data exists.

-
Precondition
Retrieve the user data first by calling RequestUserData().
-
Parameters
- - -
[in]userIDThe ID of the user. It can be omitted when checking for own data.
-
-
-
Returns
true if user data exists, false otherwise.
- -
-
- -

◆ ReportInvalidAccessToken()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual bool ReportInvalidAccessToken (const char * accessToken,
const char * info = NULL 
)
-
-pure virtual
-
- -

Reports current access token as no longer working.

-

This starts the process of refreshing access token, unless the process is already in progress. The notifications come to IAccessTokenListener.

-
Remarks
The access token that is used for current session might be updated in the background automatically, without any request for that. Each time the access token is updated, a notification comes to the IAccessTokenListener.
-
-If the specified access token is not the same as the access token for current session that would have been returned by GetAccessToken(), the report will not be accepted and no further action will be performed. In such case do not expect a notification to IAccessTokenListener and simply get the new access token by calling GetAccessToken().
-
Parameters
- - - -
[in]accessTokenThe invalid access token.
[in]infoAdditional information, e.g. the URI of the resource it was used for.
-
-
-
Returns
true if the report was accepted, false otherwise.
- -
-
- -

◆ RequestEncryptedAppTicket()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
virtual void RequestEncryptedAppTicket (const void * data,
uint32_t dataSize,
IEncryptedAppTicketListener *const listener = NULL 
)
-
-pure virtual
-
- -

Performs a request for an Encrypted App Ticket.

-

This call is asynchronous. Responses come to the IEncryptedAppTicketListener.

-
Parameters
- - - - -
[in]dataThe additional data to be placed within the Encrypted App Ticket with the limit of 1023 bytes.
[in]dataSizeThe size of the additional data.
[in]listenerThe listener for specific operation.
-
-
- -
-
- -

◆ RequestUserData()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void RequestUserData (GalaxyID userID = GalaxyID(),
ISpecificUserDataListener *const listener = NULL 
)
-
-pure virtual
-
- -

Retrieves/Refreshes user data storage.

-

This call is asynchronous. Responses come to the IUserDataListener and ISpecificUserDataListener.

-
Parameters
- - - -
[in]userIDThe ID of the user. It can be omitted when requesting for own data.
[in]listenerThe listener for specific operation.
-
-
- -
-
- -

◆ SetUserData()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
virtual void SetUserData (const char * key,
const char * value,
ISpecificUserDataListener *const listener = NULL 
)
-
-pure virtual
-
- -

Creates or updates an entry in the user data storage.

-

This call in asynchronous. Responses come to the IUserDataListener and ISpecificUserDataListener.

-
Remarks
To clear a property, set it to an empty string.
-
Parameters
- - - - -
[in]keyThe name of the property of the user data storage with the limit of 1023 bytes.
[in]valueThe value of the property to set with the limit of 4095 bytes.
[in]listenerThe listener for specific operation.
-
-
- -
-
- -

◆ SignedIn()

- -
-
- - - - - -
- - - - - - - -
virtual bool SignedIn ()
-
-pure virtual
-
- -

Checks if the user is signed in to Galaxy.

-

The user should be reported as signed in as soon as the authentication process is finished.

-

If the user is not able to sign in or gets signed out, there might be either a networking issue or a limited availability of Galaxy backend services.

-

After loosing authentication the user needs to sign in again in order for the Galaxy Peer to operate.

-
Remarks
Information about being signed in or signed out also comes to the IAuthListener and the IOperationalStateChangeListener.
-
Returns
true if the user is signed in, false otherwise.
- -
-
- -

◆ SignInAnonymous()

- -
-
- - - - - -
- - - - - - - - -
virtual void SignInAnonymous (IAuthListener *const listener = NULL)
-
-pure virtual
-
- -

Authenticates the Galaxy Game Server anonymously.

-

This call is asynchronous. Responses come to the IAuthListener (for all GlobalAuthListener-derived and optional listener passed as argument).

-
Remarks
Information about being signed in or signed out also comes to the IOperationalStateChangeListener.
-
Parameters
- - -
[in]listenerThe listener for specific operation.
-
-
- -
-
- -

◆ SignInAnonymousTelemetry()

- -
-
- - - - - -
- - - - - - - - -
virtual void SignInAnonymousTelemetry (IAuthListener *const listener = NULL)
-
-pure virtual
-
- -

Authenticates the Galaxy Peer anonymously.

-

This authentication method enables the peer to send anonymous telemetry events.

-

This call is asynchronous. Responses come to the IAuthListener (for all GlobalAuthListener-derived and optional listener passed as argument).

-
Parameters
- - -
[in]listenerThe listener for specific operation.
-
-
- -
-
- -

◆ SignInCredentials()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
virtual void SignInCredentials (const char * login,
const char * password,
IAuthListener *const listener = NULL 
)
-
-pure virtual
-
- -

Authenticates the Galaxy Peer with specified user credentials.

-

This call is asynchronous. Responses come to the IAuthListener (for all GlobalAuthListener-derived and optional listener passed as argument).

-
Warning
This method is only for testing purposes and is not meant to be used in production environment in any way.
-
Remarks
Information about being signed in or signed out also comes to the IOperationalStateChangeListener.
-
Parameters
- - - - -
[in]loginThe user's login.
[in]passwordThe user's password.
[in]listenerThe listener for specific operation.
-
-
- -
-
- -

◆ SignInEpic()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
virtual void SignInEpic (const char * epicAccessToken,
const char * epicUsername,
IAuthListener *const listener = NULL 
)
-
-pure virtual
-
- -

Authenticates the Galaxy Peer based on Epic Access Token.

-

This call is asynchronous. Responses come to the IAuthListener (for all GlobalAuthListener-derived and optional listener passed as argument).

-
Remarks
Information about being signed in or signed out also comes to the IOperationalStateChangeListener.
-
Parameters
- - - - -
[in]epicAccessTokenThe Authentication Token from the Epic API.
[in]epicUsernameThe username of the Epic account.
[in]listenerThe listener for specific operation.
-
-
- -
-
- -

◆ SignInGalaxy()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void SignInGalaxy (bool requireOnline = false,
IAuthListener *const listener = NULL 
)
-
-pure virtual
-
- -

Authenticates the Galaxy Peer based on Galaxy Client authentication.

-

This call is asynchronous. Responses come to the IAuthListener (for all GlobalAuthListener-derived and optional listener passed as argument).

-
Remarks
Information about being signed in or signed out also comes to the IOperationalStateChangeListener.
-
Parameters
- - - -
[in]requireOnlineIndicates if sing in with Galaxy backend is required.
[in]listenerThe listener for specific operation.
-
-
- -
-
- -

◆ SignInLauncher()

- -
-
- - - - - -
- - - - - - - - -
virtual void SignInLauncher (IAuthListener *const listener = NULL)
-
-pure virtual
-
- -

Authenticates the Galaxy Peer based on CDPR launcher authentication.

-

This call is asynchronous. Responses come to the IAuthListener (for all GlobalAuthListener-derived and optional listener passed as argument).

-
Remarks
Information about being signed in or signed out also comes to the IOperationalStateChangeListener.
-
Note
This method is for internal uses only.
-
Parameters
- - -
[in]listenerThe listener for specific operation.
-
-
- -
-
- -

◆ SignInPS4()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void SignInPS4 (const char * ps4ClientID,
IAuthListener *const listener = NULL 
)
-
-pure virtual
-
- -

Authenticates the Galaxy Peer based on PS4 credentials.

-

This call is asynchronous. Responses come to the IAuthListener (for all GlobalAuthListener-derived and optional listener passed as argument).

-
Remarks
Information about being signed in or signed out also comes to the IOperationalStateChangeListener.
-
Parameters
- - - -
[in]ps4ClientIDThe PlayStation 4 client ID.
[in]listenerThe listener for specific operation.
-
-
- -
-
- -

◆ SignInServerKey()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void SignInServerKey (const char * serverKey,
IAuthListener *const listener = NULL 
)
-
-pure virtual
-
- -

Authenticates the Galaxy Peer with a specified server key.

-

This call is asynchronous. Responses come to the IAuthListener.

-
Warning
Make sure you do not put your server key in public builds.
-
Remarks
Information about being signed in or signed out also comes to the IOperationalStateChangeListener.
-
-Signing in with a server key is meant for server-side usage, meaning that typically there will be no user associated to the session.
-
Parameters
- - - -
[in]serverKeyThe server key.
[in]listenerThe listener for specific operation.
-
-
- -
-
- -

◆ SignInSteam()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
virtual void SignInSteam (const void * steamAppTicket,
uint32_t steamAppTicketSize,
const char * personaName,
IAuthListener *const listener = NULL 
)
-
-pure virtual
-
- -

Authenticates the Galaxy Peer based on Steam Encrypted App Ticket.

-

This call is asynchronous. Responses come to the IAuthListener (for all GlobalAuthListener-derived and optional listener passed as argument).

-
Remarks
Information about being signed in or signed out also comes to the IOperationalStateChangeListener.
-
Parameters
- - - - - -
[in]steamAppTicketThe Encrypted App Ticket from the Steam API.
[in]steamAppTicketSizeThe size of the ticket.
[in]personaNameThe user's persona name, i.e. the username from Steam.
[in]listenerThe listener for specific operation.
-
-
- -
-
- -

◆ SignInToken()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void SignInToken (const char * refreshToken,
IAuthListener *const listener = NULL 
)
-
-pure virtual
-
- -

Authenticates the Galaxy Peer with refresh token.

-

This call is asynchronous. Responses come to the IAuthListener (for all GlobalAuthListener-derived and optional listener passed as argument).

-

This method is designed for application which renders Galaxy login page in its UI and obtains refresh token after user login.

-
Remarks
Information about being signed in or signed out also comes to the IOperationalStateChangeListener.
-
Parameters
- - - -
[in]refreshTokenThe refresh token obtained from Galaxy login page.
[in]listenerThe listener for specific operation.
-
-
- -
-
- -

◆ SignInUWP()

- -
-
- - - - - -
- - - - - - - - -
virtual void SignInUWP (IAuthListener *const listener = NULL)
-
-pure virtual
-
- -

Authenticates the Galaxy Peer based on Windows Store authentication in Universal Windows Platform application.

-

This call is asynchronous. Responses come to the IAuthListener (for all GlobalAuthListener-derived and optional listener passed as argument).

-
Remarks
Information about being signed in or signed out also comes to the IOperationalStateChangeListener.
-
Parameters
- - -
[in]listenerThe listener for specific operation.
-
-
- -
-
- -

◆ SignInXB1()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void SignInXB1 (const char * xboxOneUserID,
IAuthListener *const listener = NULL 
)
-
-pure virtual
-
- -

Authenticates the Galaxy Peer based on XBOX ONE credentials.

-

This call is asynchronous. Responses come to the IAuthListener (for all GlobalAuthListener-derived and optional listener passed as argument).

-
Remarks
Information about being signed in or signed out also comes to the IOperationalStateChangeListener.
-
Parameters
- - - -
[in]xboxOneUserIDThe XBOX ONE user ID.
[in]listenerThe listener for specific operation.
-
-
- -
-
- -

◆ SignInXBLive()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
virtual void SignInXBLive (const char * token,
const char * signature,
const char * marketplaceID,
const char * locale,
IAuthListener *const listener = NULL 
)
-
-pure virtual
-
- -

Authenticates the Galaxy Peer based on Xbox Live tokens.

-

This call is asynchronous. Responses come to the IAuthListener (for all GlobalAuthListener-derived and optional listener passed as argument).

-
Remarks
Information about being signed in or signed out also comes to the IOperationalStateChangeListener.
-
Parameters
- - - - - - -
[in]tokenThe XSTS token.
[in]signatureThe digital signature for the HTTP request.
[in]marketplaceIDThe Marketplace ID
[in]localeThe user locale (example values: EN-US, FR-FR).
[in]listenerThe listener for specific operation.
-
-
- -
-
- -

◆ SignOut()

- -
-
- - - - - -
- - - - - - - -
virtual void SignOut ()
-
-pure virtual
-
- -

Signs the Galaxy Peer out.

-

This call is asynchronous. Responses come to the IAuthListener and IOperationalStateChangeListener.

-
Remarks
All pending asynchronous operations will be finished immediately. Their listeners will be called with the next call to the ProcessData().
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUser.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUser.js deleted file mode 100644 index 19ab024fb..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUser.js +++ /dev/null @@ -1,35 +0,0 @@ -var classgalaxy_1_1api_1_1IUser = -[ - [ "~IUser", "classgalaxy_1_1api_1_1IUser.html#a83eb77f97574c613946cacf61dbb479a", null ], - [ "DeleteUserData", "classgalaxy_1_1api_1_1IUser.html#ae95f75ecda7702c02f13801994f09e20", null ], - [ "GetAccessToken", "classgalaxy_1_1api_1_1IUser.html#a5a70eb6629619bd94f3e9f6bc15af10f", null ], - [ "GetAccessTokenCopy", "classgalaxy_1_1api_1_1IUser.html#a994a33a3894d2ba53bb96236addde1a0", null ], - [ "GetEncryptedAppTicket", "classgalaxy_1_1api_1_1IUser.html#a96af6792efc260e75daebedca2cf74c6", null ], - [ "GetGalaxyID", "classgalaxy_1_1api_1_1IUser.html#a48e11f83dfeb2816e27ac1c8882aac85", null ], - [ "GetSessionID", "classgalaxy_1_1api_1_1IUser.html#a9ebe43b1574e7f45404d58da8c9161c5", null ], - [ "GetUserData", "classgalaxy_1_1api_1_1IUser.html#aa060612e4b41c726b4fdc7fd6ed69766", null ], - [ "GetUserDataByIndex", "classgalaxy_1_1api_1_1IUser.html#a2478dbe71815b3b4ce0073b439a2ea1f", null ], - [ "GetUserDataCopy", "classgalaxy_1_1api_1_1IUser.html#ae829eb09d78bd00ffd1b26be91a9dc27", null ], - [ "GetUserDataCount", "classgalaxy_1_1api_1_1IUser.html#ab3bf3cb7fa99d937ebbccbce7490eb09", null ], - [ "IsLoggedOn", "classgalaxy_1_1api_1_1IUser.html#a3e373012e77fd2baf915062d9e0c05b3", null ], - [ "IsUserDataAvailable", "classgalaxy_1_1api_1_1IUser.html#a6cc743c75fe68939408055c980f9cce0", null ], - [ "ReportInvalidAccessToken", "classgalaxy_1_1api_1_1IUser.html#a5aa752b87cc2ff029709ad9321518e0b", null ], - [ "RequestEncryptedAppTicket", "classgalaxy_1_1api_1_1IUser.html#a29f307e31066fc39b93802e363ea2064", null ], - [ "RequestUserData", "classgalaxy_1_1api_1_1IUser.html#a8e77956d509453d67c5febf8ff1d483d", null ], - [ "SetUserData", "classgalaxy_1_1api_1_1IUser.html#a2bee861638ff3887ace51f36827e2af0", null ], - [ "SignedIn", "classgalaxy_1_1api_1_1IUser.html#aa6c13795a19e7dae09674048394fc650", null ], - [ "SignInAnonymous", "classgalaxy_1_1api_1_1IUser.html#a9d4af026704c4c221d9202e2d555e2f1", null ], - [ "SignInAnonymousTelemetry", "classgalaxy_1_1api_1_1IUser.html#a69c13e10cbdea771abdf9b7154d0370a", null ], - [ "SignInCredentials", "classgalaxy_1_1api_1_1IUser.html#ab278e47229adeb5251f43e6b06b830a9", null ], - [ "SignInEpic", "classgalaxy_1_1api_1_1IUser.html#aebcb56b167a8c6ee21790b45ca3517ce", null ], - [ "SignInGalaxy", "classgalaxy_1_1api_1_1IUser.html#a65e86ddce496e67c3d7c1cc5ed4f3939", null ], - [ "SignInLauncher", "classgalaxy_1_1api_1_1IUser.html#ae0b6e789027809d9d4e455bc8dc0db7c", null ], - [ "SignInPS4", "classgalaxy_1_1api_1_1IUser.html#a820d822d8e344fdecf8870cc644c7742", null ], - [ "SignInServerKey", "classgalaxy_1_1api_1_1IUser.html#a66320de49b3c2f6b547f7fa3904c9c91", null ], - [ "SignInSteam", "classgalaxy_1_1api_1_1IUser.html#a7b0ceddf3546891964e8449a554b4f86", null ], - [ "SignInToken", "classgalaxy_1_1api_1_1IUser.html#a20521b3ff4c1ba163cb915c92babf877", null ], - [ "SignInUWP", "classgalaxy_1_1api_1_1IUser.html#aaf3956f1f34fbf085b153341fef3b830", null ], - [ "SignInXB1", "classgalaxy_1_1api_1_1IUser.html#a4d4843b5d3fb3376f793720df512194e", null ], - [ "SignInXBLive", "classgalaxy_1_1api_1_1IUser.html#a6a6521c240ea01adfdc5dd00086c1a29", null ], - [ "SignOut", "classgalaxy_1_1api_1_1IUser.html#a0201a4995e361382d2afeb876787bd0f", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserDataListener-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserDataListener-members.html deleted file mode 100644 index 3274a607e..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserDataListener-members.html +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
IUserDataListener Member List
-
-
- -

This is the complete list of members for IUserDataListener, including all inherited members.

- - - - -
GetListenerType()GalaxyTypeAwareListener< USER_DATA >inlinestatic
OnUserDataUpdated()=0IUserDataListenerpure virtual
~IGalaxyListener() (defined in IGalaxyListener)IGalaxyListenerinlinevirtual
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserDataListener.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserDataListener.html deleted file mode 100644 index 301fc13e0..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserDataListener.html +++ /dev/null @@ -1,136 +0,0 @@ - - - - - - - -GOG Galaxy: IUserDataListener Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
IUserDataListener Class Referenceabstract
-
-
- -

Listener for the events related to user data changes of current user only. - More...

- -

#include <IUser.h>

-
-Inheritance diagram for IUserDataListener:
-
-
-
-
[legend]
- - - - - -

-Public Member Functions

-virtual void OnUserDataUpdated ()=0
 Notification for the event of user data change.
 
- - - - - -

-Additional Inherited Members

- Static Public Member Functions inherited from GalaxyTypeAwareListener< USER_DATA >
static ListenerType GetListenerType ()
 Returns the type of the listener. More...
 
-

Detailed Description

-

Listener for the events related to user data changes of current user only.

-
Remarks
In order to get notifications about changes to user data of all users, use ISpecificUserDataListener instead.
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserDataListener.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserDataListener.js deleted file mode 100644 index e3437e0ec..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserDataListener.js +++ /dev/null @@ -1,4 +0,0 @@ -var classgalaxy_1_1api_1_1IUserDataListener = -[ - [ "OnUserDataUpdated", "classgalaxy_1_1api_1_1IUserDataListener.html#a9fd33f7239422f3603de82dace2a3d10", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserDataListener__inherit__graph.map b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserDataListener__inherit__graph.map deleted file mode 100644 index 2ebf73af8..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserDataListener__inherit__graph.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserDataListener__inherit__graph.md5 b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserDataListener__inherit__graph.md5 deleted file mode 100644 index 9c798b484..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserDataListener__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -ae68798c7310c197e37be525dc44af86 \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserDataListener__inherit__graph.svg b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserDataListener__inherit__graph.svg deleted file mode 100644 index 8dde9d320..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserDataListener__inherit__graph.svg +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - -IUserDataListener - - -Node0 - - -IUserDataListener - - - - -Node1 - - -GalaxyTypeAwareListener -< USER_DATA > - - - - -Node1->Node0 - - - - -Node2 - - -IGalaxyListener - - - - -Node2->Node1 - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserFindListener-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserFindListener-members.html deleted file mode 100644 index 5a85831ba..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserFindListener-members.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
IUserFindListener Member List
-
-
- -

This is the complete list of members for IUserFindListener, including all inherited members.

- - - - - - - - - -
FAILURE_REASON_CONNECTION_FAILURE enum valueIUserFindListener
FAILURE_REASON_UNDEFINED enum valueIUserFindListener
FAILURE_REASON_USER_NOT_FOUND enum valueIUserFindListener
FailureReason enum nameIUserFindListener
GetListenerType()GalaxyTypeAwareListener< USER_FIND_LISTENER >inlinestatic
OnUserFindFailure(const char *userSpecifier, FailureReason failureReason)=0IUserFindListenerpure virtual
OnUserFindSuccess(const char *userSpecifier, GalaxyID userID)=0IUserFindListenerpure virtual
~IGalaxyListener() (defined in IGalaxyListener)IGalaxyListenerinlinevirtual
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserFindListener.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserFindListener.html deleted file mode 100644 index ede3f323a..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserFindListener.html +++ /dev/null @@ -1,263 +0,0 @@ - - - - - - - -GOG Galaxy: IUserFindListener Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
IUserFindListener Class Referenceabstract
-
-
- -

Listener for the event of searching a user. - More...

- -

#include <IFriends.h>

-
-Inheritance diagram for IUserFindListener:
-
-
-
-
[legend]
- - - - - -

-Public Types

enum  FailureReason { FAILURE_REASON_UNDEFINED, -FAILURE_REASON_USER_NOT_FOUND, -FAILURE_REASON_CONNECTION_FAILURE - }
 The reason of a failure in searching a user. More...
 
- - - - - - - -

-Public Member Functions

virtual void OnUserFindSuccess (const char *userSpecifier, GalaxyID userID)=0
 Notification for the event of success in finding a user. More...
 
virtual void OnUserFindFailure (const char *userSpecifier, FailureReason failureReason)=0
 Notification for the event of a failure in finding a user. More...
 
- - - - - -

-Additional Inherited Members

- Static Public Member Functions inherited from GalaxyTypeAwareListener< USER_FIND_LISTENER >
static ListenerType GetListenerType ()
 Returns the type of the listener. More...
 
-

Detailed Description

-

Listener for the event of searching a user.

-

Member Enumeration Documentation

- -

◆ FailureReason

- -
-
- - - - -
enum FailureReason
-
- -

The reason of a failure in searching a user.

- - - - -
Enumerator
FAILURE_REASON_UNDEFINED 

Unspecified error.

-
FAILURE_REASON_USER_NOT_FOUND 

Specified user was not found.

-
FAILURE_REASON_CONNECTION_FAILURE 

Unable to communicate with backend services.

-
- -
-
-

Member Function Documentation

- -

◆ OnUserFindFailure()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void OnUserFindFailure (const char * userSpecifier,
FailureReason failureReason 
)
-
-pure virtual
-
- -

Notification for the event of a failure in finding a user.

-
Parameters
- - - -
[in]userSpecifierThe user specifier by which user search was performed.
[in]failureReasonThe cause of the failure.
-
-
- -
-
- -

◆ OnUserFindSuccess()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void OnUserFindSuccess (const char * userSpecifier,
GalaxyID userID 
)
-
-pure virtual
-
- -

Notification for the event of success in finding a user.

-
Parameters
- - - -
[in]userSpecifierThe user specifier by which user search was performed.
[in]userIDThe ID of the found user.
-
-
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserFindListener.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserFindListener.js deleted file mode 100644 index 5a974fe56..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserFindListener.js +++ /dev/null @@ -1,10 +0,0 @@ -var classgalaxy_1_1api_1_1IUserFindListener = -[ - [ "FailureReason", "classgalaxy_1_1api_1_1IUserFindListener.html#a2e1fab5fc244b0783172514baec21a6e", [ - [ "FAILURE_REASON_UNDEFINED", "classgalaxy_1_1api_1_1IUserFindListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39", null ], - [ "FAILURE_REASON_USER_NOT_FOUND", "classgalaxy_1_1api_1_1IUserFindListener.html#a2e1fab5fc244b0783172514baec21a6eaa3872a391409543312c44443abd5df02", null ], - [ "FAILURE_REASON_CONNECTION_FAILURE", "classgalaxy_1_1api_1_1IUserFindListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0", null ] - ] ], - [ "OnUserFindFailure", "classgalaxy_1_1api_1_1IUserFindListener.html#a7a0b27d51b23a712dcb55963e5b294e9", null ], - [ "OnUserFindSuccess", "classgalaxy_1_1api_1_1IUserFindListener.html#ab37abd921a121ffdea4b8c53e020fc91", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserFindListener__inherit__graph.map b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserFindListener__inherit__graph.map deleted file mode 100644 index c24ca2c6b..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserFindListener__inherit__graph.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserFindListener__inherit__graph.md5 b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserFindListener__inherit__graph.md5 deleted file mode 100644 index 29da6e529..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserFindListener__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -07d90d991aea639f483e68e0ee927e0a \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserFindListener__inherit__graph.svg b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserFindListener__inherit__graph.svg deleted file mode 100644 index 35fcf1167..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserFindListener__inherit__graph.svg +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - -IUserFindListener - - -Node0 - - -IUserFindListener - - - - -Node1 - - -GalaxyTypeAwareListener -< USER_FIND_LISTENER > - - - - -Node1->Node0 - - - - -Node2 - - -IGalaxyListener - - - - -Node2->Node1 - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserInformationRetrieveListener-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserInformationRetrieveListener-members.html deleted file mode 100644 index 358e0604b..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserInformationRetrieveListener-members.html +++ /dev/null @@ -1,113 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
IUserInformationRetrieveListener Member List
-
- -
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserInformationRetrieveListener.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserInformationRetrieveListener.html deleted file mode 100644 index 831e73b13..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserInformationRetrieveListener.html +++ /dev/null @@ -1,249 +0,0 @@ - - - - - - - -GOG Galaxy: IUserInformationRetrieveListener Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
IUserInformationRetrieveListener Class Referenceabstract
-
-
- -

Listener for the event of retrieving requested user's information. - More...

- -

#include <IFriends.h>

-
-Inheritance diagram for IUserInformationRetrieveListener:
-
-
-
-
[legend]
- - - - - -

-Public Types

enum  FailureReason { FAILURE_REASON_UNDEFINED, -FAILURE_REASON_CONNECTION_FAILURE - }
 The reason of a failure in retrieving the user's information. More...
 
- - - - - - - -

-Public Member Functions

virtual void OnUserInformationRetrieveSuccess (GalaxyID userID)=0
 Notification for the event of a success in retrieving the user's information. More...
 
virtual void OnUserInformationRetrieveFailure (GalaxyID userID, FailureReason failureReason)=0
 Notification for the event of a failure in retrieving the user's information. More...
 
- - - - - -

-Additional Inherited Members

- Static Public Member Functions inherited from GalaxyTypeAwareListener< USER_INFORMATION_RETRIEVE_LISTENER >
static ListenerType GetListenerType ()
 Returns the type of the listener. More...
 
-

Detailed Description

-

Listener for the event of retrieving requested user's information.

-

Member Enumeration Documentation

- -

◆ FailureReason

- -
-
- - - - -
enum FailureReason
-
- -

The reason of a failure in retrieving the user's information.

- - - -
Enumerator
FAILURE_REASON_UNDEFINED 

Unspecified error.

-
FAILURE_REASON_CONNECTION_FAILURE 

Unable to communicate with backend services.

-
- -
-
-

Member Function Documentation

- -

◆ OnUserInformationRetrieveFailure()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void OnUserInformationRetrieveFailure (GalaxyID userID,
FailureReason failureReason 
)
-
-pure virtual
-
- -

Notification for the event of a failure in retrieving the user's information.

-
Parameters
- - - -
[in]userIDThe ID of the user.
[in]failureReasonThe cause of the failure.
-
-
- -
-
- -

◆ OnUserInformationRetrieveSuccess()

- -
-
- - - - - -
- - - - - - - - -
virtual void OnUserInformationRetrieveSuccess (GalaxyID userID)
-
-pure virtual
-
- -

Notification for the event of a success in retrieving the user's information.

-
Parameters
- - -
[in]userIDThe ID of the user.
-
-
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserInformationRetrieveListener.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserInformationRetrieveListener.js deleted file mode 100644 index c4e637e90..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserInformationRetrieveListener.js +++ /dev/null @@ -1,9 +0,0 @@ -var classgalaxy_1_1api_1_1IUserInformationRetrieveListener = -[ - [ "FailureReason", "classgalaxy_1_1api_1_1IUserInformationRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6e", [ - [ "FAILURE_REASON_UNDEFINED", "classgalaxy_1_1api_1_1IUserInformationRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39", null ], - [ "FAILURE_REASON_CONNECTION_FAILURE", "classgalaxy_1_1api_1_1IUserInformationRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0", null ] - ] ], - [ "OnUserInformationRetrieveFailure", "classgalaxy_1_1api_1_1IUserInformationRetrieveListener.html#a0164a19a563d9a87d714cff106530dff", null ], - [ "OnUserInformationRetrieveSuccess", "classgalaxy_1_1api_1_1IUserInformationRetrieveListener.html#a90e616a4dd50befabe6681a707af3854", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserInformationRetrieveListener__inherit__graph.map b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserInformationRetrieveListener__inherit__graph.map deleted file mode 100644 index a13ecb3aa..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserInformationRetrieveListener__inherit__graph.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserInformationRetrieveListener__inherit__graph.md5 b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserInformationRetrieveListener__inherit__graph.md5 deleted file mode 100644 index 5e9d0cc11..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserInformationRetrieveListener__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -22b3235868e96923c2dabf711c83cb8b \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserInformationRetrieveListener__inherit__graph.svg b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserInformationRetrieveListener__inherit__graph.svg deleted file mode 100644 index 7896723dc..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserInformationRetrieveListener__inherit__graph.svg +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - -IUserInformationRetrieveListener - - -Node0 - - -IUserInformationRetrieve -Listener - - - - -Node1 - - -GalaxyTypeAwareListener -< USER_INFORMATION_RETRIEVE -_LISTENER > - - - - -Node1->Node0 - - - - -Node2 - - -IGalaxyListener - - - - -Node2->Node1 - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserStatsAndAchievementsRetrieveListener-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserStatsAndAchievementsRetrieveListener-members.html deleted file mode 100644 index f45bcd669..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserStatsAndAchievementsRetrieveListener-members.html +++ /dev/null @@ -1,113 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
IUserStatsAndAchievementsRetrieveListener Member List
-
- -
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserStatsAndAchievementsRetrieveListener.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserStatsAndAchievementsRetrieveListener.html deleted file mode 100644 index b8b0310dc..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserStatsAndAchievementsRetrieveListener.html +++ /dev/null @@ -1,251 +0,0 @@ - - - - - - - -GOG Galaxy: IUserStatsAndAchievementsRetrieveListener Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
IUserStatsAndAchievementsRetrieveListener Class Referenceabstract
-
-
- -

Listener for the event of retrieving statistics and achievements of a specified user, possibly our own. - More...

- -

#include <IStats.h>

-
-Inheritance diagram for IUserStatsAndAchievementsRetrieveListener:
-
-
-
-
[legend]
- - - - - -

-Public Types

enum  FailureReason { FAILURE_REASON_UNDEFINED, -FAILURE_REASON_CONNECTION_FAILURE - }
 The reason of a failure in retrieving statistics and achievements. More...
 
- - - - - - - -

-Public Member Functions

virtual void OnUserStatsAndAchievementsRetrieveSuccess (GalaxyID userID)=0
 Notification for the event of success in retrieving statistics and achievements for a specified user. More...
 
virtual void OnUserStatsAndAchievementsRetrieveFailure (GalaxyID userID, FailureReason failureReason)=0
 Notification for the event of a failure in retrieving statistics and achievements for a specified user. More...
 
- - - - - -

-Additional Inherited Members

- Static Public Member Functions inherited from GalaxyTypeAwareListener< USER_STATS_AND_ACHIEVEMENTS_RETRIEVE >
static ListenerType GetListenerType ()
 Returns the type of the listener. More...
 
-

Detailed Description

-

Listener for the event of retrieving statistics and achievements of a specified user, possibly our own.

-

Member Enumeration Documentation

- -

◆ FailureReason

- -
-
- - - - -
enum FailureReason
-
- -

The reason of a failure in retrieving statistics and achievements.

- - - -
Enumerator
FAILURE_REASON_UNDEFINED 

Unspecified error.

-
FAILURE_REASON_CONNECTION_FAILURE 

Unable to communicate with backend services.

-
- -
-
-

Member Function Documentation

- -

◆ OnUserStatsAndAchievementsRetrieveFailure()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void OnUserStatsAndAchievementsRetrieveFailure (GalaxyID userID,
FailureReason failureReason 
)
-
-pure virtual
-
- -

Notification for the event of a failure in retrieving statistics and achievements for a specified user.

-
Parameters
- - - -
[in]userIDThe ID of the user.
[in]failureReasonThe cause of the failure.
-
-
- -
-
- -

◆ OnUserStatsAndAchievementsRetrieveSuccess()

- -
-
- - - - - -
- - - - - - - - -
virtual void OnUserStatsAndAchievementsRetrieveSuccess (GalaxyID userID)
-
-pure virtual
-
- -

Notification for the event of success in retrieving statistics and achievements for a specified user.

-

To read statistics call IStats::GetStatInt() or IStats::GetStatFloat(), depending on the type of the statistic to read.

-

To read achievements call IStats::GetAchievement().

-
Parameters
- - -
[in]userIDThe ID of the user.
-
-
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserStatsAndAchievementsRetrieveListener.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserStatsAndAchievementsRetrieveListener.js deleted file mode 100644 index 1b069a57d..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserStatsAndAchievementsRetrieveListener.js +++ /dev/null @@ -1,9 +0,0 @@ -var classgalaxy_1_1api_1_1IUserStatsAndAchievementsRetrieveListener = -[ - [ "FailureReason", "classgalaxy_1_1api_1_1IUserStatsAndAchievementsRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6e", [ - [ "FAILURE_REASON_UNDEFINED", "classgalaxy_1_1api_1_1IUserStatsAndAchievementsRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39", null ], - [ "FAILURE_REASON_CONNECTION_FAILURE", "classgalaxy_1_1api_1_1IUserStatsAndAchievementsRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0", null ] - ] ], - [ "OnUserStatsAndAchievementsRetrieveFailure", "classgalaxy_1_1api_1_1IUserStatsAndAchievementsRetrieveListener.html#a39b89de2cb647c042d3e146e4886e0d7", null ], - [ "OnUserStatsAndAchievementsRetrieveSuccess", "classgalaxy_1_1api_1_1IUserStatsAndAchievementsRetrieveListener.html#a7971fc05ee5ca58b53ed691be56ffae0", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserStatsAndAchievementsRetrieveListener__inherit__graph.map b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserStatsAndAchievementsRetrieveListener__inherit__graph.map deleted file mode 100644 index 67e62fac2..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserStatsAndAchievementsRetrieveListener__inherit__graph.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserStatsAndAchievementsRetrieveListener__inherit__graph.md5 b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserStatsAndAchievementsRetrieveListener__inherit__graph.md5 deleted file mode 100644 index 164f8ff54..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserStatsAndAchievementsRetrieveListener__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -ca80afa3ef4553dc70ce689ce39d8959 \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserStatsAndAchievementsRetrieveListener__inherit__graph.svg b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserStatsAndAchievementsRetrieveListener__inherit__graph.svg deleted file mode 100644 index 5373373c9..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserStatsAndAchievementsRetrieveListener__inherit__graph.svg +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - -IUserStatsAndAchievementsRetrieveListener - - -Node0 - - -IUserStatsAndAchievements -RetrieveListener - - - - -Node1 - - -GalaxyTypeAwareListener -< USER_STATS_AND_ACHIEVEMENTS -_RETRIEVE > - - - - -Node1->Node0 - - - - -Node2 - - -IGalaxyListener - - - - -Node2->Node1 - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserTimePlayedRetrieveListener-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserTimePlayedRetrieveListener-members.html deleted file mode 100644 index 1c59220ae..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserTimePlayedRetrieveListener-members.html +++ /dev/null @@ -1,113 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
IUserTimePlayedRetrieveListener Member List
-
-
- -

This is the complete list of members for IUserTimePlayedRetrieveListener, including all inherited members.

- - - - - - - - -
FAILURE_REASON_CONNECTION_FAILURE enum valueIUserTimePlayedRetrieveListener
FAILURE_REASON_UNDEFINED enum valueIUserTimePlayedRetrieveListener
FailureReason enum nameIUserTimePlayedRetrieveListener
GetListenerType()GalaxyTypeAwareListener< USER_TIME_PLAYED_RETRIEVE >inlinestatic
OnUserTimePlayedRetrieveFailure(GalaxyID userID, FailureReason failureReason)=0IUserTimePlayedRetrieveListenerpure virtual
OnUserTimePlayedRetrieveSuccess(GalaxyID userID)=0IUserTimePlayedRetrieveListenerpure virtual
~IGalaxyListener() (defined in IGalaxyListener)IGalaxyListenerinlinevirtual
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserTimePlayedRetrieveListener.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserTimePlayedRetrieveListener.html deleted file mode 100644 index 6cf313942..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserTimePlayedRetrieveListener.html +++ /dev/null @@ -1,250 +0,0 @@ - - - - - - - -GOG Galaxy: IUserTimePlayedRetrieveListener Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
IUserTimePlayedRetrieveListener Class Referenceabstract
-
-
- -

Listener for the event of retrieving user time played. - More...

- -

#include <IStats.h>

-
-Inheritance diagram for IUserTimePlayedRetrieveListener:
-
-
-
-
[legend]
- - - - - -

-Public Types

enum  FailureReason { FAILURE_REASON_UNDEFINED, -FAILURE_REASON_CONNECTION_FAILURE - }
 The reason of a failure in retrieving user time played. More...
 
- - - - - - - -

-Public Member Functions

virtual void OnUserTimePlayedRetrieveSuccess (GalaxyID userID)=0
 Notification for the event of a success in retrieving user time played. More...
 
virtual void OnUserTimePlayedRetrieveFailure (GalaxyID userID, FailureReason failureReason)=0
 Notification for the event of a failure in retrieving user time played. More...
 
- - - - - -

-Additional Inherited Members

- Static Public Member Functions inherited from GalaxyTypeAwareListener< USER_TIME_PLAYED_RETRIEVE >
static ListenerType GetListenerType ()
 Returns the type of the listener. More...
 
-

Detailed Description

-

Listener for the event of retrieving user time played.

-

Member Enumeration Documentation

- -

◆ FailureReason

- -
-
- - - - -
enum FailureReason
-
- -

The reason of a failure in retrieving user time played.

- - - -
Enumerator
FAILURE_REASON_UNDEFINED 

Unspecified error.

-
FAILURE_REASON_CONNECTION_FAILURE 

Unable to communicate with backend services.

-
- -
-
-

Member Function Documentation

- -

◆ OnUserTimePlayedRetrieveFailure()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void OnUserTimePlayedRetrieveFailure (GalaxyID userID,
FailureReason failureReason 
)
-
-pure virtual
-
- -

Notification for the event of a failure in retrieving user time played.

-
Parameters
- - - -
[in]userIDThe ID of the user.
[in]failureReasonThe cause of the failure.
-
-
- -
-
- -

◆ OnUserTimePlayedRetrieveSuccess()

- -
-
- - - - - -
- - - - - - - - -
virtual void OnUserTimePlayedRetrieveSuccess (GalaxyID userID)
-
-pure virtual
-
- -

Notification for the event of a success in retrieving user time played.

-

In order to read user time played, call IStats::GetUserTimePlayed().

-
Parameters
- - -
[in]userIDThe ID of the user.
-
-
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserTimePlayedRetrieveListener.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserTimePlayedRetrieveListener.js deleted file mode 100644 index 4cb70481c..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserTimePlayedRetrieveListener.js +++ /dev/null @@ -1,9 +0,0 @@ -var classgalaxy_1_1api_1_1IUserTimePlayedRetrieveListener = -[ - [ "FailureReason", "classgalaxy_1_1api_1_1IUserTimePlayedRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6e", [ - [ "FAILURE_REASON_UNDEFINED", "classgalaxy_1_1api_1_1IUserTimePlayedRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39", null ], - [ "FAILURE_REASON_CONNECTION_FAILURE", "classgalaxy_1_1api_1_1IUserTimePlayedRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0", null ] - ] ], - [ "OnUserTimePlayedRetrieveFailure", "classgalaxy_1_1api_1_1IUserTimePlayedRetrieveListener.html#a946872ff0706541dfc2a70a498f87f48", null ], - [ "OnUserTimePlayedRetrieveSuccess", "classgalaxy_1_1api_1_1IUserTimePlayedRetrieveListener.html#a78acf90057c9434615627a869f6a002a", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserTimePlayedRetrieveListener__inherit__graph.map b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserTimePlayedRetrieveListener__inherit__graph.map deleted file mode 100644 index d7b5879fc..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserTimePlayedRetrieveListener__inherit__graph.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserTimePlayedRetrieveListener__inherit__graph.md5 b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserTimePlayedRetrieveListener__inherit__graph.md5 deleted file mode 100644 index 368916be7..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserTimePlayedRetrieveListener__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -54c0a75e5f536590d16357cb44ccf1b1 \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserTimePlayedRetrieveListener__inherit__graph.svg b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserTimePlayedRetrieveListener__inherit__graph.svg deleted file mode 100644 index a3aba016c..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUserTimePlayedRetrieveListener__inherit__graph.svg +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - -IUserTimePlayedRetrieveListener - - -Node0 - - -IUserTimePlayedRetrieveListener - - - - -Node1 - - -GalaxyTypeAwareListener -< USER_TIME_PLAYED_RETRIEVE > - - - - -Node1->Node0 - - - - -Node2 - - -IGalaxyListener - - - - -Node2->Node1 - - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUtils-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUtils-members.html deleted file mode 100644 index 30f3be3f8..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUtils-members.html +++ /dev/null @@ -1,116 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
IUtils Member List
-
-
- -

This is the complete list of members for IUtils, including all inherited members.

- - - - - - - - - - - -
DisableOverlayPopups(const char *popupGroup)=0IUtilspure virtual
GetGogServicesConnectionState()=0IUtilspure virtual
GetImageRGBA(uint32_t imageID, void *buffer, uint32_t bufferLength)=0IUtilspure virtual
GetImageSize(uint32_t imageID, int32_t &width, int32_t &height)=0IUtilspure virtual
GetNotification(NotificationID notificationID, bool &consumable, char *type, uint32_t typeLength, void *content, uint32_t contentSize)=0IUtilspure virtual
GetOverlayState()=0IUtilspure virtual
IsOverlayVisible()=0IUtilspure virtual
RegisterForNotification(const char *type)=0IUtilspure virtual
ShowOverlayWithWebPage(const char *url)=0IUtilspure virtual
~IUtils() (defined in IUtils)IUtilsinlinevirtual
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUtils.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUtils.html deleted file mode 100644 index 6a630e675..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUtils.html +++ /dev/null @@ -1,528 +0,0 @@ - - - - - - - -GOG Galaxy: IUtils Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
IUtils Class Referenceabstract
-
-
- -

The interface for managing images. - More...

- -

#include <IUtils.h>

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

virtual void GetImageSize (uint32_t imageID, int32_t &width, int32_t &height)=0
 Reads width and height of the image of a specified ID. More...
 
virtual void GetImageRGBA (uint32_t imageID, void *buffer, uint32_t bufferLength)=0
 Reads the image of a specified ID. More...
 
virtual void RegisterForNotification (const char *type)=0
 Register for notifications of a specified type. More...
 
virtual uint32_t GetNotification (NotificationID notificationID, bool &consumable, char *type, uint32_t typeLength, void *content, uint32_t contentSize)=0
 Reads a specified notification. More...
 
virtual void ShowOverlayWithWebPage (const char *url)=0
 Shows web page in the overlay. More...
 
virtual bool IsOverlayVisible ()=0
 Return current visibility of the overlay. More...
 
virtual OverlayState GetOverlayState ()=0
 Return current state of the overlay. More...
 
virtual void DisableOverlayPopups (const char *popupGroup)=0
 Disable overlay pop-up notifications. More...
 
virtual GogServicesConnectionState GetGogServicesConnectionState ()=0
 Return current state of the connection to GOG services. More...
 
-

Detailed Description

-

The interface for managing images.

-

Member Function Documentation

- -

◆ DisableOverlayPopups()

- -
-
- - - - - -
- - - - - - - - -
virtual void DisableOverlayPopups (const char * popupGroup)
-
-pure virtual
-
- -

Disable overlay pop-up notifications.

-

Hides overlay pop-up notifications based on the group specified below:

    -
  • "chat_message" - New chat messages received.
  • -
  • "friend_invitation" - Friend request received, new user added to the friend list.
  • -
  • "game_invitation" - Game invitation sent or received.
  • -
-
Precondition
For this call to work, the overlay needs to be initialized first. To check whether the overlay is initialized successfully, call IUtils::GetOverlayState().
-
Parameters
- - -
[in]popupGroup- The name of the notification pop-up group.
-
-
- -
-
- -

◆ GetGogServicesConnectionState()

- -
-
- - - - - -
- - - - - - - -
virtual GogServicesConnectionState GetGogServicesConnectionState ()
-
-pure virtual
-
- -

Return current state of the connection to GOG services.

-
Remarks
IGogServicesConnectionStateListener might be used to track the GOG services connection state.
-
-Before successful login connection state is undefined.
-
Returns
Current GOG services connection state.
- -
-
- -

◆ GetImageRGBA()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
virtual void GetImageRGBA (uint32_t imageID,
void * buffer,
uint32_t bufferLength 
)
-
-pure virtual
-
- -

Reads the image of a specified ID.

-
Precondition
The size of the output buffer should be 4 * height * width * sizeof(char).
-
Parameters
- - - - -
[in]imageIDThe ID of the image.
[in,out]bufferThe output buffer.
[in]bufferLengthThe size of the output buffer.
-
-
- -
-
- -

◆ GetImageSize()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
virtual void GetImageSize (uint32_t imageID,
int32_t & width,
int32_t & height 
)
-
-pure virtual
-
- -

Reads width and height of the image of a specified ID.

-
Parameters
- - - - -
[in]imageIDThe ID of the image.
[out]widthThe width of the image.
[out]heightThe height of the image.
-
-
- -
-
- -

◆ GetNotification()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
virtual uint32_t GetNotification (NotificationID notificationID,
bool & consumable,
char * type,
uint32_t typeLength,
void * content,
uint32_t contentSize 
)
-
-pure virtual
-
- -

Reads a specified notification.

-
Parameters
- - - - - - - -
[in]notificationIDThe ID of the notification.
[out]consumableIndicates if the notification should be consumed.
[in,out]typeThe output buffer for the type of the notification.
[in]typeLengthThe size of the output buffer for the type of the notification.
[in,out]contentThe output buffer for the content of the notification.
[in]contentSizeThe size of the output buffer for the content of the notification.
-
-
-
Returns
The number of bytes written to the content buffer.
- -
-
- -

◆ GetOverlayState()

- -
-
- - - - - -
- - - - - - - -
virtual OverlayState GetOverlayState ()
-
-pure virtual
-
- -

Return current state of the overlay.

-
Remarks
Basic game functionality should not rely on the overlay state, as the overlay may either be switched off by the user, not supported, or may fail to initialize.
-
-IOverlayInitializationStateChangeListener might be used to track the overlay initialization state change.
-
Precondition
In order for the overlay to be initialized successfully, first it must be enabled by the user in the Galaxy Client, and then successfully injected into the game.
-
Returns
State of the overlay.
- -
-
- -

◆ IsOverlayVisible()

- -
-
- - - - - -
- - - - - - - -
virtual bool IsOverlayVisible ()
-
-pure virtual
-
- -

Return current visibility of the overlay.

-
Remarks
IOverlayVisibilityChangeListener might be used to track the overlay visibility change.
-
Precondition
For this call to work, the overlay needs to be initialized first. To check whether the overlay is initialized successfully, call GetOverlayState().
-
Returns
true if the overlay is in front of the game.
- -
-
- -

◆ RegisterForNotification()

- -
-
- - - - - -
- - - - - - - - -
virtual void RegisterForNotification (const char * type)
-
-pure virtual
-
- -

Register for notifications of a specified type.

-
Remarks
Notification types starting "__" are reserved and cannot be used.
-
Parameters
- - -
[in]typeThe name of the type.
-
-
- -
-
- -

◆ ShowOverlayWithWebPage()

- -
-
- - - - - -
- - - - - - - - -
virtual void ShowOverlayWithWebPage (const char * url)
-
-pure virtual
-
- -

Shows web page in the overlay.

-
Precondition
For this call to work, the overlay needs to be initialized first. To check whether the overlay is initialized, call GetOverlayState().
-
Parameters
- - -
[in]urlThe URL address of a specified web page with the limit of 2047 bytes.
-
-
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUtils.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUtils.js deleted file mode 100644 index 5e3304a65..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1IUtils.js +++ /dev/null @@ -1,13 +0,0 @@ -var classgalaxy_1_1api_1_1IUtils = -[ - [ "~IUtils", "classgalaxy_1_1api_1_1IUtils.html#abfe3ad9a719ac9847a2ba4090ec67091", null ], - [ "DisableOverlayPopups", "classgalaxy_1_1api_1_1IUtils.html#ada0a725829e0677427402b45af8e446a", null ], - [ "GetGogServicesConnectionState", "classgalaxy_1_1api_1_1IUtils.html#a756d3ca55281edea8bed3a08c2f93b6b", null ], - [ "GetImageRGBA", "classgalaxy_1_1api_1_1IUtils.html#af5ecf98db9f6e17e643f72a6397477d0", null ], - [ "GetImageSize", "classgalaxy_1_1api_1_1IUtils.html#a507c0bbed768ce1fe0a061a73cd9cf14", null ], - [ "GetNotification", "classgalaxy_1_1api_1_1IUtils.html#a4cc9ae84c1488cce3ec55134a7eb3d2d", null ], - [ "GetOverlayState", "classgalaxy_1_1api_1_1IUtils.html#ace3179674f31b02b4dcd704f59c3e466", null ], - [ "IsOverlayVisible", "classgalaxy_1_1api_1_1IUtils.html#a0cbd418520fe9b68d5cfd4decd02494f", null ], - [ "RegisterForNotification", "classgalaxy_1_1api_1_1IUtils.html#a1177ae0fc1a5f7f92bd00896a98d3951", null ], - [ "ShowOverlayWithWebPage", "classgalaxy_1_1api_1_1IUtils.html#a3619b5a04785779086816b94fad7302c", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1SelfRegisteringListener-members.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1SelfRegisteringListener-members.html deleted file mode 100644 index 5fe71bb11..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1SelfRegisteringListener-members.html +++ /dev/null @@ -1,108 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
SelfRegisteringListener< _TypeAwareListener, _Registrar > Member List
-
- -
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1SelfRegisteringListener.html b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1SelfRegisteringListener.html deleted file mode 100644 index 57026cc87..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1SelfRegisteringListener.html +++ /dev/null @@ -1,171 +0,0 @@ - - - - - - - -GOG Galaxy: SelfRegisteringListener< _TypeAwareListener, _Registrar > Class Template Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
SelfRegisteringListener< _TypeAwareListener, _Registrar > Class Template Reference
-
-
- -

The class that is inherited by the self-registering versions of all specific callback listeners. - More...

- -

#include <IListenerRegistrar.h>

-
-Inheritance diagram for SelfRegisteringListener< _TypeAwareListener, _Registrar >:
-
-
-
-
[legend]
- - - - - - - - -

-Public Member Functions

 SelfRegisteringListener ()
 Creates an instance of SelfRegisteringListener and registers it with the IListenerRegistrar provided by Galaxy Peer. More...
 
~SelfRegisteringListener ()
 Destroys the instance of SelfRegisteringListener and unregisters it with the instance of IListenerRegistrar that was used to register the listener when it was created.
 
-

Detailed Description

-

template<typename _TypeAwareListener, IListenerRegistrar *(*)() _Registrar = ListenerRegistrar>
-class galaxy::api::SelfRegisteringListener< _TypeAwareListener, _Registrar >

- -

The class that is inherited by the self-registering versions of all specific callback listeners.

-

An instance of a listener that derives from it automatically globally registers itself for proper callback notifications, and unregisters when destroyed, which is done with IListenerRegistrar.

-
Remarks
You can provide a custom IListenerRegistrar, yet that would not make the listener visible for Galaxy Peer. For that the listener needs to be registered with the IListenerRegistrar of Galaxy Peer.
-
Parameters
- - -
[in]_RegistrarThe instance of IListenerRegistrar to use for registering and unregistering. Defaults to the one provided by Galaxy Peer.
-
-
-

Constructor & Destructor Documentation

- -

◆ SelfRegisteringListener()

- -
-
- - - - - -
- - - - - - - -
SelfRegisteringListener ()
-
-inline
-
- -

Creates an instance of SelfRegisteringListener and registers it with the IListenerRegistrar provided by Galaxy Peer.

-
Remarks
Delete all registered listeners before calling Shutdown().
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1SelfRegisteringListener.js b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1SelfRegisteringListener.js deleted file mode 100644 index cdb0b0b01..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1SelfRegisteringListener.js +++ /dev/null @@ -1,5 +0,0 @@ -var classgalaxy_1_1api_1_1SelfRegisteringListener = -[ - [ "SelfRegisteringListener", "classgalaxy_1_1api_1_1SelfRegisteringListener.html#a13cb637c90dbe6d25749d600e467cba8", null ], - [ "~SelfRegisteringListener", "classgalaxy_1_1api_1_1SelfRegisteringListener.html#a84fc934a5cac7d63e6355e8b51800c5b", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1SelfRegisteringListener__inherit__graph.map b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1SelfRegisteringListener__inherit__graph.map deleted file mode 100644 index a465944fb..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1SelfRegisteringListener__inherit__graph.map +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1SelfRegisteringListener__inherit__graph.md5 b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1SelfRegisteringListener__inherit__graph.md5 deleted file mode 100644 index c7353475d..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1SelfRegisteringListener__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -0202740a732d352d704fe3d41951386e \ No newline at end of file diff --git a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1SelfRegisteringListener__inherit__graph.svg b/vendors/galaxy/Docs/classgalaxy_1_1api_1_1SelfRegisteringListener__inherit__graph.svg deleted file mode 100644 index 183109f20..000000000 --- a/vendors/galaxy/Docs/classgalaxy_1_1api_1_1SelfRegisteringListener__inherit__graph.svg +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - -SelfRegisteringListener< _TypeAwareListener, _Registrar > - - -Node0 - - -SelfRegisteringListener -< _TypeAwareListener, - _Registrar > - - - - -Node1 - - -_TypeAwareListener - - - - -Node1->Node0 - - - - - diff --git a/vendors/galaxy/Docs/closed.png b/vendors/galaxy/Docs/closed.png deleted file mode 100644 index 4efabe8fc..000000000 Binary files a/vendors/galaxy/Docs/closed.png and /dev/null differ diff --git a/vendors/galaxy/Docs/deprecated.html b/vendors/galaxy/Docs/deprecated.html deleted file mode 100644 index 16a1c1f2a..000000000 --- a/vendors/galaxy/Docs/deprecated.html +++ /dev/null @@ -1,112 +0,0 @@ - - - - - - - -GOG Galaxy: Deprecated List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
Deprecated List
-
-
-
-
Member galaxy::api::_OVERLAY_STATE_CHANGE
-
Replaced with OVERLAY_VISIBILITY_CHANGE
-
Member galaxy::api::_SERVER_NETWORKING
-
Used by IServerNetworkingListener.
-
Member galaxy::api::_STORAGE_SYNCHRONIZATION
-
Synchronization is performed solely by Galaxy Client.
-
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/doc.png b/vendors/galaxy/Docs/doc.png deleted file mode 100644 index 75138f477..000000000 Binary files a/vendors/galaxy/Docs/doc.png and /dev/null differ diff --git a/vendors/galaxy/Docs/doxygen.css b/vendors/galaxy/Docs/doxygen.css deleted file mode 100644 index 6f0335f67..000000000 --- a/vendors/galaxy/Docs/doxygen.css +++ /dev/null @@ -1,1764 +0,0 @@ -/* The standard CSS for doxygen 1.8.15 */ - -body, table, div, p, dl { - font: 400 14px/22px Roboto,sans-serif; -} - -p.reference, p.definition { - font: 400 14px/22px Roboto,sans-serif; -} - -/* @group Heading Levels */ - -h1.groupheader { - font-size: 150%; -} - -.title { - font: 400 14px/28px Roboto,sans-serif; - font-size: 150%; - font-weight: bold; - margin: 10px 2px; -} - -h2.groupheader { - border-bottom: 1px solid #33AD1D; - color: #0B2806; - font-size: 150%; - font-weight: normal; - margin-top: 1.75em; - padding-top: 8px; - padding-bottom: 4px; - width: 100%; -} - -h3.groupheader { - font-size: 100%; -} - -h1, h2, h3, h4, h5, h6 { - -webkit-transition: text-shadow 0.5s linear; - -moz-transition: text-shadow 0.5s linear; - -ms-transition: text-shadow 0.5s linear; - -o-transition: text-shadow 0.5s linear; - transition: text-shadow 0.5s linear; - margin-right: 15px; -} - -h1.glow, h2.glow, h3.glow, h4.glow, h5.glow, h6.glow { - text-shadow: 0 0 15px cyan; -} - -dt { - font-weight: bold; -} - -div.multicol { - -moz-column-gap: 1em; - -webkit-column-gap: 1em; - -moz-column-count: 3; - -webkit-column-count: 3; -} - -p.startli, p.startdd { - margin-top: 2px; -} - -p.starttd { - margin-top: 0px; -} - -p.endli { - margin-bottom: 0px; -} - -p.enddd { - margin-bottom: 4px; -} - -p.endtd { - margin-bottom: 2px; -} - -p.interli { -} - -p.interdd { -} - -p.intertd { -} - -/* @end */ - -caption { - font-weight: bold; -} - -span.legend { - font-size: 70%; - text-align: center; -} - -h3.version { - font-size: 90%; - text-align: center; -} - -div.qindex, div.navtab{ - background-color: #D2F6CC; - border: 1px solid #45DA2B; - text-align: center; -} - -div.qindex, div.navpath { - width: 100%; - line-height: 140%; -} - -div.navtab { - margin-right: 15px; -} - -/* @group Link Styling */ - -a { - color: #103509; - font-weight: normal; - text-decoration: none; -} - -.contents a:visited { - color: #164A0C; -} - -a:hover { - text-decoration: underline; -} - -a.qindex { - font-weight: bold; -} - -a.qindexHL { - font-weight: bold; - background-color: #3ED124; - color: #FFFFFF; - border: 1px double #32AB1D; -} - -.contents a.qindexHL:visited { - color: #FFFFFF; -} - -a.el { - font-weight: bold; -} - -a.elRef { -} - -a.code, a.code:visited, a.line, a.line:visited { - color: #164A0C; -} - -a.codeRef, a.codeRef:visited, a.lineRef, a.lineRef:visited { - color: #164A0C; -} - -/* @end */ - -dl.el { - margin-left: -1cm; -} - -ul { - overflow: hidden; /*Fixed: list item bullets overlap floating elements*/ -} - -#side-nav ul { - overflow: visible; /* reset ul rule for scroll bar in GENERATE_TREEVIEW window */ -} - -#main-nav ul { - overflow: visible; /* reset ul rule for the navigation bar drop down lists */ -} - -.fragment { - text-align: left; - direction: ltr; - overflow-x: auto; /*Fixed: fragment lines overlap floating elements*/ - overflow-y: hidden; -} - -pre.fragment { - border: 1px solid #80E66F; - background-color: #F6FDF5; - padding: 4px 6px; - margin: 4px 8px 4px 2px; - overflow: auto; - word-wrap: break-word; - font-size: 9pt; - line-height: 125%; - font-family: monospace, fixed; - font-size: 105%; -} - -div.fragment { - padding: 0 0 1px 0; /*Fixed: last line underline overlap border*/ - margin: 4px 8px 4px 2px; - background-color: #F6FDF5; - border: 1px solid #80E66F; -} - -div.line { - font-family: monospace, fixed; - font-size: 13px; - min-height: 13px; - line-height: 1.0; - text-wrap: unrestricted; - white-space: -moz-pre-wrap; /* Moz */ - white-space: -pre-wrap; /* Opera 4-6 */ - white-space: -o-pre-wrap; /* Opera 7 */ - white-space: pre-wrap; /* CSS3 */ - word-wrap: break-word; /* IE 5.5+ */ - text-indent: -53px; - padding-left: 53px; - padding-bottom: 0px; - margin: 0px; - -webkit-transition-property: background-color, box-shadow; - -webkit-transition-duration: 0.5s; - -moz-transition-property: background-color, box-shadow; - -moz-transition-duration: 0.5s; - -ms-transition-property: background-color, box-shadow; - -ms-transition-duration: 0.5s; - -o-transition-property: background-color, box-shadow; - -o-transition-duration: 0.5s; - transition-property: background-color, box-shadow; - transition-duration: 0.5s; -} - -div.line:after { - content:"\000A"; - white-space: pre; -} - -div.line.glow { - background-color: cyan; - box-shadow: 0 0 10px cyan; -} - - -span.lineno { - padding-right: 4px; - text-align: right; - border-right: 2px solid #0F0; - background-color: #E8E8E8; - white-space: pre; -} -span.lineno a { - background-color: #D8D8D8; -} - -span.lineno a:hover { - background-color: #C8C8C8; -} - -.lineno { - -webkit-touch-callout: none; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -div.ah, span.ah { - background-color: black; - font-weight: bold; - color: #FFFFFF; - margin-bottom: 3px; - margin-top: 3px; - padding: 0.2em; - border: solid thin #333; - border-radius: 0.5em; - -webkit-border-radius: .5em; - -moz-border-radius: .5em; - box-shadow: 2px 2px 3px #999; - -webkit-box-shadow: 2px 2px 3px #999; - -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; - background-image: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#000),color-stop(0.3, #444)); - background-image: -moz-linear-gradient(center top, #eee 0%, #444 40%, #000 110%); -} - -div.classindex ul { - list-style: none; - padding-left: 0; -} - -div.classindex span.ai { - display: inline-block; -} - -div.groupHeader { - margin-left: 16px; - margin-top: 12px; - font-weight: bold; -} - -div.groupText { - margin-left: 16px; - font-style: italic; -} - -body { - background-color: white; - color: black; - margin: 0; -} - -div.contents { - margin-top: 10px; - margin-left: 12px; - margin-right: 8px; -} - -td.indexkey { - background-color: #D2F6CC; - font-weight: bold; - border: 1px solid #80E66F; - margin: 2px 0px 2px 0; - padding: 2px 10px; - white-space: nowrap; - vertical-align: top; -} - -td.indexvalue { - background-color: #D2F6CC; - border: 1px solid #80E66F; - padding: 2px 10px; - margin: 2px 0px; -} - -tr.memlist { - background-color: #D7F7D2; -} - -p.formulaDsp { - text-align: center; -} - -img.formulaDsp { - -} - -img.formulaInl, img.inline { - vertical-align: middle; -} - -div.center { - text-align: center; - margin-top: 0px; - margin-bottom: 0px; - padding: 0px; -} - -div.center img { - border: 0px; -} - -address.footer { - text-align: right; - padding-right: 12px; -} - -img.footer { - border: 0px; - vertical-align: middle; -} - -/* @group Code Colorization */ - -span.keyword { - color: #008000 -} - -span.keywordtype { - color: #604020 -} - -span.keywordflow { - color: #e08000 -} - -span.comment { - color: #800000 -} - -span.preprocessor { - color: #806020 -} - -span.stringliteral { - color: #002080 -} - -span.charliteral { - color: #008080 -} - -span.vhdldigit { - color: #ff00ff -} - -span.vhdlchar { - color: #000000 -} - -span.vhdlkeyword { - color: #700070 -} - -span.vhdllogic { - color: #ff0000 -} - -blockquote { - background-color: #ECFBE9; - border-left: 2px solid #3ED124; - margin: 0 24px 0 4px; - padding: 0 12px 0 16px; -} - -blockquote.DocNodeRTL { - border-left: 0; - border-right: 2px solid #3ED124; - margin: 0 4px 0 24px; - padding: 0 16px 0 12px; -} - -/* @end */ - -/* -.search { - color: #003399; - font-weight: bold; -} - -form.search { - margin-bottom: 0px; - margin-top: 0px; -} - -input.search { - font-size: 75%; - color: #000080; - font-weight: normal; - background-color: #e8eef2; -} -*/ - -td.tiny { - font-size: 75%; -} - -.dirtab { - padding: 4px; - border-collapse: collapse; - border: 1px solid #45DA2B; -} - -th.dirtab { - background: #D2F6CC; - font-weight: bold; -} - -hr { - height: 0px; - border: none; - border-top: 1px solid #18530E; -} - -hr.footer { - height: 1px; -} - -/* @group Member Descriptions */ - -table.memberdecls { - border-spacing: 0px; - padding: 0px; -} - -.memberdecls td, .fieldtable tr { - -webkit-transition-property: background-color, box-shadow; - -webkit-transition-duration: 0.5s; - -moz-transition-property: background-color, box-shadow; - -moz-transition-duration: 0.5s; - -ms-transition-property: background-color, box-shadow; - -ms-transition-duration: 0.5s; - -o-transition-property: background-color, box-shadow; - -o-transition-duration: 0.5s; - transition-property: background-color, box-shadow; - transition-duration: 0.5s; -} - -.memberdecls td.glow, .fieldtable tr.glow { - background-color: cyan; - box-shadow: 0 0 15px cyan; -} - -.mdescLeft, .mdescRight, -.memItemLeft, .memItemRight, -.memTemplItemLeft, .memTemplItemRight, .memTemplParams { - background-color: #F1FCEF; - border: none; - margin: 4px; - padding: 1px 0 0 8px; -} - -.mdescLeft, .mdescRight { - padding: 0px 8px 4px 8px; - color: #555; -} - -.memSeparator { - border-bottom: 1px solid #B4F0AA; - line-height: 1px; - margin: 0px; - padding: 0px; -} - -.memItemLeft, .memTemplItemLeft { - white-space: nowrap; -} - -.memItemRight { - width: 100%; -} - -.memTemplParams { - color: #164A0C; - white-space: nowrap; - font-size: 80%; -} - -/* @end */ - -/* @group Member Details */ - -/* Styles for detailed member documentation */ - -.memtitle { - padding: 8px; - border-top: 1px solid #4DDC34; - border-left: 1px solid #4DDC34; - border-right: 1px solid #4DDC34; - border-top-right-radius: 4px; - border-top-left-radius: 4px; - margin-bottom: -1px; - background-image: url('nav_f.png'); - background-repeat: repeat-x; - background-color: #BEF2B5; - line-height: 1.25; - font-weight: 300; - float:left; -} - -.permalink -{ - font-size: 65%; - display: inline-block; - vertical-align: middle; -} - -.memtemplate { - font-size: 80%; - color: #164A0C; - font-weight: normal; - margin-left: 9px; -} - -.memnav { - background-color: #D2F6CC; - border: 1px solid #45DA2B; - text-align: center; - margin: 2px; - margin-right: 15px; - padding: 2px; -} - -.mempage { - width: 100%; -} - -.memitem { - padding: 0; - margin-bottom: 10px; - margin-right: 5px; - -webkit-transition: box-shadow 0.5s linear; - -moz-transition: box-shadow 0.5s linear; - -ms-transition: box-shadow 0.5s linear; - -o-transition: box-shadow 0.5s linear; - transition: box-shadow 0.5s linear; - display: table !important; - width: 100%; -} - -.memitem.glow { - box-shadow: 0 0 15px cyan; -} - -.memname { - font-weight: 400; - margin-left: 6px; -} - -.memname td { - vertical-align: bottom; -} - -.memproto, dl.reflist dt { - border-top: 1px solid #4DDC34; - border-left: 1px solid #4DDC34; - border-right: 1px solid #4DDC34; - padding: 6px 0px 6px 0px; - color: #051103; - font-weight: bold; - text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); - background-color: #B7F0AC; - /* opera specific markup */ - box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); - border-top-right-radius: 4px; - /* firefox specific markup */ - -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; - -moz-border-radius-topright: 4px; - /* webkit specific markup */ - -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); - -webkit-border-top-right-radius: 4px; - -} - -.overload { - font-family: "courier new",courier,monospace; - font-size: 65%; -} - -.memdoc, dl.reflist dd { - border-bottom: 1px solid #4DDC34; - border-left: 1px solid #4DDC34; - border-right: 1px solid #4DDC34; - padding: 6px 10px 2px 10px; - background-color: #F6FDF5; - border-top-width: 0; - background-image:url('nav_g.png'); - background-repeat:repeat-x; - background-color: #FFFFFF; - /* opera specific markup */ - border-bottom-left-radius: 4px; - border-bottom-right-radius: 4px; - box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); - /* firefox specific markup */ - -moz-border-radius-bottomleft: 4px; - -moz-border-radius-bottomright: 4px; - -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; - /* webkit specific markup */ - -webkit-border-bottom-left-radius: 4px; - -webkit-border-bottom-right-radius: 4px; - -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); -} - -dl.reflist dt { - padding: 5px; -} - -dl.reflist dd { - margin: 0px 0px 10px 0px; - padding: 5px; -} - -.paramkey { - text-align: right; -} - -.paramtype { - white-space: nowrap; -} - -.paramname { - color: #602020; - white-space: nowrap; -} -.paramname em { - font-style: normal; -} -.paramname code { - line-height: 14px; -} - -.params, .retval, .exception, .tparams { - margin-left: 0px; - padding-left: 0px; -} - -.params .paramname, .retval .paramname, .tparams .paramname { - font-weight: bold; - vertical-align: top; -} - -.params .paramtype, .tparams .paramtype { - font-style: italic; - vertical-align: top; -} - -.params .paramdir, .tparams .paramdir { - font-family: "courier new",courier,monospace; - vertical-align: top; -} - -table.mlabels { - border-spacing: 0px; -} - -td.mlabels-left { - width: 100%; - padding: 0px; -} - -td.mlabels-right { - vertical-align: bottom; - padding: 0px; - white-space: nowrap; -} - -span.mlabels { - margin-left: 8px; -} - -span.mlabel { - background-color: #298C18; - border-top:1px solid #1D6211; - border-left:1px solid #1D6211; - border-right:1px solid #80E66F; - border-bottom:1px solid #80E66F; - text-shadow: none; - color: white; - margin-right: 4px; - padding: 2px 3px; - border-radius: 3px; - font-size: 7pt; - white-space: nowrap; - vertical-align: middle; -} - - - -/* @end */ - -/* these are for tree view inside a (index) page */ - -div.directory { - margin: 10px 0px; - border-top: 1px solid #3ED124; - border-bottom: 1px solid #3ED124; - width: 100%; -} - -.directory table { - border-collapse:collapse; -} - -.directory td { - margin: 0px; - padding: 0px; - vertical-align: top; -} - -.directory td.entry { - white-space: nowrap; - padding-right: 6px; - padding-top: 3px; -} - -.directory td.entry a { - outline:none; -} - -.directory td.entry a img { - border: none; -} - -.directory td.desc { - width: 100%; - padding-left: 6px; - padding-right: 6px; - padding-top: 3px; - border-left: 1px solid rgba(0,0,0,0.05); -} - -.directory tr.even { - padding-left: 6px; - background-color: #ECFBE9; -} - -.directory img { - vertical-align: -30%; -} - -.directory .levels { - white-space: nowrap; - width: 100%; - text-align: right; - font-size: 9pt; -} - -.directory .levels span { - cursor: pointer; - padding-left: 2px; - padding-right: 2px; - color: #103509; -} - -.arrow { - color: #3ED124; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - cursor: pointer; - font-size: 80%; - display: inline-block; - width: 16px; - height: 22px; -} - -.icon { - font-family: Arial, Helvetica; - font-weight: bold; - font-size: 12px; - height: 14px; - width: 16px; - display: inline-block; - background-color: #298C18; - color: white; - text-align: center; - border-radius: 4px; - margin-left: 2px; - margin-right: 2px; -} - -.icona { - width: 24px; - height: 22px; - display: inline-block; -} - -.iconfopen { - width: 24px; - height: 18px; - margin-bottom: 4px; - background-image:url('folderopen.png'); - background-position: 0px -4px; - background-repeat: repeat-y; - vertical-align:top; - display: inline-block; -} - -.iconfclosed { - width: 24px; - height: 18px; - margin-bottom: 4px; - background-image:url('folderclosed.png'); - background-position: 0px -4px; - background-repeat: repeat-y; - vertical-align:top; - display: inline-block; -} - -.icondoc { - width: 24px; - height: 18px; - margin-bottom: 4px; - background-image:url('doc.png'); - background-position: 0px -4px; - background-repeat: repeat-y; - vertical-align:top; - display: inline-block; -} - -table.directory { - font: 400 14px Roboto,sans-serif; -} - -/* @end */ - -div.dynheader { - margin-top: 8px; - -webkit-touch-callout: none; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -address { - font-style: normal; - color: #071804; -} - -table.doxtable caption { - caption-side: top; -} - -table.doxtable { - border-collapse:collapse; - margin-top: 4px; - margin-bottom: 4px; -} - -table.doxtable td, table.doxtable th { - border: 1px solid #081B04; - padding: 3px 7px 2px; -} - -table.doxtable th { - background-color: #0C2B07; - color: #FFFFFF; - font-size: 110%; - padding-bottom: 4px; - padding-top: 5px; -} - -table.fieldtable { - /*width: 100%;*/ - margin-bottom: 10px; - border: 1px solid #4DDC34; - border-spacing: 0px; - -moz-border-radius: 4px; - -webkit-border-radius: 4px; - border-radius: 4px; - -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; - -webkit-box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); - box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); -} - -.fieldtable td, .fieldtable th { - padding: 3px 7px 2px; -} - -.fieldtable td.fieldtype, .fieldtable td.fieldname { - white-space: nowrap; - border-right: 1px solid #4DDC34; - border-bottom: 1px solid #4DDC34; - vertical-align: top; -} - -.fieldtable td.fieldname { - padding-top: 3px; -} - -.fieldtable td.fielddoc { - border-bottom: 1px solid #4DDC34; - /*width: 100%;*/ -} - -.fieldtable td.fielddoc p:first-child { - margin-top: 0px; -} - -.fieldtable td.fielddoc p:last-child { - margin-bottom: 2px; -} - -.fieldtable tr:last-child td { - border-bottom: none; -} - -.fieldtable th { - background-image:url('nav_f.png'); - background-repeat:repeat-x; - background-color: #BEF2B5; - font-size: 90%; - color: #051103; - padding-bottom: 4px; - padding-top: 5px; - text-align:left; - font-weight: 400; - -moz-border-radius-topleft: 4px; - -moz-border-radius-topright: 4px; - -webkit-border-top-left-radius: 4px; - -webkit-border-top-right-radius: 4px; - border-top-left-radius: 4px; - border-top-right-radius: 4px; - border-bottom: 1px solid #4DDC34; -} - - -.tabsearch { - top: 0px; - left: 10px; - height: 36px; - background-image: url('tab_b.png'); - z-index: 101; - overflow: hidden; - font-size: 13px; -} - -.navpath ul -{ - font-size: 11px; - background-image:url('tab_b.png'); - background-repeat:repeat-x; - background-position: 0 -5px; - height:30px; - line-height:30px; - color:#34B11E; - border:solid 1px #7CE569; - overflow:hidden; - margin:0px; - padding:0px; -} - -.navpath li -{ - list-style-type:none; - float:left; - padding-left:10px; - padding-right:15px; - background-image:url('bc_s.png'); - background-repeat:no-repeat; - background-position:right; - color:#0C2907; -} - -.navpath li.navelem a -{ - height:32px; - display:block; - text-decoration: none; - outline: none; - color: #061503; - font-family: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; - text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); - text-decoration: none; -} - -.navpath li.navelem a:hover -{ - color:#257D15; -} - -.navpath li.footer -{ - list-style-type:none; - float:right; - padding-left:10px; - padding-right:15px; - background-image:none; - background-repeat:no-repeat; - background-position:right; - color:#0C2907; - font-size: 8pt; -} - - -div.summary -{ - float: right; - font-size: 8pt; - padding-right: 5px; - width: 50%; - text-align: right; -} - -div.summary a -{ - white-space: nowrap; -} - -table.classindex -{ - margin: 10px; - white-space: nowrap; - margin-left: 3%; - margin-right: 3%; - width: 94%; - border: 0; - border-spacing: 0; - padding: 0; -} - -div.ingroups -{ - font-size: 8pt; - width: 50%; - text-align: left; -} - -div.ingroups a -{ - white-space: nowrap; -} - -div.header -{ - background-image:url('nav_h.png'); - background-repeat:repeat-x; - background-color: #F1FCEF; - margin: 0px; - border-bottom: 1px solid #80E66F; -} - -div.headertitle -{ - padding: 5px 5px 5px 10px; -} - -.PageDocRTL-title div.headertitle { - text-align: right; - direction: rtl; -} - -dl { - padding: 0 0 0 0; -} - -/* dl.note, dl.warning, dl.attention, dl.pre, dl.post, dl.invariant, dl.deprecated, dl.todo, dl.test, dl.bug, dl.examples */ -dl.section { - margin-left: 0px; - padding-left: 0px; -} - -dl.section.DocNodeRTL { - margin-right: 0px; - padding-right: 0px; -} - -dl.note { - margin-left: -7px; - padding-left: 3px; - border-left: 4px solid; - border-color: #D0C000; -} - -dl.note.DocNodeRTL { - margin-left: 0; - padding-left: 0; - border-left: 0; - margin-right: -7px; - padding-right: 3px; - border-right: 4px solid; - border-color: #D0C000; -} - -dl.warning, dl.attention { - margin-left: -7px; - padding-left: 3px; - border-left: 4px solid; - border-color: #FF0000; -} - -dl.warning.DocNodeRTL, dl.attention.DocNodeRTL { - margin-left: 0; - padding-left: 0; - border-left: 0; - margin-right: -7px; - padding-right: 3px; - border-right: 4px solid; - border-color: #FF0000; -} - -dl.pre, dl.post, dl.invariant { - margin-left: -7px; - padding-left: 3px; - border-left: 4px solid; - border-color: #00D000; -} - -dl.pre.DocNodeRTL, dl.post.DocNodeRTL, dl.invariant.DocNodeRTL { - margin-left: 0; - padding-left: 0; - border-left: 0; - margin-right: -7px; - padding-right: 3px; - border-right: 4px solid; - border-color: #00D000; -} - -dl.deprecated { - margin-left: -7px; - padding-left: 3px; - border-left: 4px solid; - border-color: #505050; -} - -dl.deprecated.DocNodeRTL { - margin-left: 0; - padding-left: 0; - border-left: 0; - margin-right: -7px; - padding-right: 3px; - border-right: 4px solid; - border-color: #505050; -} - -dl.todo { - margin-left: -7px; - padding-left: 3px; - border-left: 4px solid; - border-color: #00C0E0; -} - -dl.todo.DocNodeRTL { - margin-left: 0; - padding-left: 0; - border-left: 0; - margin-right: -7px; - padding-right: 3px; - border-right: 4px solid; - border-color: #00C0E0; -} - -dl.test { - margin-left: -7px; - padding-left: 3px; - border-left: 4px solid; - border-color: #3030E0; -} - -dl.test.DocNodeRTL { - margin-left: 0; - padding-left: 0; - border-left: 0; - margin-right: -7px; - padding-right: 3px; - border-right: 4px solid; - border-color: #3030E0; -} - -dl.bug { - margin-left: -7px; - padding-left: 3px; - border-left: 4px solid; - border-color: #C08050; -} - -dl.bug.DocNodeRTL { - margin-left: 0; - padding-left: 0; - border-left: 0; - margin-right: -7px; - padding-right: 3px; - border-right: 4px solid; - border-color: #C08050; -} - -dl.section dd { - margin-bottom: 6px; -} - - -#projectlogo -{ - text-align: center; - vertical-align: bottom; - border-collapse: separate; -} - -#projectlogo img -{ - border: 0px none; -} - -#projectalign -{ - vertical-align: middle; -} - -#projectname -{ - font: 300% Tahoma, Arial,sans-serif; - margin: 0px; - padding: 2px 0px; -} - -#projectbrief -{ - font: 120% Tahoma, Arial,sans-serif; - margin: 0px; - padding: 0px; -} - -#projectnumber -{ - font: 50% Tahoma, Arial,sans-serif; - margin: 0px; - padding: 0px; -} - -#titlearea -{ - padding: 0px; - margin: 0px; - width: 100%; - border-bottom: 1px solid #1D6211; -} - -.image -{ - text-align: center; -} - -.dotgraph -{ - text-align: center; -} - -.mscgraph -{ - text-align: center; -} - -.plantumlgraph -{ - text-align: center; -} - -.diagraph -{ - text-align: center; -} - -.caption -{ - font-weight: bold; -} - -div.zoom -{ - border: 1px solid #37BB20; -} - -dl.citelist { - margin-bottom:50px; -} - -dl.citelist dt { - color:#0A2406; - float:left; - font-weight:bold; - margin-right:10px; - padding:5px; -} - -dl.citelist dd { - margin:2px 0; - padding:5px 0; -} - -div.toc { - padding: 14px 25px; - background-color: #E7FAE3; - border: 1px solid #A8ED9C; - border-radius: 7px 7px 7px 7px; - float: right; - height: auto; - margin: 0 8px 10px 10px; - width: 200px; -} - -.PageDocRTL-title div.toc { - float: left !important; - text-align: right; -} - -div.toc li { - background: url("bdwn.png") no-repeat scroll 0 5px transparent; - font: 10px/1.2 Verdana,DejaVu Sans,Geneva,sans-serif; - margin-top: 5px; - padding-left: 10px; - padding-top: 2px; -} - -.PageDocRTL-title div.toc li { - background-position-x: right !important; - padding-left: 0 !important; - padding-right: 10px; -} - -div.toc h3 { - font: bold 12px/1.2 Arial,FreeSans,sans-serif; - color: #164A0C; - border-bottom: 0 none; - margin: 0; -} - -div.toc ul { - list-style: none outside none; - border: medium none; - padding: 0px; -} - -div.toc li.level1 { - margin-left: 0px; -} - -div.toc li.level2 { - margin-left: 15px; -} - -div.toc li.level3 { - margin-left: 30px; -} - -div.toc li.level4 { - margin-left: 45px; -} - -.PageDocRTL-title div.toc li.level1 { - margin-left: 0 !important; - margin-right: 0; -} - -.PageDocRTL-title div.toc li.level2 { - margin-left: 0 !important; - margin-right: 15px; -} - -.PageDocRTL-title div.toc li.level3 { - margin-left: 0 !important; - margin-right: 30px; -} - -.PageDocRTL-title div.toc li.level4 { - margin-left: 0 !important; - margin-right: 45px; -} - -.inherit_header { - font-weight: bold; - color: gray; - cursor: pointer; - -webkit-touch-callout: none; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.inherit_header td { - padding: 6px 0px 2px 5px; -} - -.inherit { - display: none; -} - -tr.heading h2 { - margin-top: 12px; - margin-bottom: 4px; -} - -/* tooltip related style info */ - -.ttc { - position: absolute; - display: none; -} - -#powerTip { - cursor: default; - white-space: nowrap; - background-color: white; - border: 1px solid gray; - border-radius: 4px 4px 4px 4px; - box-shadow: 1px 1px 7px gray; - display: none; - font-size: smaller; - max-width: 80%; - opacity: 0.9; - padding: 1ex 1em 1em; - position: absolute; - z-index: 2147483647; -} - -#powerTip div.ttdoc { - color: grey; - font-style: italic; -} - -#powerTip div.ttname a { - font-weight: bold; -} - -#powerTip div.ttname { - font-weight: bold; -} - -#powerTip div.ttdeci { - color: #006318; -} - -#powerTip div { - margin: 0px; - padding: 0px; - font: 12px/16px Roboto,sans-serif; -} - -#powerTip:before, #powerTip:after { - content: ""; - position: absolute; - margin: 0px; -} - -#powerTip.n:after, #powerTip.n:before, -#powerTip.s:after, #powerTip.s:before, -#powerTip.w:after, #powerTip.w:before, -#powerTip.e:after, #powerTip.e:before, -#powerTip.ne:after, #powerTip.ne:before, -#powerTip.se:after, #powerTip.se:before, -#powerTip.nw:after, #powerTip.nw:before, -#powerTip.sw:after, #powerTip.sw:before { - border: solid transparent; - content: " "; - height: 0; - width: 0; - position: absolute; -} - -#powerTip.n:after, #powerTip.s:after, -#powerTip.w:after, #powerTip.e:after, -#powerTip.nw:after, #powerTip.ne:after, -#powerTip.sw:after, #powerTip.se:after { - border-color: rgba(255, 255, 255, 0); -} - -#powerTip.n:before, #powerTip.s:before, -#powerTip.w:before, #powerTip.e:before, -#powerTip.nw:before, #powerTip.ne:before, -#powerTip.sw:before, #powerTip.se:before { - border-color: rgba(128, 128, 128, 0); -} - -#powerTip.n:after, #powerTip.n:before, -#powerTip.ne:after, #powerTip.ne:before, -#powerTip.nw:after, #powerTip.nw:before { - top: 100%; -} - -#powerTip.n:after, #powerTip.ne:after, #powerTip.nw:after { - border-top-color: #FFFFFF; - border-width: 10px; - margin: 0px -10px; -} -#powerTip.n:before { - border-top-color: #808080; - border-width: 11px; - margin: 0px -11px; -} -#powerTip.n:after, #powerTip.n:before { - left: 50%; -} - -#powerTip.nw:after, #powerTip.nw:before { - right: 14px; -} - -#powerTip.ne:after, #powerTip.ne:before { - left: 14px; -} - -#powerTip.s:after, #powerTip.s:before, -#powerTip.se:after, #powerTip.se:before, -#powerTip.sw:after, #powerTip.sw:before { - bottom: 100%; -} - -#powerTip.s:after, #powerTip.se:after, #powerTip.sw:after { - border-bottom-color: #FFFFFF; - border-width: 10px; - margin: 0px -10px; -} - -#powerTip.s:before, #powerTip.se:before, #powerTip.sw:before { - border-bottom-color: #808080; - border-width: 11px; - margin: 0px -11px; -} - -#powerTip.s:after, #powerTip.s:before { - left: 50%; -} - -#powerTip.sw:after, #powerTip.sw:before { - right: 14px; -} - -#powerTip.se:after, #powerTip.se:before { - left: 14px; -} - -#powerTip.e:after, #powerTip.e:before { - left: 100%; -} -#powerTip.e:after { - border-left-color: #FFFFFF; - border-width: 10px; - top: 50%; - margin-top: -10px; -} -#powerTip.e:before { - border-left-color: #808080; - border-width: 11px; - top: 50%; - margin-top: -11px; -} - -#powerTip.w:after, #powerTip.w:before { - right: 100%; -} -#powerTip.w:after { - border-right-color: #FFFFFF; - border-width: 10px; - top: 50%; - margin-top: -10px; -} -#powerTip.w:before { - border-right-color: #808080; - border-width: 11px; - top: 50%; - margin-top: -11px; -} - -@media print -{ - #top { display: none; } - #side-nav { display: none; } - #nav-path { display: none; } - body { overflow:visible; } - h1, h2, h3, h4, h5, h6 { page-break-after: avoid; } - .summary { display: none; } - .memitem { page-break-inside: avoid; } - #doc-content - { - margin-left:0 !important; - height:auto !important; - width:auto !important; - overflow:inherit; - display:inline; - } -} - -/* @group Markdown */ - -/* -table.markdownTable { - border-collapse:collapse; - margin-top: 4px; - margin-bottom: 4px; -} - -table.markdownTable td, table.markdownTable th { - border: 1px solid #081B04; - padding: 3px 7px 2px; -} - -table.markdownTableHead tr { -} - -table.markdownTableBodyLeft td, table.markdownTable th { - border: 1px solid #081B04; - padding: 3px 7px 2px; -} - -th.markdownTableHeadLeft th.markdownTableHeadRight th.markdownTableHeadCenter th.markdownTableHeadNone { - background-color: #0C2B07; - color: #FFFFFF; - font-size: 110%; - padding-bottom: 4px; - padding-top: 5px; -} - -th.markdownTableHeadLeft { - text-align: left -} - -th.markdownTableHeadRight { - text-align: right -} - -th.markdownTableHeadCenter { - text-align: center -} -*/ - -table.markdownTable { - border-collapse:collapse; - margin-top: 4px; - margin-bottom: 4px; -} - -table.markdownTable td, table.markdownTable th { - border: 1px solid #081B04; - padding: 3px 7px 2px; -} - -table.markdownTable tr { -} - -th.markdownTableHeadLeft, th.markdownTableHeadRight, th.markdownTableHeadCenter, th.markdownTableHeadNone { - background-color: #0C2B07; - color: #FFFFFF; - font-size: 110%; - padding-bottom: 4px; - padding-top: 5px; -} - -th.markdownTableHeadLeft, td.markdownTableBodyLeft { - text-align: left -} - -th.markdownTableHeadRight, td.markdownTableBodyRight { - text-align: right -} - -th.markdownTableHeadCenter, td.markdownTableBodyCenter { - text-align: center -} - -.DocNodeRTL { - text-align: right; - direction: rtl; -} - -.DocNodeLTR { - text-align: left; - direction: ltr; -} - -table.DocNodeRTL { - width: auto; - margin-right: 0; - margin-left: auto; -} - -table.DocNodeLTR { - width: auto; - margin-right: auto; - margin-left: 0; -} - -tt, code, kbd, samp -{ - display: inline-block; - direction:ltr; -} -/* @end */ - -u { - text-decoration: underline; -} - diff --git a/vendors/galaxy/Docs/doxygen.png b/vendors/galaxy/Docs/doxygen.png deleted file mode 100644 index 08d4bf21d..000000000 Binary files a/vendors/galaxy/Docs/doxygen.png and /dev/null differ diff --git a/vendors/galaxy/Docs/dynsections.js b/vendors/galaxy/Docs/dynsections.js deleted file mode 100644 index ea0a7b39a..000000000 --- a/vendors/galaxy/Docs/dynsections.js +++ /dev/null @@ -1,120 +0,0 @@ -/* - @licstart The following is the entire license notice for the - JavaScript code in this file. - - Copyright (C) 1997-2017 by Dimitri van Heesch - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - - @licend The above is the entire license notice - for the JavaScript code in this file - */ -function toggleVisibility(linkObj) -{ - var base = $(linkObj).attr('id'); - var summary = $('#'+base+'-summary'); - var content = $('#'+base+'-content'); - var trigger = $('#'+base+'-trigger'); - var src=$(trigger).attr('src'); - if (content.is(':visible')===true) { - content.hide(); - summary.show(); - $(linkObj).addClass('closed').removeClass('opened'); - $(trigger).attr('src',src.substring(0,src.length-8)+'closed.png'); - } else { - content.show(); - summary.hide(); - $(linkObj).removeClass('closed').addClass('opened'); - $(trigger).attr('src',src.substring(0,src.length-10)+'open.png'); - } - return false; -} - -function updateStripes() -{ - $('table.directory tr'). - removeClass('even').filter(':visible:even').addClass('even'); -} - -function toggleLevel(level) -{ - $('table.directory tr').each(function() { - var l = this.id.split('_').length-1; - var i = $('#img'+this.id.substring(3)); - var a = $('#arr'+this.id.substring(3)); - if (l - - - - - - -GOG Galaxy: File List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
File List
-
-
-
Here is a list of all documented files with brief descriptions:
- - - - - - - - - - - - - - - - - - - - - - - - -
 Errors.hContains classes representing exceptions
 GalaxyAllocator.hContains definition of custom memory allocator
 GalaxyApi.hIncludes all other files that are needed to work with the Galaxy library
 GalaxyExceptionHelper.h
 GalaxyExport.hContains a macro used for DLL export
 GalaxyGameServerApi.hContains the main interface for controlling the Galaxy Game Server
 GalaxyID.hContains GalaxyID, which is the class that represents the ID of an entity used by Galaxy Peer
 GalaxyThread.h
 IApps.hContains data structures and interfaces related to application activities
 IChat.hContains data structures and interfaces related to chat communication with other Galaxy Users
 ICustomNetworking.hContains data structures and interfaces related to communicating with custom endpoints
 IFriends.hContains data structures and interfaces related to social activities
 IListenerRegistrar.hContains data structures and interfaces related to callback listeners
 ILogger.hContains data structures and interfaces related to logging
 IMatchmaking.hContains data structures and interfaces related to matchmaking
 INetworking.hContains data structures and interfaces related to communicating with other Galaxy Peers
 InitOptions.hContains class that holds Galaxy initialization parameters
 IStats.hContains data structures and interfaces related to statistics, achievements and leaderboards
 IStorage.hContains data structures and interfaces related to storage activities
 ITelemetry.hContains data structures and interfaces related to telemetry
 IUser.hContains data structures and interfaces related to user account
 IUtils.hContains data structures and interfaces related to common activities
 stdint.h
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/files_dup.js b/vendors/galaxy/Docs/files_dup.js deleted file mode 100644 index f304554ca..000000000 --- a/vendors/galaxy/Docs/files_dup.js +++ /dev/null @@ -1,26 +0,0 @@ -var files_dup = -[ - [ "Errors.h", "Errors_8h.html", "Errors_8h" ], - [ "GalaxyAllocator.h", "GalaxyAllocator_8h.html", "GalaxyAllocator_8h" ], - [ "GalaxyApi.h", "GalaxyApi_8h.html", "GalaxyApi_8h" ], - [ "GalaxyExceptionHelper.h", "GalaxyExceptionHelper_8h_source.html", null ], - [ "GalaxyExport.h", "GalaxyExport_8h.html", "GalaxyExport_8h" ], - [ "GalaxyGameServerApi.h", "GalaxyGameServerApi_8h.html", "GalaxyGameServerApi_8h" ], - [ "GalaxyID.h", "GalaxyID_8h.html", null ], - [ "GalaxyThread.h", "GalaxyThread_8h_source.html", null ], - [ "IApps.h", "IApps_8h.html", "IApps_8h" ], - [ "IChat.h", "IChat_8h.html", "IChat_8h" ], - [ "ICustomNetworking.h", "ICustomNetworking_8h.html", "ICustomNetworking_8h" ], - [ "IFriends.h", "IFriends_8h.html", "IFriends_8h" ], - [ "IListenerRegistrar.h", "IListenerRegistrar_8h.html", "IListenerRegistrar_8h" ], - [ "ILogger.h", "ILogger_8h.html", null ], - [ "IMatchmaking.h", "IMatchmaking_8h.html", "IMatchmaking_8h" ], - [ "INetworking.h", "INetworking_8h.html", "INetworking_8h" ], - [ "InitOptions.h", "InitOptions_8h.html", null ], - [ "IStats.h", "IStats_8h.html", "IStats_8h" ], - [ "IStorage.h", "IStorage_8h.html", "IStorage_8h" ], - [ "ITelemetry.h", "ITelemetry_8h.html", "ITelemetry_8h" ], - [ "IUser.h", "IUser_8h.html", "IUser_8h" ], - [ "IUtils.h", "IUtils_8h.html", "IUtils_8h" ], - [ "stdint.h", "stdint_8h_source.html", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/folderclosed.png b/vendors/galaxy/Docs/folderclosed.png deleted file mode 100644 index 2b3442b97..000000000 Binary files a/vendors/galaxy/Docs/folderclosed.png and /dev/null differ diff --git a/vendors/galaxy/Docs/folderopen.png b/vendors/galaxy/Docs/folderopen.png deleted file mode 100644 index b157256ee..000000000 Binary files a/vendors/galaxy/Docs/folderopen.png and /dev/null differ diff --git a/vendors/galaxy/Docs/functions.html b/vendors/galaxy/Docs/functions.html deleted file mode 100644 index 15e6add76..000000000 --- a/vendors/galaxy/Docs/functions.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - - - - -GOG Galaxy: Class Members - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
Here is a list of all documented class members with links to the class documentation for each member:
- -

- a -

-
-
- - - - diff --git a/vendors/galaxy/Docs/functions_c.html b/vendors/galaxy/Docs/functions_c.html deleted file mode 100644 index 098be6eb3..000000000 --- a/vendors/galaxy/Docs/functions_c.html +++ /dev/null @@ -1,136 +0,0 @@ - - - - - - - -GOG Galaxy: Class Members - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
Here is a list of all documented class members with links to the class documentation for each member:
- -

- c -

-
-
- - - - diff --git a/vendors/galaxy/Docs/functions_d.html b/vendors/galaxy/Docs/functions_d.html deleted file mode 100644 index 416a7999d..000000000 --- a/vendors/galaxy/Docs/functions_d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - -GOG Galaxy: Class Members - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
Here is a list of all documented class members with links to the class documentation for each member:
- -

- d -

-
-
- - - - diff --git a/vendors/galaxy/Docs/functions_dup.js b/vendors/galaxy/Docs/functions_dup.js deleted file mode 100644 index bcb167132..000000000 --- a/vendors/galaxy/Docs/functions_dup.js +++ /dev/null @@ -1,22 +0,0 @@ -var functions_dup = -[ - [ "a", "functions.html", null ], - [ "c", "functions_c.html", null ], - [ "d", "functions_d.html", null ], - [ "e", "functions_e.html", null ], - [ "f", "functions_f.html", null ], - [ "g", "functions_g.html", null ], - [ "h", "functions_h.html", null ], - [ "i", "functions_i.html", null ], - [ "j", "functions_j.html", null ], - [ "l", "functions_l.html", null ], - [ "m", "functions_m.html", null ], - [ "o", "functions_o.html", null ], - [ "p", "functions_p.html", null ], - [ "r", "functions_r.html", null ], - [ "s", "functions_s.html", null ], - [ "t", "functions_t.html", null ], - [ "u", "functions_u.html", null ], - [ "w", "functions_w.html", null ], - [ "~", "functions_~.html", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/functions_e.html b/vendors/galaxy/Docs/functions_e.html deleted file mode 100644 index 0051d58c0..000000000 --- a/vendors/galaxy/Docs/functions_e.html +++ /dev/null @@ -1,106 +0,0 @@ - - - - - - - -GOG Galaxy: Class Members - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
Here is a list of all documented class members with links to the class documentation for each member:
- -

- e -

-
-
- - - - diff --git a/vendors/galaxy/Docs/functions_enum.html b/vendors/galaxy/Docs/functions_enum.html deleted file mode 100644 index 2b9b36937..000000000 --- a/vendors/galaxy/Docs/functions_enum.html +++ /dev/null @@ -1,180 +0,0 @@ - - - - - - - -GOG Galaxy: Class Members - Enumerations - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- - - - - - diff --git a/vendors/galaxy/Docs/functions_eval.html b/vendors/galaxy/Docs/functions_eval.html deleted file mode 100644 index 1da4b3e92..000000000 --- a/vendors/galaxy/Docs/functions_eval.html +++ /dev/null @@ -1,317 +0,0 @@ - - - - - - - -GOG Galaxy: Class Members - Enumerator - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-  - -

- c -

- - -

- f -

- - -

- i -

- - -

- l -

- - -

- o -

- - -

- p -

-
-
- - - - diff --git a/vendors/galaxy/Docs/functions_f.html b/vendors/galaxy/Docs/functions_f.html deleted file mode 100644 index 7fd7f44e8..000000000 --- a/vendors/galaxy/Docs/functions_f.html +++ /dev/null @@ -1,311 +0,0 @@ - - - - - - - -GOG Galaxy: Class Members - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
Here is a list of all documented class members with links to the class documentation for each member:
- -

- f -

-
-
- - - - diff --git a/vendors/galaxy/Docs/functions_func.html b/vendors/galaxy/Docs/functions_func.html deleted file mode 100644 index 5d260a867..000000000 --- a/vendors/galaxy/Docs/functions_func.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - - - - -GOG Galaxy: Class Members - Functions - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-  - -

- a -

-
-
- - - - diff --git a/vendors/galaxy/Docs/functions_func.js b/vendors/galaxy/Docs/functions_func.js deleted file mode 100644 index 86849a9ef..000000000 --- a/vendors/galaxy/Docs/functions_func.js +++ /dev/null @@ -1,21 +0,0 @@ -var functions_func = -[ - [ "a", "functions_func.html", null ], - [ "c", "functions_func_c.html", null ], - [ "d", "functions_func_d.html", null ], - [ "e", "functions_func_e.html", null ], - [ "f", "functions_func_f.html", null ], - [ "g", "functions_func_g.html", null ], - [ "i", "functions_func_i.html", null ], - [ "j", "functions_func_j.html", null ], - [ "l", "functions_func_l.html", null ], - [ "m", "functions_func_m.html", null ], - [ "o", "functions_func_o.html", null ], - [ "p", "functions_func_p.html", null ], - [ "r", "functions_func_r.html", null ], - [ "s", "functions_func_s.html", null ], - [ "t", "functions_func_t.html", null ], - [ "u", "functions_func_u.html", null ], - [ "w", "functions_func_w.html", null ], - [ "~", "functions_func_~.html", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/functions_func_c.html b/vendors/galaxy/Docs/functions_func_c.html deleted file mode 100644 index cb3a3d9a8..000000000 --- a/vendors/galaxy/Docs/functions_func_c.html +++ /dev/null @@ -1,121 +0,0 @@ - - - - - - - -GOG Galaxy: Class Members - Functions - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-  - -

- c -

-
-
- - - - diff --git a/vendors/galaxy/Docs/functions_func_d.html b/vendors/galaxy/Docs/functions_func_d.html deleted file mode 100644 index a75d29130..000000000 --- a/vendors/galaxy/Docs/functions_func_d.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - -GOG Galaxy: Class Members - Functions - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-  - -

- d -

-
-
- - - - diff --git a/vendors/galaxy/Docs/functions_func_e.html b/vendors/galaxy/Docs/functions_func_e.html deleted file mode 100644 index 72f899d1b..000000000 --- a/vendors/galaxy/Docs/functions_func_e.html +++ /dev/null @@ -1,106 +0,0 @@ - - - - - - - -GOG Galaxy: Class Members - Functions - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-  - -

- e -

-
-
- - - - diff --git a/vendors/galaxy/Docs/functions_func_f.html b/vendors/galaxy/Docs/functions_func_f.html deleted file mode 100644 index a1f0b09a6..000000000 --- a/vendors/galaxy/Docs/functions_func_f.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - - - - -GOG Galaxy: Class Members - Functions - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-  - -

- f -

-
-
- - - - diff --git a/vendors/galaxy/Docs/functions_func_g.html b/vendors/galaxy/Docs/functions_func_g.html deleted file mode 100644 index a911e2a2a..000000000 --- a/vendors/galaxy/Docs/functions_func_g.html +++ /dev/null @@ -1,385 +0,0 @@ - - - - - - - -GOG Galaxy: Class Members - Functions - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-  - -

- g -

-
-
- - - - diff --git a/vendors/galaxy/Docs/functions_func_i.html b/vendors/galaxy/Docs/functions_func_i.html deleted file mode 100644 index 14644e808..000000000 --- a/vendors/galaxy/Docs/functions_func_i.html +++ /dev/null @@ -1,148 +0,0 @@ - - - - - - - -GOG Galaxy: Class Members - Functions - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-  - -

- i -

-
-
- - - - diff --git a/vendors/galaxy/Docs/functions_func_j.html b/vendors/galaxy/Docs/functions_func_j.html deleted file mode 100644 index ce19f5be5..000000000 --- a/vendors/galaxy/Docs/functions_func_j.html +++ /dev/null @@ -1,112 +0,0 @@ - - - - - - - -GOG Galaxy: Class Members - Functions - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-  - -

- j -

-
-
- - - - diff --git a/vendors/galaxy/Docs/functions_func_l.html b/vendors/galaxy/Docs/functions_func_l.html deleted file mode 100644 index 0622aa909..000000000 --- a/vendors/galaxy/Docs/functions_func_l.html +++ /dev/null @@ -1,106 +0,0 @@ - - - - - - - -GOG Galaxy: Class Members - Functions - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-  - -

- l -

-
-
- - - - diff --git a/vendors/galaxy/Docs/functions_func_m.html b/vendors/galaxy/Docs/functions_func_m.html deleted file mode 100644 index a09eff2aa..000000000 --- a/vendors/galaxy/Docs/functions_func_m.html +++ /dev/null @@ -1,106 +0,0 @@ - - - - - - - -GOG Galaxy: Class Members - Functions - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-  - -

- m -

    -
  • MarkChatRoomAsRead() -: IChat -
  • -
-
-
- - - - diff --git a/vendors/galaxy/Docs/functions_func_o.html b/vendors/galaxy/Docs/functions_func_o.html deleted file mode 100644 index 40ad97286..000000000 --- a/vendors/galaxy/Docs/functions_func_o.html +++ /dev/null @@ -1,391 +0,0 @@ - - - - - - - -GOG Galaxy: Class Members - Functions - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-  - -

- o -

-
-
- - - - diff --git a/vendors/galaxy/Docs/functions_func_p.html b/vendors/galaxy/Docs/functions_func_p.html deleted file mode 100644 index c936bf653..000000000 --- a/vendors/galaxy/Docs/functions_func_p.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - - - -GOG Galaxy: Class Members - Functions - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-  - -

- p -

-
-
- - - - diff --git a/vendors/galaxy/Docs/functions_func_r.html b/vendors/galaxy/Docs/functions_func_r.html deleted file mode 100644 index 3f6732dd6..000000000 --- a/vendors/galaxy/Docs/functions_func_r.html +++ /dev/null @@ -1,181 +0,0 @@ - - - - - - - -GOG Galaxy: Class Members - Functions - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-  - -

- r -

-
-
- - - - diff --git a/vendors/galaxy/Docs/functions_func_s.html b/vendors/galaxy/Docs/functions_func_s.html deleted file mode 100644 index 7677cdfdb..000000000 --- a/vendors/galaxy/Docs/functions_func_s.html +++ /dev/null @@ -1,235 +0,0 @@ - - - - - - - -GOG Galaxy: Class Members - Functions - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-  - -

- s -

-
-
- - - - diff --git a/vendors/galaxy/Docs/functions_func_t.html b/vendors/galaxy/Docs/functions_func_t.html deleted file mode 100644 index 0d05be459..000000000 --- a/vendors/galaxy/Docs/functions_func_t.html +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - - -GOG Galaxy: Class Members - Functions - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-  - -

- t -

-
-
- - - - diff --git a/vendors/galaxy/Docs/functions_func_u.html b/vendors/galaxy/Docs/functions_func_u.html deleted file mode 100644 index 607abe379..000000000 --- a/vendors/galaxy/Docs/functions_func_u.html +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - - -GOG Galaxy: Class Members - Functions - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-  - -

- u -

-
-
- - - - diff --git a/vendors/galaxy/Docs/functions_func_w.html b/vendors/galaxy/Docs/functions_func_w.html deleted file mode 100644 index 75f0bed86..000000000 --- a/vendors/galaxy/Docs/functions_func_w.html +++ /dev/null @@ -1,106 +0,0 @@ - - - - - - - -GOG Galaxy: Class Members - Functions - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-  - -

- w -

-
-
- - - - diff --git a/vendors/galaxy/Docs/functions_func_~.html b/vendors/galaxy/Docs/functions_func_~.html deleted file mode 100644 index 79282758a..000000000 --- a/vendors/galaxy/Docs/functions_func_~.html +++ /dev/null @@ -1,106 +0,0 @@ - - - - - - - -GOG Galaxy: Class Members - Functions - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-  - -

- ~ -

-
-
- - - - diff --git a/vendors/galaxy/Docs/functions_g.html b/vendors/galaxy/Docs/functions_g.html deleted file mode 100644 index 9bd78d393..000000000 --- a/vendors/galaxy/Docs/functions_g.html +++ /dev/null @@ -1,400 +0,0 @@ - - - - - - - -GOG Galaxy: Class Members - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
Here is a list of all documented class members with links to the class documentation for each member:
- -

- g -

-
-
- - - - diff --git a/vendors/galaxy/Docs/functions_h.html b/vendors/galaxy/Docs/functions_h.html deleted file mode 100644 index 3b9010cd1..000000000 --- a/vendors/galaxy/Docs/functions_h.html +++ /dev/null @@ -1,106 +0,0 @@ - - - - - - - -GOG Galaxy: Class Members - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
Here is a list of all documented class members with links to the class documentation for each member:
- -

- h -

-
-
- - - - diff --git a/vendors/galaxy/Docs/functions_i.html b/vendors/galaxy/Docs/functions_i.html deleted file mode 100644 index 7018e98e8..000000000 --- a/vendors/galaxy/Docs/functions_i.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - - - -GOG Galaxy: Class Members - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
Here is a list of all documented class members with links to the class documentation for each member:
- -

- i -

-
-
- - - - diff --git a/vendors/galaxy/Docs/functions_j.html b/vendors/galaxy/Docs/functions_j.html deleted file mode 100644 index a7854570e..000000000 --- a/vendors/galaxy/Docs/functions_j.html +++ /dev/null @@ -1,112 +0,0 @@ - - - - - - - -GOG Galaxy: Class Members - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
Here is a list of all documented class members with links to the class documentation for each member:
- -

- j -

-
-
- - - - diff --git a/vendors/galaxy/Docs/functions_l.html b/vendors/galaxy/Docs/functions_l.html deleted file mode 100644 index dd7b0d26a..000000000 --- a/vendors/galaxy/Docs/functions_l.html +++ /dev/null @@ -1,121 +0,0 @@ - - - - - - - -GOG Galaxy: Class Members - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
Here is a list of all documented class members with links to the class documentation for each member:
- -

- l -

-
-
- - - - diff --git a/vendors/galaxy/Docs/functions_m.html b/vendors/galaxy/Docs/functions_m.html deleted file mode 100644 index 1554ab4a0..000000000 --- a/vendors/galaxy/Docs/functions_m.html +++ /dev/null @@ -1,106 +0,0 @@ - - - - - - - -GOG Galaxy: Class Members - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
Here is a list of all documented class members with links to the class documentation for each member:
- -

- m -

    -
  • MarkChatRoomAsRead() -: IChat -
  • -
-
-
- - - - diff --git a/vendors/galaxy/Docs/functions_o.html b/vendors/galaxy/Docs/functions_o.html deleted file mode 100644 index 3585ce9b6..000000000 --- a/vendors/galaxy/Docs/functions_o.html +++ /dev/null @@ -1,400 +0,0 @@ - - - - - - - -GOG Galaxy: Class Members - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
Here is a list of all documented class members with links to the class documentation for each member:
- -

- o -

-
-
- - - - diff --git a/vendors/galaxy/Docs/functions_p.html b/vendors/galaxy/Docs/functions_p.html deleted file mode 100644 index 017302849..000000000 --- a/vendors/galaxy/Docs/functions_p.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - - -GOG Galaxy: Class Members - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
Here is a list of all documented class members with links to the class documentation for each member:
- -

- p -

-
-
- - - - diff --git a/vendors/galaxy/Docs/functions_r.html b/vendors/galaxy/Docs/functions_r.html deleted file mode 100644 index 6d7103001..000000000 --- a/vendors/galaxy/Docs/functions_r.html +++ /dev/null @@ -1,181 +0,0 @@ - - - - - - - -GOG Galaxy: Class Members - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
Here is a list of all documented class members with links to the class documentation for each member:
- -

- r -

-
-
- - - - diff --git a/vendors/galaxy/Docs/functions_s.html b/vendors/galaxy/Docs/functions_s.html deleted file mode 100644 index 7ce992fc9..000000000 --- a/vendors/galaxy/Docs/functions_s.html +++ /dev/null @@ -1,238 +0,0 @@ - - - - - - - -GOG Galaxy: Class Members - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
Here is a list of all documented class members with links to the class documentation for each member:
- -

- s -

-
-
- - - - diff --git a/vendors/galaxy/Docs/functions_t.html b/vendors/galaxy/Docs/functions_t.html deleted file mode 100644 index c531219ec..000000000 --- a/vendors/galaxy/Docs/functions_t.html +++ /dev/null @@ -1,112 +0,0 @@ - - - - - - - -GOG Galaxy: Class Members - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
Here is a list of all documented class members with links to the class documentation for each member:
- -

- t -

-
-
- - - - diff --git a/vendors/galaxy/Docs/functions_u.html b/vendors/galaxy/Docs/functions_u.html deleted file mode 100644 index e4556bca6..000000000 --- a/vendors/galaxy/Docs/functions_u.html +++ /dev/null @@ -1,112 +0,0 @@ - - - - - - - -GOG Galaxy: Class Members - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
Here is a list of all documented class members with links to the class documentation for each member:
- -

- u -

-
-
- - - - diff --git a/vendors/galaxy/Docs/functions_vars.html b/vendors/galaxy/Docs/functions_vars.html deleted file mode 100644 index 64785d2ad..000000000 --- a/vendors/galaxy/Docs/functions_vars.html +++ /dev/null @@ -1,137 +0,0 @@ - - - - - - - -GOG Galaxy: Class Members - Variables - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
- - - - diff --git a/vendors/galaxy/Docs/functions_w.html b/vendors/galaxy/Docs/functions_w.html deleted file mode 100644 index d397ae213..000000000 --- a/vendors/galaxy/Docs/functions_w.html +++ /dev/null @@ -1,106 +0,0 @@ - - - - - - - -GOG Galaxy: Class Members - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
Here is a list of all documented class members with links to the class documentation for each member:
- -

- w -

-
-
- - - - diff --git a/vendors/galaxy/Docs/functions_~.html b/vendors/galaxy/Docs/functions_~.html deleted file mode 100644 index ebde80511..000000000 --- a/vendors/galaxy/Docs/functions_~.html +++ /dev/null @@ -1,106 +0,0 @@ - - - - - - - -GOG Galaxy: Class Members - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
Here is a list of all documented class members with links to the class documentation for each member:
- -

- ~ -

-
-
- - - - diff --git a/vendors/galaxy/Docs/graph_legend.html b/vendors/galaxy/Docs/graph_legend.html deleted file mode 100644 index 153db4cef..000000000 --- a/vendors/galaxy/Docs/graph_legend.html +++ /dev/null @@ -1,129 +0,0 @@ - - - - - - - -GOG Galaxy: Graph Legend - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
Graph Legend
-
-
-

This page explains how to interpret the graphs that are generated by doxygen.

-

Consider the following example:

/*! Invisible class because of truncation */
class Invisible { };
/*! Truncated class, inheritance relation is hidden */
class Truncated : public Invisible { };
/* Class not documented with doxygen comments */
class Undocumented { };
/*! Class that is inherited using public inheritance */
class PublicBase : public Truncated { };
/*! A template class */
template<class T> class Templ { };
/*! Class that is inherited using protected inheritance */
class ProtectedBase { };
/*! Class that is inherited using private inheritance */
class PrivateBase { };
/*! Class that is used by the Inherited class */
class Used { };
/*! Super class that inherits a number of other classes */
class Inherited : public PublicBase,
protected ProtectedBase,
private PrivateBase,
public Undocumented,
public Templ<int>
{
private:
Used *m_usedClass;
};

This will result in the following graph:

-

The boxes in the above graph have the following meaning:

-
    -
  • -A filled gray box represents the struct or class for which the graph is generated.
  • -
  • -A box with a black border denotes a documented struct or class.
  • -
  • -A box with a gray border denotes an undocumented struct or class.
  • -
  • -A box with a red border denotes a documented struct or class forwhich not all inheritance/containment relations are shown. A graph is truncated if it does not fit within the specified boundaries.
  • -
-

The arrows have the following meaning:

-
    -
  • -A dark blue arrow is used to visualize a public inheritance relation between two classes.
  • -
  • -A dark green arrow is used for protected inheritance.
  • -
  • -A dark red arrow is used for private inheritance.
  • -
  • -A purple dashed arrow is used if a class is contained or used by another class. The arrow is labelled with the variable(s) through which the pointed class or struct is accessible.
  • -
  • -A yellow dashed arrow denotes a relation between a template instance and the template class it was instantiated from. The arrow is labelled with the template parameters of the instance.
  • -
-
-
- - - - diff --git a/vendors/galaxy/Docs/graph_legend.md5 b/vendors/galaxy/Docs/graph_legend.md5 deleted file mode 100644 index 3b4f8ab28..000000000 --- a/vendors/galaxy/Docs/graph_legend.md5 +++ /dev/null @@ -1 +0,0 @@ -2779a1676ca72f29ac6dddfb5b5a4bb2 \ No newline at end of file diff --git a/vendors/galaxy/Docs/graph_legend.svg b/vendors/galaxy/Docs/graph_legend.svg deleted file mode 100644 index 6d8eb31bd..000000000 --- a/vendors/galaxy/Docs/graph_legend.svg +++ /dev/null @@ -1,121 +0,0 @@ - - - - - - -Graph Legend - - -Node9 - -Inherited - - -Node10 - - -PublicBase - - - - -Node10->Node9 - - - - -Node11 - - -Truncated - - - - -Node11->Node10 - - - - -Node13 - - -ProtectedBase - - - - -Node13->Node9 - - - - -Node14 - - -PrivateBase - - - - -Node14->Node9 - - - - -Node15 - -Undocumented - - -Node15->Node9 - - - - -Node16 - - -Templ< int > - - - - -Node16->Node9 - - - - -Node17 - - -Templ< T > - - - - -Node17->Node16 - - -< int > - - -Node18 - - -Used - - - - -Node18->Node9 - - -m_usedClass - - - diff --git a/vendors/galaxy/Docs/group__GameServer.html b/vendors/galaxy/Docs/group__GameServer.html deleted file mode 100644 index fc227c71d..000000000 --- a/vendors/galaxy/Docs/group__GameServer.html +++ /dev/null @@ -1,375 +0,0 @@ - - - - - - - -GOG Galaxy: GameServer - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
GameServer
-
-
-
-Collaboration diagram for GameServer:
-
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Functions

GALAXY_DLL_EXPORT void GALAXY_CALLTYPE InitGameServer (const InitOptions &initOptions)
 Initializes the Galaxy Game Server with specified credentials. More...
 
GALAXY_DLL_EXPORT void GALAXY_CALLTYPE ShutdownGameServer ()
 Shuts down the Galaxy Game Server. More...
 
GALAXY_DLL_EXPORT IUser *GALAXY_CALLTYPE GameServerUser ()
 Returns an instance of IUser interface for the Game Server entity. More...
 
GALAXY_DLL_EXPORT IMatchmaking *GALAXY_CALLTYPE GameServerMatchmaking ()
 Returns an instance of IMatchmaking interface for the Game Server entity. More...
 
GALAXY_DLL_EXPORT INetworking *GALAXY_CALLTYPE GameServerNetworking ()
 Returns an instance of INetworking interface for the Game Server entity that allows to communicate as the lobby host. More...
 
GALAXY_DLL_EXPORT IUtils *GALAXY_CALLTYPE GameServerUtils ()
 Returns an instance of IUtils interface for the Game Server entity. More...
 
GALAXY_DLL_EXPORT ITelemetry *GALAXY_CALLTYPE GameServerTelemetry ()
 Returns an instance of ITelemetry. More...
 
GALAXY_DLL_EXPORT ILogger *GALAXY_CALLTYPE GameServerLogger ()
 Returns an instance of ILogger interface for the Game Server entity. More...
 
GALAXY_DLL_EXPORT void GALAXY_CALLTYPE ProcessGameServerData ()
 Makes the Game Server process its input and output streams. More...
 
GALAXY_DLL_EXPORT IListenerRegistrar *GALAXY_CALLTYPE GameServerListenerRegistrar ()
 Returns an instance of IListenerRegistrar interface the for Game Server entity. More...
 
-

Detailed Description

-

-Overview

-

Game Server API is structured in the same way as Galaxy Peer API, providing global functions called GameServerUser(), GameServerMatchmaking(), GameServerNetworking() e.t.c. defined in GalaxyGameServerApi.h header file.

-

Objects, methods, or combinations of parameters that are not supposed to be used with Game Server, such as IUser::SetUserData(), IFriends::RequestFriendList(), IMatchmaking::SetLobbyMemberData() cause either IInvalidStateError or IInvalidArgumentError errors.

-

Since Game Server is a separate object, and in fact operates in a separate thread, separate methods are provided to control it: InitGameServer(), ProcessGameServerData(), and ShutdownGameServer().

-

-Listeners

-

Corresponding global self-registering listeners are provided for all interfaces supported by the Game Server prefixed with 'GameServer': GameServerGlobalAuthListener(), GameServerGlobalLobbyEnteredListener() e.t.c.

-

-Authentication

-

Game Server is authenticated anonymously using the IUser::SignInAnonymous(). This method is not available for the Galaxy Peer.

-

-Matchmaking and networking

-

The Game Server is only allowed to create public non-host-migrating lobbies. Joining a specific lobby is not possible for the Game Server.

-

While in a lobby, the Game Server operation on the server INetworking interface, so incomming packets should be handled by the IServerNetworkingListener.

-

Function Documentation

- -

◆ GameServerListenerRegistrar()

- -
-
- - - - - - - -
GALAXY_DLL_EXPORT IListenerRegistrar* GALAXY_CALLTYPE galaxy::api::GameServerListenerRegistrar ()
-
- -

Returns an instance of IListenerRegistrar interface the for Game Server entity.

-
Returns
An instance of IListenerRegistrar.
- -
-
- -

◆ GameServerLogger()

- -
-
- - - - - - - -
GALAXY_DLL_EXPORT ILogger* GALAXY_CALLTYPE galaxy::api::GameServerLogger ()
-
- -

Returns an instance of ILogger interface for the Game Server entity.

-
Returns
An instance of ILogger.
- -
-
- -

◆ GameServerMatchmaking()

- -
-
- - - - - - - -
GALAXY_DLL_EXPORT IMatchmaking* GALAXY_CALLTYPE galaxy::api::GameServerMatchmaking ()
-
- -

Returns an instance of IMatchmaking interface for the Game Server entity.

-
Returns
An instance of IMatchmaking.
- -
-
- -

◆ GameServerNetworking()

- -
-
- - - - - - - -
GALAXY_DLL_EXPORT INetworking* GALAXY_CALLTYPE galaxy::api::GameServerNetworking ()
-
- -

Returns an instance of INetworking interface for the Game Server entity that allows to communicate as the lobby host.

-
Returns
An instance of INetworking.
- -
-
- -

◆ GameServerTelemetry()

- -
-
- - - - - - - -
GALAXY_DLL_EXPORT ITelemetry* GALAXY_CALLTYPE galaxy::api::GameServerTelemetry ()
-
- -

Returns an instance of ITelemetry.

-
Returns
An instance of ITelemetry.
- -
-
- -

◆ GameServerUser()

- -
-
- - - - - - - -
GALAXY_DLL_EXPORT IUser* GALAXY_CALLTYPE galaxy::api::GameServerUser ()
-
- -

Returns an instance of IUser interface for the Game Server entity.

-
Returns
An instance of IUser.
- -
-
- -

◆ GameServerUtils()

- -
-
- - - - - - - -
GALAXY_DLL_EXPORT IUtils* GALAXY_CALLTYPE galaxy::api::GameServerUtils ()
-
- -

Returns an instance of IUtils interface for the Game Server entity.

-
Returns
An instance of IUtils.
- -
-
- -

◆ InitGameServer()

- -
-
- - - - - - - - -
GALAXY_DLL_EXPORT void GALAXY_CALLTYPE galaxy::api::InitGameServer (const InitOptionsinitOptions)
-
- -

Initializes the Galaxy Game Server with specified credentials.

-
Remarks
When you do not need the Game Server anymore, you should call ShutdownGameServer() in order to deactivate it and free its resources.
-
-This method can succeed partially, in which case it leaves Game Server partially functional, hence even in case of an error, be sure to call ShutdownGameServer() when you do not need the Game Server anymore. See the documentation of specific interfaces on how they behave.
-
Parameters
- - -
[in]initOptionsThe group of the init options.
-
-
- -
-
- -

◆ ProcessGameServerData()

- -
-
- - - - - - - -
GALAXY_DLL_EXPORT void GALAXY_CALLTYPE galaxy::api::ProcessGameServerData ()
-
- -

Makes the Game Server process its input and output streams.

-

During the phase of processing data, Game Server recognizes specific events and casts notifications for callback listeners immediately.

-

This method should be called in a loop, preferably every frame, so that Galaxy is able to process input and output streams.

-
Remarks
When this method is not called, any asynchronous calls to Galaxy API cannot be processed and any listeners will not be properly called.
- -
-
- -

◆ ShutdownGameServer()

- -
-
- - - - - - - -
GALAXY_DLL_EXPORT void GALAXY_CALLTYPE galaxy::api::ShutdownGameServer ()
-
- -

Shuts down the Galaxy Game Server.

-

The Game Server is deactivated and brought to the state it had when it was created and before it was initialized.

-
Precondition
Delete all self-registering listeners before calling ShutdownGameServer().
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/group__GameServer.js b/vendors/galaxy/Docs/group__GameServer.js deleted file mode 100644 index d5d3c0855..000000000 --- a/vendors/galaxy/Docs/group__GameServer.js +++ /dev/null @@ -1,13 +0,0 @@ -var group__GameServer = -[ - [ "GameServerListenerRegistrar", "group__GameServer.html#ga3e6a00bad9497d9e055f1bf6aff01c37", null ], - [ "GameServerLogger", "group__GameServer.html#ga9393370179cb8f2e8561ba860c0d4022", null ], - [ "GameServerMatchmaking", "group__GameServer.html#ga2a3635741b0b2a84ee3e9b5c21a576dd", null ], - [ "GameServerNetworking", "group__GameServer.html#ga1abe6d85bc8550b6a9faa67ab8f46a25", null ], - [ "GameServerTelemetry", "group__GameServer.html#ga5051973a07fdf16670a40f8ef50e20f7", null ], - [ "GameServerUser", "group__GameServer.html#gad4c301b492cac512564dbc296054e384", null ], - [ "GameServerUtils", "group__GameServer.html#ga537b6c1a62c749a3146f7ab8676393bc", null ], - [ "InitGameServer", "group__GameServer.html#ga521fad9446956ce69e3d11ca4a7fbc0e", null ], - [ "ProcessGameServerData", "group__GameServer.html#gacd909ec5a3dd8571d26efa1ad6484548", null ], - [ "ShutdownGameServer", "group__GameServer.html#ga6da0a2c22f694061d1814cdf521379fe", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/group__GameServer.map b/vendors/galaxy/Docs/group__GameServer.map deleted file mode 100644 index 4c24e3e09..000000000 --- a/vendors/galaxy/Docs/group__GameServer.map +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/vendors/galaxy/Docs/group__GameServer.md5 b/vendors/galaxy/Docs/group__GameServer.md5 deleted file mode 100644 index 50f7dcbe2..000000000 --- a/vendors/galaxy/Docs/group__GameServer.md5 +++ /dev/null @@ -1 +0,0 @@ -a64c6f793d8240bc4d0b9d37153f1dc0 \ No newline at end of file diff --git a/vendors/galaxy/Docs/group__GameServer.svg b/vendors/galaxy/Docs/group__GameServer.svg deleted file mode 100644 index 706f0e020..000000000 --- a/vendors/galaxy/Docs/group__GameServer.svg +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - -GameServer - - -Node1 - - -Api - - - - -Node0 - - -GameServer - - - - -Node1->Node0 - - - - - diff --git a/vendors/galaxy/Docs/group__Peer.html b/vendors/galaxy/Docs/group__Peer.html deleted file mode 100644 index 98575bcd9..000000000 --- a/vendors/galaxy/Docs/group__Peer.html +++ /dev/null @@ -1,498 +0,0 @@ - - - - - - - -GOG Galaxy: Peer - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
Peer
-
-
-
-Collaboration diagram for Peer:
-
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Functions

GALAXY_DLL_EXPORT void GALAXY_CALLTYPE Init (const InitOptions &initOptions)
 Initializes the Galaxy Peer with specified credentials. More...
 
GALAXY_DLL_EXPORT void GALAXY_CALLTYPE Shutdown ()
 Shuts down the Galaxy Peer. More...
 
GALAXY_DLL_EXPORT IUser *GALAXY_CALLTYPE User ()
 Returns an instance of IUser. More...
 
GALAXY_DLL_EXPORT IFriends *GALAXY_CALLTYPE Friends ()
 Returns an instance of IFriends. More...
 
GALAXY_DLL_EXPORT IChat *GALAXY_CALLTYPE Chat ()
 Returns an instance of IChat. More...
 
GALAXY_DLL_EXPORT IMatchmaking *GALAXY_CALLTYPE Matchmaking ()
 Returns an instance of IMatchmaking. More...
 
GALAXY_DLL_EXPORT INetworking *GALAXY_CALLTYPE Networking ()
 Returns an instance of INetworking that allows to communicate as a regular lobby member. More...
 
GALAXY_DLL_EXPORT IStats *GALAXY_CALLTYPE Stats ()
 Returns an instance of IStats. More...
 
GALAXY_DLL_EXPORT IUtils *GALAXY_CALLTYPE Utils ()
 Returns an instance of IUtils. More...
 
GALAXY_DLL_EXPORT IApps *GALAXY_CALLTYPE Apps ()
 Returns an instance of IApps. More...
 
GALAXY_DLL_EXPORT IStorage *GALAXY_CALLTYPE Storage ()
 Returns an instance of IStorage. More...
 
GALAXY_DLL_EXPORT ICustomNetworking *GALAXY_CALLTYPE CustomNetworking ()
 Returns an instance of ICustomNetworking. More...
 
GALAXY_DLL_EXPORT ILogger *GALAXY_CALLTYPE Logger ()
 Returns an instance of ILogger. More...
 
GALAXY_DLL_EXPORT ITelemetry *GALAXY_CALLTYPE Telemetry ()
 Returns an instance of ITelemetry. More...
 
GALAXY_DLL_EXPORT void GALAXY_CALLTYPE ProcessData ()
 Makes the Galaxy Peer process its input and output streams. More...
 
GALAXY_DLL_EXPORT IListenerRegistrar *GALAXY_CALLTYPE ListenerRegistrar ()
 Returns an instance of IListenerRegistrar. More...
 
-

Detailed Description

-

Function Documentation

- -

◆ Apps()

- -
-
- - - - - - - -
GALAXY_DLL_EXPORT IApps* GALAXY_CALLTYPE galaxy::api::Apps ()
-
- -

Returns an instance of IApps.

-
Returns
An instance of IApps.
- -
-
- -

◆ Chat()

- -
-
- - - - - - - -
GALAXY_DLL_EXPORT IChat* GALAXY_CALLTYPE galaxy::api::Chat ()
-
- -

Returns an instance of IChat.

-
Returns
An instance of IChat.
- -
-
- -

◆ CustomNetworking()

- -
-
- - - - - - - -
GALAXY_DLL_EXPORT ICustomNetworking* GALAXY_CALLTYPE galaxy::api::CustomNetworking ()
-
- -

Returns an instance of ICustomNetworking.

-
Returns
An instance of ICustomNetworking.
- -
-
- -

◆ Friends()

- -
-
- - - - - - - -
GALAXY_DLL_EXPORT IFriends* GALAXY_CALLTYPE galaxy::api::Friends ()
-
- -

Returns an instance of IFriends.

-
Returns
An instance of IFriends.
- -
-
- -

◆ Init()

- -
-
- - - - - - - - -
GALAXY_DLL_EXPORT void GALAXY_CALLTYPE galaxy::api::Init (const InitOptionsinitOptions)
-
- -

Initializes the Galaxy Peer with specified credentials.

-
Remarks
When you do not need the Galaxy Peer anymore, you should call Shutdown() in order to deactivate it and free its resources.
-
-This method can succeed partially, in which case it leaves Galaxy Peer partially functional, hence even in case of an error, be sure to call Shutdown() when you do not need the Galaxy Peer anymore. See the documentation of specific interfaces on how they behave.
-
Parameters
- - -
[in]initOptionsThe group of the init options.
-
-
- -
-
- -

◆ ListenerRegistrar()

- -
-
- - - - - - - -
GALAXY_DLL_EXPORT IListenerRegistrar* GALAXY_CALLTYPE galaxy::api::ListenerRegistrar ()
-
- -

Returns an instance of IListenerRegistrar.

-
Returns
An instance of IListenerRegistrar.
- -
-
- -

◆ Logger()

- -
-
- - - - - - - -
GALAXY_DLL_EXPORT ILogger* GALAXY_CALLTYPE galaxy::api::Logger ()
-
- -

Returns an instance of ILogger.

-
Returns
An instance of ILogger.
- -
-
- -

◆ Matchmaking()

- -
-
- - - - - - - -
GALAXY_DLL_EXPORT IMatchmaking* GALAXY_CALLTYPE galaxy::api::Matchmaking ()
-
- -

Returns an instance of IMatchmaking.

-
Returns
An instance of IMatchmaking.
- -
-
- -

◆ Networking()

- -
-
- - - - - - - -
GALAXY_DLL_EXPORT INetworking* GALAXY_CALLTYPE galaxy::api::Networking ()
-
- -

Returns an instance of INetworking that allows to communicate as a regular lobby member.

-
Returns
An instance of INetworking.
- -
-
- -

◆ ProcessData()

- -
-
- - - - - - - -
GALAXY_DLL_EXPORT void GALAXY_CALLTYPE galaxy::api::ProcessData ()
-
- -

Makes the Galaxy Peer process its input and output streams.

-

During the phase of processing data, Galaxy Peer recognizes specific events and casts notifications for callback listeners immediately.

-

This method should be called in a loop, preferably every frame, so that Galaxy is able to process input and output streams.

-
Remarks
When this method is not called, any asynchronous calls to Galaxy API cannot be processed and any listeners will not be properly called.
- -
-
- -

◆ Shutdown()

- -
-
- - - - - - - -
GALAXY_DLL_EXPORT void GALAXY_CALLTYPE galaxy::api::Shutdown ()
-
- -

Shuts down the Galaxy Peer.

-

The Galaxy Peer is deactivated and brought to the state it had when it was created and before it was initialized.

-
Precondition
Delete all self-registering listeners before calling Shutdown().
- -
-
- -

◆ Stats()

- -
-
- - - - - - - -
GALAXY_DLL_EXPORT IStats* GALAXY_CALLTYPE galaxy::api::Stats ()
-
- -

Returns an instance of IStats.

-
Returns
An instance of IStats.
- -
-
- -

◆ Storage()

- -
-
- - - - - - - -
GALAXY_DLL_EXPORT IStorage* GALAXY_CALLTYPE galaxy::api::Storage ()
-
- -

Returns an instance of IStorage.

-
Returns
An instance of IStorage.
- -
-
- -

◆ Telemetry()

- -
-
- - - - - - - -
GALAXY_DLL_EXPORT ITelemetry* GALAXY_CALLTYPE galaxy::api::Telemetry ()
-
- -

Returns an instance of ITelemetry.

-
Returns
An instance of ITelemetry.
- -
-
- -

◆ User()

- -
-
- - - - - - - -
GALAXY_DLL_EXPORT IUser* GALAXY_CALLTYPE galaxy::api::User ()
-
- -

Returns an instance of IUser.

-
Returns
An instance of IUser.
- -
-
- -

◆ Utils()

- -
-
- - - - - - - -
GALAXY_DLL_EXPORT IUtils* GALAXY_CALLTYPE galaxy::api::Utils ()
-
- -

Returns an instance of IUtils.

-
Returns
An instance of IUtils.
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/group__Peer.js b/vendors/galaxy/Docs/group__Peer.js deleted file mode 100644 index 6343ed305..000000000 --- a/vendors/galaxy/Docs/group__Peer.js +++ /dev/null @@ -1,19 +0,0 @@ -var group__Peer = -[ - [ "Apps", "group__Peer.html#ga50e879fbb5841e146b85e5ec419b3041", null ], - [ "Chat", "group__Peer.html#ga6e9cbdfb79b685a75bc2312ef19e2079", null ], - [ "CustomNetworking", "group__Peer.html#gaa7632d0a4bcbae1fb58b1837cb82ddda", null ], - [ "Friends", "group__Peer.html#ga27e073630c24a0ed20def15bdaf1aa52", null ], - [ "Init", "group__Peer.html#ga7d13610789657b6aebe0ba0aa542196f", null ], - [ "ListenerRegistrar", "group__Peer.html#ga1f7ee19b74d0fd9db6703b2c35df7bf5", null ], - [ "Logger", "group__Peer.html#gaa1c9d39dfa5f8635983a7a2448cb0c39", null ], - [ "Matchmaking", "group__Peer.html#ga4d96db1436295a3104a435b3afd4eeb8", null ], - [ "Networking", "group__Peer.html#ga269daf0c541ae9d76f6a27f293804677", null ], - [ "ProcessData", "group__Peer.html#ga1e437567d7fb43c9845809b22c567ca7", null ], - [ "Shutdown", "group__Peer.html#ga07e40f3563405d786ecd0c6501a14baf", null ], - [ "Stats", "group__Peer.html#ga5c02ab593c2ea0b88eaa320f85b0dc2f", null ], - [ "Storage", "group__Peer.html#ga1332e023e6736114f1c1ee8553155185", null ], - [ "Telemetry", "group__Peer.html#ga4b69eca19751e086638ca6038d76d331", null ], - [ "User", "group__Peer.html#gae38960649548d817130298258e0c461a", null ], - [ "Utils", "group__Peer.html#ga07f13c08529578f0e4aacde7bab29b10", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/group__Peer.map b/vendors/galaxy/Docs/group__Peer.map deleted file mode 100644 index 9a1df639d..000000000 --- a/vendors/galaxy/Docs/group__Peer.map +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/vendors/galaxy/Docs/group__Peer.md5 b/vendors/galaxy/Docs/group__Peer.md5 deleted file mode 100644 index 3d4a7cee5..000000000 --- a/vendors/galaxy/Docs/group__Peer.md5 +++ /dev/null @@ -1 +0,0 @@ -6ba714649bd17514f20b90a38b2d1053 \ No newline at end of file diff --git a/vendors/galaxy/Docs/group__Peer.svg b/vendors/galaxy/Docs/group__Peer.svg deleted file mode 100644 index 2f899a4a4..000000000 --- a/vendors/galaxy/Docs/group__Peer.svg +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - -Peer - - -Node0 - - -Peer - - - - -Node1 - - -Api - - - - -Node1->Node0 - - - - - diff --git a/vendors/galaxy/Docs/group__api.html b/vendors/galaxy/Docs/group__api.html deleted file mode 100644 index d19380bc1..000000000 --- a/vendors/galaxy/Docs/group__api.html +++ /dev/null @@ -1,1655 +0,0 @@ - - - - - - - -GOG Galaxy: Api - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
Api
-
-
-
-Collaboration diagram for Api:
-
-
-
-
-
- - - - - - -

-Modules

 Peer
 
 GameServer
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Classes

class  IError
 Base interface for exceptions. More...
 
class  IUnauthorizedAccessError
 The exception thrown when calling Galaxy interfaces while the user is not signed in and thus not authorized for any interaction. More...
 
class  IInvalidArgumentError
 The exception thrown to report that a method was called with an invalid argument. More...
 
class  IInvalidStateError
 The exception thrown to report that a method was called while the callee is in an invalid state, i.e. More...
 
class  IRuntimeError
 The exception thrown to report errors that can only be detected during runtime. More...
 
struct  GalaxyAllocator
 Custom memory allocator for GOG Galaxy SDK. More...
 
class  GalaxyID
 Represents the ID of an entity used by Galaxy Peer. More...
 
class  IGalaxyThread
 The interface representing a thread object. More...
 
class  IGalaxyThreadFactory
 Custom thread spawner for the Galaxy SDK. More...
 
class  IApps
 The interface for managing application activities. More...
 
class  IChatRoomWithUserRetrieveListener
 Listener for the event of retrieving a chat room with a specified user. More...
 
class  IChatRoomMessageSendListener
 Listener for the event of sending a chat room message. More...
 
class  IChatRoomMessagesListener
 Listener for the event of receiving chat room messages. More...
 
class  IChatRoomMessagesRetrieveListener
 Listener for the event of retrieving chat room messages in a specified chat room. More...
 
class  IChat
 The interface for chat communication with other Galaxy Users. More...
 
class  IConnectionOpenListener
 Listener for the events related to opening a connection. More...
 
class  IConnectionCloseListener
 Listener for the event of closing a connection. More...
 
class  IConnectionDataListener
 Listener for the event of receiving data over the connection. More...
 
class  ICustomNetworking
 The interface for communicating with a custom endpoint. More...
 
class  IPersonaDataChangedListener
 Listener for the event of changing persona data. More...
 
class  IUserInformationRetrieveListener
 Listener for the event of retrieving requested user's information. More...
 
class  IFriendListListener
 Listener for the event of retrieving requested list of friends. More...
 
class  IFriendInvitationSendListener
 Listener for the event of sending a friend invitation. More...
 
class  IFriendInvitationListRetrieveListener
 Listener for the event of retrieving requested list of incoming friend invitations. More...
 
class  ISentFriendInvitationListRetrieveListener
 Listener for the event of retrieving requested list of outgoing friend invitations. More...
 
class  IFriendInvitationListener
 Listener for the event of receiving a friend invitation. More...
 
class  IFriendInvitationRespondToListener
 Listener for the event of responding to a friend invitation. More...
 
class  IFriendAddListener
 Listener for the event of a user being added to the friend list. More...
 
class  IFriendDeleteListener
 Listener for the event of removing a user from the friend list. More...
 
class  IRichPresenceChangeListener
 Listener for the event of rich presence modification. More...
 
class  IRichPresenceListener
 Listener for the event of any user rich presence update. More...
 
class  IRichPresenceRetrieveListener
 Listener for the event of retrieving requested user's rich presence. More...
 
class  IGameJoinRequestedListener
 Event of requesting a game join by user. More...
 
class  IGameInvitationReceivedListener
 Event of receiving a game invitation. More...
 
class  ISendInvitationListener
 Listener for the event of sending an invitation without using the overlay. More...
 
class  IUserFindListener
 Listener for the event of searching a user. More...
 
class  IFriends
 The interface for managing social info and activities. More...
 
class  IGalaxyListener
 The interface that is implemented by all specific callback listeners. More...
 
class  GalaxyTypeAwareListener< type >
 The class that is inherited by all specific callback listeners and provides a static method that returns the type of the specific listener. More...
 
class  IListenerRegistrar
 The class that enables and disables global registration of the instances of specific listeners. More...
 
class  SelfRegisteringListener< _TypeAwareListener, _Registrar >
 The class that is inherited by the self-registering versions of all specific callback listeners. More...
 
class  ILogger
 The interface for logging. More...
 
class  ILobbyListListener
 Listener for the event of receiving a list of lobbies. More...
 
class  ILobbyCreatedListener
 Listener for the event of creating a lobby. More...
 
class  ILobbyEnteredListener
 Listener for the event of entering a lobby. More...
 
class  ILobbyLeftListener
 Listener for the event of leaving a lobby. More...
 
class  ILobbyDataListener
 Listener for the event of receiving an updated version of lobby data. More...
 
class  ILobbyDataUpdateListener
 Listener for the event of updating lobby data. More...
 
class  ILobbyMemberDataUpdateListener
 Listener for the event of updating lobby member data. More...
 
class  ILobbyDataRetrieveListener
 Listener for the event of retrieving lobby data. More...
 
class  ILobbyMemberStateListener
 Listener for the event of a change of the state of a lobby member. More...
 
class  ILobbyOwnerChangeListener
 Listener for the event of changing the owner of a lobby. More...
 
class  ILobbyMessageListener
 Listener for the event of receiving a lobby message. More...
 
class  IMatchmaking
 The interface for managing game lobbies. More...
 
class  INetworkingListener
 Listener for the events related to packets that come to the client. More...
 
class  INatTypeDetectionListener
 Listener for the events related to NAT type detection. More...
 
class  INetworking
 The interface for communicating with other Galaxy Peers. More...
 
struct  InitOptions
 The group of options used for Init configuration. More...
 
class  IUserStatsAndAchievementsRetrieveListener
 Listener for the event of retrieving statistics and achievements of a specified user, possibly our own. More...
 
class  IStatsAndAchievementsStoreListener
 Listener for the event of storing own statistics and achievements. More...
 
class  IAchievementChangeListener
 Listener for the event of changing an achievement. More...
 
class  ILeaderboardsRetrieveListener
 Listener for the event of retrieving definitions of leaderboards. More...
 
class  ILeaderboardEntriesRetrieveListener
 Listener for the event of retrieving requested entries of a leaderboard. More...
 
class  ILeaderboardScoreUpdateListener
 Listener for the event of updating score in a leaderboard. More...
 
class  ILeaderboardRetrieveListener
 Listener for the event of retrieving definition of a leaderboard. More...
 
class  IUserTimePlayedRetrieveListener
 Listener for the event of retrieving user time played. More...
 
class  IStats
 The interface for managing statistics, achievements and leaderboards. More...
 
class  IFileShareListener
 Listener for the event of sharing a file. More...
 
class  ISharedFileDownloadListener
 Listener for the event of downloading a shared file. More...
 
class  IStorage
 The interface for managing of cloud storage files. More...
 
class  ITelemetryEventSendListener
 Listener for the event of sending a telemetry event. More...
 
class  ITelemetry
 The interface for handling telemetry. More...
 
class  IAuthListener
 Listener for the events related to user authentication. More...
 
class  IOtherSessionStartListener
 Listener for the events related to starting of other sessions. More...
 
class  IOperationalStateChangeListener
 Listener for the event of a change of the operational state. More...
 
class  IUserDataListener
 Listener for the events related to user data changes of current user only. More...
 
class  ISpecificUserDataListener
 Listener for the events related to user data changes. More...
 
class  IEncryptedAppTicketListener
 Listener for the event of retrieving a requested Encrypted App Ticket. More...
 
class  IAccessTokenListener
 Listener for the event of a change of current access token. More...
 
class  IUser
 The interface for handling the user account. More...
 
class  IOverlayVisibilityChangeListener
 Listener for the event of changing overlay visibility. More...
 
class  IOverlayInitializationStateChangeListener
 Listener for the event of changing overlay state. More...
 
class  INotificationListener
 Listener for the event of receiving a notification. More...
 
class  IGogServicesConnectionStateListener
 Listener for the event of GOG services connection change. More...
 
class  IUtils
 The interface for managing images. More...
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Typedefs

typedef void *(* GalaxyMalloc) (uint32_t size, const char *typeName)
 Allocate function. More...
 
typedef void *(* GalaxyRealloc) (void *ptr, uint32_t newSize, const char *typeName)
 Reallocate function. More...
 
typedef void(* GalaxyFree) (void *ptr)
 Free function. More...
 
-typedef void * ThreadEntryParam
 The parameter for the thread entry point.
 
-typedef void(* ThreadEntryFunction) (ThreadEntryParam)
 The entry point function which shall be started in a new thread.
 
-typedef uint64_t ProductID
 The ID of the DLC.
 
-typedef uint64_t ChatRoomID
 The ID of a chat room.
 
-typedef uint64_t ChatMessageID
 Global ID of a chat message.
 
-typedef SelfRegisteringListener< IChatRoomWithUserRetrieveListenerGlobalChatRoomWithUserRetrieveListener
 Globally self-registering version of IChatRoomWithUserRetrieveListener.
 
-typedef SelfRegisteringListener< IChatRoomMessageSendListenerGlobalChatRoomMessageSendListener
 Globally self-registering version of IChatRoomMessageSendListener.
 
-typedef SelfRegisteringListener< IChatRoomMessagesListenerGlobalChatRoomMessagesListener
 Globally self-registering version of IChatRoomMessagesListener.
 
-typedef SelfRegisteringListener< IChatRoomMessagesRetrieveListenerGlobalChatRoomMessagesRetrieveListener
 Globally self-registering version of IChatRoomMessagesRetrieveListener.
 
-typedef uint64_t ConnectionID
 ID of a connection.
 
-typedef SelfRegisteringListener< IConnectionOpenListenerGlobalConnectionOpenListener
 Globally self-registering version of IConnectionOpenListener.
 
-typedef SelfRegisteringListener< IConnectionCloseListenerGlobalConnectionCloseListener
 Globally self-registering version of IConnectionCloseListener.
 
-typedef SelfRegisteringListener< IConnectionDataListenerGlobalConnectionDataListener
 Globally self-registering version of IConnectionDataListener.
 
-typedef uint32_t AvatarCriteria
 The bit sum of the AvatarType.
 
-typedef SelfRegisteringListener< IPersonaDataChangedListenerGlobalPersonaDataChangedListener
 Globally self-registering version of IPersonaDataChangedListener.
 
-typedef SelfRegisteringListener< IUserInformationRetrieveListenerGlobalUserInformationRetrieveListener
 Globally self-registering version of IUserInformationRetrieveListener.
 
-typedef SelfRegisteringListener< IFriendListListenerGlobalFriendListListener
 Globally self-registering version of IFriendListListener.
 
-typedef SelfRegisteringListener< IFriendInvitationSendListenerGlobalFriendInvitationSendListener
 Globally self-registering version of IFriendInvitationSendListener.
 
-typedef SelfRegisteringListener< IFriendInvitationListRetrieveListenerGlobalFriendInvitationListRetrieveListener
 Globally self-registering version of IFriendInvitationListRetrieveListener.
 
-typedef SelfRegisteringListener< ISentFriendInvitationListRetrieveListenerGlobalSentFriendInvitationListRetrieveListener
 Globally self-registering version of ISentFriendInvitationListRetrieveListener.
 
-typedef SelfRegisteringListener< IFriendInvitationListenerGlobalFriendInvitationListener
 Globally self-registering version of IFriendInvitationListener.
 
-typedef SelfRegisteringListener< IFriendInvitationRespondToListenerGlobalFriendInvitationRespondToListener
 Globally self-registering version of IFriendInvitationRespondToListener.
 
-typedef SelfRegisteringListener< IFriendAddListenerGlobalFriendAddListener
 Globally self-registering version of IFriendAddListener.
 
-typedef SelfRegisteringListener< IFriendDeleteListenerGlobalFriendDeleteListener
 Globally self-registering version of IFriendDeleteListener.
 
-typedef SelfRegisteringListener< IRichPresenceChangeListenerGlobalRichPresenceChangeListener
 Globally self-registering version of IRichPresenceChangeListener.
 
-typedef SelfRegisteringListener< IRichPresenceListenerGlobalRichPresenceListener
 Globally self-registering version of IRichPresenceListener.
 
-typedef SelfRegisteringListener< IRichPresenceRetrieveListenerGlobalRichPresenceRetrieveListener
 Globally self-registering version of IRichPresenceRetrieveListener.
 
-typedef SelfRegisteringListener< IGameJoinRequestedListenerGlobalGameJoinRequestedListener
 Globally self-registering version of IGameJoinRequestedListener.
 
-typedef SelfRegisteringListener< IGameInvitationReceivedListenerGlobalGameInvitationReceivedListener
 Globally self-registering version of IGameInvitationReceivedListener.
 
-typedef SelfRegisteringListener< ISendInvitationListenerGlobalSendInvitationListener
 Globally self-registering version of ISendInvitationListener.
 
-typedef SelfRegisteringListener< IUserFindListenerGlobalUserFindListener
 Globally self-registering version of IUserFindListener.
 
-typedef SelfRegisteringListener< ILobbyListListenerGlobalLobbyListListener
 Globally self-registering version of ILobbyListListener.
 
-typedef SelfRegisteringListener< ILobbyCreatedListenerGlobalLobbyCreatedListener
 Globally self-registering version of ILobbyCreatedListener.
 
-typedef SelfRegisteringListener< ILobbyCreatedListener, GameServerListenerRegistrar > GameServerGlobalLobbyCreatedListener
 Globally self-registering version of ILobbyCreatedListener for the Game Server.
 
-typedef SelfRegisteringListener< ILobbyEnteredListenerGlobalLobbyEnteredListener
 Globally self-registering version of ILobbyEnteredListener.
 
-typedef SelfRegisteringListener< ILobbyEnteredListener, GameServerListenerRegistrar > GameServerGlobalLobbyEnteredListener
 Globally self-registering version of ILobbyEnteredListener for the GameServer.
 
-typedef SelfRegisteringListener< ILobbyLeftListenerGlobalLobbyLeftListener
 Globally self-registering version of ILobbyLeftListener.
 
-typedef SelfRegisteringListener< ILobbyLeftListener, GameServerListenerRegistrar > GameServerGlobalLobbyLeftListener
 Globally self-registering version of ILobbyLeftListener for the GameServer.
 
-typedef SelfRegisteringListener< ILobbyDataListenerGlobalLobbyDataListener
 Globally self-registering version of ILobbyDataListener.
 
-typedef SelfRegisteringListener< ILobbyDataListener, GameServerListenerRegistrar > GameServerGlobalLobbyDataListener
 Globally self-registering version of ILobbyDataListener for the Game Server.
 
-typedef SelfRegisteringListener< ILobbyDataRetrieveListenerGlobalLobbyDataRetrieveListener
 Globally self-registering version of ILobbyDataRetrieveListener.
 
-typedef SelfRegisteringListener< ILobbyDataRetrieveListener, GameServerListenerRegistrar > GameServerGlobalLobbyDataRetrieveListener
 Globally self-registering version of ILobbyDataRetrieveListener for the Game Server.
 
-typedef SelfRegisteringListener< ILobbyMemberStateListenerGlobalLobbyMemberStateListener
 Globally self-registering version of ILobbyMemberStateListener.
 
-typedef SelfRegisteringListener< ILobbyMemberStateListener, GameServerListenerRegistrar > GameServerGlobalLobbyMemberStateListener
 Globally self-registering version of ILobbyMemberStateListener for the Game Server.
 
-typedef SelfRegisteringListener< ILobbyOwnerChangeListenerGlobalLobbyOwnerChangeListener
 Globally self-registering version of ILobbyOwnerChangeListener.
 
-typedef SelfRegisteringListener< ILobbyMessageListenerGlobalLobbyMessageListener
 Globally self-registering version of ILobbyMessageListener.
 
-typedef SelfRegisteringListener< ILobbyMessageListener, GameServerListenerRegistrar > GameServerGlobalLobbyMessageListener
 Globally self-registering version of ILobbyMessageListener for the Game Server.
 
-typedef SelfRegisteringListener< INetworkingListenerGlobalNetworkingListener
 Globally self-registering version of INetworkingListener.
 
-typedef SelfRegisteringListener< INetworkingListener, GameServerListenerRegistrar > GameServerGlobalNetworkingListener
 Globally self-registering version of INetworkingListener for the GameServer.
 
-typedef SelfRegisteringListener< INatTypeDetectionListenerGlobalNatTypeDetectionListener
 Globally self-registering version of INatTypeDetectionListener.
 
-typedef SelfRegisteringListener< INatTypeDetectionListener, GameServerListenerRegistrar > GameServerGlobalNatTypeDetectionListener
 Globally self-registering version of INatTypeDetectionListener for the GameServer.
 
-typedef SelfRegisteringListener< IUserStatsAndAchievementsRetrieveListenerGlobalUserStatsAndAchievementsRetrieveListener
 Globally self-registering version of IUserStatsAndAchievementsRetrieveListener.
 
-typedef SelfRegisteringListener< IStatsAndAchievementsStoreListenerGlobalStatsAndAchievementsStoreListener
 Globally self-registering version of IStatsAndAchievementsStoreListener.
 
-typedef SelfRegisteringListener< IAchievementChangeListenerGlobalAchievementChangeListener
 Globally self-registering version of IAchievementChangeListener.
 
-typedef SelfRegisteringListener< ILeaderboardsRetrieveListenerGlobalLeaderboardsRetrieveListener
 Globally self-registering version of a ILeaderboardsRetrieveListener.
 
-typedef SelfRegisteringListener< ILeaderboardEntriesRetrieveListenerGlobalLeaderboardEntriesRetrieveListener
 Globally self-registering version of a ILeaderboardEntriesRetrieveListener.
 
-typedef SelfRegisteringListener< ILeaderboardScoreUpdateListenerGlobalLeaderboardScoreUpdateListener
 Globally self-registering version of a ILeaderboardScoreUpdateListener.
 
-typedef SelfRegisteringListener< ILeaderboardRetrieveListenerGlobalLeaderboardRetrieveListener
 Globally self-registering version of a ILeaderboardRetrieveListener.
 
-typedef SelfRegisteringListener< IUserTimePlayedRetrieveListenerGlobalUserTimePlayedRetrieveListener
 Globally self-registering version of a IUserTimePlayedRetrieveListener.
 
-typedef uint64_t SharedFileID
 ID of a shared file.
 
-typedef SelfRegisteringListener< IFileShareListenerGlobalFileShareListener
 Globally self-registering version of IFileShareListener.
 
-typedef SelfRegisteringListener< ISharedFileDownloadListenerGlobalSharedFileDownloadListener
 Globally self-registering version of ISharedFileDownloadListener.
 
-typedef SelfRegisteringListener< ITelemetryEventSendListenerGlobalTelemetryEventSendListener
 Globally self-registering version of ITelemetryEventSendListener.
 
-typedef SelfRegisteringListener< ITelemetryEventSendListener, GameServerListenerRegistrar > GameServerGlobalTelemetryEventSendListener
 Globally self-registering version of ITelemetryEventSendListener for the Game Server.
 
-typedef uint64_t SessionID
 The ID of the session.
 
-typedef SelfRegisteringListener< IAuthListenerGlobalAuthListener
 Globally self-registering version of IAuthListener.
 
-typedef SelfRegisteringListener< IAuthListener, GameServerListenerRegistrar > GameServerGlobalAuthListener
 Globally self-registering version of IAuthListener for the Game Server.
 
-typedef SelfRegisteringListener< IOtherSessionStartListenerGlobalOtherSessionStartListener
 Globally self-registering version of IOtherSessionStartListener.
 
-typedef SelfRegisteringListener< IOtherSessionStartListener, GameServerListenerRegistrar > GameServerGlobalOtherSessionStartListener
 Globally self-registering version of IOtherSessionStartListener for the Game Server.
 
-typedef SelfRegisteringListener< IOperationalStateChangeListenerGlobalOperationalStateChangeListener
 Globally self-registering version of IOperationalStateChangeListener.
 
-typedef SelfRegisteringListener< IOperationalStateChangeListener, GameServerListenerRegistrar > GameServerGlobalOperationalStateChangeListener
 Globally self-registering version of IOperationalStateChangeListener for the GameServer.
 
-typedef SelfRegisteringListener< IUserDataListenerGlobalUserDataListener
 Globally self-registering version of IUserDataListener.
 
-typedef SelfRegisteringListener< IUserDataListener, GameServerListenerRegistrar > GameServerGlobalUserDataListener
 Globally self-registering version of IUserDataListener for the GameServer.
 
-typedef SelfRegisteringListener< ISpecificUserDataListenerGlobalSpecificUserDataListener
 Globally self-registering version of ISpecificUserDataListener.
 
-typedef SelfRegisteringListener< ISpecificUserDataListener, GameServerListenerRegistrar > GameServerGlobalSpecificUserDataListener
 Globally self-registering version of ISpecificUserDataListener for the Game Server.
 
-typedef SelfRegisteringListener< IEncryptedAppTicketListenerGlobalEncryptedAppTicketListener
 Globally self-registering version of IEncryptedAppTicketListener.
 
-typedef SelfRegisteringListener< IEncryptedAppTicketListener, GameServerListenerRegistrar > GameServerGlobalEncryptedAppTicketListener
 Globally self-registering version of IEncryptedAppTicketListener for the Game Server.
 
-typedef SelfRegisteringListener< IAccessTokenListenerGlobalAccessTokenListener
 Globally self-registering version of IAccessTokenListener.
 
-typedef SelfRegisteringListener< IAccessTokenListener, GameServerListenerRegistrar > GameServerGlobalAccessTokenListener
 Globally self-registering version of IAccessTokenListener for the GameServer.
 
-typedef uint64_t NotificationID
 The ID of the notification.
 
-typedef SelfRegisteringListener< IOverlayVisibilityChangeListenerGlobalOverlayVisibilityChangeListener
 Globally self-registering version of IOverlayStateChangeListener.
 
-typedef SelfRegisteringListener< IOverlayInitializationStateChangeListenerGlobalOverlayInitializationStateChangeListener
 Globally self-registering version of IOverlayInitializationStateChangeListener.
 
-typedef SelfRegisteringListener< INotificationListenerGlobalNotificationListener
 Globally self-registering version of INotificationListener.
 
-typedef SelfRegisteringListener< IGogServicesConnectionStateListenerGlobalGogServicesConnectionStateListener
 Globally self-registering version of IGogServicesConnectionStateListener.
 
-typedef SelfRegisteringListener< IGogServicesConnectionStateListener, GameServerListenerRegistrar > GameServerGlobalGogServicesConnectionStateListener
 Globally self-registering version of IGogServicesConnectionStateListener for the Game Server.
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Enumerations

enum  ChatMessageType { CHAT_MESSAGE_TYPE_UNKNOWN, -CHAT_MESSAGE_TYPE_CHAT_MESSAGE, -CHAT_MESSAGE_TYPE_GAME_INVITATION - }
 The type of a chat message. More...
 
enum  AvatarType { AVATAR_TYPE_NONE = 0x0000, -AVATAR_TYPE_SMALL = 0x0001, -AVATAR_TYPE_MEDIUM = 0x0002, -AVATAR_TYPE_LARGE = 0x0004 - }
 The type of avatar. More...
 
enum  PersonaState { PERSONA_STATE_OFFLINE, -PERSONA_STATE_ONLINE - }
 The state of the user. More...
 
enum  ListenerType {
-  LISTENER_TYPE_BEGIN, -LOBBY_LIST = LISTENER_TYPE_BEGIN, -LOBBY_CREATED, -LOBBY_ENTERED, -
-  LOBBY_LEFT, -LOBBY_DATA, -LOBBY_MEMBER_STATE, -LOBBY_OWNER_CHANGE, -
-  AUTH, -LOBBY_MESSAGE, -NETWORKING, -_SERVER_NETWORKING, -
-  USER_DATA, -USER_STATS_AND_ACHIEVEMENTS_RETRIEVE, -STATS_AND_ACHIEVEMENTS_STORE, -ACHIEVEMENT_CHANGE, -
-  LEADERBOARDS_RETRIEVE, -LEADERBOARD_ENTRIES_RETRIEVE, -LEADERBOARD_SCORE_UPDATE_LISTENER, -PERSONA_DATA_CHANGED, -
-  RICH_PRESENCE_CHANGE_LISTENER, -GAME_JOIN_REQUESTED_LISTENER, -OPERATIONAL_STATE_CHANGE, -_OVERLAY_STATE_CHANGE, -
-  FRIEND_LIST_RETRIEVE, -ENCRYPTED_APP_TICKET_RETRIEVE, -ACCESS_TOKEN_CHANGE, -LEADERBOARD_RETRIEVE, -
-  SPECIFIC_USER_DATA, -INVITATION_SEND, -RICH_PRESENCE_LISTENER, -GAME_INVITATION_RECEIVED_LISTENER, -
-  NOTIFICATION_LISTENER, -LOBBY_DATA_RETRIEVE, -USER_TIME_PLAYED_RETRIEVE, -OTHER_SESSION_START, -
-  _STORAGE_SYNCHRONIZATION, -FILE_SHARE, -SHARED_FILE_DOWNLOAD, -CUSTOM_NETWORKING_CONNECTION_OPEN, -
-  CUSTOM_NETWORKING_CONNECTION_CLOSE, -CUSTOM_NETWORKING_CONNECTION_DATA, -OVERLAY_INITIALIZATION_STATE_CHANGE, -OVERLAY_VISIBILITY_CHANGE, -
-  CHAT_ROOM_WITH_USER_RETRIEVE_LISTENER, -CHAT_ROOM_MESSAGE_SEND_LISTENER, -CHAT_ROOM_MESSAGES_LISTENER, -FRIEND_INVITATION_SEND_LISTENER, -
-  FRIEND_INVITATION_LIST_RETRIEVE_LISTENER, -FRIEND_INVITATION_LISTENER, -FRIEND_INVITATION_RESPOND_TO_LISTENER, -FRIEND_ADD_LISTENER, -
-  FRIEND_DELETE_LISTENER, -CHAT_ROOM_MESSAGES_RETRIEVE_LISTENER, -USER_FIND_LISTENER, -NAT_TYPE_DETECTION, -
-  SENT_FRIEND_INVITATION_LIST_RETRIEVE_LISTENER, -LOBBY_DATA_UPDATE_LISTENER, -LOBBY_MEMBER_DATA_UPDATE_LISTENER, -USER_INFORMATION_RETRIEVE_LISTENER, -
-  RICH_PRESENCE_RETRIEVE_LISTENER, -GOG_SERVICES_CONNECTION_STATE_LISTENER, -TELEMETRY_EVENT_SEND_LISTENER, -LISTENER_TYPE_END -
- }
 Listener type. More...
 
enum  LobbyType { LOBBY_TYPE_PRIVATE, -LOBBY_TYPE_FRIENDS_ONLY, -LOBBY_TYPE_PUBLIC, -LOBBY_TYPE_INVISIBLE_TO_FRIENDS - }
 Lobby type. More...
 
enum  LobbyTopologyType {
-  DEPRECATED_LOBBY_TOPOLOGY_TYPE_FCM_HOST_MIGRATION, -LOBBY_TOPOLOGY_TYPE_FCM, -LOBBY_TOPOLOGY_TYPE_STAR, -LOBBY_TOPOLOGY_TYPE_CONNECTIONLESS, -
-  LOBBY_TOPOLOGY_TYPE_FCM_OWNERSHIP_TRANSITION -
- }
 Lobby topology type. More...
 
enum  LobbyMemberStateChange {
-  LOBBY_MEMBER_STATE_CHANGED_ENTERED = 0x0001, -LOBBY_MEMBER_STATE_CHANGED_LEFT = 0x0002, -LOBBY_MEMBER_STATE_CHANGED_DISCONNECTED = 0x0004, -LOBBY_MEMBER_STATE_CHANGED_KICKED = 0x0008, -
-  LOBBY_MEMBER_STATE_CHANGED_BANNED = 0x0010 -
- }
 Change of the state of a lobby member. More...
 
enum  LobbyComparisonType {
-  LOBBY_COMPARISON_TYPE_EQUAL, -LOBBY_COMPARISON_TYPE_NOT_EQUAL, -LOBBY_COMPARISON_TYPE_GREATER, -LOBBY_COMPARISON_TYPE_GREATER_OR_EQUAL, -
-  LOBBY_COMPARISON_TYPE_LOWER, -LOBBY_COMPARISON_TYPE_LOWER_OR_EQUAL -
- }
 Comparison type. More...
 
enum  LobbyCreateResult { LOBBY_CREATE_RESULT_SUCCESS, -LOBBY_CREATE_RESULT_ERROR, -LOBBY_CREATE_RESULT_CONNECTION_FAILURE - }
 Lobby creating result. More...
 
enum  LobbyEnterResult {
-  LOBBY_ENTER_RESULT_SUCCESS, -LOBBY_ENTER_RESULT_LOBBY_DOES_NOT_EXIST, -LOBBY_ENTER_RESULT_LOBBY_IS_FULL, -LOBBY_ENTER_RESULT_ERROR, -
-  LOBBY_ENTER_RESULT_CONNECTION_FAILURE -
- }
 Lobby entering result. More...
 
enum  LobbyListResult { LOBBY_LIST_RESULT_SUCCESS, -LOBBY_LIST_RESULT_ERROR, -LOBBY_LIST_RESULT_CONNECTION_FAILURE - }
 Lobby listing result. More...
 
enum  NatType {
-  NAT_TYPE_NONE, -NAT_TYPE_FULL_CONE, -NAT_TYPE_ADDRESS_RESTRICTED, -NAT_TYPE_PORT_RESTRICTED, -
-  NAT_TYPE_SYMMETRIC, -NAT_TYPE_UNKNOWN -
- }
 NAT types. More...
 
enum  P2PSendType { P2P_SEND_UNRELIABLE, -P2P_SEND_RELIABLE, -P2P_SEND_UNRELIABLE_IMMEDIATE, -P2P_SEND_RELIABLE_IMMEDIATE - }
 Send type used when calling INetworking::SendP2PPacket() in order to specify desired reliability of the data transfer for each packet that is being sent. More...
 
enum  ConnectionType { CONNECTION_TYPE_NONE, -CONNECTION_TYPE_DIRECT, -CONNECTION_TYPE_PROXY - }
 Connection types. More...
 
enum  LeaderboardSortMethod { LEADERBOARD_SORT_METHOD_NONE, -LEADERBOARD_SORT_METHOD_ASCENDING, -LEADERBOARD_SORT_METHOD_DESCENDING - }
 The sort order of a leaderboard. More...
 
enum  LeaderboardDisplayType { LEADERBOARD_DISPLAY_TYPE_NONE, -LEADERBOARD_DISPLAY_TYPE_NUMBER, -LEADERBOARD_DISPLAY_TYPE_TIME_SECONDS, -LEADERBOARD_DISPLAY_TYPE_TIME_MILLISECONDS - }
 The display type of a leaderboard. More...
 
enum  OverlayState {
-  OVERLAY_STATE_UNDEFINED, -OVERLAY_STATE_NOT_SUPPORTED, -OVERLAY_STATE_DISABLED, -OVERLAY_STATE_FAILED_TO_INITIALIZE, -
-  OVERLAY_STATE_INITIALIZED -
- }
 State of the overlay. More...
 
enum  GogServicesConnectionState { GOG_SERVICES_CONNECTION_STATE_UNDEFINED, -GOG_SERVICES_CONNECTION_STATE_CONNECTED, -GOG_SERVICES_CONNECTION_STATE_DISCONNECTED, -GOG_SERVICES_CONNECTION_STATE_AUTH_LOST - }
 State of connection to the GOG services. More...
 
- - - - -

-Functions

GALAXY_DLL_EXPORT const IError *GALAXY_CALLTYPE GetError ()
 Retrieves error connected with the last API call on the local thread. More...
 
-

Detailed Description

-

Typedef Documentation

- -

◆ GalaxyFree

- -
-
- - - - -
typedef void(* GalaxyFree) (void *ptr)
-
- -

Free function.

-
Parameters
- - -
[in]ptrPointer to memory block requested to be freed.
-
-
- -
-
- -

◆ GalaxyMalloc

- -
-
- - - - -
typedef void*(* GalaxyMalloc) (uint32_t size, const char *typeName)
-
- -

Allocate function.

-
Parameters
- - - -
[in]sizeRequested size of allocation.
[in]typeNameString which identifies the type of allocation.
-
-
-
Returns
Pointer to memory block or NULL if it goes out of memory.
- -
-
- -

◆ GalaxyRealloc

- -
-
- - - - -
typedef void*(* GalaxyRealloc) (void *ptr, uint32_t newSize, const char *typeName)
-
- -

Reallocate function.

-
Parameters
- - - - -
[in]ptrPointer to the memory block to be reallocated.
[in]newSizeNew, requested size of allocation.
[in]typeNameString which identifies the type of allocation.
-
-
-
Returns
Pointer to memory block or NULL if it goes out of memory.
- -
-
-

Enumeration Type Documentation

- -

◆ AvatarType

- -
-
- - - - -
enum AvatarType
-
- -

The type of avatar.

- - - - - -
Enumerator
AVATAR_TYPE_NONE 

No avatar type specified.

-
AVATAR_TYPE_SMALL 

Avatar resolution size: 32x32.

-
AVATAR_TYPE_MEDIUM 

Avatar resolution size: 64x64.

-
AVATAR_TYPE_LARGE 

Avatar resolution size: 184x184.

-
- -
-
- -

◆ ChatMessageType

- -
-
- - - - -
enum ChatMessageType
-
- -

The type of a chat message.

- - - - -
Enumerator
CHAT_MESSAGE_TYPE_UNKNOWN 

Unknown message type.

-
CHAT_MESSAGE_TYPE_CHAT_MESSAGE 

Chat message.

-
CHAT_MESSAGE_TYPE_GAME_INVITATION 

Game invitation.

-
- -
-
- -

◆ ConnectionType

- -
-
- - - - -
enum ConnectionType
-
- -

Connection types.

- - - - -
Enumerator
CONNECTION_TYPE_NONE 

User is connected only with server.

-
CONNECTION_TYPE_DIRECT 

User is connected directly.

-
CONNECTION_TYPE_PROXY 

User is connected through a proxy.

-
- -
-
- -

◆ GogServicesConnectionState

- -
-
- - - - -
enum GogServicesConnectionState
-
- -

State of connection to the GOG services.

- - - - - -
Enumerator
GOG_SERVICES_CONNECTION_STATE_UNDEFINED 

Connection state is undefined.

-
GOG_SERVICES_CONNECTION_STATE_CONNECTED 

Connection to the GOG services has been established.

-
GOG_SERVICES_CONNECTION_STATE_DISCONNECTED 

Connection to the GOG services has been lost.

-
GOG_SERVICES_CONNECTION_STATE_AUTH_LOST 

Connection to the GOG services has been lost due to lose of peer authentication.

-
- -
-
- -

◆ LeaderboardDisplayType

- -
-
- - - - -
enum LeaderboardDisplayType
-
- -

The display type of a leaderboard.

- - - - - -
Enumerator
LEADERBOARD_DISPLAY_TYPE_NONE 

Not display type specified.

-
LEADERBOARD_DISPLAY_TYPE_NUMBER 

Simple numerical score.

-
LEADERBOARD_DISPLAY_TYPE_TIME_SECONDS 

The score represents time, in seconds.

-
LEADERBOARD_DISPLAY_TYPE_TIME_MILLISECONDS 

The score represents time, in milliseconds.

-
- -
-
- -

◆ LeaderboardSortMethod

- -
-
- - - - -
enum LeaderboardSortMethod
-
- -

The sort order of a leaderboard.

- - - - -
Enumerator
LEADERBOARD_SORT_METHOD_NONE 

No sorting method specified.

-
LEADERBOARD_SORT_METHOD_ASCENDING 

Top score is lowest number.

-
LEADERBOARD_SORT_METHOD_DESCENDING 

Top score is highest number.

-
- -
-
- -

◆ ListenerType

- -
-
- - - - -
enum ListenerType
-
- -

Listener type.

-

Used when registering or unregistering instances of listeners.

-

Specific listener interfaces are type-aware, i.e. they provide a convenience method that returns their type.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Enumerator
LISTENER_TYPE_BEGIN 

Used for iterating over listener types.

-
LOBBY_LIST 

Used by ILobbyListListener.

-
LOBBY_CREATED 

Used by ILobbyCreatedListener.

-
LOBBY_ENTERED 

Used by ILobbyEnteredListener.

-
LOBBY_LEFT 

Used by ILobbyLeftListener.

-
LOBBY_DATA 

Used by ILobbyDataListener.

-
LOBBY_MEMBER_STATE 

Used by ILobbyMemberStateListener.

-
LOBBY_OWNER_CHANGE 

Used by ILobbyOwnerChangeListener.

-
AUTH 

Used by IAuthListener.

-
LOBBY_MESSAGE 

Used by ILobbyMessageListener.

-
NETWORKING 

Used by INetworkingListener.

-
_SERVER_NETWORKING 
Deprecated:
Used by IServerNetworkingListener.
-
USER_DATA 

Used by IUserDataListener.

-
USER_STATS_AND_ACHIEVEMENTS_RETRIEVE 

Used by IUserStatsAndAchievementsRetrieveListener.

-
STATS_AND_ACHIEVEMENTS_STORE 

Used by IStatsAndAchievementsStoreListener.

-
ACHIEVEMENT_CHANGE 

Used by IAchievementChangeListener.

-
LEADERBOARDS_RETRIEVE 

Used by ILeaderboardsRetrieveListener.

-
LEADERBOARD_ENTRIES_RETRIEVE 

Used by ILeaderboardEntriesRetrieveListener.

-
LEADERBOARD_SCORE_UPDATE_LISTENER 

Used by ILeaderboardScoreUpdateListener.

-
PERSONA_DATA_CHANGED 

Used by IPersonaDataChangedListener.

-
RICH_PRESENCE_CHANGE_LISTENER 

Used by IRichPresenceChangeListener.

-
GAME_JOIN_REQUESTED_LISTENER 

Used by IGameJoinRequested.

-
OPERATIONAL_STATE_CHANGE 

Used by IOperationalStateChangeListener.

-
_OVERLAY_STATE_CHANGE 
Deprecated:
Replaced with OVERLAY_VISIBILITY_CHANGE
-
FRIEND_LIST_RETRIEVE 

Used by IFriendListListener.

-
ENCRYPTED_APP_TICKET_RETRIEVE 

Used by IEncryptedAppTicketListener.

-
ACCESS_TOKEN_CHANGE 

Used by IAccessTokenListener.

-
LEADERBOARD_RETRIEVE 

Used by ILeaderboardRetrieveListener.

-
SPECIFIC_USER_DATA 

Used by ISpecificUserDataListener.

-
INVITATION_SEND 

Used by ISendInvitationListener.

-
RICH_PRESENCE_LISTENER 

Used by IRichPresenceListener.

-
GAME_INVITATION_RECEIVED_LISTENER 

Used by IGameInvitationReceivedListener.

-
NOTIFICATION_LISTENER 

Used by INotificationListener.

-
LOBBY_DATA_RETRIEVE 

Used by ILobbyDataRetrieveListener.

-
USER_TIME_PLAYED_RETRIEVE 

Used by IUserTimePlayedRetrieveListener.

-
OTHER_SESSION_START 

Used by IOtherSessionStartListener.

-
_STORAGE_SYNCHRONIZATION 
Deprecated:
Synchronization is performed solely by Galaxy Client.
-
FILE_SHARE 

Used by IFileShareListener.

-
SHARED_FILE_DOWNLOAD 

Used by ISharedFileDownloadListener.

-
CUSTOM_NETWORKING_CONNECTION_OPEN 

Used by IConnectionOpenListener.

-
CUSTOM_NETWORKING_CONNECTION_CLOSE 

Used by IConnectionCloseListener.

-
CUSTOM_NETWORKING_CONNECTION_DATA 

Used by IConnectionDataListener.

-
OVERLAY_INITIALIZATION_STATE_CHANGE 

Used by IOverlayInitializationStateChangeListener.

-
OVERLAY_VISIBILITY_CHANGE 

Used by IOverlayVisibilityChangeListener.

-
CHAT_ROOM_WITH_USER_RETRIEVE_LISTENER 

Used by IChatRoomWithUserRetrieveListener.

-
CHAT_ROOM_MESSAGE_SEND_LISTENER 

Used by IChatRoomMessageSendListener.

-
CHAT_ROOM_MESSAGES_LISTENER 

Used by IChatRoomMessagesListener.

-
FRIEND_INVITATION_SEND_LISTENER 

Used by IFriendInvitationSendListener.

-
FRIEND_INVITATION_LIST_RETRIEVE_LISTENER 

Used by IFriendInvitationListRetrieveListener.

-
FRIEND_INVITATION_LISTENER 

Used by IFriendInvitationListener.

-
FRIEND_INVITATION_RESPOND_TO_LISTENER 

Used by IFriendInvitationRespondToListener.

-
FRIEND_ADD_LISTENER 

Used by IFriendAddListener.

-
FRIEND_DELETE_LISTENER 

Used by IFriendDeleteListener.

-
CHAT_ROOM_MESSAGES_RETRIEVE_LISTENER 

Used by IChatRoomMessagesRetrieveListener.

-
USER_FIND_LISTENER 

Used by IUserFindListener.

-
NAT_TYPE_DETECTION 

Used by INatTypeDetectionListener.

-
SENT_FRIEND_INVITATION_LIST_RETRIEVE_LISTENER 

Used by ISentFriendInvitationListRetrieveListener.

-
LOBBY_MEMBER_DATA_UPDATE_LISTENER 

< Used by ILobbyDataUpdateListener.

-
USER_INFORMATION_RETRIEVE_LISTENER 

< Used by ILobbyDataUpdateListener.

-

Used by IUserInformationRetrieveListener.

-
RICH_PRESENCE_RETRIEVE_LISTENER 

Used by IRichPresenceRetrieveListener.

-
GOG_SERVICES_CONNECTION_STATE_LISTENER 

Used by IGogServicesConnectionStateListener.

-
TELEMETRY_EVENT_SEND_LISTENER 

Used by ITelemetryEventSendListener.

-
LISTENER_TYPE_END 

Used for iterating over listener types.

-
- -
-
- -

◆ LobbyComparisonType

- -
-
- - - - -
enum LobbyComparisonType
-
- -

Comparison type.

-

Used for specifying filters that are supposed to be invoked to validate lobby properties when requesting for a list of matching lobbies.

- - - - - - - -
Enumerator
LOBBY_COMPARISON_TYPE_EQUAL 

The lobby should have a property of a value that is equal to the one specified.

-
LOBBY_COMPARISON_TYPE_NOT_EQUAL 

The lobby should have a property of a value that is not equal to the one specified.

-
LOBBY_COMPARISON_TYPE_GREATER 

The lobby should have a property of a value that is greater than the one specified.

-
LOBBY_COMPARISON_TYPE_GREATER_OR_EQUAL 

The lobby should have a property of a value that is greater than or equal to the one specified.

-
LOBBY_COMPARISON_TYPE_LOWER 

The lobby should have a property of a value that is lower than the one specified.

-
LOBBY_COMPARISON_TYPE_LOWER_OR_EQUAL 

The lobby should have a property of a value that is lower than or equal to the one specified.

-
- -
-
- -

◆ LobbyCreateResult

- -
-
- - - - -
enum LobbyCreateResult
-
- -

Lobby creating result.

- - - - -
Enumerator
LOBBY_CREATE_RESULT_SUCCESS 

Lobby was created.

-
LOBBY_CREATE_RESULT_ERROR 

Unexpected error.

-
LOBBY_CREATE_RESULT_CONNECTION_FAILURE 

Unable to communicate with backend services.

-
- -
-
- -

◆ LobbyEnterResult

- -
-
- - - - -
enum LobbyEnterResult
-
- -

Lobby entering result.

- - - - - - -
Enumerator
LOBBY_ENTER_RESULT_SUCCESS 

The user has entered the lobby.

-
LOBBY_ENTER_RESULT_LOBBY_DOES_NOT_EXIST 

Specified lobby does not exist.

-
LOBBY_ENTER_RESULT_LOBBY_IS_FULL 

Specified lobby is full.

-
LOBBY_ENTER_RESULT_ERROR 

Unexpected error.

-
LOBBY_ENTER_RESULT_CONNECTION_FAILURE 

Unable to communicate with backend services.

-
- -
-
- -

◆ LobbyListResult

- -
-
- - - - -
enum LobbyListResult
-
- -

Lobby listing result.

- - - - -
Enumerator
LOBBY_LIST_RESULT_SUCCESS 

The list of lobbies retrieved successfully.

-
LOBBY_LIST_RESULT_ERROR 

Unexpected error.

-
LOBBY_LIST_RESULT_CONNECTION_FAILURE 

Unable to communicate with backend services.

-
- -
-
- -

◆ LobbyMemberStateChange

- -
-
- - - - -
enum LobbyMemberStateChange
-
- -

Change of the state of a lobby member.

-

Used in notifications.

- - - - - - -
Enumerator
LOBBY_MEMBER_STATE_CHANGED_ENTERED 

The user joined the lobby.

-
LOBBY_MEMBER_STATE_CHANGED_LEFT 

The user left the lobby having announced it first.

-
LOBBY_MEMBER_STATE_CHANGED_DISCONNECTED 

The user disconnected without leaving the lobby first.

-
LOBBY_MEMBER_STATE_CHANGED_KICKED 

User was kicked from the lobby.

-
LOBBY_MEMBER_STATE_CHANGED_BANNED 

User was kicked and banned from the lobby.

-
- -
-
- -

◆ LobbyTopologyType

- -
-
- - - - -
enum LobbyTopologyType
-
- -

Lobby topology type.

-

Used for specifying topology of user connections in lobby.

- - - - - - -
Enumerator
DEPRECATED_LOBBY_TOPOLOGY_TYPE_FCM_HOST_MIGRATION 

All users are connected with each other. Disconnection of lobby owner results in choosing a new one. Deprecated: use LOBBY_TOPOLOGY_TYPE_FCM_OWNERSHIP_TRANSITION instead.

-
LOBBY_TOPOLOGY_TYPE_FCM 

All users are connected with each other. Disconnection of lobby owner results in closing the lobby.

-
LOBBY_TOPOLOGY_TYPE_STAR 

All users are connected with lobby owner. Disconnection of lobby owner results in closing the lobby.

-
LOBBY_TOPOLOGY_TYPE_CONNECTIONLESS 

All users are connected only with server. Disconnection of lobby owner results in choosing a new one. Forbidden for the Game Server.

-
LOBBY_TOPOLOGY_TYPE_FCM_OWNERSHIP_TRANSITION 

All users are connected with each other. Disconnection of lobby owner results in choosing a new one. Forbidden for the Game Server.

-
- -
-
- -

◆ LobbyType

- -
-
- - - - -
enum LobbyType
-
- -

Lobby type.

-

Used for specifying visibility of a lobby and protecting it.

- - - - - -
Enumerator
LOBBY_TYPE_PRIVATE 

Only invited users are able to join the lobby.

-
LOBBY_TYPE_FRIENDS_ONLY 

Visible only to friends or invitees, but not in lobby list. Forbidden for the Game Server.

-
LOBBY_TYPE_PUBLIC 

Visible for friends and in lobby list.

-
LOBBY_TYPE_INVISIBLE_TO_FRIENDS 

Returned by search, but not visible to friends. Forbidden for the Game Server.

-
- -
-
- -

◆ NatType

- -
-
- - - - -
enum NatType
-
- -

NAT types.

- - - - - - - -
Enumerator
NAT_TYPE_NONE 

There is no NAT at all.

-
NAT_TYPE_FULL_CONE 

Accepts any datagrams to a port that has been previously used.

-
NAT_TYPE_ADDRESS_RESTRICTED 

Accepts datagrams to a port if the datagram source IP address belongs to a system that has been sent to.

-
NAT_TYPE_PORT_RESTRICTED 

Accepts datagrams to a port if the datagram source IP address and port belongs a system that has been sent to.

-
NAT_TYPE_SYMMETRIC 

A different port is chosen for every remote destination.

-
NAT_TYPE_UNKNOWN 

NAT type has not been determined.

-
- -
-
- -

◆ OverlayState

- -
-
- - - - -
enum OverlayState
-
- -

State of the overlay.

- - - - - - -
Enumerator
OVERLAY_STATE_UNDEFINED 

Overlay state is undefined.

-
OVERLAY_STATE_NOT_SUPPORTED 

Overlay is not supported.

-
OVERLAY_STATE_DISABLED 

Overlay is disabled by the user in the Galaxy Client.

-
OVERLAY_STATE_FAILED_TO_INITIALIZE 

Galaxy Client failed to initialize the overlay or inject it into the game.

-
OVERLAY_STATE_INITIALIZED 

Overlay has been successfully injected into the game.

-
- -
-
- -

◆ P2PSendType

- -
-
- - - - -
enum P2PSendType
-
- -

Send type used when calling INetworking::SendP2PPacket() in order to specify desired reliability of the data transfer for each packet that is being sent.

- - - - - -
Enumerator
P2P_SEND_UNRELIABLE 

UDP-like packet transfer. The packet will be sent during the next call to ProcessData().

-
P2P_SEND_RELIABLE 

TCP-like packet transfer. The packet will be sent during the next call to ProcessData().

-
P2P_SEND_UNRELIABLE_IMMEDIATE 

UDP-like packet transfer. The packet will be sent instantly.

-
P2P_SEND_RELIABLE_IMMEDIATE 

TCP-like packet transfer. The packet will be sent instantly.

-
- -
-
- -

◆ PersonaState

- -
-
- - - - -
enum PersonaState
-
- -

The state of the user.

- - - -
Enumerator
PERSONA_STATE_OFFLINE 

User is not currently logged on.

-
PERSONA_STATE_ONLINE 

User is logged on.

-
- -
-
-

Function Documentation

- -

◆ GetError()

- -
-
- - - - - - - -
GALAXY_DLL_EXPORT const IError* GALAXY_CALLTYPE galaxy::api::GetError ()
-
- -

Retrieves error connected with the last API call on the local thread.

-
Returns
Either the last API call error or NULL if there was no error.
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/group__api.js b/vendors/galaxy/Docs/group__api.js deleted file mode 100644 index c92092757..000000000 --- a/vendors/galaxy/Docs/group__api.js +++ /dev/null @@ -1,975 +0,0 @@ -var group__api = -[ - [ "Peer", "group__Peer.html", "group__Peer" ], - [ "GameServer", "group__GameServer.html", "group__GameServer" ], - [ "IError", "classgalaxy_1_1api_1_1IError.html", [ - [ "Type", "classgalaxy_1_1api_1_1IError.html#a1d1cfd8ffb84e947f82999c682b666a7", [ - [ "UNAUTHORIZED_ACCESS", "classgalaxy_1_1api_1_1IError.html#a1d1cfd8ffb84e947f82999c682b666a7a7951f9a10cbd3ee1e6c675a2fe1bcd63", null ], - [ "INVALID_ARGUMENT", "classgalaxy_1_1api_1_1IError.html#a1d1cfd8ffb84e947f82999c682b666a7a5eee2964b285af6b0b8bf73c72fdf0f4", null ], - [ "INVALID_STATE", "classgalaxy_1_1api_1_1IError.html#a1d1cfd8ffb84e947f82999c682b666a7a3a01eacac22f2ede34b2e254ad6c5f6a", null ], - [ "RUNTIME_ERROR", "classgalaxy_1_1api_1_1IError.html#a1d1cfd8ffb84e947f82999c682b666a7a1e1e25ce9bc82ccfb34ba5e61e435cfa", null ] - ] ], - [ "~IError", "classgalaxy_1_1api_1_1IError.html#ac50b649d238ef962383b221705a0b613", null ], - [ "GetMsg", "classgalaxy_1_1api_1_1IError.html#aa7dbbdecb5dfabbd4cd1407ed3858632", null ], - [ "GetName", "classgalaxy_1_1api_1_1IError.html#afcc1c3a20bd2860e0ddd21674389246f", null ], - [ "GetType", "classgalaxy_1_1api_1_1IError.html#adbd91f48e98ad6dc6ca4c1e0d68cf3e6", null ] - ] ], - [ "IUnauthorizedAccessError", "classgalaxy_1_1api_1_1IUnauthorizedAccessError.html", null ], - [ "IInvalidArgumentError", "classgalaxy_1_1api_1_1IInvalidArgumentError.html", null ], - [ "IInvalidStateError", "classgalaxy_1_1api_1_1IInvalidStateError.html", null ], - [ "IRuntimeError", "classgalaxy_1_1api_1_1IRuntimeError.html", null ], - [ "GalaxyAllocator", "structgalaxy_1_1api_1_1GalaxyAllocator.html", [ - [ "GalaxyAllocator", "structgalaxy_1_1api_1_1GalaxyAllocator.html#a261d0d87a9bbed09c69689b3459a035a", null ], - [ "GalaxyAllocator", "structgalaxy_1_1api_1_1GalaxyAllocator.html#af385348d5da9d6d713c2708d89185895", null ], - [ "galaxyFree", "structgalaxy_1_1api_1_1GalaxyAllocator.html#afc8835346a535e504ca52948d543a98c", null ], - [ "galaxyMalloc", "structgalaxy_1_1api_1_1GalaxyAllocator.html#a752fba92fb1fc16dcb26097dff9539d4", null ], - [ "galaxyRealloc", "structgalaxy_1_1api_1_1GalaxyAllocator.html#aacd5e4595cffe8c5ad6ec599a7015e3e", null ] - ] ], - [ "GalaxyID", "classgalaxy_1_1api_1_1GalaxyID.html", [ - [ "IDType", "classgalaxy_1_1api_1_1GalaxyID.html#aa0a690a2c08f2c4e8568b767107275a2", [ - [ "ID_TYPE_UNASSIGNED", "classgalaxy_1_1api_1_1GalaxyID.html#aa0a690a2c08f2c4e8568b767107275a2a0c37b46c1fa2242c09e3771141a7d684", null ], - [ "ID_TYPE_LOBBY", "classgalaxy_1_1api_1_1GalaxyID.html#aa0a690a2c08f2c4e8568b767107275a2a427feed1429ee5b3586e98a3336ada24", null ], - [ "ID_TYPE_USER", "classgalaxy_1_1api_1_1GalaxyID.html#aa0a690a2c08f2c4e8568b767107275a2a5aef41d74ca1f21e1e6156338b8d7981", null ] - ] ], - [ "GalaxyID", "classgalaxy_1_1api_1_1GalaxyID.html#a2e3ebd392d5e297c13930b8faf898a1f", null ], - [ "GalaxyID", "classgalaxy_1_1api_1_1GalaxyID.html#ad59408c3065d045dba74ddae05e38b2e", null ], - [ "GalaxyID", "classgalaxy_1_1api_1_1GalaxyID.html#ad6b4fcad45c426af8fee75a65fc17ada", null ], - [ "FromRealID", "classgalaxy_1_1api_1_1GalaxyID.html#a0a8140979b8e84844babea160999f17e", null ], - [ "GetIDType", "classgalaxy_1_1api_1_1GalaxyID.html#a8d0a478ff0873b4ebf57313282dcb632", null ], - [ "GetRealID", "classgalaxy_1_1api_1_1GalaxyID.html#a9d568c67c6f51516c99356b501aeeeee", null ], - [ "IsValid", "classgalaxy_1_1api_1_1GalaxyID.html#ac532c4b500b1a85ea22217f2c65a70ed", null ], - [ "operator!=", "classgalaxy_1_1api_1_1GalaxyID.html#ae23bb7b697d7845bd447cf6d13cfde34", null ], - [ "operator<", "classgalaxy_1_1api_1_1GalaxyID.html#a38d3a3738e624bd4cfd961863c541f37", null ], - [ "operator=", "classgalaxy_1_1api_1_1GalaxyID.html#ac35243cc4381cf28ea2eb75c8e04d458", null ], - [ "operator==", "classgalaxy_1_1api_1_1GalaxyID.html#a708c1fa6b537417d7e2597dc89291be7", null ], - [ "ToUint64", "classgalaxy_1_1api_1_1GalaxyID.html#ae5c045e6a51c05bdc45693259e80de6e", null ], - [ "UNASSIGNED_VALUE", "classgalaxy_1_1api_1_1GalaxyID.html#a815f95d3facae427efd380d2b86723fd", null ] - ] ], - [ "IGalaxyThread", "classgalaxy_1_1api_1_1IGalaxyThread.html", [ - [ "~IGalaxyThread", "classgalaxy_1_1api_1_1IGalaxyThread.html#a63d6c0b7106f7a242ac82dff6fc30031", null ], - [ "Detach", "classgalaxy_1_1api_1_1IGalaxyThread.html#a4c7d7ba0157a1d4f0544968ff700691a", null ], - [ "Join", "classgalaxy_1_1api_1_1IGalaxyThread.html#af91a5eba595a7f7a9742ea592066e255", null ], - [ "Joinable", "classgalaxy_1_1api_1_1IGalaxyThread.html#aa3a0e8c6e6de907af75ff3f379f39245", null ] - ] ], - [ "IGalaxyThreadFactory", "classgalaxy_1_1api_1_1IGalaxyThreadFactory.html", [ - [ "~IGalaxyThreadFactory", "classgalaxy_1_1api_1_1IGalaxyThreadFactory.html#ad4824777119a10c029190042f6609354", null ], - [ "SpawnThread", "classgalaxy_1_1api_1_1IGalaxyThreadFactory.html#ab423aff7bbfec9321c0f753e7013a7a9", null ] - ] ], - [ "IApps", "classgalaxy_1_1api_1_1IApps.html", [ - [ "~IApps", "classgalaxy_1_1api_1_1IApps.html#a2135bee67458023f7fb5ac750026f3f5", null ], - [ "GetCurrentGameLanguage", "classgalaxy_1_1api_1_1IApps.html#a3f9c65577ba3ce08f9addb81245fa305", null ], - [ "GetCurrentGameLanguageCopy", "classgalaxy_1_1api_1_1IApps.html#a1e420c689ec662327f75ef71ad5916dd", null ], - [ "IsDlcInstalled", "classgalaxy_1_1api_1_1IApps.html#a46fbdec6ec2e1b6d1a1625ba157d3aa2", null ] - ] ], - [ "IChatRoomWithUserRetrieveListener", "classgalaxy_1_1api_1_1IChatRoomWithUserRetrieveListener.html", [ - [ "FailureReason", "classgalaxy_1_1api_1_1IChatRoomWithUserRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6e", [ - [ "FAILURE_REASON_UNDEFINED", "classgalaxy_1_1api_1_1IChatRoomWithUserRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39", null ], - [ "FAILURE_REASON_FORBIDDEN", "classgalaxy_1_1api_1_1IChatRoomWithUserRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6ea1ddabde3adccfb118865118a875d071d", null ], - [ "FAILURE_REASON_CONNECTION_FAILURE", "classgalaxy_1_1api_1_1IChatRoomWithUserRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0", null ] - ] ], - [ "OnChatRoomWithUserRetrieveFailure", "classgalaxy_1_1api_1_1IChatRoomWithUserRetrieveListener.html#a7f114d18a0c6b5a27a5b649218a3f36f", null ], - [ "OnChatRoomWithUserRetrieveSuccess", "classgalaxy_1_1api_1_1IChatRoomWithUserRetrieveListener.html#a1a3812efce6f7e1edf0bcd2193be5f75", null ] - ] ], - [ "IChatRoomMessageSendListener", "classgalaxy_1_1api_1_1IChatRoomMessageSendListener.html", [ - [ "FailureReason", "classgalaxy_1_1api_1_1IChatRoomMessageSendListener.html#a2e1fab5fc244b0783172514baec21a6e", [ - [ "FAILURE_REASON_UNDEFINED", "classgalaxy_1_1api_1_1IChatRoomMessageSendListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39", null ], - [ "FAILURE_REASON_FORBIDDEN", "classgalaxy_1_1api_1_1IChatRoomMessageSendListener.html#a2e1fab5fc244b0783172514baec21a6ea1ddabde3adccfb118865118a875d071d", null ], - [ "FAILURE_REASON_CONNECTION_FAILURE", "classgalaxy_1_1api_1_1IChatRoomMessageSendListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0", null ] - ] ], - [ "OnChatRoomMessageSendFailure", "classgalaxy_1_1api_1_1IChatRoomMessageSendListener.html#aa15ca54f88deb44ef1f9a49b9f248fef", null ], - [ "OnChatRoomMessageSendSuccess", "classgalaxy_1_1api_1_1IChatRoomMessageSendListener.html#a36c02be9c4ab7ad034ffaec9a5b0aa2d", null ] - ] ], - [ "IChatRoomMessagesListener", "classgalaxy_1_1api_1_1IChatRoomMessagesListener.html", [ - [ "OnChatRoomMessagesReceived", "classgalaxy_1_1api_1_1IChatRoomMessagesListener.html#ab440a4f2f41c573c8debdf71de088c2a", null ] - ] ], - [ "IChatRoomMessagesRetrieveListener", "classgalaxy_1_1api_1_1IChatRoomMessagesRetrieveListener.html", [ - [ "FailureReason", "classgalaxy_1_1api_1_1IChatRoomMessagesRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6e", [ - [ "FAILURE_REASON_UNDEFINED", "classgalaxy_1_1api_1_1IChatRoomMessagesRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39", null ], - [ "FAILURE_REASON_FORBIDDEN", "classgalaxy_1_1api_1_1IChatRoomMessagesRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6ea1ddabde3adccfb118865118a875d071d", null ], - [ "FAILURE_REASON_CONNECTION_FAILURE", "classgalaxy_1_1api_1_1IChatRoomMessagesRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0", null ] - ] ], - [ "OnChatRoomMessagesRetrieveFailure", "classgalaxy_1_1api_1_1IChatRoomMessagesRetrieveListener.html#aefab5e0dcefd17a05adf8fe7a169895d", null ], - [ "OnChatRoomMessagesRetrieveSuccess", "classgalaxy_1_1api_1_1IChatRoomMessagesRetrieveListener.html#af640da6293b7d509ae0539db4c7aa95a", null ] - ] ], - [ "IChat", "classgalaxy_1_1api_1_1IChat.html", [ - [ "~IChat", "classgalaxy_1_1api_1_1IChat.html#a8d154c3f7c1895de4c9d65205300c6ec", null ], - [ "GetChatRoomMemberCount", "classgalaxy_1_1api_1_1IChat.html#a251ddea16a64be7461e6d5de78a4ad63", null ], - [ "GetChatRoomMemberUserIDByIndex", "classgalaxy_1_1api_1_1IChat.html#a6a8716d44283234878d810d075b2bc09", null ], - [ "GetChatRoomMessageByIndex", "classgalaxy_1_1api_1_1IChat.html#ae8d32143755d50f5a0738287bce697f9", null ], - [ "GetChatRoomUnreadMessageCount", "classgalaxy_1_1api_1_1IChat.html#ae29c115c1f262e6386ee76c46371b94b", null ], - [ "MarkChatRoomAsRead", "classgalaxy_1_1api_1_1IChat.html#a1b8ef66f124412d9fef6e8c4b1ee86c3", null ], - [ "RequestChatRoomMessages", "classgalaxy_1_1api_1_1IChat.html#acad827245bab28f694508420c6363a1f", null ], - [ "RequestChatRoomWithUser", "classgalaxy_1_1api_1_1IChat.html#a1c71546d2f33533cb9f24a9d29764b60", null ], - [ "SendChatRoomMessage", "classgalaxy_1_1api_1_1IChat.html#a11cff02f62369b026fd7802bdeb9aca1", null ] - ] ], - [ "IConnectionOpenListener", "classgalaxy_1_1api_1_1IConnectionOpenListener.html", [ - [ "FailureReason", "classgalaxy_1_1api_1_1IConnectionOpenListener.html#a2e1fab5fc244b0783172514baec21a6e", [ - [ "FAILURE_REASON_UNDEFINED", "classgalaxy_1_1api_1_1IConnectionOpenListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39", null ], - [ "FAILURE_REASON_CONNECTION_FAILURE", "classgalaxy_1_1api_1_1IConnectionOpenListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0", null ], - [ "FAILURE_REASON_UNAUTHORIZED", "classgalaxy_1_1api_1_1IConnectionOpenListener.html#a2e1fab5fc244b0783172514baec21a6ea1f870b0f470cb854818527e6c70764a4", null ] - ] ], - [ "OnConnectionOpenFailure", "classgalaxy_1_1api_1_1IConnectionOpenListener.html#a9e154ee98e393e5fe2c4739716d5f3e6", null ], - [ "OnConnectionOpenSuccess", "classgalaxy_1_1api_1_1IConnectionOpenListener.html#afe1cff9894d6fa491cbc100b3bdab922", null ] - ] ], - [ "IConnectionCloseListener", "classgalaxy_1_1api_1_1IConnectionCloseListener.html", [ - [ "CloseReason", "classgalaxy_1_1api_1_1IConnectionCloseListener.html#a2af9150cca99c965611884e1a48ff18d", [ - [ "CLOSE_REASON_UNDEFINED", "classgalaxy_1_1api_1_1IConnectionCloseListener.html#a2af9150cca99c965611884e1a48ff18dae3c8bfc34a50df0931adc712de447dcf", null ] - ] ], - [ "OnConnectionClosed", "classgalaxy_1_1api_1_1IConnectionCloseListener.html#ac2bc29b679a80d734971b77b8219aa5c", null ] - ] ], - [ "IConnectionDataListener", "classgalaxy_1_1api_1_1IConnectionDataListener.html", [ - [ "OnConnectionDataReceived", "classgalaxy_1_1api_1_1IConnectionDataListener.html#a03f05f225fd487bd7d4c5c10264ea34d", null ] - ] ], - [ "ICustomNetworking", "classgalaxy_1_1api_1_1ICustomNetworking.html", [ - [ "~ICustomNetworking", "classgalaxy_1_1api_1_1ICustomNetworking.html#a3f497ba4702e0d89292a6b11462edb82", null ], - [ "CloseConnection", "classgalaxy_1_1api_1_1ICustomNetworking.html#a6bbb32acab4c10b8c17fa007b2693543", null ], - [ "GetAvailableDataSize", "classgalaxy_1_1api_1_1ICustomNetworking.html#a09529b63903ad1234480a5877e8e95dd", null ], - [ "OpenConnection", "classgalaxy_1_1api_1_1ICustomNetworking.html#a85c8f3169a7be9507154f325c3564b1e", null ], - [ "PeekData", "classgalaxy_1_1api_1_1ICustomNetworking.html#a7844d3bfec3c589baf36c2be96b9daa3", null ], - [ "PopData", "classgalaxy_1_1api_1_1ICustomNetworking.html#a23f7d6971b5c550d0821368705e4bfd6", null ], - [ "ReadData", "classgalaxy_1_1api_1_1ICustomNetworking.html#a55f27654455fd746bebb5f60def2fa40", null ], - [ "SendData", "classgalaxy_1_1api_1_1ICustomNetworking.html#a8ec3a0a8840e94790d3f9e2f45097f98", null ] - ] ], - [ "IPersonaDataChangedListener", "classgalaxy_1_1api_1_1IPersonaDataChangedListener.html", [ - [ "PersonaStateChange", "classgalaxy_1_1api_1_1IPersonaDataChangedListener.html#a895bc6c37e8cba72dba5136f2bfa2c2d", [ - [ "PERSONA_CHANGE_NONE", "classgalaxy_1_1api_1_1IPersonaDataChangedListener.html#a895bc6c37e8cba72dba5136f2bfa2c2daf328d5471b051ab3f1a93012e3f4a22e", null ], - [ "PERSONA_CHANGE_NAME", "classgalaxy_1_1api_1_1IPersonaDataChangedListener.html#a895bc6c37e8cba72dba5136f2bfa2c2dad4270d6ae3f97bb91e11d64b12fb77c2", null ], - [ "PERSONA_CHANGE_AVATAR", "classgalaxy_1_1api_1_1IPersonaDataChangedListener.html#a895bc6c37e8cba72dba5136f2bfa2c2da4e4f10aa284754bc26a15d44e163cf78", null ], - [ "PERSONA_CHANGE_AVATAR_DOWNLOADED_IMAGE_SMALL", "classgalaxy_1_1api_1_1IPersonaDataChangedListener.html#a895bc6c37e8cba72dba5136f2bfa2c2dadbb246999072276f12e9a0a6abc17d15", null ], - [ "PERSONA_CHANGE_AVATAR_DOWNLOADED_IMAGE_MEDIUM", "classgalaxy_1_1api_1_1IPersonaDataChangedListener.html#a895bc6c37e8cba72dba5136f2bfa2c2dab26c3430bcd4093891fa1f5277fe691d", null ], - [ "PERSONA_CHANGE_AVATAR_DOWNLOADED_IMAGE_LARGE", "classgalaxy_1_1api_1_1IPersonaDataChangedListener.html#a895bc6c37e8cba72dba5136f2bfa2c2daac3b48fe851d2d69a46bcf15fd4ba27c", null ], - [ "PERSONA_CHANGE_AVATAR_DOWNLOADED_IMAGE_ANY", "classgalaxy_1_1api_1_1IPersonaDataChangedListener.html#a895bc6c37e8cba72dba5136f2bfa2c2dab965c14b0100cb51ca5347d520adc934", null ] - ] ], - [ "OnPersonaDataChanged", "classgalaxy_1_1api_1_1IPersonaDataChangedListener.html#a3d13d371bbedd3f600590c187a13ea28", null ] - ] ], - [ "IUserInformationRetrieveListener", "classgalaxy_1_1api_1_1IUserInformationRetrieveListener.html", [ - [ "FailureReason", "classgalaxy_1_1api_1_1IUserInformationRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6e", [ - [ "FAILURE_REASON_UNDEFINED", "classgalaxy_1_1api_1_1IUserInformationRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39", null ], - [ "FAILURE_REASON_CONNECTION_FAILURE", "classgalaxy_1_1api_1_1IUserInformationRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0", null ] - ] ], - [ "OnUserInformationRetrieveFailure", "classgalaxy_1_1api_1_1IUserInformationRetrieveListener.html#a0164a19a563d9a87d714cff106530dff", null ], - [ "OnUserInformationRetrieveSuccess", "classgalaxy_1_1api_1_1IUserInformationRetrieveListener.html#a90e616a4dd50befabe6681a707af3854", null ] - ] ], - [ "IFriendListListener", "classgalaxy_1_1api_1_1IFriendListListener.html", [ - [ "FailureReason", "classgalaxy_1_1api_1_1IFriendListListener.html#a2e1fab5fc244b0783172514baec21a6e", [ - [ "FAILURE_REASON_UNDEFINED", "classgalaxy_1_1api_1_1IFriendListListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39", null ], - [ "FAILURE_REASON_CONNECTION_FAILURE", "classgalaxy_1_1api_1_1IFriendListListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0", null ] - ] ], - [ "OnFriendListRetrieveFailure", "classgalaxy_1_1api_1_1IFriendListListener.html#a9cbe96cfeea72a677589b645b4431b17", null ], - [ "OnFriendListRetrieveSuccess", "classgalaxy_1_1api_1_1IFriendListListener.html#a8b9472f2304e62a9b419c779e8e6a2f6", null ] - ] ], - [ "IFriendInvitationSendListener", "classgalaxy_1_1api_1_1IFriendInvitationSendListener.html", [ - [ "FailureReason", "classgalaxy_1_1api_1_1IFriendInvitationSendListener.html#a2e1fab5fc244b0783172514baec21a6e", [ - [ "FAILURE_REASON_UNDEFINED", "classgalaxy_1_1api_1_1IFriendInvitationSendListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39", null ], - [ "FAILURE_REASON_USER_DOES_NOT_EXIST", "classgalaxy_1_1api_1_1IFriendInvitationSendListener.html#a2e1fab5fc244b0783172514baec21a6eaa7fdbf5fd0f8fb915cd270eaf4dee431", null ], - [ "FAILURE_REASON_USER_ALREADY_INVITED", "classgalaxy_1_1api_1_1IFriendInvitationSendListener.html#a2e1fab5fc244b0783172514baec21a6ea1e4fcee207327fc8bd9f1224ef08035f", null ], - [ "FAILURE_REASON_USER_ALREADY_FRIEND", "classgalaxy_1_1api_1_1IFriendInvitationSendListener.html#a2e1fab5fc244b0783172514baec21a6ea81d35666717e441e4a6c79a7fe7b62eb", null ], - [ "FAILURE_REASON_CONNECTION_FAILURE", "classgalaxy_1_1api_1_1IFriendInvitationSendListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0", null ] - ] ], - [ "OnFriendInvitationSendFailure", "classgalaxy_1_1api_1_1IFriendInvitationSendListener.html#a672651b7eeaa004bfb8545ce17ff329d", null ], - [ "OnFriendInvitationSendSuccess", "classgalaxy_1_1api_1_1IFriendInvitationSendListener.html#ad7226c49931d0db1aea6e8c6797bc78c", null ] - ] ], - [ "IFriendInvitationListRetrieveListener", "classgalaxy_1_1api_1_1IFriendInvitationListRetrieveListener.html", [ - [ "FailureReason", "classgalaxy_1_1api_1_1IFriendInvitationListRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6e", [ - [ "FAILURE_REASON_UNDEFINED", "classgalaxy_1_1api_1_1IFriendInvitationListRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39", null ], - [ "FAILURE_REASON_CONNECTION_FAILURE", "classgalaxy_1_1api_1_1IFriendInvitationListRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0", null ] - ] ], - [ "OnFriendInvitationListRetrieveFailure", "classgalaxy_1_1api_1_1IFriendInvitationListRetrieveListener.html#a6fe6a31ce22c07e8b676725eccce0cb6", null ], - [ "OnFriendInvitationListRetrieveSuccess", "classgalaxy_1_1api_1_1IFriendInvitationListRetrieveListener.html#a4e0794a45d176a2ad3d650a06015d410", null ] - ] ], - [ "ISentFriendInvitationListRetrieveListener", "classgalaxy_1_1api_1_1ISentFriendInvitationListRetrieveListener.html", [ - [ "FailureReason", "classgalaxy_1_1api_1_1ISentFriendInvitationListRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6e", [ - [ "FAILURE_REASON_UNDEFINED", "classgalaxy_1_1api_1_1ISentFriendInvitationListRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39", null ], - [ "FAILURE_REASON_CONNECTION_FAILURE", "classgalaxy_1_1api_1_1ISentFriendInvitationListRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0", null ] - ] ], - [ "OnSentFriendInvitationListRetrieveFailure", "classgalaxy_1_1api_1_1ISentFriendInvitationListRetrieveListener.html#a35d5c1f02fd7cfae43cdae41554e2f74", null ], - [ "OnSentFriendInvitationListRetrieveSuccess", "classgalaxy_1_1api_1_1ISentFriendInvitationListRetrieveListener.html#aa6ba4aaafe84d611b1f43068f815f491", null ] - ] ], - [ "IFriendInvitationListener", "classgalaxy_1_1api_1_1IFriendInvitationListener.html", [ - [ "OnFriendInvitationReceived", "classgalaxy_1_1api_1_1IFriendInvitationListener.html#aaf8be938710a65ccb816602aeadc082e", null ] - ] ], - [ "IFriendInvitationRespondToListener", "classgalaxy_1_1api_1_1IFriendInvitationRespondToListener.html", [ - [ "FailureReason", "classgalaxy_1_1api_1_1IFriendInvitationRespondToListener.html#a2e1fab5fc244b0783172514baec21a6e", [ - [ "FAILURE_REASON_UNDEFINED", "classgalaxy_1_1api_1_1IFriendInvitationRespondToListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39", null ], - [ "FAILURE_REASON_USER_DOES_NOT_EXIST", "classgalaxy_1_1api_1_1IFriendInvitationRespondToListener.html#a2e1fab5fc244b0783172514baec21a6eaa7fdbf5fd0f8fb915cd270eaf4dee431", null ], - [ "FAILURE_REASON_FRIEND_INVITATION_DOES_NOT_EXIST", "classgalaxy_1_1api_1_1IFriendInvitationRespondToListener.html#a2e1fab5fc244b0783172514baec21a6eac6d034b89542b28cae96b846e2a92792", null ], - [ "FAILURE_REASON_USER_ALREADY_FRIEND", "classgalaxy_1_1api_1_1IFriendInvitationRespondToListener.html#a2e1fab5fc244b0783172514baec21a6ea81d35666717e441e4a6c79a7fe7b62eb", null ], - [ "FAILURE_REASON_CONNECTION_FAILURE", "classgalaxy_1_1api_1_1IFriendInvitationRespondToListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0", null ] - ] ], - [ "OnFriendInvitationRespondToFailure", "classgalaxy_1_1api_1_1IFriendInvitationRespondToListener.html#a7665287c51fd5638dae67df42a1d6bcc", null ], - [ "OnFriendInvitationRespondToSuccess", "classgalaxy_1_1api_1_1IFriendInvitationRespondToListener.html#acad7057a5310ccf0547dccbf1ac9fdd9", null ] - ] ], - [ "IFriendAddListener", "classgalaxy_1_1api_1_1IFriendAddListener.html", [ - [ "InvitationDirection", "classgalaxy_1_1api_1_1IFriendAddListener.html#a6987312242c9bc945fadf5d2022240c7", [ - [ "INVITATION_DIRECTION_INCOMING", "classgalaxy_1_1api_1_1IFriendAddListener.html#a6987312242c9bc945fadf5d2022240c7a27cfeefdda57343cdbcbfca03c58cd91", null ], - [ "INVITATION_DIRECTION_OUTGOING", "classgalaxy_1_1api_1_1IFriendAddListener.html#a6987312242c9bc945fadf5d2022240c7a801280a11440b55d67618746c3c4038c", null ] - ] ], - [ "OnFriendAdded", "classgalaxy_1_1api_1_1IFriendAddListener.html#a47269a1024a80623d82da55e0671fa7c", null ] - ] ], - [ "IFriendDeleteListener", "classgalaxy_1_1api_1_1IFriendDeleteListener.html", [ - [ "FailureReason", "classgalaxy_1_1api_1_1IFriendDeleteListener.html#a2e1fab5fc244b0783172514baec21a6e", [ - [ "FAILURE_REASON_UNDEFINED", "classgalaxy_1_1api_1_1IFriendDeleteListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39", null ], - [ "FAILURE_REASON_CONNECTION_FAILURE", "classgalaxy_1_1api_1_1IFriendDeleteListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0", null ] - ] ], - [ "OnFriendDeleteFailure", "classgalaxy_1_1api_1_1IFriendDeleteListener.html#a108fcc5e38fdf6945deaebbbc3798b49", null ], - [ "OnFriendDeleteSuccess", "classgalaxy_1_1api_1_1IFriendDeleteListener.html#aab24fda85971eed336a55f76c303bad8", null ] - ] ], - [ "IRichPresenceChangeListener", "classgalaxy_1_1api_1_1IRichPresenceChangeListener.html", [ - [ "FailureReason", "classgalaxy_1_1api_1_1IRichPresenceChangeListener.html#a2e1fab5fc244b0783172514baec21a6e", [ - [ "FAILURE_REASON_UNDEFINED", "classgalaxy_1_1api_1_1IRichPresenceChangeListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39", null ], - [ "FAILURE_REASON_CONNECTION_FAILURE", "classgalaxy_1_1api_1_1IRichPresenceChangeListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0", null ] - ] ], - [ "OnRichPresenceChangeFailure", "classgalaxy_1_1api_1_1IRichPresenceChangeListener.html#a2467a872892d3a50dd00347d1f30bc7b", null ], - [ "OnRichPresenceChangeSuccess", "classgalaxy_1_1api_1_1IRichPresenceChangeListener.html#aa3636f8d79edd9e32e388b1ef6402005", null ] - ] ], - [ "IRichPresenceListener", "classgalaxy_1_1api_1_1IRichPresenceListener.html", [ - [ "OnRichPresenceUpdated", "classgalaxy_1_1api_1_1IRichPresenceListener.html#aa9874ac50140dbb608026b72172ac31c", null ] - ] ], - [ "IRichPresenceRetrieveListener", "classgalaxy_1_1api_1_1IRichPresenceRetrieveListener.html", [ - [ "FailureReason", "classgalaxy_1_1api_1_1IRichPresenceRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6e", [ - [ "FAILURE_REASON_UNDEFINED", "classgalaxy_1_1api_1_1IRichPresenceRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39", null ], - [ "FAILURE_REASON_CONNECTION_FAILURE", "classgalaxy_1_1api_1_1IRichPresenceRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0", null ] - ] ], - [ "OnRichPresenceRetrieveFailure", "classgalaxy_1_1api_1_1IRichPresenceRetrieveListener.html#a6fe9f78c1cb04a87327791203143304b", null ], - [ "OnRichPresenceRetrieveSuccess", "classgalaxy_1_1api_1_1IRichPresenceRetrieveListener.html#ac494c03a72aa7ef80392ed30104caa11", null ] - ] ], - [ "IGameJoinRequestedListener", "classgalaxy_1_1api_1_1IGameJoinRequestedListener.html", [ - [ "OnGameJoinRequested", "classgalaxy_1_1api_1_1IGameJoinRequestedListener.html#a78819865eeb26db1e3d53d53f78c5cf3", null ] - ] ], - [ "IGameInvitationReceivedListener", "classgalaxy_1_1api_1_1IGameInvitationReceivedListener.html", [ - [ "OnGameInvitationReceived", "classgalaxy_1_1api_1_1IGameInvitationReceivedListener.html#a673c42fb998da553ec8397bd230a809a", null ] - ] ], - [ "ISendInvitationListener", "classgalaxy_1_1api_1_1ISendInvitationListener.html", [ - [ "FailureReason", "classgalaxy_1_1api_1_1ISendInvitationListener.html#a2e1fab5fc244b0783172514baec21a6e", [ - [ "FAILURE_REASON_UNDEFINED", "classgalaxy_1_1api_1_1ISendInvitationListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39", null ], - [ "FAILURE_REASON_USER_DOES_NOT_EXIST", "classgalaxy_1_1api_1_1ISendInvitationListener.html#a2e1fab5fc244b0783172514baec21a6eaa7fdbf5fd0f8fb915cd270eaf4dee431", null ], - [ "FAILURE_REASON_RECEIVER_DOES_NOT_ALLOW_INVITING", "classgalaxy_1_1api_1_1ISendInvitationListener.html#a2e1fab5fc244b0783172514baec21a6ea2d07a59b06b2000f02c8122509cdc41f", null ], - [ "FAILURE_REASON_SENDER_DOES_NOT_ALLOW_INVITING", "classgalaxy_1_1api_1_1ISendInvitationListener.html#a2e1fab5fc244b0783172514baec21a6ead6c9cfbb428609b302e2e6d3ca401a5b", null ], - [ "FAILURE_REASON_RECEIVER_BLOCKED", "classgalaxy_1_1api_1_1ISendInvitationListener.html#a2e1fab5fc244b0783172514baec21a6ea4afc4feb156c1277318d40ef8d43f8bf", null ], - [ "FAILURE_REASON_SENDER_BLOCKED", "classgalaxy_1_1api_1_1ISendInvitationListener.html#a2e1fab5fc244b0783172514baec21a6ea24759fa13b642cae2eda00c5fcfe2cfc", null ], - [ "FAILURE_REASON_CONNECTION_FAILURE", "classgalaxy_1_1api_1_1ISendInvitationListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0", null ] - ] ], - [ "OnInvitationSendFailure", "classgalaxy_1_1api_1_1ISendInvitationListener.html#a81583609c907c7fd1a341ad56c852fe5", null ], - [ "OnInvitationSendSuccess", "classgalaxy_1_1api_1_1ISendInvitationListener.html#ab4497ece9b9aba93c62aee0adf770215", null ] - ] ], - [ "IUserFindListener", "classgalaxy_1_1api_1_1IUserFindListener.html", [ - [ "FailureReason", "classgalaxy_1_1api_1_1IUserFindListener.html#a2e1fab5fc244b0783172514baec21a6e", [ - [ "FAILURE_REASON_UNDEFINED", "classgalaxy_1_1api_1_1IUserFindListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39", null ], - [ "FAILURE_REASON_USER_NOT_FOUND", "classgalaxy_1_1api_1_1IUserFindListener.html#a2e1fab5fc244b0783172514baec21a6eaa3872a391409543312c44443abd5df02", null ], - [ "FAILURE_REASON_CONNECTION_FAILURE", "classgalaxy_1_1api_1_1IUserFindListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0", null ] - ] ], - [ "OnUserFindFailure", "classgalaxy_1_1api_1_1IUserFindListener.html#a7a0b27d51b23a712dcb55963e5b294e9", null ], - [ "OnUserFindSuccess", "classgalaxy_1_1api_1_1IUserFindListener.html#ab37abd921a121ffdea4b8c53e020fc91", null ] - ] ], - [ "IFriends", "classgalaxy_1_1api_1_1IFriends.html", [ - [ "~IFriends", "classgalaxy_1_1api_1_1IFriends.html#a761cc2cc9d19afe28cdfb917ea6099e6", null ], - [ "ClearRichPresence", "classgalaxy_1_1api_1_1IFriends.html#ac4b3d7eb07d7d866e70c0770cc65ec3a", null ], - [ "DeleteFriend", "classgalaxy_1_1api_1_1IFriends.html#aabd02b47cc7208c8696fa1c04419dec7", null ], - [ "DeleteRichPresence", "classgalaxy_1_1api_1_1IFriends.html#a9ca5e270bac21300630ae985c9ef690d", null ], - [ "FindUser", "classgalaxy_1_1api_1_1IFriends.html#af56e4546f048ca3a6467fc03f5ec2448", null ], - [ "GetDefaultAvatarCriteria", "classgalaxy_1_1api_1_1IFriends.html#a93b549c9c37936bb2cbb4118140f5659", null ], - [ "GetFriendAvatarImageID", "classgalaxy_1_1api_1_1IFriends.html#afe0b4900cac6d973562d027a4fcaa33a", null ], - [ "GetFriendAvatarImageRGBA", "classgalaxy_1_1api_1_1IFriends.html#a092e51d912ad94d9c9ef2617f61c82ec", null ], - [ "GetFriendAvatarUrl", "classgalaxy_1_1api_1_1IFriends.html#a4fe15f4be55cf030e12018134a281591", null ], - [ "GetFriendAvatarUrlCopy", "classgalaxy_1_1api_1_1IFriends.html#aac64a5c1bc9789f18763d4a29eeb172f", null ], - [ "GetFriendByIndex", "classgalaxy_1_1api_1_1IFriends.html#a07746daaec828d1d9f1e67e4ff00a02d", null ], - [ "GetFriendCount", "classgalaxy_1_1api_1_1IFriends.html#a8c7db81fe693c4fb8ed9bf1420393cbb", null ], - [ "GetFriendInvitationByIndex", "classgalaxy_1_1api_1_1IFriends.html#a85682fcdbf3fecf223113e718aa604bf", null ], - [ "GetFriendInvitationCount", "classgalaxy_1_1api_1_1IFriends.html#af98fa5e1e14d1535e3a777fa85d5ed0e", null ], - [ "GetFriendPersonaName", "classgalaxy_1_1api_1_1IFriends.html#aae6d3e6af5bde578b04379cf324b30c5", null ], - [ "GetFriendPersonaNameCopy", "classgalaxy_1_1api_1_1IFriends.html#a136fe72f661d2dff7e01708f53e3bed6", null ], - [ "GetFriendPersonaState", "classgalaxy_1_1api_1_1IFriends.html#a880dc8d200130ff11f8705595980d91e", null ], - [ "GetPersonaName", "classgalaxy_1_1api_1_1IFriends.html#a3341601932e0f6e14874bb9312c09c1a", null ], - [ "GetPersonaNameCopy", "classgalaxy_1_1api_1_1IFriends.html#adfe6d1abdf9dabc36bc01714cbdf98b4", null ], - [ "GetPersonaState", "classgalaxy_1_1api_1_1IFriends.html#abc51e9c251c4428f1dc3eb403e066876", null ], - [ "GetRichPresence", "classgalaxy_1_1api_1_1IFriends.html#af7d644d840aaeff4eacef1ea74838433", null ], - [ "GetRichPresenceByIndex", "classgalaxy_1_1api_1_1IFriends.html#a714a0b7a4497cc3904a970d19a03e403", null ], - [ "GetRichPresenceCopy", "classgalaxy_1_1api_1_1IFriends.html#a661d5d43361d708d1ed3e2e57c75315f", null ], - [ "GetRichPresenceCount", "classgalaxy_1_1api_1_1IFriends.html#acdb3c067632075d4ba00ab9276981e54", null ], - [ "IsFriend", "classgalaxy_1_1api_1_1IFriends.html#a559f639ae99def14b9ce220464806693", null ], - [ "IsFriendAvatarImageRGBAAvailable", "classgalaxy_1_1api_1_1IFriends.html#aa448e4ca7b496850b24a6c7b430cd78b", null ], - [ "IsUserInformationAvailable", "classgalaxy_1_1api_1_1IFriends.html#a0fc2d00c82e5ea7d62b45508f9c66a82", null ], - [ "IsUserInTheSameGame", "classgalaxy_1_1api_1_1IFriends.html#a71854226dc4df803e73710e9d4231b69", null ], - [ "RequestFriendInvitationList", "classgalaxy_1_1api_1_1IFriends.html#aa07f371ce5b0ac7d5ccf33cf7d8f64ed", null ], - [ "RequestFriendList", "classgalaxy_1_1api_1_1IFriends.html#aa648d323f3f798bbadd745bea13fc3b5", null ], - [ "RequestRichPresence", "classgalaxy_1_1api_1_1IFriends.html#a5a3458c1a79eb77463a60278ef7a0b5d", null ], - [ "RequestSentFriendInvitationList", "classgalaxy_1_1api_1_1IFriends.html#a0523aacfc83c27deaf54c0ec9e574816", null ], - [ "RequestUserInformation", "classgalaxy_1_1api_1_1IFriends.html#a4692fc9d422740da258c351a2b709526", null ], - [ "RespondToFriendInvitation", "classgalaxy_1_1api_1_1IFriends.html#a1cf1b3f618b06aaf3b00864d854b3fc6", null ], - [ "SendFriendInvitation", "classgalaxy_1_1api_1_1IFriends.html#ac84396e28dc5a3c8d665f705ace6218e", null ], - [ "SendInvitation", "classgalaxy_1_1api_1_1IFriends.html#aefdc41edcd24ebbf88bfb25520a47397", null ], - [ "SetDefaultAvatarCriteria", "classgalaxy_1_1api_1_1IFriends.html#ae9172d7880741f6dc87f9f02ff018574", null ], - [ "SetRichPresence", "classgalaxy_1_1api_1_1IFriends.html#a73b14bf3df9d70a74eba89d5553a8241", null ], - [ "ShowOverlayInviteDialog", "classgalaxy_1_1api_1_1IFriends.html#ae589d534ed8846319e3a4d2f72d3c51a", null ] - ] ], - [ "IGalaxyListener", "classgalaxy_1_1api_1_1IGalaxyListener.html", [ - [ "~IGalaxyListener", "classgalaxy_1_1api_1_1IGalaxyListener.html#ad7d919e10df58a661138475032008085", null ] - ] ], - [ "GalaxyTypeAwareListener", "classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html", [ - [ "GetListenerType", "classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html#aa9f47838e0408f2717d7a15f72228f44", null ] - ] ], - [ "IListenerRegistrar", "classgalaxy_1_1api_1_1IListenerRegistrar.html", [ - [ "~IListenerRegistrar", "classgalaxy_1_1api_1_1IListenerRegistrar.html#a15d41175e84b107ebaeb625a365a46a3", null ], - [ "Register", "classgalaxy_1_1api_1_1IListenerRegistrar.html#a9672d896a93300ab681718d6a5c8f529", null ], - [ "Unregister", "classgalaxy_1_1api_1_1IListenerRegistrar.html#a12efe4237c46626606669fc2f22113bb", null ] - ] ], - [ "SelfRegisteringListener", "classgalaxy_1_1api_1_1SelfRegisteringListener.html", [ - [ "SelfRegisteringListener", "classgalaxy_1_1api_1_1SelfRegisteringListener.html#a13cb637c90dbe6d25749d600e467cba8", null ], - [ "~SelfRegisteringListener", "classgalaxy_1_1api_1_1SelfRegisteringListener.html#a84fc934a5cac7d63e6355e8b51800c5b", null ] - ] ], - [ "ILogger", "classgalaxy_1_1api_1_1ILogger.html", [ - [ "~ILogger", "classgalaxy_1_1api_1_1ILogger.html#a61cb5612fcaa9eb33f7077833e0517dc", null ], - [ "Debug", "classgalaxy_1_1api_1_1ILogger.html#a2576db3f8fc28842d624c02175af2eb8", null ], - [ "Error", "classgalaxy_1_1api_1_1ILogger.html#a8019dc6a7edbf285ab91d6b058b93d42", null ], - [ "Fatal", "classgalaxy_1_1api_1_1ILogger.html#a9f845ab48be230fa39be75c73ad5c8ec", null ], - [ "Info", "classgalaxy_1_1api_1_1ILogger.html#a48787fd7db790bcebfcb1f881a822229", null ], - [ "Trace", "classgalaxy_1_1api_1_1ILogger.html#a2f884acd20718a6751ec1840c7fc0c3f", null ], - [ "Warning", "classgalaxy_1_1api_1_1ILogger.html#ad8294a3f478bb0e03f96f9bee6976920", null ] - ] ], - [ "ILobbyListListener", "classgalaxy_1_1api_1_1ILobbyListListener.html", [ - [ "OnLobbyList", "classgalaxy_1_1api_1_1ILobbyListListener.html#a95e2555359b52d867ca6e2338cbcafcf", null ] - ] ], - [ "ILobbyCreatedListener", "classgalaxy_1_1api_1_1ILobbyCreatedListener.html", [ - [ "OnLobbyCreated", "classgalaxy_1_1api_1_1ILobbyCreatedListener.html#a47fc589a8aeded491c5e7afcf9641d1f", null ] - ] ], - [ "ILobbyEnteredListener", "classgalaxy_1_1api_1_1ILobbyEnteredListener.html", [ - [ "OnLobbyEntered", "classgalaxy_1_1api_1_1ILobbyEnteredListener.html#a6031d49f0d56094761deac38ca7a8460", null ] - ] ], - [ "ILobbyLeftListener", "classgalaxy_1_1api_1_1ILobbyLeftListener.html", [ - [ "LobbyLeaveReason", "classgalaxy_1_1api_1_1ILobbyLeftListener.html#a47f45bc710b2a54713190fe298784ad2", [ - [ "LOBBY_LEAVE_REASON_UNDEFINED", "classgalaxy_1_1api_1_1ILobbyLeftListener.html#a47f45bc710b2a54713190fe298784ad2a6070b2697b7c0e6f2646ca763b256513", null ], - [ "LOBBY_LEAVE_REASON_USER_LEFT", "classgalaxy_1_1api_1_1ILobbyLeftListener.html#a47f45bc710b2a54713190fe298784ad2adb3c59b9e3d120fa6aba361e8d67d1c1", null ], - [ "LOBBY_LEAVE_REASON_LOBBY_CLOSED", "classgalaxy_1_1api_1_1ILobbyLeftListener.html#a47f45bc710b2a54713190fe298784ad2ae4bc91d153942bdfe568aae8379c0747", null ], - [ "LOBBY_LEAVE_REASON_CONNECTION_LOST", "classgalaxy_1_1api_1_1ILobbyLeftListener.html#a47f45bc710b2a54713190fe298784ad2a4a16b2972e1ab9c0ff5056e1fdc54db2", null ] - ] ], - [ "OnLobbyLeft", "classgalaxy_1_1api_1_1ILobbyLeftListener.html#a9bad9ee60861636ee6e710f44910d450", null ] - ] ], - [ "ILobbyDataListener", "classgalaxy_1_1api_1_1ILobbyDataListener.html", [ - [ "OnLobbyDataUpdated", "classgalaxy_1_1api_1_1ILobbyDataListener.html#a1dc57c5cd1fca408a3752cd0c2bbbebc", null ] - ] ], - [ "ILobbyDataUpdateListener", "classgalaxy_1_1api_1_1ILobbyDataUpdateListener.html", [ - [ "FailureReason", "classgalaxy_1_1api_1_1ILobbyDataUpdateListener.html#a2e1fab5fc244b0783172514baec21a6e", [ - [ "FAILURE_REASON_UNDEFINED", "classgalaxy_1_1api_1_1ILobbyDataUpdateListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39", null ], - [ "FAILURE_REASON_LOBBY_DOES_NOT_EXIST", "classgalaxy_1_1api_1_1ILobbyDataUpdateListener.html#a2e1fab5fc244b0783172514baec21a6ea6e9ef4e4fbd09f5734790f71e9d6e97c", null ], - [ "FAILURE_REASON_CONNECTION_FAILURE", "classgalaxy_1_1api_1_1ILobbyDataUpdateListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0", null ] - ] ], - [ "OnLobbyDataUpdateFailure", "classgalaxy_1_1api_1_1ILobbyDataUpdateListener.html#a149a668522af870cb1ed061e848ca209", null ], - [ "OnLobbyDataUpdateSuccess", "classgalaxy_1_1api_1_1ILobbyDataUpdateListener.html#a29f949881d51c39627d2063ce03647a1", null ] - ] ], - [ "ILobbyMemberDataUpdateListener", "classgalaxy_1_1api_1_1ILobbyMemberDataUpdateListener.html", [ - [ "FailureReason", "classgalaxy_1_1api_1_1ILobbyMemberDataUpdateListener.html#a2e1fab5fc244b0783172514baec21a6e", [ - [ "FAILURE_REASON_UNDEFINED", "classgalaxy_1_1api_1_1ILobbyMemberDataUpdateListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39", null ], - [ "FAILURE_REASON_LOBBY_DOES_NOT_EXIST", "classgalaxy_1_1api_1_1ILobbyMemberDataUpdateListener.html#a2e1fab5fc244b0783172514baec21a6ea6e9ef4e4fbd09f5734790f71e9d6e97c", null ], - [ "FAILURE_REASON_CONNECTION_FAILURE", "classgalaxy_1_1api_1_1ILobbyMemberDataUpdateListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0", null ] - ] ], - [ "OnLobbyMemberDataUpdateFailure", "classgalaxy_1_1api_1_1ILobbyMemberDataUpdateListener.html#ae0cb87451b2602ed7a41ecceb308df96", null ], - [ "OnLobbyMemberDataUpdateSuccess", "classgalaxy_1_1api_1_1ILobbyMemberDataUpdateListener.html#abdf4b48e9f7c421f8ae044cf07338d23", null ] - ] ], - [ "ILobbyDataRetrieveListener", "classgalaxy_1_1api_1_1ILobbyDataRetrieveListener.html", [ - [ "FailureReason", "classgalaxy_1_1api_1_1ILobbyDataRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6e", [ - [ "FAILURE_REASON_UNDEFINED", "classgalaxy_1_1api_1_1ILobbyDataRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39", null ], - [ "FAILURE_REASON_LOBBY_DOES_NOT_EXIST", "classgalaxy_1_1api_1_1ILobbyDataRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6ea6e9ef4e4fbd09f5734790f71e9d6e97c", null ], - [ "FAILURE_REASON_CONNECTION_FAILURE", "classgalaxy_1_1api_1_1ILobbyDataRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0", null ] - ] ], - [ "OnLobbyDataRetrieveFailure", "classgalaxy_1_1api_1_1ILobbyDataRetrieveListener.html#af8d58a649d3b6f61e2e4cb0644c849a4", null ], - [ "OnLobbyDataRetrieveSuccess", "classgalaxy_1_1api_1_1ILobbyDataRetrieveListener.html#af7e26db1c50ccf070b2378a5b78cda7c", null ] - ] ], - [ "ILobbyMemberStateListener", "classgalaxy_1_1api_1_1ILobbyMemberStateListener.html", [ - [ "OnLobbyMemberStateChanged", "classgalaxy_1_1api_1_1ILobbyMemberStateListener.html#a6800dd47f89e3c03e230bd31fa87023e", null ] - ] ], - [ "ILobbyOwnerChangeListener", "classgalaxy_1_1api_1_1ILobbyOwnerChangeListener.html", [ - [ "OnLobbyOwnerChanged", "classgalaxy_1_1api_1_1ILobbyOwnerChangeListener.html#a7a9300e96fb1276b47c486181abedec8", null ] - ] ], - [ "ILobbyMessageListener", "classgalaxy_1_1api_1_1ILobbyMessageListener.html", [ - [ "OnLobbyMessageReceived", "classgalaxy_1_1api_1_1ILobbyMessageListener.html#aa31d9ad7d79a3ab5e0b9b18cdb16976a", null ] - ] ], - [ "IMatchmaking", "classgalaxy_1_1api_1_1IMatchmaking.html", [ - [ "~IMatchmaking", "classgalaxy_1_1api_1_1IMatchmaking.html#a4984fac2f626363ee119256d5e361ec2", null ], - [ "AddRequestLobbyListNearValueFilter", "classgalaxy_1_1api_1_1IMatchmaking.html#af8fd83c5ee487eca6862e2b8f5d3fc73", null ], - [ "AddRequestLobbyListNumericalFilter", "classgalaxy_1_1api_1_1IMatchmaking.html#a3fd3d34a2cccaf9bfe237418ab368329", null ], - [ "AddRequestLobbyListResultCountFilter", "classgalaxy_1_1api_1_1IMatchmaking.html#ad8b19c6d5c86194b90c01c1d14ba3ef7", null ], - [ "AddRequestLobbyListStringFilter", "classgalaxy_1_1api_1_1IMatchmaking.html#a04440a136415d4c6f5272c9cca52b56e", null ], - [ "CreateLobby", "classgalaxy_1_1api_1_1IMatchmaking.html#a092de26b8b91e450552a12494dce4644", null ], - [ "DeleteLobbyData", "classgalaxy_1_1api_1_1IMatchmaking.html#a4f413410b728855d1d1a9e400d3ac259", null ], - [ "DeleteLobbyMemberData", "classgalaxy_1_1api_1_1IMatchmaking.html#ab43f4d563799e071ba889c36b8db81ce", null ], - [ "GetLobbyByIndex", "classgalaxy_1_1api_1_1IMatchmaking.html#aec7feb30e61e3ad6b606b23649c56cc2", null ], - [ "GetLobbyData", "classgalaxy_1_1api_1_1IMatchmaking.html#a9f5a411d64cf35ad1ed6c87d7f5b465b", null ], - [ "GetLobbyDataByIndex", "classgalaxy_1_1api_1_1IMatchmaking.html#a81176ccf6d66aa5b2af62695e4abb3e4", null ], - [ "GetLobbyDataCopy", "classgalaxy_1_1api_1_1IMatchmaking.html#a11e88cacb3f95d38ff5622976ef2a5fa", null ], - [ "GetLobbyDataCount", "classgalaxy_1_1api_1_1IMatchmaking.html#a80ab767663908892e6d442a079dcdff9", null ], - [ "GetLobbyMemberByIndex", "classgalaxy_1_1api_1_1IMatchmaking.html#a7d4cc75cea4a211d399f3bd37b870ccd", null ], - [ "GetLobbyMemberData", "classgalaxy_1_1api_1_1IMatchmaking.html#acfc05eaa67dd8dbd90d3ad78af014aa2", null ], - [ "GetLobbyMemberDataByIndex", "classgalaxy_1_1api_1_1IMatchmaking.html#acc583230e2b8352f4cffc2bc91d367b7", null ], - [ "GetLobbyMemberDataCopy", "classgalaxy_1_1api_1_1IMatchmaking.html#aa2f5e017878bc9b65379832cbb578af5", null ], - [ "GetLobbyMemberDataCount", "classgalaxy_1_1api_1_1IMatchmaking.html#ae126e8b323d66e6433fa5424aab85e22", null ], - [ "GetLobbyMessage", "classgalaxy_1_1api_1_1IMatchmaking.html#a372290fa1405296bae96afe7476e1147", null ], - [ "GetLobbyOwner", "classgalaxy_1_1api_1_1IMatchmaking.html#ab70f27b6307243a8d3054cb39efc0789", null ], - [ "GetLobbyType", "classgalaxy_1_1api_1_1IMatchmaking.html#a70af013e7dfa5b40d44520c6f9cd41d2", null ], - [ "GetMaxNumLobbyMembers", "classgalaxy_1_1api_1_1IMatchmaking.html#a8007909a1e97a3f026546481f0e06c12", null ], - [ "GetNumLobbyMembers", "classgalaxy_1_1api_1_1IMatchmaking.html#a3afa0810758ebfd189ad6c871d216b4d", null ], - [ "IsLobbyJoinable", "classgalaxy_1_1api_1_1IMatchmaking.html#a85ad3a098cc95e8e6adeef88712cdc77", null ], - [ "JoinLobby", "classgalaxy_1_1api_1_1IMatchmaking.html#a809b3d5508a63bd183bcd72682ce7113", null ], - [ "LeaveLobby", "classgalaxy_1_1api_1_1IMatchmaking.html#a96dfce0b1e35fdc46f61eadaa9639f49", null ], - [ "RequestLobbyData", "classgalaxy_1_1api_1_1IMatchmaking.html#a26d24d194a26e7596ee00b7866c8f244", null ], - [ "RequestLobbyList", "classgalaxy_1_1api_1_1IMatchmaking.html#a3968e89f7989f0271c795bde7f894cd5", null ], - [ "SendLobbyMessage", "classgalaxy_1_1api_1_1IMatchmaking.html#a61228fc0b2683c365e3993b251814ac5", null ], - [ "SetLobbyData", "classgalaxy_1_1api_1_1IMatchmaking.html#a665683ee5377f48f6a10e57be41d35bd", null ], - [ "SetLobbyJoinable", "classgalaxy_1_1api_1_1IMatchmaking.html#a1b2e04c42a169da9deb5969704b67a85", null ], - [ "SetLobbyMemberData", "classgalaxy_1_1api_1_1IMatchmaking.html#a6e261274b1b12773851ca54be7a3ac04", null ], - [ "SetLobbyType", "classgalaxy_1_1api_1_1IMatchmaking.html#ab7e0c34b0df5814515506dcbfcb894c0", null ], - [ "SetMaxNumLobbyMembers", "classgalaxy_1_1api_1_1IMatchmaking.html#acbb790062f8185019e409918a8029a7c", null ] - ] ], - [ "INetworkingListener", "classgalaxy_1_1api_1_1INetworkingListener.html", [ - [ "OnP2PPacketAvailable", "classgalaxy_1_1api_1_1INetworkingListener.html#afa7df957063fe159e005566be01b0886", null ] - ] ], - [ "INatTypeDetectionListener", "classgalaxy_1_1api_1_1INatTypeDetectionListener.html", [ - [ "OnNatTypeDetectionFailure", "classgalaxy_1_1api_1_1INatTypeDetectionListener.html#af40081fd5f73a291b0ff0f83037f1de8", null ], - [ "OnNatTypeDetectionSuccess", "classgalaxy_1_1api_1_1INatTypeDetectionListener.html#abc8873bccaa5e9aaa69295fca4821efc", null ] - ] ], - [ "INetworking", "classgalaxy_1_1api_1_1INetworking.html", [ - [ "~INetworking", "classgalaxy_1_1api_1_1INetworking.html#a307113b1784cd35d28c020c2a85d70ba", null ], - [ "GetConnectionType", "classgalaxy_1_1api_1_1INetworking.html#ac4786da1e56445c29cafe94c29b86185", null ], - [ "GetNatType", "classgalaxy_1_1api_1_1INetworking.html#aec50077fbe5a927028a1bffcb8bca52a", null ], - [ "GetPingWith", "classgalaxy_1_1api_1_1INetworking.html#a8949164f11b2f956fd0e4e1f1f8d1eb5", null ], - [ "IsP2PPacketAvailable", "classgalaxy_1_1api_1_1INetworking.html#aebff94c689ad6ad987b24f430a456677", null ], - [ "PeekP2PPacket", "classgalaxy_1_1api_1_1INetworking.html#ae17ea8db06874f4f48d72aa747e843b8", null ], - [ "PopP2PPacket", "classgalaxy_1_1api_1_1INetworking.html#aa7fbf9ee962869cdcdd6d356b1804dc2", null ], - [ "ReadP2PPacket", "classgalaxy_1_1api_1_1INetworking.html#a1c902bc6fbdf52a79a396c642f43bb22", null ], - [ "RequestNatTypeDetection", "classgalaxy_1_1api_1_1INetworking.html#a51aacf39969e92ca4acff9dd240cff0e", null ], - [ "SendP2PPacket", "classgalaxy_1_1api_1_1INetworking.html#a1fa6f25d0cbd7337ffacea9ffc9032ad", null ] - ] ], - [ "InitOptions", "structgalaxy_1_1api_1_1InitOptions.html", [ - [ "InitOptions", "structgalaxy_1_1api_1_1InitOptions.html#a9eb94ef2ab0d1efc42863fccb60ec5f5", null ], - [ "clientID", "structgalaxy_1_1api_1_1InitOptions.html#a8f49f435adc17c7e890b923379247887", null ], - [ "clientSecret", "structgalaxy_1_1api_1_1InitOptions.html#a80dad9ee175657a8fa58f56e60469f4e", null ], - [ "configFilePath", "structgalaxy_1_1api_1_1InitOptions.html#ad7e306ad4d8cfef5a438cc0863e169d7", null ], - [ "galaxyAllocator", "structgalaxy_1_1api_1_1InitOptions.html#a62f785f7596efd24dba4929a2084c790", null ], - [ "galaxyThreadFactory", "structgalaxy_1_1api_1_1InitOptions.html#aa8130027e13b1e6b9bd5047cde1612b1", null ], - [ "host", "structgalaxy_1_1api_1_1InitOptions.html#ae032e164f1daa754d6fbb79d59723931", null ], - [ "port", "structgalaxy_1_1api_1_1InitOptions.html#a8e0798404bf2cf5dabb84c5ba9a4f236", null ], - [ "storagePath", "structgalaxy_1_1api_1_1InitOptions.html#a519bf06473052bd150ef238ddccdcde9", null ] - ] ], - [ "IUserStatsAndAchievementsRetrieveListener", "classgalaxy_1_1api_1_1IUserStatsAndAchievementsRetrieveListener.html", [ - [ "FailureReason", "classgalaxy_1_1api_1_1IUserStatsAndAchievementsRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6e", [ - [ "FAILURE_REASON_UNDEFINED", "classgalaxy_1_1api_1_1IUserStatsAndAchievementsRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39", null ], - [ "FAILURE_REASON_CONNECTION_FAILURE", "classgalaxy_1_1api_1_1IUserStatsAndAchievementsRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0", null ] - ] ], - [ "OnUserStatsAndAchievementsRetrieveFailure", "classgalaxy_1_1api_1_1IUserStatsAndAchievementsRetrieveListener.html#a39b89de2cb647c042d3e146e4886e0d7", null ], - [ "OnUserStatsAndAchievementsRetrieveSuccess", "classgalaxy_1_1api_1_1IUserStatsAndAchievementsRetrieveListener.html#a7971fc05ee5ca58b53ed691be56ffae0", null ] - ] ], - [ "IStatsAndAchievementsStoreListener", "classgalaxy_1_1api_1_1IStatsAndAchievementsStoreListener.html", [ - [ "FailureReason", "classgalaxy_1_1api_1_1IStatsAndAchievementsStoreListener.html#a2e1fab5fc244b0783172514baec21a6e", [ - [ "FAILURE_REASON_UNDEFINED", "classgalaxy_1_1api_1_1IStatsAndAchievementsStoreListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39", null ], - [ "FAILURE_REASON_CONNECTION_FAILURE", "classgalaxy_1_1api_1_1IStatsAndAchievementsStoreListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0", null ] - ] ], - [ "OnUserStatsAndAchievementsStoreFailure", "classgalaxy_1_1api_1_1IStatsAndAchievementsStoreListener.html#a24285d1f5582f92213e68ad3ac97f061", null ], - [ "OnUserStatsAndAchievementsStoreSuccess", "classgalaxy_1_1api_1_1IStatsAndAchievementsStoreListener.html#a63c77ca57cee4a6f564158ec1c03f7f1", null ] - ] ], - [ "IAchievementChangeListener", "classgalaxy_1_1api_1_1IAchievementChangeListener.html", [ - [ "OnAchievementUnlocked", "classgalaxy_1_1api_1_1IAchievementChangeListener.html#a0c2290aab40bc3d2306ce41d813e89f3", null ] - ] ], - [ "ILeaderboardsRetrieveListener", "classgalaxy_1_1api_1_1ILeaderboardsRetrieveListener.html", [ - [ "FailureReason", "classgalaxy_1_1api_1_1ILeaderboardsRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6e", [ - [ "FAILURE_REASON_UNDEFINED", "classgalaxy_1_1api_1_1ILeaderboardsRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39", null ], - [ "FAILURE_REASON_CONNECTION_FAILURE", "classgalaxy_1_1api_1_1ILeaderboardsRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0", null ] - ] ], - [ "OnLeaderboardsRetrieveFailure", "classgalaxy_1_1api_1_1ILeaderboardsRetrieveListener.html#a38cc600b366e5f0ae784167ab3eccb03", null ], - [ "OnLeaderboardsRetrieveSuccess", "classgalaxy_1_1api_1_1ILeaderboardsRetrieveListener.html#a9527b6016861117afe441116221c4668", null ] - ] ], - [ "ILeaderboardEntriesRetrieveListener", "classgalaxy_1_1api_1_1ILeaderboardEntriesRetrieveListener.html", [ - [ "FailureReason", "classgalaxy_1_1api_1_1ILeaderboardEntriesRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6e", [ - [ "FAILURE_REASON_UNDEFINED", "classgalaxy_1_1api_1_1ILeaderboardEntriesRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39", null ], - [ "FAILURE_REASON_NOT_FOUND", "classgalaxy_1_1api_1_1ILeaderboardEntriesRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6ea1757345b21c8d539d78e69d1266a8854", null ], - [ "FAILURE_REASON_CONNECTION_FAILURE", "classgalaxy_1_1api_1_1ILeaderboardEntriesRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0", null ] - ] ], - [ "OnLeaderboardEntriesRetrieveFailure", "classgalaxy_1_1api_1_1ILeaderboardEntriesRetrieveListener.html#aa69003540d3702d8d93016b76df931f2", null ], - [ "OnLeaderboardEntriesRetrieveSuccess", "classgalaxy_1_1api_1_1ILeaderboardEntriesRetrieveListener.html#ac31bd6c12ee1c2b2ea4b7a38c8ebd593", null ] - ] ], - [ "ILeaderboardScoreUpdateListener", "classgalaxy_1_1api_1_1ILeaderboardScoreUpdateListener.html", [ - [ "FailureReason", "classgalaxy_1_1api_1_1ILeaderboardScoreUpdateListener.html#a2e1fab5fc244b0783172514baec21a6e", [ - [ "FAILURE_REASON_UNDEFINED", "classgalaxy_1_1api_1_1ILeaderboardScoreUpdateListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39", null ], - [ "FAILURE_REASON_NO_IMPROVEMENT", "classgalaxy_1_1api_1_1ILeaderboardScoreUpdateListener.html#a2e1fab5fc244b0783172514baec21a6eaceb48ff7593713d35ec069494e299f19", null ], - [ "FAILURE_REASON_CONNECTION_FAILURE", "classgalaxy_1_1api_1_1ILeaderboardScoreUpdateListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0", null ] - ] ], - [ "OnLeaderboardScoreUpdateFailure", "classgalaxy_1_1api_1_1ILeaderboardScoreUpdateListener.html#adeb4ae48a27254492eb93b9319bc5cb7", null ], - [ "OnLeaderboardScoreUpdateSuccess", "classgalaxy_1_1api_1_1ILeaderboardScoreUpdateListener.html#aa1f80d6a174a445c2ae14e1cd5a01214", null ] - ] ], - [ "ILeaderboardRetrieveListener", "classgalaxy_1_1api_1_1ILeaderboardRetrieveListener.html", [ - [ "FailureReason", "classgalaxy_1_1api_1_1ILeaderboardRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6e", [ - [ "FAILURE_REASON_UNDEFINED", "classgalaxy_1_1api_1_1ILeaderboardRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39", null ], - [ "FAILURE_REASON_CONNECTION_FAILURE", "classgalaxy_1_1api_1_1ILeaderboardRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0", null ] - ] ], - [ "OnLeaderboardRetrieveFailure", "classgalaxy_1_1api_1_1ILeaderboardRetrieveListener.html#af7fa4c2ef5d3b9d1b77718a05e9cbdda", null ], - [ "OnLeaderboardRetrieveSuccess", "classgalaxy_1_1api_1_1ILeaderboardRetrieveListener.html#a565a53daee664b5104c29cbb37a3f1b8", null ] - ] ], - [ "IUserTimePlayedRetrieveListener", "classgalaxy_1_1api_1_1IUserTimePlayedRetrieveListener.html", [ - [ "FailureReason", "classgalaxy_1_1api_1_1IUserTimePlayedRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6e", [ - [ "FAILURE_REASON_UNDEFINED", "classgalaxy_1_1api_1_1IUserTimePlayedRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39", null ], - [ "FAILURE_REASON_CONNECTION_FAILURE", "classgalaxy_1_1api_1_1IUserTimePlayedRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0", null ] - ] ], - [ "OnUserTimePlayedRetrieveFailure", "classgalaxy_1_1api_1_1IUserTimePlayedRetrieveListener.html#a946872ff0706541dfc2a70a498f87f48", null ], - [ "OnUserTimePlayedRetrieveSuccess", "classgalaxy_1_1api_1_1IUserTimePlayedRetrieveListener.html#a78acf90057c9434615627a869f6a002a", null ] - ] ], - [ "IStats", "classgalaxy_1_1api_1_1IStats.html", [ - [ "~IStats", "classgalaxy_1_1api_1_1IStats.html#a0f4ef3e998e676d7ee13b3534985f713", null ], - [ "ClearAchievement", "classgalaxy_1_1api_1_1IStats.html#adef56fea6b98328144d7c61b69233b68", null ], - [ "FindLeaderboard", "classgalaxy_1_1api_1_1IStats.html#ace79a09f5cc55acdc502b9251cdb0898", null ], - [ "FindOrCreateLeaderboard", "classgalaxy_1_1api_1_1IStats.html#a1854172caa8de815218a0c44e2d04d8c", null ], - [ "GetAchievement", "classgalaxy_1_1api_1_1IStats.html#a4c38e91a161d4097215cfa0f3167ed58", null ], - [ "GetAchievementDescription", "classgalaxy_1_1api_1_1IStats.html#a766ea6f3667b08da01de7fdb2e16a378", null ], - [ "GetAchievementDescriptionCopy", "classgalaxy_1_1api_1_1IStats.html#a2d946793c6c51957e9f8183280809503", null ], - [ "GetAchievementDisplayName", "classgalaxy_1_1api_1_1IStats.html#afc6ab1ea447fefc02a4b3fd0b3f4a630", null ], - [ "GetAchievementDisplayNameCopy", "classgalaxy_1_1api_1_1IStats.html#af31e1040a95f89b70f87e84f3ca510fb", null ], - [ "GetLeaderboardDisplayName", "classgalaxy_1_1api_1_1IStats.html#aeb8ad13b648b02f2ad6f8afd3658e40e", null ], - [ "GetLeaderboardDisplayNameCopy", "classgalaxy_1_1api_1_1IStats.html#af9b3abfcc55395e59e6695a3825e3dcd", null ], - [ "GetLeaderboardDisplayType", "classgalaxy_1_1api_1_1IStats.html#a6e3db56a07e5c333b0bc011e1982cd15", null ], - [ "GetLeaderboardEntryCount", "classgalaxy_1_1api_1_1IStats.html#a7824b3508a71c3dfa1727d5720430589", null ], - [ "GetLeaderboardSortMethod", "classgalaxy_1_1api_1_1IStats.html#a1ab3329a34f670415ac45dbea6bc5e1d", null ], - [ "GetRequestedLeaderboardEntry", "classgalaxy_1_1api_1_1IStats.html#a2a83a60778dafd8375aa7c477d9f7bff", null ], - [ "GetRequestedLeaderboardEntryWithDetails", "classgalaxy_1_1api_1_1IStats.html#ab76b8431bd7f2ef75022a54ad704dbfd", null ], - [ "GetStatFloat", "classgalaxy_1_1api_1_1IStats.html#a4949fc4f78cf0292dca401f6411fab5b", null ], - [ "GetStatInt", "classgalaxy_1_1api_1_1IStats.html#a5a40b3ae1cd2d0cb0b8cf1f54bb8b759", null ], - [ "GetUserTimePlayed", "classgalaxy_1_1api_1_1IStats.html#abffc15f858208b1c9272334823ead905", null ], - [ "IsAchievementVisible", "classgalaxy_1_1api_1_1IStats.html#aca68bad66bc4e7c9d87c9984dea052eb", null ], - [ "IsAchievementVisibleWhileLocked", "classgalaxy_1_1api_1_1IStats.html#a23a4ce388c7a4d5f5801225081463019", null ], - [ "RequestLeaderboardEntriesAroundUser", "classgalaxy_1_1api_1_1IStats.html#a1215ca0927c038ed5380d23d1825d92d", null ], - [ "RequestLeaderboardEntriesForUsers", "classgalaxy_1_1api_1_1IStats.html#ac06a171edf21bb4b2b1b73db0d3ba994", null ], - [ "RequestLeaderboardEntriesGlobal", "classgalaxy_1_1api_1_1IStats.html#a8001acf6133977206aae970b04e82433", null ], - [ "RequestLeaderboards", "classgalaxy_1_1api_1_1IStats.html#a7290943ee81882d006239f103d523a1d", null ], - [ "RequestUserStatsAndAchievements", "classgalaxy_1_1api_1_1IStats.html#a38f5c146772f06dfd58c21ca599d7c25", null ], - [ "RequestUserTimePlayed", "classgalaxy_1_1api_1_1IStats.html#a1e3d7b1ea57ea4f65d08b9c47c52af27", null ], - [ "ResetStatsAndAchievements", "classgalaxy_1_1api_1_1IStats.html#a90d371596d2210a5889fc20dc708dc39", null ], - [ "SetAchievement", "classgalaxy_1_1api_1_1IStats.html#aa5f8d8f187ae0870b3a6cb7dd5ab60e5", null ], - [ "SetLeaderboardScore", "classgalaxy_1_1api_1_1IStats.html#a95d5043fc61c941d882f0773225ace35", null ], - [ "SetLeaderboardScoreWithDetails", "classgalaxy_1_1api_1_1IStats.html#a089a1c895fce4fe49a3be6b341edc15c", null ], - [ "SetStatFloat", "classgalaxy_1_1api_1_1IStats.html#ab6e6c0a170b7ffcab82f1718df355814", null ], - [ "SetStatInt", "classgalaxy_1_1api_1_1IStats.html#adefd43488e071c40dc508d38284a1074", null ], - [ "StoreStatsAndAchievements", "classgalaxy_1_1api_1_1IStats.html#a0e7f8f26b1825f6ccfb4dc26482b97ee", null ], - [ "UpdateAvgRateStat", "classgalaxy_1_1api_1_1IStats.html#ac3b5485e260faea00926df1354a38ccc", null ] - ] ], - [ "IFileShareListener", "classgalaxy_1_1api_1_1IFileShareListener.html", [ - [ "FailureReason", "classgalaxy_1_1api_1_1IFileShareListener.html#a2e1fab5fc244b0783172514baec21a6e", [ - [ "FAILURE_REASON_UNDEFINED", "classgalaxy_1_1api_1_1IFileShareListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39", null ], - [ "FAILURE_REASON_CONNECTION_FAILURE", "classgalaxy_1_1api_1_1IFileShareListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0", null ] - ] ], - [ "OnFileShareFailure", "classgalaxy_1_1api_1_1IFileShareListener.html#ae68d17965f0db712dff94593c576ec9a", null ], - [ "OnFileShareSuccess", "classgalaxy_1_1api_1_1IFileShareListener.html#a585daa98f29e962d1d5bf0a4c4bd703e", null ] - ] ], - [ "ISharedFileDownloadListener", "classgalaxy_1_1api_1_1ISharedFileDownloadListener.html", [ - [ "FailureReason", "classgalaxy_1_1api_1_1ISharedFileDownloadListener.html#a2e1fab5fc244b0783172514baec21a6e", [ - [ "FAILURE_REASON_UNDEFINED", "classgalaxy_1_1api_1_1ISharedFileDownloadListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39", null ], - [ "FAILURE_REASON_CONNECTION_FAILURE", "classgalaxy_1_1api_1_1ISharedFileDownloadListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0", null ] - ] ], - [ "OnSharedFileDownloadFailure", "classgalaxy_1_1api_1_1ISharedFileDownloadListener.html#a9308c8f0719c03ee3025aed3f51ede4d", null ], - [ "OnSharedFileDownloadSuccess", "classgalaxy_1_1api_1_1ISharedFileDownloadListener.html#a6ab1bf95a27bb9437f2eb3daff36f98d", null ] - ] ], - [ "IStorage", "classgalaxy_1_1api_1_1IStorage.html", [ - [ "~IStorage", "classgalaxy_1_1api_1_1IStorage.html#ae72678ebbce0d219efd0e78b66af120d", null ], - [ "DownloadSharedFile", "classgalaxy_1_1api_1_1IStorage.html#aabdcf590bfdd6365e82aba4f1f332005", null ], - [ "FileDelete", "classgalaxy_1_1api_1_1IStorage.html#a51d41b83fca88ea99f4efbf8eb821759", null ], - [ "FileExists", "classgalaxy_1_1api_1_1IStorage.html#a3e0e304228ce32f9adf541cebf9c5056", null ], - [ "FileRead", "classgalaxy_1_1api_1_1IStorage.html#acf76533ce14ff9dd852d06e311447ef9", null ], - [ "FileShare", "classgalaxy_1_1api_1_1IStorage.html#a10cfbb334ff48fcb8c9f891adc45ca1d", null ], - [ "FileWrite", "classgalaxy_1_1api_1_1IStorage.html#a1c3179a4741b7e84fe2626a696e9b4df", null ], - [ "GetDownloadedSharedFileByIndex", "classgalaxy_1_1api_1_1IStorage.html#a125d232851e082fefbb19320be248f27", null ], - [ "GetDownloadedSharedFileCount", "classgalaxy_1_1api_1_1IStorage.html#ae8d18b49e528f976f733557c54a75ef2", null ], - [ "GetFileCount", "classgalaxy_1_1api_1_1IStorage.html#a17310a285edce9efbebb58d402380ef8", null ], - [ "GetFileNameByIndex", "classgalaxy_1_1api_1_1IStorage.html#abac455600508afd15e56cbc3b9297c2d", null ], - [ "GetFileNameCopyByIndex", "classgalaxy_1_1api_1_1IStorage.html#a4b16324889bc91da876d07c822e2506a", null ], - [ "GetFileSize", "classgalaxy_1_1api_1_1IStorage.html#aaa5db00c6af8afc0b230bd237a3bdac3", null ], - [ "GetFileTimestamp", "classgalaxy_1_1api_1_1IStorage.html#a978cf0ad929a1b92456978ec2806c9d8", null ], - [ "GetSharedFileName", "classgalaxy_1_1api_1_1IStorage.html#aa5c616ea1b64b7be860dc61d3d467dd3", null ], - [ "GetSharedFileNameCopy", "classgalaxy_1_1api_1_1IStorage.html#aa42aa0a57227db892066c3e948c16e38", null ], - [ "GetSharedFileOwner", "classgalaxy_1_1api_1_1IStorage.html#a96afe47cd5ed635950f15f84b5cd51d3", null ], - [ "GetSharedFileSize", "classgalaxy_1_1api_1_1IStorage.html#af389717a0a383175e17b8821b6e38f44", null ], - [ "SharedFileClose", "classgalaxy_1_1api_1_1IStorage.html#a3f52b2af09c33a746891606b574d4526", null ], - [ "SharedFileRead", "classgalaxy_1_1api_1_1IStorage.html#af4bbf0a1c95571c56b0eca0e5c3e9089", null ] - ] ], - [ "ITelemetryEventSendListener", "classgalaxy_1_1api_1_1ITelemetryEventSendListener.html", [ - [ "FailureReason", "classgalaxy_1_1api_1_1ITelemetryEventSendListener.html#a2e1fab5fc244b0783172514baec21a6e", [ - [ "FAILURE_REASON_UNDEFINED", "classgalaxy_1_1api_1_1ITelemetryEventSendListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39", null ], - [ "FAILURE_REASON_CLIENT_FORBIDDEN", "classgalaxy_1_1api_1_1ITelemetryEventSendListener.html#a2e1fab5fc244b0783172514baec21a6ea7fba7ed642dcdbd0369695993582e872", null ], - [ "FAILURE_REASON_INVALID_DATA", "classgalaxy_1_1api_1_1ITelemetryEventSendListener.html#a2e1fab5fc244b0783172514baec21a6eace58a894eb8fe9f9a3e97f630475ca3a", null ], - [ "FAILURE_REASON_CONNECTION_FAILURE", "classgalaxy_1_1api_1_1ITelemetryEventSendListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0", null ], - [ "FAILURE_REASON_NO_SAMPLING_CLASS_IN_CONFIG", "classgalaxy_1_1api_1_1ITelemetryEventSendListener.html#a2e1fab5fc244b0783172514baec21a6ea86ff39a7adf0a5c2eef68436db4eb9cc", null ], - [ "FAILURE_REASON_SAMPLING_CLASS_FIELD_MISSING", "classgalaxy_1_1api_1_1ITelemetryEventSendListener.html#a2e1fab5fc244b0783172514baec21a6eae1926d3db86e0b3d2d248dde7769755e", null ], - [ "FAILURE_REASON_EVENT_SAMPLED_OUT", "classgalaxy_1_1api_1_1ITelemetryEventSendListener.html#a2e1fab5fc244b0783172514baec21a6ea3d2c601e0008f0c4ecc929feeaa4f58a", null ] - ] ], - [ "OnTelemetryEventSendFailure", "classgalaxy_1_1api_1_1ITelemetryEventSendListener.html#a80164ea4f31e6591804882fff7309ce7", null ], - [ "OnTelemetryEventSendSuccess", "classgalaxy_1_1api_1_1ITelemetryEventSendListener.html#a2458f75178736f5720312a0a8177bdb8", null ] - ] ], - [ "ITelemetry", "classgalaxy_1_1api_1_1ITelemetry.html", [ - [ "~ITelemetry", "classgalaxy_1_1api_1_1ITelemetry.html#a6d59d8c9180466759b0444dc9aa9a5c0", null ], - [ "AddArrayParam", "classgalaxy_1_1api_1_1ITelemetry.html#a07994689bf6a549ae654698dd9c25a0b", null ], - [ "AddBoolParam", "classgalaxy_1_1api_1_1ITelemetry.html#a6e9402df9141078a493f01285a61dae5", null ], - [ "AddFloatParam", "classgalaxy_1_1api_1_1ITelemetry.html#a836a98e4ffc28abd853c6bf24227c4f1", null ], - [ "AddIntParam", "classgalaxy_1_1api_1_1ITelemetry.html#a9bd9baaba76b0b075ae024c94859e244", null ], - [ "AddObjectParam", "classgalaxy_1_1api_1_1ITelemetry.html#a68b7108e87039bf36432c51c01c3879c", null ], - [ "AddStringParam", "classgalaxy_1_1api_1_1ITelemetry.html#adf201bc466f23d5d1c97075d8ac54251", null ], - [ "ClearParams", "classgalaxy_1_1api_1_1ITelemetry.html#aec117a240e2a5d255834044301ef9269", null ], - [ "CloseParam", "classgalaxy_1_1api_1_1ITelemetry.html#a0f87fdc31f540ce3816520fc0d17eb23", null ], - [ "GetVisitID", "classgalaxy_1_1api_1_1ITelemetry.html#a184d85edc455e7c6742e62e3279d35e3", null ], - [ "GetVisitIDCopy", "classgalaxy_1_1api_1_1ITelemetry.html#afce956301c516233bbe752f29a89c420", null ], - [ "ResetVisitID", "classgalaxy_1_1api_1_1ITelemetry.html#a2b73bb788af5434e7bba31c899e999be", null ], - [ "SendAnonymousTelemetryEvent", "classgalaxy_1_1api_1_1ITelemetry.html#ae70ab04b9a5df7039bf76b6b9124d30a", null ], - [ "SendTelemetryEvent", "classgalaxy_1_1api_1_1ITelemetry.html#a902944123196aad4dd33ab6ffa4f33f2", null ], - [ "SetSamplingClass", "classgalaxy_1_1api_1_1ITelemetry.html#a53682759c6c71cc3e46df486de95bd3a", null ] - ] ], - [ "IAuthListener", "classgalaxy_1_1api_1_1IAuthListener.html", [ - [ "FailureReason", "classgalaxy_1_1api_1_1IAuthListener.html#a2e1fab5fc244b0783172514baec21a6e", [ - [ "FAILURE_REASON_UNDEFINED", "classgalaxy_1_1api_1_1IAuthListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39", null ], - [ "FAILURE_REASON_GALAXY_SERVICE_NOT_AVAILABLE", "classgalaxy_1_1api_1_1IAuthListener.html#a2e1fab5fc244b0783172514baec21a6ea1240b0ce8b7f84b6d27510970c06776d", null ], - [ "FAILURE_REASON_GALAXY_SERVICE_NOT_SIGNED_IN", "classgalaxy_1_1api_1_1IAuthListener.html#a2e1fab5fc244b0783172514baec21a6ea27ab7c15c949b5bdac9a72372d48a4e4", null ], - [ "FAILURE_REASON_CONNECTION_FAILURE", "classgalaxy_1_1api_1_1IAuthListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0", null ], - [ "FAILURE_REASON_NO_LICENSE", "classgalaxy_1_1api_1_1IAuthListener.html#a2e1fab5fc244b0783172514baec21a6eaf5553255a42a2b50bba4890a2bda4fd6", null ], - [ "FAILURE_REASON_INVALID_CREDENTIALS", "classgalaxy_1_1api_1_1IAuthListener.html#a2e1fab5fc244b0783172514baec21a6eab52a5b434ff81e2589c99889ace15fad", null ], - [ "FAILURE_REASON_GALAXY_NOT_INITIALIZED", "classgalaxy_1_1api_1_1IAuthListener.html#a2e1fab5fc244b0783172514baec21a6eafb1301b46bbbb368826e2596af8aec24", null ], - [ "FAILURE_REASON_EXTERNAL_SERVICE_FAILURE", "classgalaxy_1_1api_1_1IAuthListener.html#a2e1fab5fc244b0783172514baec21a6eab7145a99bbd4fa9b92e8d85150f8106f", null ] - ] ], - [ "OnAuthFailure", "classgalaxy_1_1api_1_1IAuthListener.html#ae6242dab20e1267e8bb4c5b4d9570300", null ], - [ "OnAuthLost", "classgalaxy_1_1api_1_1IAuthListener.html#a1597f5b07b7e050f0cb7f62a2dae8840", null ], - [ "OnAuthSuccess", "classgalaxy_1_1api_1_1IAuthListener.html#aa824226d05ff7e738df8e8bef62dbf69", null ] - ] ], - [ "IOtherSessionStartListener", "classgalaxy_1_1api_1_1IOtherSessionStartListener.html", [ - [ "OnOtherSessionStarted", "classgalaxy_1_1api_1_1IOtherSessionStartListener.html#ac52e188f08e67d25609ef61f2d3d10c7", null ] - ] ], - [ "IOperationalStateChangeListener", "classgalaxy_1_1api_1_1IOperationalStateChangeListener.html", [ - [ "OperationalState", "classgalaxy_1_1api_1_1IOperationalStateChangeListener.html#ae5205e56c5331a5b85e3dd2a5f14e0fa", [ - [ "OPERATIONAL_STATE_SIGNED_IN", "classgalaxy_1_1api_1_1IOperationalStateChangeListener.html#ae5205e56c5331a5b85e3dd2a5f14e0faa94463a70f6647a95037fb5a34c21df55", null ], - [ "OPERATIONAL_STATE_LOGGED_ON", "classgalaxy_1_1api_1_1IOperationalStateChangeListener.html#ae5205e56c5331a5b85e3dd2a5f14e0faa18d05370294c6b322124488caa892ac1", null ] - ] ], - [ "OnOperationalStateChanged", "classgalaxy_1_1api_1_1IOperationalStateChangeListener.html#a7de944d408b2386e77a7081638caef96", null ] - ] ], - [ "IUserDataListener", "classgalaxy_1_1api_1_1IUserDataListener.html", [ - [ "OnUserDataUpdated", "classgalaxy_1_1api_1_1IUserDataListener.html#a9fd33f7239422f3603de82dace2a3d10", null ] - ] ], - [ "ISpecificUserDataListener", "classgalaxy_1_1api_1_1ISpecificUserDataListener.html", [ - [ "OnSpecificUserDataUpdated", "classgalaxy_1_1api_1_1ISpecificUserDataListener.html#a79a7b06373b8ffc7f55ab2d7d1a4391a", null ] - ] ], - [ "IEncryptedAppTicketListener", "classgalaxy_1_1api_1_1IEncryptedAppTicketListener.html", [ - [ "FailureReason", "classgalaxy_1_1api_1_1IEncryptedAppTicketListener.html#a2e1fab5fc244b0783172514baec21a6e", [ - [ "FAILURE_REASON_UNDEFINED", "classgalaxy_1_1api_1_1IEncryptedAppTicketListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39", null ], - [ "FAILURE_REASON_CONNECTION_FAILURE", "classgalaxy_1_1api_1_1IEncryptedAppTicketListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0", null ] - ] ], - [ "OnEncryptedAppTicketRetrieveFailure", "classgalaxy_1_1api_1_1IEncryptedAppTicketListener.html#a65b3470fbeeeb0853458a0536743c020", null ], - [ "OnEncryptedAppTicketRetrieveSuccess", "classgalaxy_1_1api_1_1IEncryptedAppTicketListener.html#ae5ad1ca3940e9df9ebc21e25799aa084", null ] - ] ], - [ "IAccessTokenListener", "classgalaxy_1_1api_1_1IAccessTokenListener.html", [ - [ "OnAccessTokenChanged", "classgalaxy_1_1api_1_1IAccessTokenListener.html#a258ebfd3ebadc9d18d13a737bfb1331c", null ] - ] ], - [ "IUser", "classgalaxy_1_1api_1_1IUser.html", [ - [ "~IUser", "classgalaxy_1_1api_1_1IUser.html#a83eb77f97574c613946cacf61dbb479a", null ], - [ "DeleteUserData", "classgalaxy_1_1api_1_1IUser.html#ae95f75ecda7702c02f13801994f09e20", null ], - [ "GetAccessToken", "classgalaxy_1_1api_1_1IUser.html#a5a70eb6629619bd94f3e9f6bc15af10f", null ], - [ "GetAccessTokenCopy", "classgalaxy_1_1api_1_1IUser.html#a994a33a3894d2ba53bb96236addde1a0", null ], - [ "GetEncryptedAppTicket", "classgalaxy_1_1api_1_1IUser.html#a96af6792efc260e75daebedca2cf74c6", null ], - [ "GetGalaxyID", "classgalaxy_1_1api_1_1IUser.html#a48e11f83dfeb2816e27ac1c8882aac85", null ], - [ "GetSessionID", "classgalaxy_1_1api_1_1IUser.html#a9ebe43b1574e7f45404d58da8c9161c5", null ], - [ "GetUserData", "classgalaxy_1_1api_1_1IUser.html#aa060612e4b41c726b4fdc7fd6ed69766", null ], - [ "GetUserDataByIndex", "classgalaxy_1_1api_1_1IUser.html#a2478dbe71815b3b4ce0073b439a2ea1f", null ], - [ "GetUserDataCopy", "classgalaxy_1_1api_1_1IUser.html#ae829eb09d78bd00ffd1b26be91a9dc27", null ], - [ "GetUserDataCount", "classgalaxy_1_1api_1_1IUser.html#ab3bf3cb7fa99d937ebbccbce7490eb09", null ], - [ "IsLoggedOn", "classgalaxy_1_1api_1_1IUser.html#a3e373012e77fd2baf915062d9e0c05b3", null ], - [ "IsUserDataAvailable", "classgalaxy_1_1api_1_1IUser.html#a6cc743c75fe68939408055c980f9cce0", null ], - [ "ReportInvalidAccessToken", "classgalaxy_1_1api_1_1IUser.html#a5aa752b87cc2ff029709ad9321518e0b", null ], - [ "RequestEncryptedAppTicket", "classgalaxy_1_1api_1_1IUser.html#a29f307e31066fc39b93802e363ea2064", null ], - [ "RequestUserData", "classgalaxy_1_1api_1_1IUser.html#a8e77956d509453d67c5febf8ff1d483d", null ], - [ "SetUserData", "classgalaxy_1_1api_1_1IUser.html#a2bee861638ff3887ace51f36827e2af0", null ], - [ "SignedIn", "classgalaxy_1_1api_1_1IUser.html#aa6c13795a19e7dae09674048394fc650", null ], - [ "SignInAnonymous", "classgalaxy_1_1api_1_1IUser.html#a9d4af026704c4c221d9202e2d555e2f1", null ], - [ "SignInAnonymousTelemetry", "classgalaxy_1_1api_1_1IUser.html#a69c13e10cbdea771abdf9b7154d0370a", null ], - [ "SignInCredentials", "classgalaxy_1_1api_1_1IUser.html#ab278e47229adeb5251f43e6b06b830a9", null ], - [ "SignInEpic", "classgalaxy_1_1api_1_1IUser.html#aebcb56b167a8c6ee21790b45ca3517ce", null ], - [ "SignInGalaxy", "classgalaxy_1_1api_1_1IUser.html#a65e86ddce496e67c3d7c1cc5ed4f3939", null ], - [ "SignInLauncher", "classgalaxy_1_1api_1_1IUser.html#ae0b6e789027809d9d4e455bc8dc0db7c", null ], - [ "SignInPS4", "classgalaxy_1_1api_1_1IUser.html#a820d822d8e344fdecf8870cc644c7742", null ], - [ "SignInServerKey", "classgalaxy_1_1api_1_1IUser.html#a66320de49b3c2f6b547f7fa3904c9c91", null ], - [ "SignInSteam", "classgalaxy_1_1api_1_1IUser.html#a7b0ceddf3546891964e8449a554b4f86", null ], - [ "SignInToken", "classgalaxy_1_1api_1_1IUser.html#a20521b3ff4c1ba163cb915c92babf877", null ], - [ "SignInUWP", "classgalaxy_1_1api_1_1IUser.html#aaf3956f1f34fbf085b153341fef3b830", null ], - [ "SignInXB1", "classgalaxy_1_1api_1_1IUser.html#a4d4843b5d3fb3376f793720df512194e", null ], - [ "SignInXBLive", "classgalaxy_1_1api_1_1IUser.html#a6a6521c240ea01adfdc5dd00086c1a29", null ], - [ "SignOut", "classgalaxy_1_1api_1_1IUser.html#a0201a4995e361382d2afeb876787bd0f", null ] - ] ], - [ "IOverlayVisibilityChangeListener", "classgalaxy_1_1api_1_1IOverlayVisibilityChangeListener.html", [ - [ "OnOverlayVisibilityChanged", "classgalaxy_1_1api_1_1IOverlayVisibilityChangeListener.html#a139110a3ff4c92f1d63cac39b433d504", null ] - ] ], - [ "IOverlayInitializationStateChangeListener", "classgalaxy_1_1api_1_1IOverlayInitializationStateChangeListener.html", [ - [ "OnOverlayStateChanged", "classgalaxy_1_1api_1_1IOverlayInitializationStateChangeListener.html#af55f5b8e0b10dde7869226c0fbd63b35", null ] - ] ], - [ "INotificationListener", "classgalaxy_1_1api_1_1INotificationListener.html", [ - [ "OnNotificationReceived", "classgalaxy_1_1api_1_1INotificationListener.html#a4983ed497c6db643f26854c14d318ab8", null ] - ] ], - [ "IGogServicesConnectionStateListener", "classgalaxy_1_1api_1_1IGogServicesConnectionStateListener.html", [ - [ "OnConnectionStateChange", "classgalaxy_1_1api_1_1IGogServicesConnectionStateListener.html#a0a20d3b673832ba33903454988a4aca6", null ] - ] ], - [ "IUtils", "classgalaxy_1_1api_1_1IUtils.html", [ - [ "~IUtils", "classgalaxy_1_1api_1_1IUtils.html#abfe3ad9a719ac9847a2ba4090ec67091", null ], - [ "DisableOverlayPopups", "classgalaxy_1_1api_1_1IUtils.html#ada0a725829e0677427402b45af8e446a", null ], - [ "GetGogServicesConnectionState", "classgalaxy_1_1api_1_1IUtils.html#a756d3ca55281edea8bed3a08c2f93b6b", null ], - [ "GetImageRGBA", "classgalaxy_1_1api_1_1IUtils.html#af5ecf98db9f6e17e643f72a6397477d0", null ], - [ "GetImageSize", "classgalaxy_1_1api_1_1IUtils.html#a507c0bbed768ce1fe0a061a73cd9cf14", null ], - [ "GetNotification", "classgalaxy_1_1api_1_1IUtils.html#a4cc9ae84c1488cce3ec55134a7eb3d2d", null ], - [ "GetOverlayState", "classgalaxy_1_1api_1_1IUtils.html#ace3179674f31b02b4dcd704f59c3e466", null ], - [ "IsOverlayVisible", "classgalaxy_1_1api_1_1IUtils.html#a0cbd418520fe9b68d5cfd4decd02494f", null ], - [ "RegisterForNotification", "classgalaxy_1_1api_1_1IUtils.html#a1177ae0fc1a5f7f92bd00896a98d3951", null ], - [ "ShowOverlayWithWebPage", "classgalaxy_1_1api_1_1IUtils.html#a3619b5a04785779086816b94fad7302c", null ] - ] ], - [ "AvatarCriteria", "group__api.html#ga0b4e285695fff5cdad470ce7fd65d232", null ], - [ "ChatMessageID", "group__api.html#ga42d3784b96327d589928dd3b443fb6a1", null ], - [ "ChatRoomID", "group__api.html#ga8f62afb8807584e4588df6ae21eb8811", null ], - [ "ConnectionID", "group__api.html#ga4e2490f675d3a2b8ae3d250fcd32bc0d", null ], - [ "GalaxyFree", "group__api.html#ga088429be4e622eaf0e7b66bbde64fbf6", null ], - [ "GalaxyMalloc", "group__api.html#ga75ffb9cb99a62cae423601071be95b4b", null ], - [ "GalaxyRealloc", "group__api.html#ga243f15d68e0aad3b5311b5829e90f2eb", null ], - [ "GameServerGlobalAccessTokenListener", "group__api.html#ga01aaf9ef2650abfdd465535a669cc783", null ], - [ "GameServerGlobalAuthListener", "group__api.html#gaf49ff046f73b164653f2f22fb3048472", null ], - [ "GameServerGlobalEncryptedAppTicketListener", "group__api.html#ga4b2e686d5a9fee3836dee6b8d182dfb0", null ], - [ "GameServerGlobalGogServicesConnectionStateListener", "group__api.html#ga157e0d815e8d562e3d999389cd49e657", null ], - [ "GameServerGlobalLobbyCreatedListener", "group__api.html#ga0f6bf49d1748a7791b5a87519fa7b7c8", null ], - [ "GameServerGlobalLobbyDataListener", "group__api.html#gaa7caf10d762cbd20ec9139adbfc3f3ab", null ], - [ "GameServerGlobalLobbyDataRetrieveListener", "group__api.html#gaf42369e75e2b43cb3624d60cc48e57b0", null ], - [ "GameServerGlobalLobbyEnteredListener", "group__api.html#gadd05c4e9e647cd10e676b9b851fd4c75", null ], - [ "GameServerGlobalLobbyLeftListener", "group__api.html#ga199d848a79dc8efd80c739a502e7d351", null ], - [ "GameServerGlobalLobbyMemberStateListener", "group__api.html#ga1be8a6e7cb86254f908536bf08636763", null ], - [ "GameServerGlobalLobbyMessageListener", "group__api.html#ga76f4c1bda68bbaf347d35d3c57847e7f", null ], - [ "GameServerGlobalNatTypeDetectionListener", "group__api.html#ga250338bd8feda7d9af166f0a09e65af7", null ], - [ "GameServerGlobalNetworkingListener", "group__api.html#ga273ad4080b9e5857779cd1be0a2d61e8", null ], - [ "GameServerGlobalOperationalStateChangeListener", "group__api.html#ga08d028797c5fb53d3a1502e87435ee05", null ], - [ "GameServerGlobalOtherSessionStartListener", "group__api.html#ga8b71e4a7ee79182fdae702378031449a", null ], - [ "GameServerGlobalSpecificUserDataListener", "group__api.html#gad751c2fa631b3d5a603394385f8242d6", null ], - [ "GameServerGlobalTelemetryEventSendListener", "group__api.html#ga7053fa90aae170eb1da2bc3c25aa22ff", null ], - [ "GameServerGlobalUserDataListener", "group__api.html#ga72ea028bd25aa7f256121866792ceb8e", null ], - [ "GlobalAccessTokenListener", "group__api.html#ga804f3e20630181e42c1b580d2f410142", null ], - [ "GlobalAchievementChangeListener", "group__api.html#gaf98d38634b82abe976c60e73ff680aa4", null ], - [ "GlobalAuthListener", "group__api.html#ga6430b7cce9464716b54205500f0b4346", null ], - [ "GlobalChatRoomMessageSendListener", "group__api.html#ga1caa22fa58bf71920aa98b74c3d120b2", null ], - [ "GlobalChatRoomMessagesListener", "group__api.html#gab22757c7b50857f421db7d59be1ae210", null ], - [ "GlobalChatRoomMessagesRetrieveListener", "group__api.html#ga25b363fb856af48d0a3cbff918e46375", null ], - [ "GlobalChatRoomWithUserRetrieveListener", "group__api.html#gaad3a25903efbfe5fc99d0057981f76fd", null ], - [ "GlobalConnectionCloseListener", "group__api.html#ga229f437bc05b09019dd5410bf3906c15", null ], - [ "GlobalConnectionDataListener", "group__api.html#ga6d91c24045928db57e5178b22f97f51c", null ], - [ "GlobalConnectionOpenListener", "group__api.html#ga6b3ac9dcf60c437a72f42083dd41c69d", null ], - [ "GlobalEncryptedAppTicketListener", "group__api.html#gaa8de3ff05620ac2c86fdab97e98a8cac", null ], - [ "GlobalFileShareListener", "group__api.html#gaac61eec576910c28aa27ff52f75871af", null ], - [ "GlobalFriendAddListener", "group__api.html#ga1d833290a4ae392fabc7b87ca6d49b7e", null ], - [ "GlobalFriendDeleteListener", "group__api.html#ga7718927f50b205a80397e521448d2a36", null ], - [ "GlobalFriendInvitationListener", "group__api.html#ga89ff60f1104ad4f2157a6d85503899bd", null ], - [ "GlobalFriendInvitationListRetrieveListener", "group__api.html#ga3b2231cc3ab28023cfc5a9b382c3dc8b", null ], - [ "GlobalFriendInvitationRespondToListener", "group__api.html#ga9d1949990154592b751ce7eac0f879cc", null ], - [ "GlobalFriendInvitationSendListener", "group__api.html#ga7a0908d19dd99ad941762285d8203b23", null ], - [ "GlobalFriendListListener", "group__api.html#ga3c47abf20e566dc0cd0b8bcbc3bc386d", null ], - [ "GlobalGameInvitationReceivedListener", "group__api.html#ga041cd7c0c92d31f5fc67e1154e2f8de7", null ], - [ "GlobalGameJoinRequestedListener", "group__api.html#gadab0159681deec55f64fa6d1df5d543c", null ], - [ "GlobalGogServicesConnectionStateListener", "group__api.html#gad92afb23db92d9bc7fc97750e72caeb3", null ], - [ "GlobalLeaderboardEntriesRetrieveListener", "group__api.html#ga7938b00f2b55ed766eb74ffe312bbffc", null ], - [ "GlobalLeaderboardRetrieveListener", "group__api.html#ga69a3dd7dd052794687fe963bb170a718", null ], - [ "GlobalLeaderboardScoreUpdateListener", "group__api.html#ga5cc3302c7fac6138177fb5c7f81698c1", null ], - [ "GlobalLeaderboardsRetrieveListener", "group__api.html#ga4589cbd5c6f72cd32d8ca1be3727c40e", null ], - [ "GlobalLobbyCreatedListener", "group__api.html#ga4a51265e52d8427a7a76c51c1ebd9984", null ], - [ "GlobalLobbyDataListener", "group__api.html#ga7b73cba535d27e5565e8eef4cec81144", null ], - [ "GlobalLobbyDataRetrieveListener", "group__api.html#gad58cbac5a60b30fd0545dafdbc56ea8a", null ], - [ "GlobalLobbyEnteredListener", "group__api.html#gabf2ad3c27e8349fa3662a935c7893f8c", null ], - [ "GlobalLobbyLeftListener", "group__api.html#ga819326fece7e765b59e2b548c97bbe5f", null ], - [ "GlobalLobbyListListener", "group__api.html#ga9ee3592412bb8a71f5d710f936ca4621", null ], - [ "GlobalLobbyMemberStateListener", "group__api.html#ga2d41f6b1f6dd12b3dc757db188c8db0a", null ], - [ "GlobalLobbyMessageListener", "group__api.html#ga659c9fd389b34e22c3517ab892d435c3", null ], - [ "GlobalLobbyOwnerChangeListener", "group__api.html#ga46b29610b1e1cf9ba11ae8567d117587", null ], - [ "GlobalNatTypeDetectionListener", "group__api.html#ga3b22c934de78c8c169632470b4f23492", null ], - [ "GlobalNetworkingListener", "group__api.html#ga5a806b459fd86ecf340e3f258e38fe18", null ], - [ "GlobalNotificationListener", "group__api.html#ga823b6a3df996506fbcd25d97e0f143bd", null ], - [ "GlobalOperationalStateChangeListener", "group__api.html#ga74c9ed60c6a4304258873b891a0a2936", null ], - [ "GlobalOtherSessionStartListener", "group__api.html#ga13be6be40f64ce7797afb935f2110804", null ], - [ "GlobalOverlayInitializationStateChangeListener", "group__api.html#gafaa46fe6610b3a7e54237fb340f11cb6", null ], - [ "GlobalOverlayVisibilityChangeListener", "group__api.html#gad0cd8d98601fdb1205c416fbb7b2b31f", null ], - [ "GlobalPersonaDataChangedListener", "group__api.html#gad9c8e014e3ae811c6bd56b7c5b3704f6", null ], - [ "GlobalRichPresenceChangeListener", "group__api.html#ga76d003ff80cd39b871a45886762ee2b0", null ], - [ "GlobalRichPresenceListener", "group__api.html#gaed6410df8d42c1f0de2696e5726fb286", null ], - [ "GlobalRichPresenceRetrieveListener", "group__api.html#gae3a957dca3c9de0984f77cb2cb82dbed", null ], - [ "GlobalSendInvitationListener", "group__api.html#ga1e06a9d38e42bdfd72b78b4f72460604", null ], - [ "GlobalSentFriendInvitationListRetrieveListener", "group__api.html#ga32fa1f7ffccbe5e990ce550040ddc96c", null ], - [ "GlobalSharedFileDownloadListener", "group__api.html#ga50ce8adee98df4b6d72e1ff4b1a93b0d", null ], - [ "GlobalSpecificUserDataListener", "group__api.html#ga31328bf0404b71ad2c2b0d2dd19a0b34", null ], - [ "GlobalStatsAndAchievementsStoreListener", "group__api.html#ga9b1ef7633d163287db3aa62ab78e3753", null ], - [ "GlobalTelemetryEventSendListener", "group__api.html#ga8883450aaa7948285bd84a78aadea902", null ], - [ "GlobalUserDataListener", "group__api.html#ga3f4bbe02db1d395310b2ff6a5b4680df", null ], - [ "GlobalUserFindListener", "group__api.html#ga83310c5c4a6629c16919c694db327526", null ], - [ "GlobalUserInformationRetrieveListener", "group__api.html#ga3feb79b21f28d5d678f51c47c168adc6", null ], - [ "GlobalUserStatsAndAchievementsRetrieveListener", "group__api.html#gac3cf027a203549ba1f6113fbb93c6c07", null ], - [ "GlobalUserTimePlayedRetrieveListener", "group__api.html#gae0423734fc66c07bccc6a200c7d9f650", null ], - [ "NotificationID", "group__api.html#gab06789e8ae20a20699a59585801d5861", null ], - [ "ProductID", "group__api.html#ga198e4cda00bc65d234ae7cac252eed60", null ], - [ "SessionID", "group__api.html#ga9960a6aea752c9935ff46ffbcee98ad5", null ], - [ "SharedFileID", "group__api.html#ga34a0c4ac76186b86e6c596d38a0e2042", null ], - [ "ThreadEntryFunction", "group__api.html#ga14fc3e506d7327003940dbf3a8c4bcfe", null ], - [ "ThreadEntryParam", "group__api.html#ga37cc1c803781672631d7ac1bc06f4bb2", null ], - [ "AvatarType", "group__api.html#ga51ba11764e2176ad2cc364635fac294e", [ - [ "AVATAR_TYPE_NONE", "group__api.html#gga51ba11764e2176ad2cc364635fac294ea91228793d738e332f5e41ef12ba1f586", null ], - [ "AVATAR_TYPE_SMALL", "group__api.html#gga51ba11764e2176ad2cc364635fac294eab4d1c5b4099a3d2844181e6fd02b7f44", null ], - [ "AVATAR_TYPE_MEDIUM", "group__api.html#gga51ba11764e2176ad2cc364635fac294eaa77de76e722c9a94aa7b3be97936f070", null ], - [ "AVATAR_TYPE_LARGE", "group__api.html#gga51ba11764e2176ad2cc364635fac294eaff15caabaef36eb4474c64eca3adf8ef", null ] - ] ], - [ "ChatMessageType", "group__api.html#gad1921a6afb665af4c7e7d243e2b762e9", [ - [ "CHAT_MESSAGE_TYPE_UNKNOWN", "group__api.html#ggad1921a6afb665af4c7e7d243e2b762e9ad1f406f6b4feac6d276267b6502dcb47", null ], - [ "CHAT_MESSAGE_TYPE_CHAT_MESSAGE", "group__api.html#ggad1921a6afb665af4c7e7d243e2b762e9a6b08ec004a476f5ad71ba54259541c67", null ], - [ "CHAT_MESSAGE_TYPE_GAME_INVITATION", "group__api.html#ggad1921a6afb665af4c7e7d243e2b762e9a569cef091eeb0adc8ab44cec802dab57", null ] - ] ], - [ "ConnectionType", "group__api.html#gaa1f0e2efd52935fd01bfece0fbead81f", [ - [ "CONNECTION_TYPE_NONE", "group__api.html#ggaa1f0e2efd52935fd01bfece0fbead81fa808fe0871c1c5c3073ea2e11cefa9d39", null ], - [ "CONNECTION_TYPE_DIRECT", "group__api.html#ggaa1f0e2efd52935fd01bfece0fbead81fa54f65564c6ebfa12f1ab53c4cef8864a", null ], - [ "CONNECTION_TYPE_PROXY", "group__api.html#ggaa1f0e2efd52935fd01bfece0fbead81fa868e58fdaa4cf592dfc454798977ebc4", null ] - ] ], - [ "GogServicesConnectionState", "group__api.html#ga1e44fb253de3879ddbfae2977049396e", [ - [ "GOG_SERVICES_CONNECTION_STATE_UNDEFINED", "group__api.html#gga1e44fb253de3879ddbfae2977049396eaa7e2464ade2105871d4bf3377949b7a3", null ], - [ "GOG_SERVICES_CONNECTION_STATE_CONNECTED", "group__api.html#gga1e44fb253de3879ddbfae2977049396ea262ea69c2235d138d2a0289d5b7221da", null ], - [ "GOG_SERVICES_CONNECTION_STATE_DISCONNECTED", "group__api.html#gga1e44fb253de3879ddbfae2977049396ea10e527cfe5f8f40242fe2c8779e0fcd3", null ], - [ "GOG_SERVICES_CONNECTION_STATE_AUTH_LOST", "group__api.html#gga1e44fb253de3879ddbfae2977049396eafa96e7887ac0c246bc641ab6fa8cd170", null ] - ] ], - [ "LeaderboardDisplayType", "group__api.html#gab796d71880cf4101dbb210bf989ba9b8", [ - [ "LEADERBOARD_DISPLAY_TYPE_NONE", "group__api.html#ggab796d71880cf4101dbb210bf989ba9b8acf3e4c70e50968117fc9df97876e57fa", null ], - [ "LEADERBOARD_DISPLAY_TYPE_NUMBER", "group__api.html#ggab796d71880cf4101dbb210bf989ba9b8a411b8879f4ef91afb5307621a2a41efe", null ], - [ "LEADERBOARD_DISPLAY_TYPE_TIME_SECONDS", "group__api.html#ggab796d71880cf4101dbb210bf989ba9b8a6fde1620af398c1ad1de2c35d764aa6a", null ], - [ "LEADERBOARD_DISPLAY_TYPE_TIME_MILLISECONDS", "group__api.html#ggab796d71880cf4101dbb210bf989ba9b8adc0b1d18956e22e98935a8c341b24d78", null ] - ] ], - [ "LeaderboardSortMethod", "group__api.html#ga6f93e1660335ee7866cb354ab5f8cd90", [ - [ "LEADERBOARD_SORT_METHOD_NONE", "group__api.html#gga6f93e1660335ee7866cb354ab5f8cd90a3bc5085e90a842f574d928063e6c0d77", null ], - [ "LEADERBOARD_SORT_METHOD_ASCENDING", "group__api.html#gga6f93e1660335ee7866cb354ab5f8cd90aa0d841ca8ac0568098b7955f7375b2b4", null ], - [ "LEADERBOARD_SORT_METHOD_DESCENDING", "group__api.html#gga6f93e1660335ee7866cb354ab5f8cd90a8c28fa9480d452129a289a7c61115322", null ] - ] ], - [ "ListenerType", "group__api.html#ga187ae2b146c2a18d18a60fbb66cb1325", [ - [ "LISTENER_TYPE_BEGIN", "group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a2550722395b71677daa582a5b9c81475", null ], - [ "LOBBY_LIST", "group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a961649662a019865d4dd71363a4281dc", null ], - [ "LOBBY_CREATED", "group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a72b400c0cb9db505acdf2d141bcb2e80", null ], - [ "LOBBY_ENTERED", "group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a4a2114245474500da2ab887ddf173c9a", null ], - [ "LOBBY_LEFT", "group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a27105c2e9a00c8d321918ebe8ce1c166", null ], - [ "LOBBY_DATA", "group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a753c6fa3b59b26d70414aba9627c4de3", null ], - [ "LOBBY_MEMBER_STATE", "group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325aa53647cf33f944bbe7f8055b34c7d4f0", null ], - [ "LOBBY_OWNER_CHANGE", "group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a925a790bff1b18803f5bed2b92736842", null ], - [ "AUTH", "group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a8b22fbb60fcbd7a4a5e1e6ff6ee38218", null ], - [ "LOBBY_MESSAGE", "group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a7facde2105ca77872d8e8fe396066cee", null ], - [ "NETWORKING", "group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a649576b72b8563d824386a69916c2563", null ], - [ "_SERVER_NETWORKING", "group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325ae11a4d882c1d0cb7c39a9e0b9f6cfa59", null ], - [ "USER_DATA", "group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325ac4dcfccaa8f91257de6b916546d214ae", null ], - [ "USER_STATS_AND_ACHIEVEMENTS_RETRIEVE", "group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a81a36542e8d6bd75d289199a7bf182a1", null ], - [ "STATS_AND_ACHIEVEMENTS_STORE", "group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325ae8b38cb47d52f0f5e4a34ebe6fd85cf2", null ], - [ "ACHIEVEMENT_CHANGE", "group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a1cdca9604979711a1f3d65e0d6b50d88", null ], - [ "LEADERBOARDS_RETRIEVE", "group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325afefaa48dc75f328fe84a6e08b84c48a6", null ], - [ "LEADERBOARD_ENTRIES_RETRIEVE", "group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a5d6bf6ca50e1a386b070149ea65b4481", null ], - [ "LEADERBOARD_SCORE_UPDATE_LISTENER", "group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a00741befc273de8d805f72124cf992d2", null ], - [ "PERSONA_DATA_CHANGED", "group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325ac7bd820abf43d2123cdff4bfbabc6f7b", null ], - [ "RICH_PRESENCE_CHANGE_LISTENER", "group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a361625a6cac0741a13d082bd6aa2101a", null ], - [ "GAME_JOIN_REQUESTED_LISTENER", "group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325ac4207f87ebbafefd3f72814ada7a1f78", null ], - [ "OPERATIONAL_STATE_CHANGE", "group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325aca0df0259978a48310bd08d22cb144ce", null ], - [ "_OVERLAY_STATE_CHANGE", "group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a9036578ca8f1f8050f532dfba4abac6f", null ], - [ "FRIEND_LIST_RETRIEVE", "group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a21da77db9d7caf59cd2853a9d9f10e06", null ], - [ "ENCRYPTED_APP_TICKET_RETRIEVE", "group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325ae1b91722e7da1bf2b0018eea873e5258", null ], - [ "ACCESS_TOKEN_CHANGE", "group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a140f38619b5a219594bed0ce3f607d77", null ], - [ "LEADERBOARD_RETRIEVE", "group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a983abedbfba5255913b547b11219c5be", null ], - [ "SPECIFIC_USER_DATA", "group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325abb91289964fd00dcda77ffbecffcbf0d", null ], - [ "INVITATION_SEND", "group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325aad9c8117c9c6011003e6128d17a80083", null ], - [ "RICH_PRESENCE_LISTENER", "group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a5ee4a49360fbeee9a9386c03e0adff83", null ], - [ "GAME_INVITATION_RECEIVED_LISTENER", "group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a5fffa6c24763d7583b9534afa24524fe", null ], - [ "NOTIFICATION_LISTENER", "group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325acf5bdce9fa3fee58610918c7e9bbd3a8", null ], - [ "LOBBY_DATA_RETRIEVE", "group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a1cc0ee94dc2d746b9561dbd2c7d38cb3", null ], - [ "USER_TIME_PLAYED_RETRIEVE", "group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a4ebce3e1d104d7c3fb7c54415bb076e2", null ], - [ "OTHER_SESSION_START", "group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a38475d66217b64b92a4b3e25e77fa48c", null ], - [ "_STORAGE_SYNCHRONIZATION", "group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a9ef1002a95c2e0156bc151419caafa83", null ], - [ "FILE_SHARE", "group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325ab548e05dec73185c51357ce89e32540b", null ], - [ "SHARED_FILE_DOWNLOAD", "group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a5c727004e7704c79d985dc2ea1e3b219", null ], - [ "CUSTOM_NETWORKING_CONNECTION_OPEN", "group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a4d71b1bf3846cdf037472757971f7a01", null ], - [ "CUSTOM_NETWORKING_CONNECTION_CLOSE", "group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325ad86f20ec9ad84b2cde53d43f84530819", null ], - [ "CUSTOM_NETWORKING_CONNECTION_DATA", "group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325ad8a8714f03b0ab8ac1f3eca36ec1eede", null ], - [ "OVERLAY_INITIALIZATION_STATE_CHANGE", "group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325abe9b0298ab57ec2c240abd1ca9c3e2e5", null ], - [ "OVERLAY_VISIBILITY_CHANGE", "group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a59c448707c0e8e973b8ed190629959ad", null ], - [ "CHAT_ROOM_WITH_USER_RETRIEVE_LISTENER", "group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a1480ce82560fd8f4a62da6b9ce3e3a38", null ], - [ "CHAT_ROOM_MESSAGE_SEND_LISTENER", "group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a12700c589db879536b4283a5912faa8f", null ], - [ "CHAT_ROOM_MESSAGES_LISTENER", "group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a873e878d3dc00df44b36a2535b34624f", null ], - [ "FRIEND_INVITATION_SEND_LISTENER", "group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a1feb0b8df63e25370e9ecc716761d0ec", null ], - [ "FRIEND_INVITATION_LIST_RETRIEVE_LISTENER", "group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325acf9249464a9b14ddfe4deb86fd383718", null ], - [ "FRIEND_INVITATION_LISTENER", "group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a5a3d72d3b844e13e5d62cf064d056992", null ], - [ "FRIEND_INVITATION_RESPOND_TO_LISTENER", "group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325aeda03f2a3a56e74628529e5eb5531ba7", null ], - [ "FRIEND_ADD_LISTENER", "group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a9d114ff52d63ce2d091f265089d2093c", null ], - [ "FRIEND_DELETE_LISTENER", "group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325ac4e0c9466447897ecea72d44fbfe9ce3", null ], - [ "CHAT_ROOM_MESSAGES_RETRIEVE_LISTENER", "group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a57a196ab47d0b16f92d31fe1aa5e905a", null ], - [ "USER_FIND_LISTENER", "group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a4c062f52b68d1d424a5079891f7c1d36", null ], - [ "NAT_TYPE_DETECTION", "group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a614fb2383e33ca93e4e368295ae865f2", null ], - [ "SENT_FRIEND_INVITATION_LIST_RETRIEVE_LISTENER", "group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a35e645d702087e697dd2ad385c6e0499", null ], - [ "LOBBY_MEMBER_DATA_UPDATE_LISTENER", "group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325ad6aa2cb0b9595bf4ccabbf5cd737ac9b", null ], - [ "USER_INFORMATION_RETRIEVE_LISTENER", "group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325aa1a67cebe36541c17c7e35322e77d6a9", null ], - [ "RICH_PRESENCE_RETRIEVE_LISTENER", "group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325ab72196badaba734e27acb04eb78c2c78", null ], - [ "GOG_SERVICES_CONNECTION_STATE_LISTENER", "group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a7aeb4604c9a6dd5d0bf61dc8a43978f0", null ], - [ "TELEMETRY_EVENT_SEND_LISTENER", "group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325ab3ab76e1a23f449ed52c2f411d97941a", null ], - [ "LISTENER_TYPE_END", "group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a27c65d867aa81d580b8f6b6835e17ee6", null ] - ] ], - [ "LobbyComparisonType", "group__api.html#gaaa1f784857e2accc0bb6e9ff04f6730d", [ - [ "LOBBY_COMPARISON_TYPE_EQUAL", "group__api.html#ggaaa1f784857e2accc0bb6e9ff04f6730da480f87abf8713dc5e0db8edc91a82b08", null ], - [ "LOBBY_COMPARISON_TYPE_NOT_EQUAL", "group__api.html#ggaaa1f784857e2accc0bb6e9ff04f6730dadf5dc535e169ab9a847b084577cd9d63", null ], - [ "LOBBY_COMPARISON_TYPE_GREATER", "group__api.html#ggaaa1f784857e2accc0bb6e9ff04f6730da150cfb626a3aac85a979ed2049878989", null ], - [ "LOBBY_COMPARISON_TYPE_GREATER_OR_EQUAL", "group__api.html#ggaaa1f784857e2accc0bb6e9ff04f6730daa3371a1534252ee455c86f1cd1cfe59a", null ], - [ "LOBBY_COMPARISON_TYPE_LOWER", "group__api.html#ggaaa1f784857e2accc0bb6e9ff04f6730da11916e40d4813a04f2209aef2b0eb8a7", null ], - [ "LOBBY_COMPARISON_TYPE_LOWER_OR_EQUAL", "group__api.html#ggaaa1f784857e2accc0bb6e9ff04f6730daa8ee60d541753ef47e3cd7fc4b0ab688", null ] - ] ], - [ "LobbyCreateResult", "group__api.html#ga4dbcb3a90897b7a6f019fb313cef3c12", [ - [ "LOBBY_CREATE_RESULT_SUCCESS", "group__api.html#gga4dbcb3a90897b7a6f019fb313cef3c12ae34b05b10da4c91b3c768ea284987bda", null ], - [ "LOBBY_CREATE_RESULT_ERROR", "group__api.html#gga4dbcb3a90897b7a6f019fb313cef3c12a2305d918f65d5a59636c3c6dd38c74ca", null ], - [ "LOBBY_CREATE_RESULT_CONNECTION_FAILURE", "group__api.html#gga4dbcb3a90897b7a6f019fb313cef3c12a0a74f32f1d22ad6c632822737d5fee00", null ] - ] ], - [ "LobbyEnterResult", "group__api.html#ga9a697cb4c70ba145451e372d7b064336", [ - [ "LOBBY_ENTER_RESULT_SUCCESS", "group__api.html#gga9a697cb4c70ba145451e372d7b064336a76b563ecea3fd53da962dd4616190b65", null ], - [ "LOBBY_ENTER_RESULT_LOBBY_DOES_NOT_EXIST", "group__api.html#gga9a697cb4c70ba145451e372d7b064336a185be0fbec90a6d7d1ce4fb4be63ef89", null ], - [ "LOBBY_ENTER_RESULT_LOBBY_IS_FULL", "group__api.html#gga9a697cb4c70ba145451e372d7b064336a98a29aa953dfbb0b716da9243c20f44f", null ], - [ "LOBBY_ENTER_RESULT_ERROR", "group__api.html#gga9a697cb4c70ba145451e372d7b064336af4eab26f860d54c0de9271a144dcd900", null ], - [ "LOBBY_ENTER_RESULT_CONNECTION_FAILURE", "group__api.html#gga9a697cb4c70ba145451e372d7b064336a4b12fe91734c91f8b9ce7af7968fc3d4", null ] - ] ], - [ "LobbyListResult", "group__api.html#gab9f7574c7dfd404052e64a6a275dcdc8", [ - [ "LOBBY_LIST_RESULT_SUCCESS", "group__api.html#ggab9f7574c7dfd404052e64a6a275dcdc8ae6fbd40817254a84ce3311ceb0ccf9a5", null ], - [ "LOBBY_LIST_RESULT_ERROR", "group__api.html#ggab9f7574c7dfd404052e64a6a275dcdc8ae306c3d06307c00594cac179340388c6", null ], - [ "LOBBY_LIST_RESULT_CONNECTION_FAILURE", "group__api.html#ggab9f7574c7dfd404052e64a6a275dcdc8a9909d1df224ecb0b3c759301fb547121", null ] - ] ], - [ "LobbyMemberStateChange", "group__api.html#ga8c5f2e74526169399ff2edcfd2d386df", [ - [ "LOBBY_MEMBER_STATE_CHANGED_ENTERED", "group__api.html#gga8c5f2e74526169399ff2edcfd2d386dfad3bd316a9abdfef0fab174bcabea6736", null ], - [ "LOBBY_MEMBER_STATE_CHANGED_LEFT", "group__api.html#gga8c5f2e74526169399ff2edcfd2d386dfa1e1a5fc4eea4d7b53d3386e6ff9fb8a7", null ], - [ "LOBBY_MEMBER_STATE_CHANGED_DISCONNECTED", "group__api.html#gga8c5f2e74526169399ff2edcfd2d386dfa0780ded5ee628fcb6a05420844fca0d0", null ], - [ "LOBBY_MEMBER_STATE_CHANGED_KICKED", "group__api.html#gga8c5f2e74526169399ff2edcfd2d386dfa0e2f95876ec6b48e87c69c9724eb31ea", null ], - [ "LOBBY_MEMBER_STATE_CHANGED_BANNED", "group__api.html#gga8c5f2e74526169399ff2edcfd2d386dfa465cf5af6a4c53c3d6df74e7613996d5", null ] - ] ], - [ "LobbyTopologyType", "group__api.html#ga966760a0bc04579410315346c09f5297", [ - [ "DEPRECATED_LOBBY_TOPOLOGY_TYPE_FCM_HOST_MIGRATION", "group__api.html#gga966760a0bc04579410315346c09f5297ac3d6627d3673b044b0b420bc54967fac", null ], - [ "LOBBY_TOPOLOGY_TYPE_FCM", "group__api.html#gga966760a0bc04579410315346c09f5297aec97c7470d63b1411fc44d804d86e5ad", null ], - [ "LOBBY_TOPOLOGY_TYPE_STAR", "group__api.html#gga966760a0bc04579410315346c09f5297a744cb713d95b58f8720a2cfd4a11054a", null ], - [ "LOBBY_TOPOLOGY_TYPE_CONNECTIONLESS", "group__api.html#gga966760a0bc04579410315346c09f5297a97062606a19ce304cb08b37dd1fb230c", null ], - [ "LOBBY_TOPOLOGY_TYPE_FCM_OWNERSHIP_TRANSITION", "group__api.html#gga966760a0bc04579410315346c09f5297a4e7ccb46c6f6fbf4155a3e8af28640cc", null ] - ] ], - [ "LobbyType", "group__api.html#ga311c1e3b455f317f13d825bb5d775705", [ - [ "LOBBY_TYPE_PRIVATE", "group__api.html#gga311c1e3b455f317f13d825bb5d775705ad1a563a0cc0384bbe5c57f4681ef1c19", null ], - [ "LOBBY_TYPE_FRIENDS_ONLY", "group__api.html#gga311c1e3b455f317f13d825bb5d775705a37a763eba2d28b1cc1fbaaa601c30d1b", null ], - [ "LOBBY_TYPE_PUBLIC", "group__api.html#gga311c1e3b455f317f13d825bb5d775705a62ed4def75b04f5d9bec9ddff877d2b6", null ], - [ "LOBBY_TYPE_INVISIBLE_TO_FRIENDS", "group__api.html#gga311c1e3b455f317f13d825bb5d775705a4f8f12169bc568a74d268f8edba1acdd", null ] - ] ], - [ "NatType", "group__api.html#ga73736c0f7526e31ef6a35dcc0ebd34ce", [ - [ "NAT_TYPE_NONE", "group__api.html#gga73736c0f7526e31ef6a35dcc0ebd34ceaa9e1944a7565512e00f6fa448a495508", null ], - [ "NAT_TYPE_FULL_CONE", "group__api.html#gga73736c0f7526e31ef6a35dcc0ebd34ceabc4ec3321c82e31fbaaee67fa02ea47a", null ], - [ "NAT_TYPE_ADDRESS_RESTRICTED", "group__api.html#gga73736c0f7526e31ef6a35dcc0ebd34cea47df308fc95edc5df5c3a6c600d56487", null ], - [ "NAT_TYPE_PORT_RESTRICTED", "group__api.html#gga73736c0f7526e31ef6a35dcc0ebd34cea1d64ea9bbd365fc005390552d6f7d851", null ], - [ "NAT_TYPE_SYMMETRIC", "group__api.html#gga73736c0f7526e31ef6a35dcc0ebd34cea21fb563e9e76b1098f809c927b3bb80b", null ], - [ "NAT_TYPE_UNKNOWN", "group__api.html#gga73736c0f7526e31ef6a35dcc0ebd34ceae0916dd80e1a9d76db5979c5700ebaeb", null ] - ] ], - [ "OverlayState", "group__api.html#gabf15786f4b4ac5669318db70b02fb389", [ - [ "OVERLAY_STATE_UNDEFINED", "group__api.html#ggabf15786f4b4ac5669318db70b02fb389ad1e22a5175b838cabdf7b80186114403", null ], - [ "OVERLAY_STATE_NOT_SUPPORTED", "group__api.html#ggabf15786f4b4ac5669318db70b02fb389ae6f285af1806e5507c004203218086bc", null ], - [ "OVERLAY_STATE_DISABLED", "group__api.html#ggabf15786f4b4ac5669318db70b02fb389aacda732d1c553bd699b73a456dd09d47", null ], - [ "OVERLAY_STATE_FAILED_TO_INITIALIZE", "group__api.html#ggabf15786f4b4ac5669318db70b02fb389a8aaa65e5907b045a0644b904da2a0ace", null ], - [ "OVERLAY_STATE_INITIALIZED", "group__api.html#ggabf15786f4b4ac5669318db70b02fb389acc422dc8bb238adf24c1d7320bcf7357", null ] - ] ], - [ "P2PSendType", "group__api.html#gac2b75cd8111214499aef51563ae89f9a", [ - [ "P2P_SEND_UNRELIABLE", "group__api.html#ggac2b75cd8111214499aef51563ae89f9aaa8b3226f86393bf9a7ac17031c36643c", null ], - [ "P2P_SEND_RELIABLE", "group__api.html#ggac2b75cd8111214499aef51563ae89f9aa29b17108439f84ca97abd881a695fb06", null ], - [ "P2P_SEND_UNRELIABLE_IMMEDIATE", "group__api.html#ggac2b75cd8111214499aef51563ae89f9aa294f30830907dfadaeac2cbb7966c884", null ], - [ "P2P_SEND_RELIABLE_IMMEDIATE", "group__api.html#ggac2b75cd8111214499aef51563ae89f9aa87221170828c607ce35486e4da3144bc", null ] - ] ], - [ "PersonaState", "group__api.html#ga608f6267eb31cafa281d634bc45ef356", [ - [ "PERSONA_STATE_OFFLINE", "group__api.html#gga608f6267eb31cafa281d634bc45ef356a77d5dff40751392f545c34823c5f77d1", null ], - [ "PERSONA_STATE_ONLINE", "group__api.html#gga608f6267eb31cafa281d634bc45ef356a8d560591609f716efa688497cd9def5b", null ] - ] ], - [ "GetError", "group__api.html#ga11169dd939f560d09704770a1ba4612b", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/group__api.map b/vendors/galaxy/Docs/group__api.map deleted file mode 100644 index 53bc1b695..000000000 --- a/vendors/galaxy/Docs/group__api.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/vendors/galaxy/Docs/group__api.md5 b/vendors/galaxy/Docs/group__api.md5 deleted file mode 100644 index 1b27846c9..000000000 --- a/vendors/galaxy/Docs/group__api.md5 +++ /dev/null @@ -1 +0,0 @@ -566bf0ccbbb30bdbd55dbe6112be710c \ No newline at end of file diff --git a/vendors/galaxy/Docs/group__api.svg b/vendors/galaxy/Docs/group__api.svg deleted file mode 100644 index 434c217cc..000000000 --- a/vendors/galaxy/Docs/group__api.svg +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - -Api - - -Node1 - - -Peer - - - - -Node0 - - -Api - - - - -Node0->Node1 - - - - -Node2 - - -GameServer - - - - -Node0->Node2 - - - - - diff --git a/vendors/galaxy/Docs/hierarchy.html b/vendors/galaxy/Docs/hierarchy.html deleted file mode 100644 index 119868eb1..000000000 --- a/vendors/galaxy/Docs/hierarchy.html +++ /dev/null @@ -1,254 +0,0 @@ - - - - - - - -GOG Galaxy: Class Hierarchy - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
Class Hierarchy
-
-
-
-

Go to the graphical class hierarchy

-This inheritance list is sorted roughly, but not completely, alphabetically:
-
[detail level 123]
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 C_TypeAwareListener
 CSelfRegisteringListener< _TypeAwareListener, _Registrar >The class that is inherited by the self-registering versions of all specific callback listeners
 CGalaxyAllocatorCustom memory allocator for GOG Galaxy SDK
 CGalaxyIDRepresents the ID of an entity used by Galaxy Peer
 CIAppsThe interface for managing application activities
 CIChatThe interface for chat communication with other Galaxy Users
 CICustomNetworkingThe interface for communicating with a custom endpoint
 CIErrorBase interface for exceptions
 CIInvalidArgumentErrorThe exception thrown to report that a method was called with an invalid argument
 CIInvalidStateErrorThe exception thrown to report that a method was called while the callee is in an invalid state, i.e
 CIRuntimeErrorThe exception thrown to report errors that can only be detected during runtime
 CIUnauthorizedAccessErrorThe exception thrown when calling Galaxy interfaces while the user is not signed in and thus not authorized for any interaction
 CIFriendsThe interface for managing social info and activities
 CIGalaxyListenerThe interface that is implemented by all specific callback listeners
 CGalaxyTypeAwareListener< type >The class that is inherited by all specific callback listeners and provides a static method that returns the type of the specific listener
 CGalaxyTypeAwareListener< ACCESS_TOKEN_CHANGE >
 CGalaxyTypeAwareListener< ACHIEVEMENT_CHANGE >
 CGalaxyTypeAwareListener< AUTH >
 CGalaxyTypeAwareListener< CHAT_ROOM_MESSAGE_SEND_LISTENER >
 CGalaxyTypeAwareListener< CHAT_ROOM_MESSAGES_LISTENER >
 CGalaxyTypeAwareListener< CHAT_ROOM_MESSAGES_RETRIEVE_LISTENER >
 CGalaxyTypeAwareListener< CHAT_ROOM_WITH_USER_RETRIEVE_LISTENER >
 CGalaxyTypeAwareListener< CUSTOM_NETWORKING_CONNECTION_CLOSE >
 CGalaxyTypeAwareListener< CUSTOM_NETWORKING_CONNECTION_DATA >
 CGalaxyTypeAwareListener< CUSTOM_NETWORKING_CONNECTION_OPEN >
 CGalaxyTypeAwareListener< ENCRYPTED_APP_TICKET_RETRIEVE >
 CGalaxyTypeAwareListener< FILE_SHARE >
 CGalaxyTypeAwareListener< FRIEND_ADD_LISTENER >
 CGalaxyTypeAwareListener< FRIEND_DELETE_LISTENER >
 CGalaxyTypeAwareListener< FRIEND_INVITATION_LIST_RETRIEVE_LISTENER >
 CGalaxyTypeAwareListener< FRIEND_INVITATION_LISTENER >
 CGalaxyTypeAwareListener< FRIEND_INVITATION_RESPOND_TO_LISTENER >
 CGalaxyTypeAwareListener< FRIEND_INVITATION_SEND_LISTENER >
 CGalaxyTypeAwareListener< FRIEND_LIST_RETRIEVE >
 CGalaxyTypeAwareListener< GAME_INVITATION_RECEIVED_LISTENER >
 CGalaxyTypeAwareListener< GAME_JOIN_REQUESTED_LISTENER >
 CGalaxyTypeAwareListener< GOG_SERVICES_CONNECTION_STATE_LISTENER >
 CGalaxyTypeAwareListener< INVITATION_SEND >
 CGalaxyTypeAwareListener< LEADERBOARD_ENTRIES_RETRIEVE >
 CGalaxyTypeAwareListener< LEADERBOARD_RETRIEVE >
 CGalaxyTypeAwareListener< LEADERBOARD_SCORE_UPDATE_LISTENER >
 CGalaxyTypeAwareListener< LEADERBOARDS_RETRIEVE >
 CGalaxyTypeAwareListener< LOBBY_CREATED >
 CGalaxyTypeAwareListener< LOBBY_DATA >
 CGalaxyTypeAwareListener< LOBBY_DATA_RETRIEVE >
 CGalaxyTypeAwareListener< LOBBY_DATA_UPDATE_LISTENER >
 CGalaxyTypeAwareListener< LOBBY_ENTERED >
 CGalaxyTypeAwareListener< LOBBY_LEFT >
 CGalaxyTypeAwareListener< LOBBY_LIST >
 CGalaxyTypeAwareListener< LOBBY_MEMBER_DATA_UPDATE_LISTENER >
 CGalaxyTypeAwareListener< LOBBY_MEMBER_STATE >
 CGalaxyTypeAwareListener< LOBBY_MESSAGE >
 CGalaxyTypeAwareListener< LOBBY_OWNER_CHANGE >
 CGalaxyTypeAwareListener< NAT_TYPE_DETECTION >
 CGalaxyTypeAwareListener< NETWORKING >
 CGalaxyTypeAwareListener< NOTIFICATION_LISTENER >
 CGalaxyTypeAwareListener< OPERATIONAL_STATE_CHANGE >
 CGalaxyTypeAwareListener< OTHER_SESSION_START >
 CGalaxyTypeAwareListener< OVERLAY_INITIALIZATION_STATE_CHANGE >
 CGalaxyTypeAwareListener< OVERLAY_VISIBILITY_CHANGE >
 CGalaxyTypeAwareListener< PERSONA_DATA_CHANGED >
 CGalaxyTypeAwareListener< RICH_PRESENCE_CHANGE_LISTENER >
 CGalaxyTypeAwareListener< RICH_PRESENCE_LISTENER >
 CGalaxyTypeAwareListener< RICH_PRESENCE_RETRIEVE_LISTENER >
 CGalaxyTypeAwareListener< SENT_FRIEND_INVITATION_LIST_RETRIEVE_LISTENER >
 CGalaxyTypeAwareListener< SHARED_FILE_DOWNLOAD >
 CGalaxyTypeAwareListener< SPECIFIC_USER_DATA >
 CGalaxyTypeAwareListener< STATS_AND_ACHIEVEMENTS_STORE >
 CGalaxyTypeAwareListener< TELEMETRY_EVENT_SEND_LISTENER >
 CGalaxyTypeAwareListener< USER_DATA >
 CGalaxyTypeAwareListener< USER_FIND_LISTENER >
 CGalaxyTypeAwareListener< USER_INFORMATION_RETRIEVE_LISTENER >
 CGalaxyTypeAwareListener< USER_STATS_AND_ACHIEVEMENTS_RETRIEVE >
 CGalaxyTypeAwareListener< USER_TIME_PLAYED_RETRIEVE >
 CIGalaxyThreadThe interface representing a thread object
 CIGalaxyThreadFactoryCustom thread spawner for the Galaxy SDK
 CIListenerRegistrarThe class that enables and disables global registration of the instances of specific listeners
 CILoggerThe interface for logging
 CIMatchmakingThe interface for managing game lobbies
 CINetworkingThe interface for communicating with other Galaxy Peers
 CInitOptionsThe group of options used for Init configuration
 CIStatsThe interface for managing statistics, achievements and leaderboards
 CIStorageThe interface for managing of cloud storage files
 CITelemetryThe interface for handling telemetry
 CIUserThe interface for handling the user account
 CIUtilsThe interface for managing images
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/hierarchy.js b/vendors/galaxy/Docs/hierarchy.js deleted file mode 100644 index f7e783d59..000000000 --- a/vendors/galaxy/Docs/hierarchy.js +++ /dev/null @@ -1,210 +0,0 @@ -var hierarchy = -[ - [ "_TypeAwareListener", null, [ - [ "SelfRegisteringListener< _TypeAwareListener, _Registrar >", "classgalaxy_1_1api_1_1SelfRegisteringListener.html", null ] - ] ], - [ "GalaxyAllocator", "structgalaxy_1_1api_1_1GalaxyAllocator.html", null ], - [ "GalaxyID", "classgalaxy_1_1api_1_1GalaxyID.html", null ], - [ "IApps", "classgalaxy_1_1api_1_1IApps.html", null ], - [ "IChat", "classgalaxy_1_1api_1_1IChat.html", null ], - [ "ICustomNetworking", "classgalaxy_1_1api_1_1ICustomNetworking.html", null ], - [ "IError", "classgalaxy_1_1api_1_1IError.html", [ - [ "IInvalidArgumentError", "classgalaxy_1_1api_1_1IInvalidArgumentError.html", null ], - [ "IInvalidStateError", "classgalaxy_1_1api_1_1IInvalidStateError.html", null ], - [ "IRuntimeError", "classgalaxy_1_1api_1_1IRuntimeError.html", null ], - [ "IUnauthorizedAccessError", "classgalaxy_1_1api_1_1IUnauthorizedAccessError.html", null ] - ] ], - [ "IFriends", "classgalaxy_1_1api_1_1IFriends.html", null ], - [ "IGalaxyListener", "classgalaxy_1_1api_1_1IGalaxyListener.html", [ - [ "GalaxyTypeAwareListener< type >", "classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html", null ], - [ "GalaxyTypeAwareListener< ACCESS_TOKEN_CHANGE >", "classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html", [ - [ "IAccessTokenListener", "classgalaxy_1_1api_1_1IAccessTokenListener.html", null ] - ] ], - [ "GalaxyTypeAwareListener< ACHIEVEMENT_CHANGE >", "classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html", [ - [ "IAchievementChangeListener", "classgalaxy_1_1api_1_1IAchievementChangeListener.html", null ] - ] ], - [ "GalaxyTypeAwareListener< AUTH >", "classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html", [ - [ "IAuthListener", "classgalaxy_1_1api_1_1IAuthListener.html", null ] - ] ], - [ "GalaxyTypeAwareListener< CHAT_ROOM_MESSAGE_SEND_LISTENER >", "classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html", [ - [ "IChatRoomMessageSendListener", "classgalaxy_1_1api_1_1IChatRoomMessageSendListener.html", null ] - ] ], - [ "GalaxyTypeAwareListener< CHAT_ROOM_MESSAGES_LISTENER >", "classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html", [ - [ "IChatRoomMessagesListener", "classgalaxy_1_1api_1_1IChatRoomMessagesListener.html", null ] - ] ], - [ "GalaxyTypeAwareListener< CHAT_ROOM_MESSAGES_RETRIEVE_LISTENER >", "classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html", [ - [ "IChatRoomMessagesRetrieveListener", "classgalaxy_1_1api_1_1IChatRoomMessagesRetrieveListener.html", null ] - ] ], - [ "GalaxyTypeAwareListener< CHAT_ROOM_WITH_USER_RETRIEVE_LISTENER >", "classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html", [ - [ "IChatRoomWithUserRetrieveListener", "classgalaxy_1_1api_1_1IChatRoomWithUserRetrieveListener.html", null ] - ] ], - [ "GalaxyTypeAwareListener< CUSTOM_NETWORKING_CONNECTION_CLOSE >", "classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html", [ - [ "IConnectionCloseListener", "classgalaxy_1_1api_1_1IConnectionCloseListener.html", null ] - ] ], - [ "GalaxyTypeAwareListener< CUSTOM_NETWORKING_CONNECTION_DATA >", "classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html", [ - [ "IConnectionDataListener", "classgalaxy_1_1api_1_1IConnectionDataListener.html", null ] - ] ], - [ "GalaxyTypeAwareListener< CUSTOM_NETWORKING_CONNECTION_OPEN >", "classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html", [ - [ "IConnectionOpenListener", "classgalaxy_1_1api_1_1IConnectionOpenListener.html", null ] - ] ], - [ "GalaxyTypeAwareListener< ENCRYPTED_APP_TICKET_RETRIEVE >", "classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html", [ - [ "IEncryptedAppTicketListener", "classgalaxy_1_1api_1_1IEncryptedAppTicketListener.html", null ] - ] ], - [ "GalaxyTypeAwareListener< FILE_SHARE >", "classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html", [ - [ "IFileShareListener", "classgalaxy_1_1api_1_1IFileShareListener.html", null ] - ] ], - [ "GalaxyTypeAwareListener< FRIEND_ADD_LISTENER >", "classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html", [ - [ "IFriendAddListener", "classgalaxy_1_1api_1_1IFriendAddListener.html", null ] - ] ], - [ "GalaxyTypeAwareListener< FRIEND_DELETE_LISTENER >", "classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html", [ - [ "IFriendDeleteListener", "classgalaxy_1_1api_1_1IFriendDeleteListener.html", null ] - ] ], - [ "GalaxyTypeAwareListener< FRIEND_INVITATION_LIST_RETRIEVE_LISTENER >", "classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html", [ - [ "IFriendInvitationListRetrieveListener", "classgalaxy_1_1api_1_1IFriendInvitationListRetrieveListener.html", null ] - ] ], - [ "GalaxyTypeAwareListener< FRIEND_INVITATION_LISTENER >", "classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html", [ - [ "IFriendInvitationListener", "classgalaxy_1_1api_1_1IFriendInvitationListener.html", null ] - ] ], - [ "GalaxyTypeAwareListener< FRIEND_INVITATION_RESPOND_TO_LISTENER >", "classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html", [ - [ "IFriendInvitationRespondToListener", "classgalaxy_1_1api_1_1IFriendInvitationRespondToListener.html", null ] - ] ], - [ "GalaxyTypeAwareListener< FRIEND_INVITATION_SEND_LISTENER >", "classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html", [ - [ "IFriendInvitationSendListener", "classgalaxy_1_1api_1_1IFriendInvitationSendListener.html", null ] - ] ], - [ "GalaxyTypeAwareListener< FRIEND_LIST_RETRIEVE >", "classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html", [ - [ "IFriendListListener", "classgalaxy_1_1api_1_1IFriendListListener.html", null ] - ] ], - [ "GalaxyTypeAwareListener< GAME_INVITATION_RECEIVED_LISTENER >", "classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html", [ - [ "IGameInvitationReceivedListener", "classgalaxy_1_1api_1_1IGameInvitationReceivedListener.html", null ] - ] ], - [ "GalaxyTypeAwareListener< GAME_JOIN_REQUESTED_LISTENER >", "classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html", [ - [ "IGameJoinRequestedListener", "classgalaxy_1_1api_1_1IGameJoinRequestedListener.html", null ] - ] ], - [ "GalaxyTypeAwareListener< GOG_SERVICES_CONNECTION_STATE_LISTENER >", "classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html", [ - [ "IGogServicesConnectionStateListener", "classgalaxy_1_1api_1_1IGogServicesConnectionStateListener.html", null ] - ] ], - [ "GalaxyTypeAwareListener< INVITATION_SEND >", "classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html", [ - [ "ISendInvitationListener", "classgalaxy_1_1api_1_1ISendInvitationListener.html", null ] - ] ], - [ "GalaxyTypeAwareListener< LEADERBOARD_ENTRIES_RETRIEVE >", "classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html", [ - [ "ILeaderboardEntriesRetrieveListener", "classgalaxy_1_1api_1_1ILeaderboardEntriesRetrieveListener.html", null ] - ] ], - [ "GalaxyTypeAwareListener< LEADERBOARD_RETRIEVE >", "classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html", [ - [ "ILeaderboardRetrieveListener", "classgalaxy_1_1api_1_1ILeaderboardRetrieveListener.html", null ] - ] ], - [ "GalaxyTypeAwareListener< LEADERBOARD_SCORE_UPDATE_LISTENER >", "classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html", [ - [ "ILeaderboardScoreUpdateListener", "classgalaxy_1_1api_1_1ILeaderboardScoreUpdateListener.html", null ] - ] ], - [ "GalaxyTypeAwareListener< LEADERBOARDS_RETRIEVE >", "classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html", [ - [ "ILeaderboardsRetrieveListener", "classgalaxy_1_1api_1_1ILeaderboardsRetrieveListener.html", null ] - ] ], - [ "GalaxyTypeAwareListener< LOBBY_CREATED >", "classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html", [ - [ "ILobbyCreatedListener", "classgalaxy_1_1api_1_1ILobbyCreatedListener.html", null ] - ] ], - [ "GalaxyTypeAwareListener< LOBBY_DATA >", "classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html", [ - [ "ILobbyDataListener", "classgalaxy_1_1api_1_1ILobbyDataListener.html", null ] - ] ], - [ "GalaxyTypeAwareListener< LOBBY_DATA_RETRIEVE >", "classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html", [ - [ "ILobbyDataRetrieveListener", "classgalaxy_1_1api_1_1ILobbyDataRetrieveListener.html", null ] - ] ], - [ "GalaxyTypeAwareListener< LOBBY_DATA_UPDATE_LISTENER >", "classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html", [ - [ "ILobbyDataUpdateListener", "classgalaxy_1_1api_1_1ILobbyDataUpdateListener.html", null ] - ] ], - [ "GalaxyTypeAwareListener< LOBBY_ENTERED >", "classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html", [ - [ "ILobbyEnteredListener", "classgalaxy_1_1api_1_1ILobbyEnteredListener.html", null ] - ] ], - [ "GalaxyTypeAwareListener< LOBBY_LEFT >", "classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html", [ - [ "ILobbyLeftListener", "classgalaxy_1_1api_1_1ILobbyLeftListener.html", null ] - ] ], - [ "GalaxyTypeAwareListener< LOBBY_LIST >", "classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html", [ - [ "ILobbyListListener", "classgalaxy_1_1api_1_1ILobbyListListener.html", null ] - ] ], - [ "GalaxyTypeAwareListener< LOBBY_MEMBER_DATA_UPDATE_LISTENER >", "classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html", [ - [ "ILobbyMemberDataUpdateListener", "classgalaxy_1_1api_1_1ILobbyMemberDataUpdateListener.html", null ] - ] ], - [ "GalaxyTypeAwareListener< LOBBY_MEMBER_STATE >", "classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html", [ - [ "ILobbyMemberStateListener", "classgalaxy_1_1api_1_1ILobbyMemberStateListener.html", null ] - ] ], - [ "GalaxyTypeAwareListener< LOBBY_MESSAGE >", "classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html", [ - [ "ILobbyMessageListener", "classgalaxy_1_1api_1_1ILobbyMessageListener.html", null ] - ] ], - [ "GalaxyTypeAwareListener< LOBBY_OWNER_CHANGE >", "classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html", [ - [ "ILobbyOwnerChangeListener", "classgalaxy_1_1api_1_1ILobbyOwnerChangeListener.html", null ] - ] ], - [ "GalaxyTypeAwareListener< NAT_TYPE_DETECTION >", "classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html", [ - [ "INatTypeDetectionListener", "classgalaxy_1_1api_1_1INatTypeDetectionListener.html", null ] - ] ], - [ "GalaxyTypeAwareListener< NETWORKING >", "classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html", [ - [ "INetworkingListener", "classgalaxy_1_1api_1_1INetworkingListener.html", null ] - ] ], - [ "GalaxyTypeAwareListener< NOTIFICATION_LISTENER >", "classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html", [ - [ "INotificationListener", "classgalaxy_1_1api_1_1INotificationListener.html", null ] - ] ], - [ "GalaxyTypeAwareListener< OPERATIONAL_STATE_CHANGE >", "classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html", [ - [ "IOperationalStateChangeListener", "classgalaxy_1_1api_1_1IOperationalStateChangeListener.html", null ] - ] ], - [ "GalaxyTypeAwareListener< OTHER_SESSION_START >", "classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html", [ - [ "IOtherSessionStartListener", "classgalaxy_1_1api_1_1IOtherSessionStartListener.html", null ] - ] ], - [ "GalaxyTypeAwareListener< OVERLAY_INITIALIZATION_STATE_CHANGE >", "classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html", [ - [ "IOverlayInitializationStateChangeListener", "classgalaxy_1_1api_1_1IOverlayInitializationStateChangeListener.html", null ] - ] ], - [ "GalaxyTypeAwareListener< OVERLAY_VISIBILITY_CHANGE >", "classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html", [ - [ "IOverlayVisibilityChangeListener", "classgalaxy_1_1api_1_1IOverlayVisibilityChangeListener.html", null ] - ] ], - [ "GalaxyTypeAwareListener< PERSONA_DATA_CHANGED >", "classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html", [ - [ "IPersonaDataChangedListener", "classgalaxy_1_1api_1_1IPersonaDataChangedListener.html", null ] - ] ], - [ "GalaxyTypeAwareListener< RICH_PRESENCE_CHANGE_LISTENER >", "classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html", [ - [ "IRichPresenceChangeListener", "classgalaxy_1_1api_1_1IRichPresenceChangeListener.html", null ] - ] ], - [ "GalaxyTypeAwareListener< RICH_PRESENCE_LISTENER >", "classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html", [ - [ "IRichPresenceListener", "classgalaxy_1_1api_1_1IRichPresenceListener.html", null ] - ] ], - [ "GalaxyTypeAwareListener< RICH_PRESENCE_RETRIEVE_LISTENER >", "classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html", [ - [ "IRichPresenceRetrieveListener", "classgalaxy_1_1api_1_1IRichPresenceRetrieveListener.html", null ] - ] ], - [ "GalaxyTypeAwareListener< SENT_FRIEND_INVITATION_LIST_RETRIEVE_LISTENER >", "classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html", [ - [ "ISentFriendInvitationListRetrieveListener", "classgalaxy_1_1api_1_1ISentFriendInvitationListRetrieveListener.html", null ] - ] ], - [ "GalaxyTypeAwareListener< SHARED_FILE_DOWNLOAD >", "classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html", [ - [ "ISharedFileDownloadListener", "classgalaxy_1_1api_1_1ISharedFileDownloadListener.html", null ] - ] ], - [ "GalaxyTypeAwareListener< SPECIFIC_USER_DATA >", "classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html", [ - [ "ISpecificUserDataListener", "classgalaxy_1_1api_1_1ISpecificUserDataListener.html", null ] - ] ], - [ "GalaxyTypeAwareListener< STATS_AND_ACHIEVEMENTS_STORE >", "classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html", [ - [ "IStatsAndAchievementsStoreListener", "classgalaxy_1_1api_1_1IStatsAndAchievementsStoreListener.html", null ] - ] ], - [ "GalaxyTypeAwareListener< TELEMETRY_EVENT_SEND_LISTENER >", "classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html", [ - [ "ITelemetryEventSendListener", "classgalaxy_1_1api_1_1ITelemetryEventSendListener.html", null ] - ] ], - [ "GalaxyTypeAwareListener< USER_DATA >", "classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html", [ - [ "IUserDataListener", "classgalaxy_1_1api_1_1IUserDataListener.html", null ] - ] ], - [ "GalaxyTypeAwareListener< USER_FIND_LISTENER >", "classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html", [ - [ "IUserFindListener", "classgalaxy_1_1api_1_1IUserFindListener.html", null ] - ] ], - [ "GalaxyTypeAwareListener< USER_INFORMATION_RETRIEVE_LISTENER >", "classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html", [ - [ "IUserInformationRetrieveListener", "classgalaxy_1_1api_1_1IUserInformationRetrieveListener.html", null ] - ] ], - [ "GalaxyTypeAwareListener< USER_STATS_AND_ACHIEVEMENTS_RETRIEVE >", "classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html", [ - [ "IUserStatsAndAchievementsRetrieveListener", "classgalaxy_1_1api_1_1IUserStatsAndAchievementsRetrieveListener.html", null ] - ] ], - [ "GalaxyTypeAwareListener< USER_TIME_PLAYED_RETRIEVE >", "classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html", [ - [ "IUserTimePlayedRetrieveListener", "classgalaxy_1_1api_1_1IUserTimePlayedRetrieveListener.html", null ] - ] ] - ] ], - [ "IGalaxyThread", "classgalaxy_1_1api_1_1IGalaxyThread.html", null ], - [ "IGalaxyThreadFactory", "classgalaxy_1_1api_1_1IGalaxyThreadFactory.html", null ], - [ "IListenerRegistrar", "classgalaxy_1_1api_1_1IListenerRegistrar.html", null ], - [ "ILogger", "classgalaxy_1_1api_1_1ILogger.html", null ], - [ "IMatchmaking", "classgalaxy_1_1api_1_1IMatchmaking.html", null ], - [ "INetworking", "classgalaxy_1_1api_1_1INetworking.html", null ], - [ "InitOptions", "structgalaxy_1_1api_1_1InitOptions.html", null ], - [ "IStats", "classgalaxy_1_1api_1_1IStats.html", null ], - [ "IStorage", "classgalaxy_1_1api_1_1IStorage.html", null ], - [ "ITelemetry", "classgalaxy_1_1api_1_1ITelemetry.html", null ], - [ "IUser", "classgalaxy_1_1api_1_1IUser.html", null ], - [ "IUtils", "classgalaxy_1_1api_1_1IUtils.html", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/index.html b/vendors/galaxy/Docs/index.html deleted file mode 100644 index 7c867f49f..000000000 --- a/vendors/galaxy/Docs/index.html +++ /dev/null @@ -1,252 +0,0 @@ - - - - - - - -GOG Galaxy: Introduction - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
Introduction
-
-
- -

-Getting started

-

Developing a game with Galaxy needs to start from linking your application to the following libraries:

    -
  • Galaxy.lib or Galaxy64.lib on Windows
  • -
  • libGalaxy64.dylib on MacOSX
  • -
-

All libraries are loaded dynamically, so they have to be placed in the same folder as your executable.

-

-Client credentials

-

In order to use the Galaxy API, you should request special client credentials from GOG.com for each game you develop. You will be provided with a pair of Client ID and Client Secret that are to be used when calling Init().

-

Client credentials identify your game within Galaxy. Only Galaxy Peers that use the same Client ID can interact with each other.

-

-Overview

-

The Galaxy API is divided into multiple header files. You can either include only the header files with the data structures and interfaces you need, or simply include the file called GalaxyApi.h that includes all the other files.

-

You can control your Galaxy Peer through interfaces for specific feature sets, e.g. IUser, IMatchmaking, INetworking, IFriends, IListenerRegistrar, ILogger. They can be accessed with global functions called User(), Matchmaking(), Networking(), ListenerRegistrar(), etc.

-

For every frame you should call ProcessData() to process input and output streams.

-

-Error handling

-

Error occured on call to Galaxy API can be obtain by calling GetError(), which returns NULL if there was no error. Every call to an API method resets last stored error, therefore you should check for errors after each call.

-

Global function ThrowIfGalaxyError() can translate errors to C++ exceptions. It calls GetError() and throws appropriate exception if there was an error during the last API call.

-

-Listeners

-

Since many method calls are asynchronous, there is a mechanism for receiving responses within a callback that is based on implementing special interfaces called listeners that derive from the IGalaxyListener interface.

-

There is two kind of listeners:

    -
  • Global listeners will receive notifications about all events of a specific type. Global listeners need to be registered in the IListenerRegistrar in order to receive a notification via a callback when an event has occurred. For convenience, there is a basic implementation for each listener that registers and unregisters automatically.
  • -
  • Specific listeners will receive only notifications related to a specific function call. Subsequent function calls with the same specific listeners passed to a function will result in same listener be notified multiple times. Specific listeners are automatically registered when passed to a function and unregistered right after an event occurs. They might be unregistered at anytime.
  • -
-

All listeners are called during the phase of processing data, i.e. during the call to ProcessData().

-

-Authentication

-

You need to authenticate the Galaxy Peer by signing in the user. To do that, you need to get an instance of IUser interface and call one of IUser::SignIn...() methods, depending of your platform.

-

As with any other asynchronous call, you will get the information about the result of your request via a dedicated listener. For that to happen, you already need to call ProcessData() in a loop as mentioned earlier.

-

In case of limited availability of Galaxy backend services it might happen that the user gets signed in within local Galaxy Service, yet still does not manage to log on to Galaxy backend services. In that case the Galaxy Peer offers only some of its functionality.

-

Having successfully signed in the user, you may want to check that the user is logged on to Galaxy backend services by calling IUser::IsLoggedOn().

-

Information about being signed in or signed out, as well as information about being logged on or logged off, determine the operational state of Galaxy Peer and both come to the IOperationalStateChangeListener.

-

-Matchmaking

-

To play a match with other users, the users needs to join them in a so called lobby. The user can either join an existing lobby or create one. All this is done with the IMatchmaking interface.

-

Typically you will set appropriate filters by calling e.g. IMatchmaking::AddRequestLobbyListStringFilter() or IMatchmaking::AddRequestLobbyListNumericalFilter(), then retrieve the list of available lobbies by calling IMatchmaking::RequestLobbyList(), and than make the user join one of the lobbies by calling IMatchmaking::JoinLobby(). Alternatively the user might want to create a lobby, in which case you will need to call IMatchmaking::CreateLobby().

-

-Lobbies

-

Users need to stay present in the lobby for the whole match, until it ends.

-

When the user is the owner of a lobby, its Galaxy Peer needs to act as the game host.

-

-Messaging

-

You can broadcast messages to all Galaxy Peers in the lobby by calling IMatchmaking::SendLobbyMessage(). Each recipient should be registered for notifications about incoming messages with dedicated listener, and on the occurrence of such notification call IMatchmaking::GetLobbyMessage().

-

-P2P networking

-

You can communicate with other Galaxy Peers that are in the same lobby using the INetworking interface. This way of communication is meant to be used for sending data that is directed to certain Galaxy Peers, especially for sending large amount of date in case of audio and video communication. Use it also for sending any other game data that is not crucial, yet needs to be delivered quickly.

-

-Sending P2P packets

-

To send a P2P packet call INetworking::SendP2PPacket().

-

You can send packets to specific users by explicitly providing their IDs, or implicitly to the lobby owner (game host) by providing the ID of the lobby as the recipient.

-

-Receiving P2P packets

-

To receive the packets that come to your Galaxy Peer get the instance of INetworking by calling GetNetworking().

-

-Game Server

-

The Game Server API allows for creating a lightweight dedicated servers, that does not require Galaxy Client installed.

-

For the detailed description of the Game Server interfaces refer to the GameServer.

-

-Statistics, achievements and leaderboards

-

The Galaxy API allows you to store information about statistic counters and unlocked achievements using the IStats interface.

-

You can retrieve statistics and achievements of the user who is currently signed in, or other user that he interacts with, by calling IStats::RequestUserStatsAndAchievements().

-

Having retrieved statistics and achievement of your user, you can both read and update them. After making edits to statistics and achievements you will need to store them by calling IStats::StoreStatsAndAchievements().

-

You can retrieve leaderboards by calling IStats::RequestLeaderboards().

-

Having retrieved leaderboard definitions you can change user's score by using IStats::SetLeaderboardScore() and retrieve leaderboard entries with scores and ranks of competing users by calling IStats::RequestLeaderboardEntriesGlobal(), IStats::RequestLeaderboardEntriesAroundUser(), or IStats::RequestLeaderboardEntriesForUsers().

-

-Friends

-

The Galaxy API allows you to download the list of your friends by calling IFriends::RequestFriendList().

-

Having retrieved the friend list you can browse it by calling IFriends::GetFriendCount() and IFriends::GetFriendByIndex().

-

The Galaxy API allows you to browse information about other users.

-

You can retrieve information about a specific user by calling IFriends::RequestUserInformation().

-

Having retrieved other user information you can read it by calling IFriends::GetFriendPersonaName() and IFriends::GetFriendAvatarUrl().

-

Some operations, e.g. entering a lobby or requesting for the friend list, automatically retrieve information about lobby members or friends accordingly.

-

-Inviting friends

-

The Galaxy API allows you to invite your friends to play together by calling IFriends::ShowOverlayInviteDialog(). This require the connectionString which will allow other users to join your game.

-

Typically the connectionString looks like "-connect-lobby-<id>".

-

After the invitation receiver gets the notification, he can click the JOIN button, which will fire IGameJoinRequestedListener with connectionString, or will start the game with connectionString as a parameter.

-

-RichPresence

-

The Galaxy API allows you to set the RichPresence "status" and "connect" keys. "status" key will be visible to your friends inside the Galaxy Client chat and friend list. "connect" key will be visible to your friends as a JOIN button, which works exactly the same way as like the player would receive the game invitation.

-

-Chat

-

The Galaxy API allows to embed the GOG Galaxy chat, available for the GOG users on the website, in the GOG Galaxy Client and in the in-game overlay, directly into the game.

-

-Chat room

-

A chat room with a user can be created explicitly by calling IChat::RequestChatRoomWithUser(), or implicitly by new messages incoming to the IChatRoomMessagesListener::OnChatRoomMessagesReceived() callback listener. In this chat room, you can get the number of unread messages, by calling IChat::GetChatRoomUnreadMessageCount(), or iterate over chat room participants by calling IChat::GetChatRoomMemberUserIDByIndex(), up to the IChat::GetChatRoomMemberCount() participants.

-

-Chat history

-

If you need to retrieve the chat room history, call IChat::RequestChatRoomMessages() method. By omitting the optional parameter referenceMessageID, only the latest messages will be retrieved. Retrieved messages will be available in the IChatRoomMessagesListener::OnChatRoomMessagesReceived() call, during which they can be read by calling IChat::GetChatRoomMessageByIndex(). Once all messages has been processed and rendered to the user, they can be marked as read by calling the IChat::MarkChatRoomAsRead() method.

-

-Sending and receiving chat messages

-

Sending messages is possible only to the existing (see above) chat rooms by calling IChat::SendChatRoomMessage(). Every participant of a chat room will receive messages coming to the IChatRoomMessagesListener::OnChatRoomMessagesReceived() callback method.

-

-Storage

-

The Galaxy API allows you to store files in Galaxy's backend services. The files are automatically synchronized by the Galaxy Client application.

-

-Automatic Cloud Saves syncing

-

The easiest way to add Cloud Saves functionality to your game is to use the Automatic Cloud Saves syncing mechanism. In this solution GOG Galaxy only needs to know the path, where the save games are stored and will handle sync between the local folder and cloud storage automatically. The sync is performed before the game is launched, after the game quits, after the installation and before the uninstallation. To enable Automatic Cloud Saves syncing contact your Product Manager.

-

-Cloud Storage direct access

-

If your game requires more complex managing of local and remote files or you don't want to interact with the file system directly you can use the IStorage interface. It provides the abstraction over the file system (read/write/delete files and the metadata). You can also share the files created this way with other gog users. The folder will be synchronized automatically like mentioned in the previous section.

-

-DLC discovery

-

There is an easy way of checking if a DLC has been installed by calling IApps::IsDlcInstalled() with the Product ID of the particular DLC. This feature does not require the user to be online, or Galaxy Client to be installed, or even Galaxy API to be fully initialized, however you still need to call Init() first.

-

-Game language

-

There is an easy way of retrieving game or DLC language by calling IApps::GetCurrentGameLanguage() with the Product ID of the game (0 can be used to retrieve base game language) or particular DLC. This feature does not require the user to be online, or Galaxy Client to be installed, or even Galaxy API to be fully initialized, however you still need to call Init() first.

-

-Thread-safety

-

The Galaxy API is thread-safe in general, however there are some methods that return pointers and therefore cannot be used in multi-threaded environments. In order to address the issue the similar methods of names with a suffix of "Copy" were introduced, e.g. compare IFriends::GetPersonaName() and IFriends::GetPersonaNameCopy().

-
-
-
- - - - diff --git a/vendors/galaxy/Docs/inherit_graph_0.map b/vendors/galaxy/Docs/inherit_graph_0.map deleted file mode 100644 index 7f3cf9dec..000000000 --- a/vendors/galaxy/Docs/inherit_graph_0.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/vendors/galaxy/Docs/inherit_graph_0.md5 b/vendors/galaxy/Docs/inherit_graph_0.md5 deleted file mode 100644 index 434e75dca..000000000 --- a/vendors/galaxy/Docs/inherit_graph_0.md5 +++ /dev/null @@ -1 +0,0 @@ -9fe53fdc0a33f7077244ac4f56ac2f4e \ No newline at end of file diff --git a/vendors/galaxy/Docs/inherit_graph_0.svg b/vendors/galaxy/Docs/inherit_graph_0.svg deleted file mode 100644 index 7c22157c3..000000000 --- a/vendors/galaxy/Docs/inherit_graph_0.svg +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - -Graphical Class Hierarchy - - -Node0 - - -GalaxyAllocator - - - - - diff --git a/vendors/galaxy/Docs/inherit_graph_1.map b/vendors/galaxy/Docs/inherit_graph_1.map deleted file mode 100644 index bea89b840..000000000 --- a/vendors/galaxy/Docs/inherit_graph_1.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/vendors/galaxy/Docs/inherit_graph_1.md5 b/vendors/galaxy/Docs/inherit_graph_1.md5 deleted file mode 100644 index f9f5a4bb3..000000000 --- a/vendors/galaxy/Docs/inherit_graph_1.md5 +++ /dev/null @@ -1 +0,0 @@ -842a7be5b4fe6b43db959835d59e4211 \ No newline at end of file diff --git a/vendors/galaxy/Docs/inherit_graph_1.svg b/vendors/galaxy/Docs/inherit_graph_1.svg deleted file mode 100644 index e879c0bf0..000000000 --- a/vendors/galaxy/Docs/inherit_graph_1.svg +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - -Graphical Class Hierarchy - - -Node0 - - -GalaxyID - - - - - diff --git a/vendors/galaxy/Docs/inherit_graph_10.map b/vendors/galaxy/Docs/inherit_graph_10.map deleted file mode 100644 index edab937f5..000000000 --- a/vendors/galaxy/Docs/inherit_graph_10.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/vendors/galaxy/Docs/inherit_graph_10.md5 b/vendors/galaxy/Docs/inherit_graph_10.md5 deleted file mode 100644 index 71ddd989f..000000000 --- a/vendors/galaxy/Docs/inherit_graph_10.md5 +++ /dev/null @@ -1 +0,0 @@ -781170817ed0ac5155f7c606a3aa9750 \ No newline at end of file diff --git a/vendors/galaxy/Docs/inherit_graph_10.svg b/vendors/galaxy/Docs/inherit_graph_10.svg deleted file mode 100644 index ae71b8d46..000000000 --- a/vendors/galaxy/Docs/inherit_graph_10.svg +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - -Graphical Class Hierarchy - - -Node0 - - -IListenerRegistrar - - - - - diff --git a/vendors/galaxy/Docs/inherit_graph_11.map b/vendors/galaxy/Docs/inherit_graph_11.map deleted file mode 100644 index f797af0a2..000000000 --- a/vendors/galaxy/Docs/inherit_graph_11.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/vendors/galaxy/Docs/inherit_graph_11.md5 b/vendors/galaxy/Docs/inherit_graph_11.md5 deleted file mode 100644 index 94be1c110..000000000 --- a/vendors/galaxy/Docs/inherit_graph_11.md5 +++ /dev/null @@ -1 +0,0 @@ -c6965dc3bf8c05aabc7ce9421bee8df4 \ No newline at end of file diff --git a/vendors/galaxy/Docs/inherit_graph_11.svg b/vendors/galaxy/Docs/inherit_graph_11.svg deleted file mode 100644 index 3a061179e..000000000 --- a/vendors/galaxy/Docs/inherit_graph_11.svg +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - -Graphical Class Hierarchy - - -Node0 - - -ILogger - - - - - diff --git a/vendors/galaxy/Docs/inherit_graph_12.map b/vendors/galaxy/Docs/inherit_graph_12.map deleted file mode 100644 index 2593a802c..000000000 --- a/vendors/galaxy/Docs/inherit_graph_12.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/vendors/galaxy/Docs/inherit_graph_12.md5 b/vendors/galaxy/Docs/inherit_graph_12.md5 deleted file mode 100644 index 9952195d2..000000000 --- a/vendors/galaxy/Docs/inherit_graph_12.md5 +++ /dev/null @@ -1 +0,0 @@ -7b3377208542f62b4a74db5fe2f3bf53 \ No newline at end of file diff --git a/vendors/galaxy/Docs/inherit_graph_12.svg b/vendors/galaxy/Docs/inherit_graph_12.svg deleted file mode 100644 index 02402ee8e..000000000 --- a/vendors/galaxy/Docs/inherit_graph_12.svg +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - -Graphical Class Hierarchy - - -Node0 - - -IMatchmaking - - - - - diff --git a/vendors/galaxy/Docs/inherit_graph_13.map b/vendors/galaxy/Docs/inherit_graph_13.map deleted file mode 100644 index f4511c9e5..000000000 --- a/vendors/galaxy/Docs/inherit_graph_13.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/vendors/galaxy/Docs/inherit_graph_13.md5 b/vendors/galaxy/Docs/inherit_graph_13.md5 deleted file mode 100644 index 808ecdec6..000000000 --- a/vendors/galaxy/Docs/inherit_graph_13.md5 +++ /dev/null @@ -1 +0,0 @@ -0e6f2f9f89e5977c1a26a8374cc6d894 \ No newline at end of file diff --git a/vendors/galaxy/Docs/inherit_graph_13.svg b/vendors/galaxy/Docs/inherit_graph_13.svg deleted file mode 100644 index 7d51129ca..000000000 --- a/vendors/galaxy/Docs/inherit_graph_13.svg +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - -Graphical Class Hierarchy - - -Node0 - - -INetworking - - - - - diff --git a/vendors/galaxy/Docs/inherit_graph_14.map b/vendors/galaxy/Docs/inherit_graph_14.map deleted file mode 100644 index 78bd8dda5..000000000 --- a/vendors/galaxy/Docs/inherit_graph_14.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/vendors/galaxy/Docs/inherit_graph_14.md5 b/vendors/galaxy/Docs/inherit_graph_14.md5 deleted file mode 100644 index f72a0d1e1..000000000 --- a/vendors/galaxy/Docs/inherit_graph_14.md5 +++ /dev/null @@ -1 +0,0 @@ -90d4d09d7a005817a1cf3ef4410fe686 \ No newline at end of file diff --git a/vendors/galaxy/Docs/inherit_graph_14.svg b/vendors/galaxy/Docs/inherit_graph_14.svg deleted file mode 100644 index 947552b4a..000000000 --- a/vendors/galaxy/Docs/inherit_graph_14.svg +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - -Graphical Class Hierarchy - - -Node0 - - -InitOptions - - - - - diff --git a/vendors/galaxy/Docs/inherit_graph_15.map b/vendors/galaxy/Docs/inherit_graph_15.map deleted file mode 100644 index 2bd977c20..000000000 --- a/vendors/galaxy/Docs/inherit_graph_15.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/vendors/galaxy/Docs/inherit_graph_15.md5 b/vendors/galaxy/Docs/inherit_graph_15.md5 deleted file mode 100644 index 111290364..000000000 --- a/vendors/galaxy/Docs/inherit_graph_15.md5 +++ /dev/null @@ -1 +0,0 @@ -88d934f290b91f5815600f489170e9ff \ No newline at end of file diff --git a/vendors/galaxy/Docs/inherit_graph_15.svg b/vendors/galaxy/Docs/inherit_graph_15.svg deleted file mode 100644 index f72e994d5..000000000 --- a/vendors/galaxy/Docs/inherit_graph_15.svg +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - -Graphical Class Hierarchy - - -Node0 - - -IStats - - - - - diff --git a/vendors/galaxy/Docs/inherit_graph_16.map b/vendors/galaxy/Docs/inherit_graph_16.map deleted file mode 100644 index a311d9760..000000000 --- a/vendors/galaxy/Docs/inherit_graph_16.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/vendors/galaxy/Docs/inherit_graph_16.md5 b/vendors/galaxy/Docs/inherit_graph_16.md5 deleted file mode 100644 index 9b851da8e..000000000 --- a/vendors/galaxy/Docs/inherit_graph_16.md5 +++ /dev/null @@ -1 +0,0 @@ -2a73d6adf589e82529f540dcb8f7eb5e \ No newline at end of file diff --git a/vendors/galaxy/Docs/inherit_graph_16.svg b/vendors/galaxy/Docs/inherit_graph_16.svg deleted file mode 100644 index e8f1726e8..000000000 --- a/vendors/galaxy/Docs/inherit_graph_16.svg +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - -Graphical Class Hierarchy - - -Node0 - - -IStorage - - - - - diff --git a/vendors/galaxy/Docs/inherit_graph_17.map b/vendors/galaxy/Docs/inherit_graph_17.map deleted file mode 100644 index 11dbc5676..000000000 --- a/vendors/galaxy/Docs/inherit_graph_17.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/vendors/galaxy/Docs/inherit_graph_17.md5 b/vendors/galaxy/Docs/inherit_graph_17.md5 deleted file mode 100644 index 2df1dabf2..000000000 --- a/vendors/galaxy/Docs/inherit_graph_17.md5 +++ /dev/null @@ -1 +0,0 @@ -bdedb7bfe9708d4c562c97db77e73c10 \ No newline at end of file diff --git a/vendors/galaxy/Docs/inherit_graph_17.svg b/vendors/galaxy/Docs/inherit_graph_17.svg deleted file mode 100644 index 4e04f7909..000000000 --- a/vendors/galaxy/Docs/inherit_graph_17.svg +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - -Graphical Class Hierarchy - - -Node0 - - -ITelemetry - - - - - diff --git a/vendors/galaxy/Docs/inherit_graph_18.map b/vendors/galaxy/Docs/inherit_graph_18.map deleted file mode 100644 index faae2c48f..000000000 --- a/vendors/galaxy/Docs/inherit_graph_18.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/vendors/galaxy/Docs/inherit_graph_18.md5 b/vendors/galaxy/Docs/inherit_graph_18.md5 deleted file mode 100644 index 6e46c336f..000000000 --- a/vendors/galaxy/Docs/inherit_graph_18.md5 +++ /dev/null @@ -1 +0,0 @@ -9089eb6aeefe63cc21e0428b7f73a28c \ No newline at end of file diff --git a/vendors/galaxy/Docs/inherit_graph_18.svg b/vendors/galaxy/Docs/inherit_graph_18.svg deleted file mode 100644 index 5d75aa3af..000000000 --- a/vendors/galaxy/Docs/inherit_graph_18.svg +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - -Graphical Class Hierarchy - - -Node0 - - -IUser - - - - - diff --git a/vendors/galaxy/Docs/inherit_graph_19.map b/vendors/galaxy/Docs/inherit_graph_19.map deleted file mode 100644 index 28ca5a3ee..000000000 --- a/vendors/galaxy/Docs/inherit_graph_19.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/vendors/galaxy/Docs/inherit_graph_19.md5 b/vendors/galaxy/Docs/inherit_graph_19.md5 deleted file mode 100644 index 83e5ac14c..000000000 --- a/vendors/galaxy/Docs/inherit_graph_19.md5 +++ /dev/null @@ -1 +0,0 @@ -bc4670304c34dc536f729a6262d7d0e5 \ No newline at end of file diff --git a/vendors/galaxy/Docs/inherit_graph_19.svg b/vendors/galaxy/Docs/inherit_graph_19.svg deleted file mode 100644 index fbd77f68f..000000000 --- a/vendors/galaxy/Docs/inherit_graph_19.svg +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - -Graphical Class Hierarchy - - -Node0 - - -IUtils - - - - - diff --git a/vendors/galaxy/Docs/inherit_graph_2.map b/vendors/galaxy/Docs/inherit_graph_2.map deleted file mode 100644 index 98388b5f4..000000000 --- a/vendors/galaxy/Docs/inherit_graph_2.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/vendors/galaxy/Docs/inherit_graph_2.md5 b/vendors/galaxy/Docs/inherit_graph_2.md5 deleted file mode 100644 index ee3432767..000000000 --- a/vendors/galaxy/Docs/inherit_graph_2.md5 +++ /dev/null @@ -1 +0,0 @@ -e5919ed76ad6b5b1662791e9032cf5f9 \ No newline at end of file diff --git a/vendors/galaxy/Docs/inherit_graph_2.svg b/vendors/galaxy/Docs/inherit_graph_2.svg deleted file mode 100644 index 075010a62..000000000 --- a/vendors/galaxy/Docs/inherit_graph_2.svg +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - -Graphical Class Hierarchy - - -Node0 - - -IApps - - - - - diff --git a/vendors/galaxy/Docs/inherit_graph_20.map b/vendors/galaxy/Docs/inherit_graph_20.map deleted file mode 100644 index 281675760..000000000 --- a/vendors/galaxy/Docs/inherit_graph_20.map +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/vendors/galaxy/Docs/inherit_graph_20.md5 b/vendors/galaxy/Docs/inherit_graph_20.md5 deleted file mode 100644 index 3a42fa6bf..000000000 --- a/vendors/galaxy/Docs/inherit_graph_20.md5 +++ /dev/null @@ -1 +0,0 @@ -09c64b88a1de968a590b88a9acffdf47 \ No newline at end of file diff --git a/vendors/galaxy/Docs/inherit_graph_20.svg b/vendors/galaxy/Docs/inherit_graph_20.svg deleted file mode 100644 index 97548ad03..000000000 --- a/vendors/galaxy/Docs/inherit_graph_20.svg +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - -Graphical Class Hierarchy - - -Node144 - - -_TypeAwareListener - - - - -Node0 - - -SelfRegisteringListener -< _TypeAwareListener, - _Registrar > - - - - -Node144->Node0 - - - - - diff --git a/vendors/galaxy/Docs/inherit_graph_3.map b/vendors/galaxy/Docs/inherit_graph_3.map deleted file mode 100644 index d75e4dd80..000000000 --- a/vendors/galaxy/Docs/inherit_graph_3.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/vendors/galaxy/Docs/inherit_graph_3.md5 b/vendors/galaxy/Docs/inherit_graph_3.md5 deleted file mode 100644 index d126fc30f..000000000 --- a/vendors/galaxy/Docs/inherit_graph_3.md5 +++ /dev/null @@ -1 +0,0 @@ -b9c4b9780bdb291b3e128a8a0bc461f4 \ No newline at end of file diff --git a/vendors/galaxy/Docs/inherit_graph_3.svg b/vendors/galaxy/Docs/inherit_graph_3.svg deleted file mode 100644 index 824400e4a..000000000 --- a/vendors/galaxy/Docs/inherit_graph_3.svg +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - -Graphical Class Hierarchy - - -Node0 - - -IChat - - - - - diff --git a/vendors/galaxy/Docs/inherit_graph_4.map b/vendors/galaxy/Docs/inherit_graph_4.map deleted file mode 100644 index 5743ea86f..000000000 --- a/vendors/galaxy/Docs/inherit_graph_4.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/vendors/galaxy/Docs/inherit_graph_4.md5 b/vendors/galaxy/Docs/inherit_graph_4.md5 deleted file mode 100644 index 40669d127..000000000 --- a/vendors/galaxy/Docs/inherit_graph_4.md5 +++ /dev/null @@ -1 +0,0 @@ -662865218c3ca8dce7e0be3949ed93a1 \ No newline at end of file diff --git a/vendors/galaxy/Docs/inherit_graph_4.svg b/vendors/galaxy/Docs/inherit_graph_4.svg deleted file mode 100644 index 22ebbc30e..000000000 --- a/vendors/galaxy/Docs/inherit_graph_4.svg +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - -Graphical Class Hierarchy - - -Node0 - - -ICustomNetworking - - - - - diff --git a/vendors/galaxy/Docs/inherit_graph_5.map b/vendors/galaxy/Docs/inherit_graph_5.map deleted file mode 100644 index c7fc5b3d3..000000000 --- a/vendors/galaxy/Docs/inherit_graph_5.map +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/vendors/galaxy/Docs/inherit_graph_5.md5 b/vendors/galaxy/Docs/inherit_graph_5.md5 deleted file mode 100644 index d9fcd8a02..000000000 --- a/vendors/galaxy/Docs/inherit_graph_5.md5 +++ /dev/null @@ -1 +0,0 @@ -0cf7d64e4aac0fbc774c7e621ffab949 \ No newline at end of file diff --git a/vendors/galaxy/Docs/inherit_graph_5.svg b/vendors/galaxy/Docs/inherit_graph_5.svg deleted file mode 100644 index 2c19dc520..000000000 --- a/vendors/galaxy/Docs/inherit_graph_5.svg +++ /dev/null @@ -1,73 +0,0 @@ - - - - - - -Graphical Class Hierarchy - - -Node0 - - -IError - - - - -Node1 - - -IInvalidArgumentError - - - - -Node0->Node1 - - - - -Node2 - - -IInvalidStateError - - - - -Node0->Node2 - - - - -Node3 - - -IRuntimeError - - - - -Node0->Node3 - - - - -Node4 - - -IUnauthorizedAccessError - - - - -Node0->Node4 - - - - - diff --git a/vendors/galaxy/Docs/inherit_graph_6.map b/vendors/galaxy/Docs/inherit_graph_6.map deleted file mode 100644 index 1d8f8d687..000000000 --- a/vendors/galaxy/Docs/inherit_graph_6.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/vendors/galaxy/Docs/inherit_graph_6.md5 b/vendors/galaxy/Docs/inherit_graph_6.md5 deleted file mode 100644 index 31dd148d4..000000000 --- a/vendors/galaxy/Docs/inherit_graph_6.md5 +++ /dev/null @@ -1 +0,0 @@ -3f9b69705a6d53cb5cfda7f59e2044a1 \ No newline at end of file diff --git a/vendors/galaxy/Docs/inherit_graph_6.svg b/vendors/galaxy/Docs/inherit_graph_6.svg deleted file mode 100644 index e4a362c80..000000000 --- a/vendors/galaxy/Docs/inherit_graph_6.svg +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - -Graphical Class Hierarchy - - -Node0 - - -IFriends - - - - - diff --git a/vendors/galaxy/Docs/inherit_graph_7.map b/vendors/galaxy/Docs/inherit_graph_7.map deleted file mode 100644 index 42153c7cf..000000000 --- a/vendors/galaxy/Docs/inherit_graph_7.map +++ /dev/null @@ -1,122 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/vendors/galaxy/Docs/inherit_graph_7.md5 b/vendors/galaxy/Docs/inherit_graph_7.md5 deleted file mode 100644 index 5655cdfd8..000000000 --- a/vendors/galaxy/Docs/inherit_graph_7.md5 +++ /dev/null @@ -1 +0,0 @@ -ad69f8aac47f69e30641d056476d562f \ No newline at end of file diff --git a/vendors/galaxy/Docs/inherit_graph_7.svg b/vendors/galaxy/Docs/inherit_graph_7.svg deleted file mode 100644 index 25dab7c14..000000000 --- a/vendors/galaxy/Docs/inherit_graph_7.svg +++ /dev/null @@ -1,1664 +0,0 @@ - - - - - - -Graphical Class Hierarchy - - -Node0 - - -IGalaxyListener - - - - -Node1 - - -GalaxyTypeAwareListener -< type > - - - - -Node0->Node1 - - - - -Node2 - - -GalaxyTypeAwareListener -< ACCESS_TOKEN_CHANGE > - - - - -Node0->Node2 - - - - -Node4 - - -GalaxyTypeAwareListener -< ACHIEVEMENT_CHANGE > - - - - -Node0->Node4 - - - - -Node6 - - -GalaxyTypeAwareListener -< AUTH > - - - - -Node0->Node6 - - - - -Node8 - - -GalaxyTypeAwareListener -< CHAT_ROOM_MESSAGE_SEND -_LISTENER > - - - - -Node0->Node8 - - - - -Node10 - - -GalaxyTypeAwareListener -< CHAT_ROOM_MESSAGES_LISTENER > - - - - -Node0->Node10 - - - - -Node12 - - -GalaxyTypeAwareListener -< CHAT_ROOM_MESSAGES_RETRIEVE -_LISTENER > - - - - -Node0->Node12 - - - - -Node14 - - -GalaxyTypeAwareListener -< CHAT_ROOM_WITH_USER -_RETRIEVE_LISTENER > - - - - -Node0->Node14 - - - - -Node16 - - -GalaxyTypeAwareListener -< CUSTOM_NETWORKING_CONNECTION -_CLOSE > - - - - -Node0->Node16 - - - - -Node18 - - -GalaxyTypeAwareListener -< CUSTOM_NETWORKING_CONNECTION -_DATA > - - - - -Node0->Node18 - - - - -Node20 - - -GalaxyTypeAwareListener -< CUSTOM_NETWORKING_CONNECTION -_OPEN > - - - - -Node0->Node20 - - - - -Node22 - - -GalaxyTypeAwareListener -< ENCRYPTED_APP_TICKET -_RETRIEVE > - - - - -Node0->Node22 - - - - -Node24 - - -GalaxyTypeAwareListener -< FILE_SHARE > - - - - -Node0->Node24 - - - - -Node26 - - -GalaxyTypeAwareListener -< FRIEND_ADD_LISTENER > - - - - -Node0->Node26 - - - - -Node28 - - -GalaxyTypeAwareListener -< FRIEND_DELETE_LISTENER > - - - - -Node0->Node28 - - - - -Node30 - - -GalaxyTypeAwareListener -< FRIEND_INVITATION_LIST -_RETRIEVE_LISTENER > - - - - -Node0->Node30 - - - - -Node32 - - -GalaxyTypeAwareListener -< FRIEND_INVITATION_LISTENER > - - - - -Node0->Node32 - - - - -Node34 - - -GalaxyTypeAwareListener -< FRIEND_INVITATION_RESPOND -_TO_LISTENER > - - - - -Node0->Node34 - - - - -Node36 - - -GalaxyTypeAwareListener -< FRIEND_INVITATION_SEND -_LISTENER > - - - - -Node0->Node36 - - - - -Node38 - - -GalaxyTypeAwareListener -< FRIEND_LIST_RETRIEVE > - - - - -Node0->Node38 - - - - -Node40 - - -GalaxyTypeAwareListener -< GAME_INVITATION_RECEIVED -_LISTENER > - - - - -Node0->Node40 - - - - -Node42 - - -GalaxyTypeAwareListener -< GAME_JOIN_REQUESTED -_LISTENER > - - - - -Node0->Node42 - - - - -Node44 - - -GalaxyTypeAwareListener -< GOG_SERVICES_CONNECTION -_STATE_LISTENER > - - - - -Node0->Node44 - - - - -Node46 - - -GalaxyTypeAwareListener -< INVITATION_SEND > - - - - -Node0->Node46 - - - - -Node48 - - -GalaxyTypeAwareListener -< LEADERBOARD_ENTRIES -_RETRIEVE > - - - - -Node0->Node48 - - - - -Node50 - - -GalaxyTypeAwareListener -< LEADERBOARD_RETRIEVE > - - - - -Node0->Node50 - - - - -Node52 - - -GalaxyTypeAwareListener -< LEADERBOARD_SCORE_UPDATE -_LISTENER > - - - - -Node0->Node52 - - - - -Node54 - - -GalaxyTypeAwareListener -< LEADERBOARDS_RETRIEVE > - - - - -Node0->Node54 - - - - -Node56 - - -GalaxyTypeAwareListener -< LOBBY_CREATED > - - - - -Node0->Node56 - - - - -Node58 - - -GalaxyTypeAwareListener -< LOBBY_DATA > - - - - -Node0->Node58 - - - - -Node60 - - -GalaxyTypeAwareListener -< LOBBY_DATA_RETRIEVE > - - - - -Node0->Node60 - - - - -Node62 - - -GalaxyTypeAwareListener -< LOBBY_DATA_UPDATE_LISTENER > - - - - -Node0->Node62 - - - - -Node64 - - -GalaxyTypeAwareListener -< LOBBY_ENTERED > - - - - -Node0->Node64 - - - - -Node66 - - -GalaxyTypeAwareListener -< LOBBY_LEFT > - - - - -Node0->Node66 - - - - -Node68 - - -GalaxyTypeAwareListener -< LOBBY_LIST > - - - - -Node0->Node68 - - - - -Node70 - - -GalaxyTypeAwareListener -< LOBBY_MEMBER_DATA_UPDATE -_LISTENER > - - - - -Node0->Node70 - - - - -Node72 - - -GalaxyTypeAwareListener -< LOBBY_MEMBER_STATE > - - - - -Node0->Node72 - - - - -Node74 - - -GalaxyTypeAwareListener -< LOBBY_MESSAGE > - - - - -Node0->Node74 - - - - -Node76 - - -GalaxyTypeAwareListener -< LOBBY_OWNER_CHANGE > - - - - -Node0->Node76 - - - - -Node78 - - -GalaxyTypeAwareListener -< NAT_TYPE_DETECTION > - - - - -Node0->Node78 - - - - -Node80 - - -GalaxyTypeAwareListener -< NETWORKING > - - - - -Node0->Node80 - - - - -Node82 - - -GalaxyTypeAwareListener -< NOTIFICATION_LISTENER > - - - - -Node0->Node82 - - - - -Node84 - - -GalaxyTypeAwareListener -< OPERATIONAL_STATE_CHANGE > - - - - -Node0->Node84 - - - - -Node86 - - -GalaxyTypeAwareListener -< OTHER_SESSION_START > - - - - -Node0->Node86 - - - - -Node88 - - -GalaxyTypeAwareListener -< OVERLAY_INITIALIZATION -_STATE_CHANGE > - - - - -Node0->Node88 - - - - -Node90 - - -GalaxyTypeAwareListener -< OVERLAY_VISIBILITY_CHANGE > - - - - -Node0->Node90 - - - - -Node92 - - -GalaxyTypeAwareListener -< PERSONA_DATA_CHANGED > - - - - -Node0->Node92 - - - - -Node94 - - -GalaxyTypeAwareListener -< RICH_PRESENCE_CHANGE -_LISTENER > - - - - -Node0->Node94 - - - - -Node96 - - -GalaxyTypeAwareListener -< RICH_PRESENCE_LISTENER > - - - - -Node0->Node96 - - - - -Node98 - - -GalaxyTypeAwareListener -< RICH_PRESENCE_RETRIEVE -_LISTENER > - - - - -Node0->Node98 - - - - -Node100 - - -GalaxyTypeAwareListener -< SENT_FRIEND_INVITATION -_LIST_RETRIEVE_LISTENER > - - - - -Node0->Node100 - - - - -Node102 - - -GalaxyTypeAwareListener -< SHARED_FILE_DOWNLOAD > - - - - -Node0->Node102 - - - - -Node104 - - -GalaxyTypeAwareListener -< SPECIFIC_USER_DATA > - - - - -Node0->Node104 - - - - -Node106 - - -GalaxyTypeAwareListener -< STATS_AND_ACHIEVEMENTS -_STORE > - - - - -Node0->Node106 - - - - -Node108 - - -GalaxyTypeAwareListener -< TELEMETRY_EVENT_SEND -_LISTENER > - - - - -Node0->Node108 - - - - -Node110 - - -GalaxyTypeAwareListener -< USER_DATA > - - - - -Node0->Node110 - - - - -Node112 - - -GalaxyTypeAwareListener -< USER_FIND_LISTENER > - - - - -Node0->Node112 - - - - -Node114 - - -GalaxyTypeAwareListener -< USER_INFORMATION_RETRIEVE -_LISTENER > - - - - -Node0->Node114 - - - - -Node116 - - -GalaxyTypeAwareListener -< USER_STATS_AND_ACHIEVEMENTS -_RETRIEVE > - - - - -Node0->Node116 - - - - -Node118 - - -GalaxyTypeAwareListener -< USER_TIME_PLAYED_RETRIEVE > - - - - -Node0->Node118 - - - - -Node3 - - -IAccessTokenListener - - - - -Node2->Node3 - - - - -Node5 - - -IAchievementChangeListener - - - - -Node4->Node5 - - - - -Node7 - - -IAuthListener - - - - -Node6->Node7 - - - - -Node9 - - -IChatRoomMessageSendListener - - - - -Node8->Node9 - - - - -Node11 - - -IChatRoomMessagesListener - - - - -Node10->Node11 - - - - -Node13 - - -IChatRoomMessagesRetrieve -Listener - - - - -Node12->Node13 - - - - -Node15 - - -IChatRoomWithUserRetrieve -Listener - - - - -Node14->Node15 - - - - -Node17 - - -IConnectionCloseListener - - - - -Node16->Node17 - - - - -Node19 - - -IConnectionDataListener - - - - -Node18->Node19 - - - - -Node21 - - -IConnectionOpenListener - - - - -Node20->Node21 - - - - -Node23 - - -IEncryptedAppTicketListener - - - - -Node22->Node23 - - - - -Node25 - - -IFileShareListener - - - - -Node24->Node25 - - - - -Node27 - - -IFriendAddListener - - - - -Node26->Node27 - - - - -Node29 - - -IFriendDeleteListener - - - - -Node28->Node29 - - - - -Node31 - - -IFriendInvitationListRetrieve -Listener - - - - -Node30->Node31 - - - - -Node33 - - -IFriendInvitationListener - - - - -Node32->Node33 - - - - -Node35 - - -IFriendInvitationRespond -ToListener - - - - -Node34->Node35 - - - - -Node37 - - -IFriendInvitationSendListener - - - - -Node36->Node37 - - - - -Node39 - - -IFriendListListener - - - - -Node38->Node39 - - - - -Node41 - - -IGameInvitationReceivedListener - - - - -Node40->Node41 - - - - -Node43 - - -IGameJoinRequestedListener - - - - -Node42->Node43 - - - - -Node45 - - -IGogServicesConnectionState -Listener - - - - -Node44->Node45 - - - - -Node47 - - -ISendInvitationListener - - - - -Node46->Node47 - - - - -Node49 - - -ILeaderboardEntriesRetrieve -Listener - - - - -Node48->Node49 - - - - -Node51 - - -ILeaderboardRetrieveListener - - - - -Node50->Node51 - - - - -Node53 - - -ILeaderboardScoreUpdateListener - - - - -Node52->Node53 - - - - -Node55 - - -ILeaderboardsRetrieveListener - - - - -Node54->Node55 - - - - -Node57 - - -ILobbyCreatedListener - - - - -Node56->Node57 - - - - -Node59 - - -ILobbyDataListener - - - - -Node58->Node59 - - - - -Node61 - - -ILobbyDataRetrieveListener - - - - -Node60->Node61 - - - - -Node63 - - -ILobbyDataUpdateListener - - - - -Node62->Node63 - - - - -Node65 - - -ILobbyEnteredListener - - - - -Node64->Node65 - - - - -Node67 - - -ILobbyLeftListener - - - - -Node66->Node67 - - - - -Node69 - - -ILobbyListListener - - - - -Node68->Node69 - - - - -Node71 - - -ILobbyMemberDataUpdateListener - - - - -Node70->Node71 - - - - -Node73 - - -ILobbyMemberStateListener - - - - -Node72->Node73 - - - - -Node75 - - -ILobbyMessageListener - - - - -Node74->Node75 - - - - -Node77 - - -ILobbyOwnerChangeListener - - - - -Node76->Node77 - - - - -Node79 - - -INatTypeDetectionListener - - - - -Node78->Node79 - - - - -Node81 - - -INetworkingListener - - - - -Node80->Node81 - - - - -Node83 - - -INotificationListener - - - - -Node82->Node83 - - - - -Node85 - - -IOperationalStateChangeListener - - - - -Node84->Node85 - - - - -Node87 - - -IOtherSessionStartListener - - - - -Node86->Node87 - - - - -Node89 - - -IOverlayInitializationState -ChangeListener - - - - -Node88->Node89 - - - - -Node91 - - -IOverlayVisibilityChange -Listener - - - - -Node90->Node91 - - - - -Node93 - - -IPersonaDataChangedListener - - - - -Node92->Node93 - - - - -Node95 - - -IRichPresenceChangeListener - - - - -Node94->Node95 - - - - -Node97 - - -IRichPresenceListener - - - - -Node96->Node97 - - - - -Node99 - - -IRichPresenceRetrieveListener - - - - -Node98->Node99 - - - - -Node101 - - -ISentFriendInvitationList -RetrieveListener - - - - -Node100->Node101 - - - - -Node103 - - -ISharedFileDownloadListener - - - - -Node102->Node103 - - - - -Node105 - - -ISpecificUserDataListener - - - - -Node104->Node105 - - - - -Node107 - - -IStatsAndAchievementsStore -Listener - - - - -Node106->Node107 - - - - -Node109 - - -ITelemetryEventSendListener - - - - -Node108->Node109 - - - - -Node111 - - -IUserDataListener - - - - -Node110->Node111 - - - - -Node113 - - -IUserFindListener - - - - -Node112->Node113 - - - - -Node115 - - -IUserInformationRetrieve -Listener - - - - -Node114->Node115 - - - - -Node117 - - -IUserStatsAndAchievements -RetrieveListener - - - - -Node116->Node117 - - - - -Node119 - - -IUserTimePlayedRetrieveListener - - - - -Node118->Node119 - - - - - diff --git a/vendors/galaxy/Docs/inherit_graph_8.map b/vendors/galaxy/Docs/inherit_graph_8.map deleted file mode 100644 index ed1c55ffb..000000000 --- a/vendors/galaxy/Docs/inherit_graph_8.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/vendors/galaxy/Docs/inherit_graph_8.md5 b/vendors/galaxy/Docs/inherit_graph_8.md5 deleted file mode 100644 index 2447c1bbe..000000000 --- a/vendors/galaxy/Docs/inherit_graph_8.md5 +++ /dev/null @@ -1 +0,0 @@ -686032fb24ee6cfba152865b10c1e4c3 \ No newline at end of file diff --git a/vendors/galaxy/Docs/inherit_graph_8.svg b/vendors/galaxy/Docs/inherit_graph_8.svg deleted file mode 100644 index 4b627cdae..000000000 --- a/vendors/galaxy/Docs/inherit_graph_8.svg +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - -Graphical Class Hierarchy - - -Node0 - - -IGalaxyThread - - - - - diff --git a/vendors/galaxy/Docs/inherit_graph_9.map b/vendors/galaxy/Docs/inherit_graph_9.map deleted file mode 100644 index 7de705c41..000000000 --- a/vendors/galaxy/Docs/inherit_graph_9.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/vendors/galaxy/Docs/inherit_graph_9.md5 b/vendors/galaxy/Docs/inherit_graph_9.md5 deleted file mode 100644 index f5a191a4a..000000000 --- a/vendors/galaxy/Docs/inherit_graph_9.md5 +++ /dev/null @@ -1 +0,0 @@ -2da7dbd517a1459b8bd68b1cd3bdb5cc \ No newline at end of file diff --git a/vendors/galaxy/Docs/inherit_graph_9.svg b/vendors/galaxy/Docs/inherit_graph_9.svg deleted file mode 100644 index f090ce0fe..000000000 --- a/vendors/galaxy/Docs/inherit_graph_9.svg +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - -Graphical Class Hierarchy - - -Node0 - - -IGalaxyThreadFactory - - - - - diff --git a/vendors/galaxy/Docs/inherits.html b/vendors/galaxy/Docs/inherits.html deleted file mode 100644 index ba1a73400..000000000 --- a/vendors/galaxy/Docs/inherits.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - - - -GOG Galaxy: Class Hierarchy - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
Class Hierarchy
-
-
- - - - - - - - - - - - - - - - - - - - - - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/jquery.js b/vendors/galaxy/Docs/jquery.js deleted file mode 100644 index 1ee895ca3..000000000 --- a/vendors/galaxy/Docs/jquery.js +++ /dev/null @@ -1,87 +0,0 @@ -/*! - * jQuery JavaScript Library v1.7.2 - * http://jquery.com/ - * - * Copyright 2011, John Resig - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * Includes Sizzle.js - * http://sizzlejs.com/ - * Copyright 2011, The Dojo Foundation - * Released under the MIT, BSD, and GPL Licenses. - * - * Date: Wed Mar 21 12:46:34 2012 -0700 - */ -(function(bd,L){var av=bd.document,bu=bd.navigator,bm=bd.location;var b=(function(){var bF=function(b0,b1){return new bF.fn.init(b0,b1,bD)},bU=bd.jQuery,bH=bd.$,bD,bY=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,bM=/\S/,bI=/^\s+/,bE=/\s+$/,bA=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,bN=/^[\],:{}\s]*$/,bW=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,bP=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,bJ=/(?:^|:|,)(?:\s*\[)+/g,by=/(webkit)[ \/]([\w.]+)/,bR=/(opera)(?:.*version)?[ \/]([\w.]+)/,bQ=/(msie) ([\w.]+)/,bS=/(mozilla)(?:.*? rv:([\w.]+))?/,bB=/-([a-z]|[0-9])/ig,bZ=/^-ms-/,bT=function(b0,b1){return(b1+"").toUpperCase()},bX=bu.userAgent,bV,bC,e,bL=Object.prototype.toString,bG=Object.prototype.hasOwnProperty,bz=Array.prototype.push,bK=Array.prototype.slice,bO=String.prototype.trim,bv=Array.prototype.indexOf,bx={};bF.fn=bF.prototype={constructor:bF,init:function(b0,b4,b3){var b2,b5,b1,b6;if(!b0){return this}if(b0.nodeType){this.context=this[0]=b0;this.length=1;return this}if(b0==="body"&&!b4&&av.body){this.context=av;this[0]=av.body;this.selector=b0;this.length=1;return this}if(typeof b0==="string"){if(b0.charAt(0)==="<"&&b0.charAt(b0.length-1)===">"&&b0.length>=3){b2=[null,b0,null]}else{b2=bY.exec(b0)}if(b2&&(b2[1]||!b4)){if(b2[1]){b4=b4 instanceof bF?b4[0]:b4;b6=(b4?b4.ownerDocument||b4:av);b1=bA.exec(b0);if(b1){if(bF.isPlainObject(b4)){b0=[av.createElement(b1[1])];bF.fn.attr.call(b0,b4,true)}else{b0=[b6.createElement(b1[1])]}}else{b1=bF.buildFragment([b2[1]],[b6]);b0=(b1.cacheable?bF.clone(b1.fragment):b1.fragment).childNodes}return bF.merge(this,b0)}else{b5=av.getElementById(b2[2]);if(b5&&b5.parentNode){if(b5.id!==b2[2]){return b3.find(b0)}this.length=1;this[0]=b5}this.context=av;this.selector=b0;return this}}else{if(!b4||b4.jquery){return(b4||b3).find(b0)}else{return this.constructor(b4).find(b0)}}}else{if(bF.isFunction(b0)){return b3.ready(b0)}}if(b0.selector!==L){this.selector=b0.selector;this.context=b0.context}return bF.makeArray(b0,this)},selector:"",jquery:"1.7.2",length:0,size:function(){return this.length},toArray:function(){return bK.call(this,0)},get:function(b0){return b0==null?this.toArray():(b0<0?this[this.length+b0]:this[b0])},pushStack:function(b1,b3,b0){var b2=this.constructor();if(bF.isArray(b1)){bz.apply(b2,b1)}else{bF.merge(b2,b1)}b2.prevObject=this;b2.context=this.context;if(b3==="find"){b2.selector=this.selector+(this.selector?" ":"")+b0}else{if(b3){b2.selector=this.selector+"."+b3+"("+b0+")"}}return b2},each:function(b1,b0){return bF.each(this,b1,b0)},ready:function(b0){bF.bindReady();bC.add(b0);return this},eq:function(b0){b0=+b0;return b0===-1?this.slice(b0):this.slice(b0,b0+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(bK.apply(this,arguments),"slice",bK.call(arguments).join(","))},map:function(b0){return this.pushStack(bF.map(this,function(b2,b1){return b0.call(b2,b1,b2)}))},end:function(){return this.prevObject||this.constructor(null)},push:bz,sort:[].sort,splice:[].splice};bF.fn.init.prototype=bF.fn;bF.extend=bF.fn.extend=function(){var b9,b2,b0,b1,b6,b7,b5=arguments[0]||{},b4=1,b3=arguments.length,b8=false;if(typeof b5==="boolean"){b8=b5;b5=arguments[1]||{};b4=2}if(typeof b5!=="object"&&!bF.isFunction(b5)){b5={}}if(b3===b4){b5=this;--b4}for(;b40){return}bC.fireWith(av,[bF]);if(bF.fn.trigger){bF(av).trigger("ready").off("ready")}}},bindReady:function(){if(bC){return}bC=bF.Callbacks("once memory");if(av.readyState==="complete"){return setTimeout(bF.ready,1)}if(av.addEventListener){av.addEventListener("DOMContentLoaded",e,false);bd.addEventListener("load",bF.ready,false)}else{if(av.attachEvent){av.attachEvent("onreadystatechange",e);bd.attachEvent("onload",bF.ready);var b0=false;try{b0=bd.frameElement==null}catch(b1){}if(av.documentElement.doScroll&&b0){bw()}}}},isFunction:function(b0){return bF.type(b0)==="function"},isArray:Array.isArray||function(b0){return bF.type(b0)==="array"},isWindow:function(b0){return b0!=null&&b0==b0.window},isNumeric:function(b0){return !isNaN(parseFloat(b0))&&isFinite(b0)},type:function(b0){return b0==null?String(b0):bx[bL.call(b0)]||"object"},isPlainObject:function(b2){if(!b2||bF.type(b2)!=="object"||b2.nodeType||bF.isWindow(b2)){return false}try{if(b2.constructor&&!bG.call(b2,"constructor")&&!bG.call(b2.constructor.prototype,"isPrototypeOf")){return false}}catch(b1){return false}var b0;for(b0 in b2){}return b0===L||bG.call(b2,b0)},isEmptyObject:function(b1){for(var b0 in b1){return false}return true},error:function(b0){throw new Error(b0)},parseJSON:function(b0){if(typeof b0!=="string"||!b0){return null}b0=bF.trim(b0);if(bd.JSON&&bd.JSON.parse){return bd.JSON.parse(b0)}if(bN.test(b0.replace(bW,"@").replace(bP,"]").replace(bJ,""))){return(new Function("return "+b0))()}bF.error("Invalid JSON: "+b0)},parseXML:function(b2){if(typeof b2!=="string"||!b2){return null}var b0,b1;try{if(bd.DOMParser){b1=new DOMParser();b0=b1.parseFromString(b2,"text/xml")}else{b0=new ActiveXObject("Microsoft.XMLDOM");b0.async="false";b0.loadXML(b2)}}catch(b3){b0=L}if(!b0||!b0.documentElement||b0.getElementsByTagName("parsererror").length){bF.error("Invalid XML: "+b2)}return b0},noop:function(){},globalEval:function(b0){if(b0&&bM.test(b0)){(bd.execScript||function(b1){bd["eval"].call(bd,b1)})(b0)}},camelCase:function(b0){return b0.replace(bZ,"ms-").replace(bB,bT)},nodeName:function(b1,b0){return b1.nodeName&&b1.nodeName.toUpperCase()===b0.toUpperCase()},each:function(b3,b6,b2){var b1,b4=0,b5=b3.length,b0=b5===L||bF.isFunction(b3);if(b2){if(b0){for(b1 in b3){if(b6.apply(b3[b1],b2)===false){break}}}else{for(;b40&&b0[0]&&b0[b1-1])||b1===0||bF.isArray(b0));if(b3){for(;b21?aK.call(arguments,0):bG;if(!(--bw)){bC.resolveWith(bC,bx)}}}function bz(bF){return function(bG){bB[bF]=arguments.length>1?aK.call(arguments,0):bG;bC.notifyWith(bE,bB)}}if(e>1){for(;bv
a";bH=bv.getElementsByTagName("*");bE=bv.getElementsByTagName("a")[0];if(!bH||!bH.length||!bE){return{}}bF=av.createElement("select");bx=bF.appendChild(av.createElement("option"));bD=bv.getElementsByTagName("input")[0];bI={leadingWhitespace:(bv.firstChild.nodeType===3),tbody:!bv.getElementsByTagName("tbody").length,htmlSerialize:!!bv.getElementsByTagName("link").length,style:/top/.test(bE.getAttribute("style")),hrefNormalized:(bE.getAttribute("href")==="/a"),opacity:/^0.55/.test(bE.style.opacity),cssFloat:!!bE.style.cssFloat,checkOn:(bD.value==="on"),optSelected:bx.selected,getSetAttribute:bv.className!=="t",enctype:!!av.createElement("form").enctype,html5Clone:av.createElement("nav").cloneNode(true).outerHTML!=="<:nav>",submitBubbles:true,changeBubbles:true,focusinBubbles:false,deleteExpando:true,noCloneEvent:true,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableMarginRight:true,pixelMargin:true};b.boxModel=bI.boxModel=(av.compatMode==="CSS1Compat");bD.checked=true;bI.noCloneChecked=bD.cloneNode(true).checked;bF.disabled=true;bI.optDisabled=!bx.disabled;try{delete bv.test}catch(bB){bI.deleteExpando=false}if(!bv.addEventListener&&bv.attachEvent&&bv.fireEvent){bv.attachEvent("onclick",function(){bI.noCloneEvent=false});bv.cloneNode(true).fireEvent("onclick")}bD=av.createElement("input");bD.value="t";bD.setAttribute("type","radio");bI.radioValue=bD.value==="t";bD.setAttribute("checked","checked");bD.setAttribute("name","t");bv.appendChild(bD);bC=av.createDocumentFragment();bC.appendChild(bv.lastChild);bI.checkClone=bC.cloneNode(true).cloneNode(true).lastChild.checked;bI.appendChecked=bD.checked;bC.removeChild(bD);bC.appendChild(bv);if(bv.attachEvent){for(by in {submit:1,change:1,focusin:1}){bA="on"+by;bw=(bA in bv);if(!bw){bv.setAttribute(bA,"return;");bw=(typeof bv[bA]==="function")}bI[by+"Bubbles"]=bw}}bC.removeChild(bv);bC=bF=bx=bv=bD=null;b(function(){var bM,bV,bW,bU,bO,bP,bR,bL,bK,bQ,bN,e,bT,bS=av.getElementsByTagName("body")[0];if(!bS){return}bL=1;bT="padding:0;margin:0;border:";bN="position:absolute;top:0;left:0;width:1px;height:1px;";e=bT+"0;visibility:hidden;";bK="style='"+bN+bT+"5px solid #000;";bQ="
";bM=av.createElement("div");bM.style.cssText=e+"width:0;height:0;position:static;top:0;margin-top:"+bL+"px";bS.insertBefore(bM,bS.firstChild);bv=av.createElement("div");bM.appendChild(bv);bv.innerHTML="
t
";bz=bv.getElementsByTagName("td");bw=(bz[0].offsetHeight===0);bz[0].style.display="";bz[1].style.display="none";bI.reliableHiddenOffsets=bw&&(bz[0].offsetHeight===0);if(bd.getComputedStyle){bv.innerHTML="";bR=av.createElement("div");bR.style.width="0";bR.style.marginRight="0";bv.style.width="2px";bv.appendChild(bR);bI.reliableMarginRight=(parseInt((bd.getComputedStyle(bR,null)||{marginRight:0}).marginRight,10)||0)===0}if(typeof bv.style.zoom!=="undefined"){bv.innerHTML="";bv.style.width=bv.style.padding="1px";bv.style.border=0;bv.style.overflow="hidden";bv.style.display="inline";bv.style.zoom=1;bI.inlineBlockNeedsLayout=(bv.offsetWidth===3);bv.style.display="block";bv.style.overflow="visible";bv.innerHTML="
";bI.shrinkWrapBlocks=(bv.offsetWidth!==3)}bv.style.cssText=bN+e;bv.innerHTML=bQ;bV=bv.firstChild;bW=bV.firstChild;bO=bV.nextSibling.firstChild.firstChild;bP={doesNotAddBorder:(bW.offsetTop!==5),doesAddBorderForTableAndCells:(bO.offsetTop===5)};bW.style.position="fixed";bW.style.top="20px";bP.fixedPosition=(bW.offsetTop===20||bW.offsetTop===15);bW.style.position=bW.style.top="";bV.style.overflow="hidden";bV.style.position="relative";bP.subtractsBorderForOverflowNotVisible=(bW.offsetTop===-5);bP.doesNotIncludeMarginInBodyOffset=(bS.offsetTop!==bL);if(bd.getComputedStyle){bv.style.marginTop="1%";bI.pixelMargin=(bd.getComputedStyle(bv,null)||{marginTop:0}).marginTop!=="1%"}if(typeof bM.style.zoom!=="undefined"){bM.style.zoom=1}bS.removeChild(bM);bR=bv=bM=null;b.extend(bI,bP)});return bI})();var aT=/^(?:\{.*\}|\[.*\])$/,aA=/([A-Z])/g;b.extend({cache:{},uuid:0,expando:"jQuery"+(b.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:true,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:true},hasData:function(e){e=e.nodeType?b.cache[e[b.expando]]:e[b.expando];return !!e&&!S(e)},data:function(bx,bv,bz,by){if(!b.acceptData(bx)){return}var bG,bA,bD,bE=b.expando,bC=typeof bv==="string",bF=bx.nodeType,e=bF?b.cache:bx,bw=bF?bx[bE]:bx[bE]&&bE,bB=bv==="events";if((!bw||!e[bw]||(!bB&&!by&&!e[bw].data))&&bC&&bz===L){return}if(!bw){if(bF){bx[bE]=bw=++b.uuid}else{bw=bE}}if(!e[bw]){e[bw]={};if(!bF){e[bw].toJSON=b.noop}}if(typeof bv==="object"||typeof bv==="function"){if(by){e[bw]=b.extend(e[bw],bv)}else{e[bw].data=b.extend(e[bw].data,bv)}}bG=bA=e[bw];if(!by){if(!bA.data){bA.data={}}bA=bA.data}if(bz!==L){bA[b.camelCase(bv)]=bz}if(bB&&!bA[bv]){return bG.events}if(bC){bD=bA[bv];if(bD==null){bD=bA[b.camelCase(bv)]}}else{bD=bA}return bD},removeData:function(bx,bv,by){if(!b.acceptData(bx)){return}var bB,bA,bz,bC=b.expando,bD=bx.nodeType,e=bD?b.cache:bx,bw=bD?bx[bC]:bC;if(!e[bw]){return}if(bv){bB=by?e[bw]:e[bw].data;if(bB){if(!b.isArray(bv)){if(bv in bB){bv=[bv]}else{bv=b.camelCase(bv);if(bv in bB){bv=[bv]}else{bv=bv.split(" ")}}}for(bA=0,bz=bv.length;bA1,null,false)},removeData:function(e){return this.each(function(){b.removeData(this,e)})}});function a6(bx,bw,by){if(by===L&&bx.nodeType===1){var bv="data-"+bw.replace(aA,"-$1").toLowerCase();by=bx.getAttribute(bv);if(typeof by==="string"){try{by=by==="true"?true:by==="false"?false:by==="null"?null:b.isNumeric(by)?+by:aT.test(by)?b.parseJSON(by):by}catch(bz){}b.data(bx,bw,by)}else{by=L}}return by}function S(bv){for(var e in bv){if(e==="data"&&b.isEmptyObject(bv[e])){continue}if(e!=="toJSON"){return false}}return true}function bj(by,bx,bA){var bw=bx+"defer",bv=bx+"queue",e=bx+"mark",bz=b._data(by,bw);if(bz&&(bA==="queue"||!b._data(by,bv))&&(bA==="mark"||!b._data(by,e))){setTimeout(function(){if(!b._data(by,bv)&&!b._data(by,e)){b.removeData(by,bw,true);bz.fire()}},0)}}b.extend({_mark:function(bv,e){if(bv){e=(e||"fx")+"mark";b._data(bv,e,(b._data(bv,e)||0)+1)}},_unmark:function(by,bx,bv){if(by!==true){bv=bx;bx=by;by=false}if(bx){bv=bv||"fx";var e=bv+"mark",bw=by?0:((b._data(bx,e)||1)-1);if(bw){b._data(bx,e,bw)}else{b.removeData(bx,e,true);bj(bx,bv,"mark")}}},queue:function(bv,e,bx){var bw;if(bv){e=(e||"fx")+"queue";bw=b._data(bv,e);if(bx){if(!bw||b.isArray(bx)){bw=b._data(bv,e,b.makeArray(bx))}else{bw.push(bx)}}return bw||[]}},dequeue:function(by,bx){bx=bx||"fx";var bv=b.queue(by,bx),bw=bv.shift(),e={};if(bw==="inprogress"){bw=bv.shift()}if(bw){if(bx==="fx"){bv.unshift("inprogress")}b._data(by,bx+".run",e);bw.call(by,function(){b.dequeue(by,bx)},e)}if(!bv.length){b.removeData(by,bx+"queue "+bx+".run",true);bj(by,bx,"queue")}}});b.fn.extend({queue:function(e,bv){var bw=2;if(typeof e!=="string"){bv=e;e="fx";bw--}if(arguments.length1)},removeAttr:function(e){return this.each(function(){b.removeAttr(this,e)})},prop:function(e,bv){return b.access(this,b.prop,e,bv,arguments.length>1)},removeProp:function(e){e=b.propFix[e]||e;return this.each(function(){try{this[e]=L;delete this[e]}catch(bv){}})},addClass:function(by){var bA,bw,bv,bx,bz,bB,e;if(b.isFunction(by)){return this.each(function(bC){b(this).addClass(by.call(this,bC,this.className))})}if(by&&typeof by==="string"){bA=by.split(ag);for(bw=0,bv=this.length;bw-1){return true}}return false},val:function(bx){var e,bv,by,bw=this[0];if(!arguments.length){if(bw){e=b.valHooks[bw.type]||b.valHooks[bw.nodeName.toLowerCase()];if(e&&"get" in e&&(bv=e.get(bw,"value"))!==L){return bv}bv=bw.value;return typeof bv==="string"?bv.replace(aV,""):bv==null?"":bv}return}by=b.isFunction(bx);return this.each(function(bA){var bz=b(this),bB;if(this.nodeType!==1){return}if(by){bB=bx.call(this,bA,bz.val())}else{bB=bx}if(bB==null){bB=""}else{if(typeof bB==="number"){bB+=""}else{if(b.isArray(bB)){bB=b.map(bB,function(bC){return bC==null?"":bC+""})}}}e=b.valHooks[this.type]||b.valHooks[this.nodeName.toLowerCase()];if(!e||!("set" in e)||e.set(this,bB,"value")===L){this.value=bB}})}});b.extend({valHooks:{option:{get:function(e){var bv=e.attributes.value;return !bv||bv.specified?e.value:e.text}},select:{get:function(e){var bA,bv,bz,bx,by=e.selectedIndex,bB=[],bC=e.options,bw=e.type==="select-one";if(by<0){return null}bv=bw?by:0;bz=bw?by+1:bC.length;for(;bv=0});if(!e.length){bv.selectedIndex=-1}return e}}},attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(bA,bx,bB,bz){var bw,e,by,bv=bA.nodeType;if(!bA||bv===3||bv===8||bv===2){return}if(bz&&bx in b.attrFn){return b(bA)[bx](bB)}if(typeof bA.getAttribute==="undefined"){return b.prop(bA,bx,bB)}by=bv!==1||!b.isXMLDoc(bA);if(by){bx=bx.toLowerCase();e=b.attrHooks[bx]||(ao.test(bx)?aZ:bf)}if(bB!==L){if(bB===null){b.removeAttr(bA,bx);return}else{if(e&&"set" in e&&by&&(bw=e.set(bA,bB,bx))!==L){return bw}else{bA.setAttribute(bx,""+bB);return bB}}}else{if(e&&"get" in e&&by&&(bw=e.get(bA,bx))!==null){return bw}else{bw=bA.getAttribute(bx);return bw===null?L:bw}}},removeAttr:function(by,bA){var bz,bB,bw,e,bv,bx=0;if(bA&&by.nodeType===1){bB=bA.toLowerCase().split(ag);e=bB.length;for(;bx=0)}}})});var be=/^(?:textarea|input|select)$/i,n=/^([^\.]*)?(?:\.(.+))?$/,J=/(?:^|\s)hover(\.\S+)?\b/,aP=/^key/,bg=/^(?:mouse|contextmenu)|click/,T=/^(?:focusinfocus|focusoutblur)$/,U=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,Y=function(e){var bv=U.exec(e);if(bv){bv[1]=(bv[1]||"").toLowerCase();bv[3]=bv[3]&&new RegExp("(?:^|\\s)"+bv[3]+"(?:\\s|$)")}return bv},j=function(bw,e){var bv=bw.attributes||{};return((!e[1]||bw.nodeName.toLowerCase()===e[1])&&(!e[2]||(bv.id||{}).value===e[2])&&(!e[3]||e[3].test((bv["class"]||{}).value)))},bt=function(e){return b.event.special.hover?e:e.replace(J,"mouseenter$1 mouseleave$1")};b.event={add:function(bx,bC,bJ,bA,by){var bD,bB,bK,bI,bH,bF,e,bG,bv,bz,bw,bE;if(bx.nodeType===3||bx.nodeType===8||!bC||!bJ||!(bD=b._data(bx))){return}if(bJ.handler){bv=bJ;bJ=bv.handler;by=bv.selector}if(!bJ.guid){bJ.guid=b.guid++}bK=bD.events;if(!bK){bD.events=bK={}}bB=bD.handle;if(!bB){bD.handle=bB=function(bL){return typeof b!=="undefined"&&(!bL||b.event.triggered!==bL.type)?b.event.dispatch.apply(bB.elem,arguments):L};bB.elem=bx}bC=b.trim(bt(bC)).split(" ");for(bI=0;bI=0){bG=bG.slice(0,-1);bw=true}if(bG.indexOf(".")>=0){bx=bG.split(".");bG=bx.shift();bx.sort()}if((!bA||b.event.customEvent[bG])&&!b.event.global[bG]){return}bv=typeof bv==="object"?bv[b.expando]?bv:new b.Event(bG,bv):new b.Event(bG);bv.type=bG;bv.isTrigger=true;bv.exclusive=bw;bv.namespace=bx.join(".");bv.namespace_re=bv.namespace?new RegExp("(^|\\.)"+bx.join("\\.(?:.*\\.)?")+"(\\.|$)"):null;by=bG.indexOf(":")<0?"on"+bG:"";if(!bA){e=b.cache;for(bC in e){if(e[bC].events&&e[bC].events[bG]){b.event.trigger(bv,bD,e[bC].handle.elem,true)}}return}bv.result=L;if(!bv.target){bv.target=bA}bD=bD!=null?b.makeArray(bD):[];bD.unshift(bv);bF=b.event.special[bG]||{};if(bF.trigger&&bF.trigger.apply(bA,bD)===false){return}bB=[[bA,bF.bindType||bG]];if(!bJ&&!bF.noBubble&&!b.isWindow(bA)){bI=bF.delegateType||bG;bH=T.test(bI+bG)?bA:bA.parentNode;bz=null;for(;bH;bH=bH.parentNode){bB.push([bH,bI]);bz=bH}if(bz&&bz===bA.ownerDocument){bB.push([bz.defaultView||bz.parentWindow||bd,bI])}}for(bC=0;bCbC){bv.push({elem:this,matches:bD.slice(bC)})}for(bJ=0;bJ0?this.on(e,null,bx,bw):this.trigger(e)};if(b.attrFn){b.attrFn[e]=true}if(aP.test(e)){b.event.fixHooks[e]=b.event.keyHooks}if(bg.test(e)){b.event.fixHooks[e]=b.event.mouseHooks}}); -/*! - * Sizzle CSS Selector Engine - * Copyright 2011, The Dojo Foundation - * Released under the MIT, BSD, and GPL Licenses. - * More information: http://sizzlejs.com/ - */ -(function(){var bH=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,bC="sizcache"+(Math.random()+"").replace(".",""),bI=0,bL=Object.prototype.toString,bB=false,bA=true,bK=/\\/g,bO=/\r\n/g,bQ=/\W/;[0,0].sort(function(){bA=false;return 0});var by=function(bV,e,bY,bZ){bY=bY||[];e=e||av;var b1=e;if(e.nodeType!==1&&e.nodeType!==9){return[]}if(!bV||typeof bV!=="string"){return bY}var bS,b3,b6,bR,b2,b5,b4,bX,bU=true,bT=by.isXML(e),bW=[],b0=bV;do{bH.exec("");bS=bH.exec(b0);if(bS){b0=bS[3];bW.push(bS[1]);if(bS[2]){bR=bS[3];break}}}while(bS);if(bW.length>1&&bD.exec(bV)){if(bW.length===2&&bE.relative[bW[0]]){b3=bM(bW[0]+bW[1],e,bZ)}else{b3=bE.relative[bW[0]]?[e]:by(bW.shift(),e);while(bW.length){bV=bW.shift();if(bE.relative[bV]){bV+=bW.shift()}b3=bM(bV,b3,bZ)}}}else{if(!bZ&&bW.length>1&&e.nodeType===9&&!bT&&bE.match.ID.test(bW[0])&&!bE.match.ID.test(bW[bW.length-1])){b2=by.find(bW.shift(),e,bT);e=b2.expr?by.filter(b2.expr,b2.set)[0]:b2.set[0]}if(e){b2=bZ?{expr:bW.pop(),set:bF(bZ)}:by.find(bW.pop(),bW.length===1&&(bW[0]==="~"||bW[0]==="+")&&e.parentNode?e.parentNode:e,bT);b3=b2.expr?by.filter(b2.expr,b2.set):b2.set;if(bW.length>0){b6=bF(b3)}else{bU=false}while(bW.length){b5=bW.pop();b4=b5;if(!bE.relative[b5]){b5=""}else{b4=bW.pop()}if(b4==null){b4=e}bE.relative[b5](b6,b4,bT)}}else{b6=bW=[]}}if(!b6){b6=b3}if(!b6){by.error(b5||bV)}if(bL.call(b6)==="[object Array]"){if(!bU){bY.push.apply(bY,b6)}else{if(e&&e.nodeType===1){for(bX=0;b6[bX]!=null;bX++){if(b6[bX]&&(b6[bX]===true||b6[bX].nodeType===1&&by.contains(e,b6[bX]))){bY.push(b3[bX])}}}else{for(bX=0;b6[bX]!=null;bX++){if(b6[bX]&&b6[bX].nodeType===1){bY.push(b3[bX])}}}}}else{bF(b6,bY)}if(bR){by(bR,b1,bY,bZ);by.uniqueSort(bY)}return bY};by.uniqueSort=function(bR){if(bJ){bB=bA;bR.sort(bJ);if(bB){for(var e=1;e0};by.find=function(bX,e,bY){var bW,bS,bU,bT,bV,bR;if(!bX){return[]}for(bS=0,bU=bE.order.length;bS":function(bW,bR){var bV,bU=typeof bR==="string",bS=0,e=bW.length;if(bU&&!bQ.test(bR)){bR=bR.toLowerCase();for(;bS=0)){if(!bS){e.push(bV)}}else{if(bS){bR[bU]=false}}}}return false},ID:function(e){return e[1].replace(bK,"")},TAG:function(bR,e){return bR[1].replace(bK,"").toLowerCase()},CHILD:function(e){if(e[1]==="nth"){if(!e[2]){by.error(e[0])}e[2]=e[2].replace(/^\+|\s*/g,"");var bR=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(e[2]==="even"&&"2n"||e[2]==="odd"&&"2n+1"||!/\D/.test(e[2])&&"0n+"+e[2]||e[2]);e[2]=(bR[1]+(bR[2]||1))-0;e[3]=bR[3]-0}else{if(e[2]){by.error(e[0])}}e[0]=bI++;return e},ATTR:function(bU,bR,bS,e,bV,bW){var bT=bU[1]=bU[1].replace(bK,"");if(!bW&&bE.attrMap[bT]){bU[1]=bE.attrMap[bT]}bU[4]=(bU[4]||bU[5]||"").replace(bK,"");if(bU[2]==="~="){bU[4]=" "+bU[4]+" "}return bU},PSEUDO:function(bU,bR,bS,e,bV){if(bU[1]==="not"){if((bH.exec(bU[3])||"").length>1||/^\w/.test(bU[3])){bU[3]=by(bU[3],null,null,bR)}else{var bT=by.filter(bU[3],bR,bS,true^bV);if(!bS){e.push.apply(e,bT)}return false}}else{if(bE.match.POS.test(bU[0])||bE.match.CHILD.test(bU[0])){return true}}return bU},POS:function(e){e.unshift(true);return e}},filters:{enabled:function(e){return e.disabled===false&&e.type!=="hidden"},disabled:function(e){return e.disabled===true},checked:function(e){return e.checked===true},selected:function(e){if(e.parentNode){e.parentNode.selectedIndex}return e.selected===true},parent:function(e){return !!e.firstChild},empty:function(e){return !e.firstChild},has:function(bS,bR,e){return !!by(e[3],bS).length},header:function(e){return(/h\d/i).test(e.nodeName)},text:function(bS){var e=bS.getAttribute("type"),bR=bS.type;return bS.nodeName.toLowerCase()==="input"&&"text"===bR&&(e===bR||e===null)},radio:function(e){return e.nodeName.toLowerCase()==="input"&&"radio"===e.type},checkbox:function(e){return e.nodeName.toLowerCase()==="input"&&"checkbox"===e.type},file:function(e){return e.nodeName.toLowerCase()==="input"&&"file"===e.type},password:function(e){return e.nodeName.toLowerCase()==="input"&&"password"===e.type},submit:function(bR){var e=bR.nodeName.toLowerCase();return(e==="input"||e==="button")&&"submit"===bR.type},image:function(e){return e.nodeName.toLowerCase()==="input"&&"image"===e.type},reset:function(bR){var e=bR.nodeName.toLowerCase();return(e==="input"||e==="button")&&"reset"===bR.type},button:function(bR){var e=bR.nodeName.toLowerCase();return e==="input"&&"button"===bR.type||e==="button"},input:function(e){return(/input|select|textarea|button/i).test(e.nodeName)},focus:function(e){return e===e.ownerDocument.activeElement}},setFilters:{first:function(bR,e){return e===0},last:function(bS,bR,e,bT){return bR===bT.length-1},even:function(bR,e){return e%2===0},odd:function(bR,e){return e%2===1},lt:function(bS,bR,e){return bRe[3]-0},nth:function(bS,bR,e){return e[3]-0===bR},eq:function(bS,bR,e){return e[3]-0===bR}},filter:{PSEUDO:function(bS,bX,bW,bY){var e=bX[1],bR=bE.filters[e];if(bR){return bR(bS,bW,bX,bY)}else{if(e==="contains"){return(bS.textContent||bS.innerText||bw([bS])||"").indexOf(bX[3])>=0}else{if(e==="not"){var bT=bX[3];for(var bV=0,bU=bT.length;bV=0)}}},ID:function(bR,e){return bR.nodeType===1&&bR.getAttribute("id")===e},TAG:function(bR,e){return(e==="*"&&bR.nodeType===1)||!!bR.nodeName&&bR.nodeName.toLowerCase()===e},CLASS:function(bR,e){return(" "+(bR.className||bR.getAttribute("class"))+" ").indexOf(e)>-1},ATTR:function(bV,bT){var bS=bT[1],e=by.attr?by.attr(bV,bS):bE.attrHandle[bS]?bE.attrHandle[bS](bV):bV[bS]!=null?bV[bS]:bV.getAttribute(bS),bW=e+"",bU=bT[2],bR=bT[4];return e==null?bU==="!=":!bU&&by.attr?e!=null:bU==="="?bW===bR:bU==="*="?bW.indexOf(bR)>=0:bU==="~="?(" "+bW+" ").indexOf(bR)>=0:!bR?bW&&e!==false:bU==="!="?bW!==bR:bU==="^="?bW.indexOf(bR)===0:bU==="$="?bW.substr(bW.length-bR.length)===bR:bU==="|="?bW===bR||bW.substr(0,bR.length+1)===bR+"-":false},POS:function(bU,bR,bS,bV){var e=bR[2],bT=bE.setFilters[e];if(bT){return bT(bU,bS,bR,bV)}}}};var bD=bE.match.POS,bx=function(bR,e){return"\\"+(e-0+1)};for(var bz in bE.match){bE.match[bz]=new RegExp(bE.match[bz].source+(/(?![^\[]*\])(?![^\(]*\))/.source));bE.leftMatch[bz]=new RegExp(/(^(?:.|\r|\n)*?)/.source+bE.match[bz].source.replace(/\\(\d+)/g,bx))}bE.match.globalPOS=bD;var bF=function(bR,e){bR=Array.prototype.slice.call(bR,0);if(e){e.push.apply(e,bR);return e}return bR};try{Array.prototype.slice.call(av.documentElement.childNodes,0)[0].nodeType}catch(bP){bF=function(bU,bT){var bS=0,bR=bT||[];if(bL.call(bU)==="[object Array]"){Array.prototype.push.apply(bR,bU)}else{if(typeof bU.length==="number"){for(var e=bU.length;bS";e.insertBefore(bR,e.firstChild);if(av.getElementById(bS)){bE.find.ID=function(bU,bV,bW){if(typeof bV.getElementById!=="undefined"&&!bW){var bT=bV.getElementById(bU[1]);return bT?bT.id===bU[1]||typeof bT.getAttributeNode!=="undefined"&&bT.getAttributeNode("id").nodeValue===bU[1]?[bT]:L:[]}};bE.filter.ID=function(bV,bT){var bU=typeof bV.getAttributeNode!=="undefined"&&bV.getAttributeNode("id");return bV.nodeType===1&&bU&&bU.nodeValue===bT}}e.removeChild(bR);e=bR=null})();(function(){var e=av.createElement("div");e.appendChild(av.createComment(""));if(e.getElementsByTagName("*").length>0){bE.find.TAG=function(bR,bV){var bU=bV.getElementsByTagName(bR[1]);if(bR[1]==="*"){var bT=[];for(var bS=0;bU[bS];bS++){if(bU[bS].nodeType===1){bT.push(bU[bS])}}bU=bT}return bU}}e.innerHTML="";if(e.firstChild&&typeof e.firstChild.getAttribute!=="undefined"&&e.firstChild.getAttribute("href")!=="#"){bE.attrHandle.href=function(bR){return bR.getAttribute("href",2)}}e=null})();if(av.querySelectorAll){(function(){var e=by,bT=av.createElement("div"),bS="__sizzle__";bT.innerHTML="

";if(bT.querySelectorAll&&bT.querySelectorAll(".TEST").length===0){return}by=function(b4,bV,bZ,b3){bV=bV||av;if(!b3&&!by.isXML(bV)){var b2=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b4);if(b2&&(bV.nodeType===1||bV.nodeType===9)){if(b2[1]){return bF(bV.getElementsByTagName(b4),bZ)}else{if(b2[2]&&bE.find.CLASS&&bV.getElementsByClassName){return bF(bV.getElementsByClassName(b2[2]),bZ)}}}if(bV.nodeType===9){if(b4==="body"&&bV.body){return bF([bV.body],bZ)}else{if(b2&&b2[3]){var bY=bV.getElementById(b2[3]);if(bY&&bY.parentNode){if(bY.id===b2[3]){return bF([bY],bZ)}}else{return bF([],bZ)}}}try{return bF(bV.querySelectorAll(b4),bZ)}catch(b0){}}else{if(bV.nodeType===1&&bV.nodeName.toLowerCase()!=="object"){var bW=bV,bX=bV.getAttribute("id"),bU=bX||bS,b6=bV.parentNode,b5=/^\s*[+~]/.test(b4);if(!bX){bV.setAttribute("id",bU)}else{bU=bU.replace(/'/g,"\\$&")}if(b5&&b6){bV=bV.parentNode}try{if(!b5||b6){return bF(bV.querySelectorAll("[id='"+bU+"'] "+b4),bZ)}}catch(b1){}finally{if(!bX){bW.removeAttribute("id")}}}}}return e(b4,bV,bZ,b3)};for(var bR in e){by[bR]=e[bR]}bT=null})()}(function(){var e=av.documentElement,bS=e.matchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.msMatchesSelector;if(bS){var bU=!bS.call(av.createElement("div"),"div"),bR=false;try{bS.call(av.documentElement,"[test!='']:sizzle")}catch(bT){bR=true}by.matchesSelector=function(bW,bY){bY=bY.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!by.isXML(bW)){try{if(bR||!bE.match.PSEUDO.test(bY)&&!/!=/.test(bY)){var bV=bS.call(bW,bY);if(bV||!bU||bW.document&&bW.document.nodeType!==11){return bV}}}catch(bX){}}return by(bY,null,null,[bW]).length>0}}})();(function(){var e=av.createElement("div");e.innerHTML="
";if(!e.getElementsByClassName||e.getElementsByClassName("e").length===0){return}e.lastChild.className="e";if(e.getElementsByClassName("e").length===1){return}bE.order.splice(1,0,"CLASS");bE.find.CLASS=function(bR,bS,bT){if(typeof bS.getElementsByClassName!=="undefined"&&!bT){return bS.getElementsByClassName(bR[1])}};e=null})();function bv(bR,bW,bV,bZ,bX,bY){for(var bT=0,bS=bZ.length;bT0){bU=e;break}}}e=e[bR]}bZ[bT]=bU}}}if(av.documentElement.contains){by.contains=function(bR,e){return bR!==e&&(bR.contains?bR.contains(e):true)}}else{if(av.documentElement.compareDocumentPosition){by.contains=function(bR,e){return !!(bR.compareDocumentPosition(e)&16)}}else{by.contains=function(){return false}}}by.isXML=function(e){var bR=(e?e.ownerDocument||e:0).documentElement;return bR?bR.nodeName!=="HTML":false};var bM=function(bS,e,bW){var bV,bX=[],bU="",bY=e.nodeType?[e]:e;while((bV=bE.match.PSEUDO.exec(bS))){bU+=bV[0];bS=bS.replace(bE.match.PSEUDO,"")}bS=bE.relative[bS]?bS+"*":bS;for(var bT=0,bR=bY.length;bT0){for(bB=bA;bB=0:b.filter(e,this).length>0:this.filter(e).length>0)},closest:function(by,bx){var bv=[],bw,e,bz=this[0];if(b.isArray(by)){var bB=1;while(bz&&bz.ownerDocument&&bz!==bx){for(bw=0;bw-1:b.find.matchesSelector(bz,by)){bv.push(bz);break}else{bz=bz.parentNode;if(!bz||!bz.ownerDocument||bz===bx||bz.nodeType===11){break}}}}bv=bv.length>1?b.unique(bv):bv;return this.pushStack(bv,"closest",by)},index:function(e){if(!e){return(this[0]&&this[0].parentNode)?this.prevAll().length:-1}if(typeof e==="string"){return b.inArray(this[0],b(e))}return b.inArray(e.jquery?e[0]:e,this)},add:function(e,bv){var bx=typeof e==="string"?b(e,bv):b.makeArray(e&&e.nodeType?[e]:e),bw=b.merge(this.get(),bx);return this.pushStack(B(bx[0])||B(bw[0])?bw:b.unique(bw))},andSelf:function(){return this.add(this.prevObject)}});function B(e){return !e||!e.parentNode||e.parentNode.nodeType===11}b.each({parent:function(bv){var e=bv.parentNode;return e&&e.nodeType!==11?e:null},parents:function(e){return b.dir(e,"parentNode")},parentsUntil:function(bv,e,bw){return b.dir(bv,"parentNode",bw)},next:function(e){return b.nth(e,2,"nextSibling")},prev:function(e){return b.nth(e,2,"previousSibling")},nextAll:function(e){return b.dir(e,"nextSibling")},prevAll:function(e){return b.dir(e,"previousSibling")},nextUntil:function(bv,e,bw){return b.dir(bv,"nextSibling",bw)},prevUntil:function(bv,e,bw){return b.dir(bv,"previousSibling",bw)},siblings:function(e){return b.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return b.sibling(e.firstChild)},contents:function(e){return b.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:b.makeArray(e.childNodes)}},function(e,bv){b.fn[e]=function(by,bw){var bx=b.map(this,bv,by);if(!ab.test(e)){bw=by}if(bw&&typeof bw==="string"){bx=b.filter(bw,bx)}bx=this.length>1&&!ay[e]?b.unique(bx):bx;if((this.length>1||bb.test(bw))&&aq.test(e)){bx=bx.reverse()}return this.pushStack(bx,e,P.call(arguments).join(","))}});b.extend({filter:function(bw,e,bv){if(bv){bw=":not("+bw+")"}return e.length===1?b.find.matchesSelector(e[0],bw)?[e[0]]:[]:b.find.matches(bw,e)},dir:function(bw,bv,by){var e=[],bx=bw[bv];while(bx&&bx.nodeType!==9&&(by===L||bx.nodeType!==1||!b(bx).is(by))){if(bx.nodeType===1){e.push(bx)}bx=bx[bv]}return e},nth:function(by,e,bw,bx){e=e||1;var bv=0;for(;by;by=by[bw]){if(by.nodeType===1&&++bv===e){break}}return by},sibling:function(bw,bv){var e=[];for(;bw;bw=bw.nextSibling){if(bw.nodeType===1&&bw!==bv){e.push(bw)}}return e}});function aH(bx,bw,e){bw=bw||0;if(b.isFunction(bw)){return b.grep(bx,function(bz,by){var bA=!!bw.call(bz,by,bz);return bA===e})}else{if(bw.nodeType){return b.grep(bx,function(bz,by){return(bz===bw)===e})}else{if(typeof bw==="string"){var bv=b.grep(bx,function(by){return by.nodeType===1});if(bp.test(bw)){return b.filter(bw,bv,!e)}else{bw=b.filter(bw,bv)}}}}return b.grep(bx,function(bz,by){return(b.inArray(bz,bw)>=0)===e})}function a(e){var bw=aS.split("|"),bv=e.createDocumentFragment();if(bv.createElement){while(bw.length){bv.createElement(bw.pop())}}return bv}var aS="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",ah=/ jQuery\d+="(?:\d+|null)"/g,ar=/^\s+/,R=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,d=/<([\w:]+)/,v=/]","i"),o=/checked\s*(?:[^=]|=\s*.checked.)/i,bn=/\/(java|ecma)script/i,aO=/^\s*",""],legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_default:[0,"",""]},ac=a(av);ax.optgroup=ax.option;ax.tbody=ax.tfoot=ax.colgroup=ax.caption=ax.thead;ax.th=ax.td;if(!b.support.htmlSerialize){ax._default=[1,"div
","
"]}b.fn.extend({text:function(e){return b.access(this,function(bv){return bv===L?b.text(this):this.empty().append((this[0]&&this[0].ownerDocument||av).createTextNode(bv))},null,e,arguments.length)},wrapAll:function(e){if(b.isFunction(e)){return this.each(function(bw){b(this).wrapAll(e.call(this,bw))})}if(this[0]){var bv=b(e,this[0].ownerDocument).eq(0).clone(true);if(this[0].parentNode){bv.insertBefore(this[0])}bv.map(function(){var bw=this;while(bw.firstChild&&bw.firstChild.nodeType===1){bw=bw.firstChild}return bw}).append(this)}return this},wrapInner:function(e){if(b.isFunction(e)){return this.each(function(bv){b(this).wrapInner(e.call(this,bv))})}return this.each(function(){var bv=b(this),bw=bv.contents();if(bw.length){bw.wrapAll(e)}else{bv.append(e)}})},wrap:function(e){var bv=b.isFunction(e);return this.each(function(bw){b(this).wrapAll(bv?e.call(this,bw):e)})},unwrap:function(){return this.parent().each(function(){if(!b.nodeName(this,"body")){b(this).replaceWith(this.childNodes)}}).end()},append:function(){return this.domManip(arguments,true,function(e){if(this.nodeType===1){this.appendChild(e)}})},prepend:function(){return this.domManip(arguments,true,function(e){if(this.nodeType===1){this.insertBefore(e,this.firstChild)}})},before:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(bv){this.parentNode.insertBefore(bv,this)})}else{if(arguments.length){var e=b.clean(arguments);e.push.apply(e,this.toArray());return this.pushStack(e,"before",arguments)}}},after:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(bv){this.parentNode.insertBefore(bv,this.nextSibling)})}else{if(arguments.length){var e=this.pushStack(this,"after",arguments);e.push.apply(e,b.clean(arguments));return e}}},remove:function(e,bx){for(var bv=0,bw;(bw=this[bv])!=null;bv++){if(!e||b.filter(e,[bw]).length){if(!bx&&bw.nodeType===1){b.cleanData(bw.getElementsByTagName("*"));b.cleanData([bw])}if(bw.parentNode){bw.parentNode.removeChild(bw)}}}return this},empty:function(){for(var e=0,bv;(bv=this[e])!=null;e++){if(bv.nodeType===1){b.cleanData(bv.getElementsByTagName("*"))}while(bv.firstChild){bv.removeChild(bv.firstChild)}}return this},clone:function(bv,e){bv=bv==null?false:bv;e=e==null?bv:e;return this.map(function(){return b.clone(this,bv,e)})},html:function(e){return b.access(this,function(by){var bx=this[0]||{},bw=0,bv=this.length;if(by===L){return bx.nodeType===1?bx.innerHTML.replace(ah,""):null}if(typeof by==="string"&&!ae.test(by)&&(b.support.leadingWhitespace||!ar.test(by))&&!ax[(d.exec(by)||["",""])[1].toLowerCase()]){by=by.replace(R,"<$1>");try{for(;bw1&&bw0?this.clone(true):this).get();b(bC[bA])[bv](by);bz=bz.concat(by)}return this.pushStack(bz,e,bC.selector)}}});function bh(e){if(typeof e.getElementsByTagName!=="undefined"){return e.getElementsByTagName("*")}else{if(typeof e.querySelectorAll!=="undefined"){return e.querySelectorAll("*")}else{return[]}}}function az(e){if(e.type==="checkbox"||e.type==="radio"){e.defaultChecked=e.checked}}function D(e){var bv=(e.nodeName||"").toLowerCase();if(bv==="input"){az(e)}else{if(bv!=="script"&&typeof e.getElementsByTagName!=="undefined"){b.grep(e.getElementsByTagName("input"),az)}}}function am(e){var bv=av.createElement("div");ac.appendChild(bv);bv.innerHTML=e.outerHTML;return bv.firstChild}b.extend({clone:function(by,bA,bw){var e,bv,bx,bz=b.support.html5Clone||b.isXMLDoc(by)||!ai.test("<"+by.nodeName+">")?by.cloneNode(true):am(by);if((!b.support.noCloneEvent||!b.support.noCloneChecked)&&(by.nodeType===1||by.nodeType===11)&&!b.isXMLDoc(by)){aj(by,bz);e=bh(by);bv=bh(bz);for(bx=0;e[bx];++bx){if(bv[bx]){aj(e[bx],bv[bx])}}}if(bA){s(by,bz);if(bw){e=bh(by);bv=bh(bz);for(bx=0;e[bx];++bx){s(e[bx],bv[bx])}}}e=bv=null;return bz},clean:function(bI,bw,bv,bx){var bA,bH,bD,bJ=[];bw=bw||av;if(typeof bw.createElement==="undefined"){bw=bw.ownerDocument||bw[0]&&bw[0].ownerDocument||av}for(var bE=0,bG;(bG=bI[bE])!=null;bE++){if(typeof bG==="number"){bG+=""}if(!bG){continue}if(typeof bG==="string"){if(!W.test(bG)){bG=bw.createTextNode(bG)}else{bG=bG.replace(R,"<$1>");var bN=(d.exec(bG)||["",""])[1].toLowerCase(),bz=ax[bN]||ax._default,bK=bz[0],bB=bw.createElement("div"),bL=ac.childNodes,bM;if(bw===av){ac.appendChild(bB)}else{a(bw).appendChild(bB)}bB.innerHTML=bz[1]+bG+bz[2];while(bK--){bB=bB.lastChild}if(!b.support.tbody){var by=v.test(bG),e=bN==="table"&&!by?bB.firstChild&&bB.firstChild.childNodes:bz[1]===""&&!by?bB.childNodes:[];for(bD=e.length-1;bD>=0;--bD){if(b.nodeName(e[bD],"tbody")&&!e[bD].childNodes.length){e[bD].parentNode.removeChild(e[bD])}}}if(!b.support.leadingWhitespace&&ar.test(bG)){bB.insertBefore(bw.createTextNode(ar.exec(bG)[0]),bB.firstChild)}bG=bB.childNodes;if(bB){bB.parentNode.removeChild(bB);if(bL.length>0){bM=bL[bL.length-1];if(bM&&bM.parentNode){bM.parentNode.removeChild(bM)}}}}}var bF;if(!b.support.appendChecked){if(bG[0]&&typeof(bF=bG.length)==="number"){for(bD=0;bD1)};b.extend({cssHooks:{opacity:{get:function(bw,bv){if(bv){var e=Z(bw,"opacity");return e===""?"1":e}else{return bw.style.opacity}}}},cssNumber:{fillOpacity:true,fontWeight:true,lineHeight:true,opacity:true,orphans:true,widows:true,zIndex:true,zoom:true},cssProps:{"float":b.support.cssFloat?"cssFloat":"styleFloat"},style:function(bx,bw,bD,by){if(!bx||bx.nodeType===3||bx.nodeType===8||!bx.style){return}var bB,bC,bz=b.camelCase(bw),bv=bx.style,bE=b.cssHooks[bz];bw=b.cssProps[bz]||bz;if(bD!==L){bC=typeof bD;if(bC==="string"&&(bB=I.exec(bD))){bD=(+(bB[1]+1)*+bB[2])+parseFloat(b.css(bx,bw));bC="number"}if(bD==null||bC==="number"&&isNaN(bD)){return}if(bC==="number"&&!b.cssNumber[bz]){bD+="px"}if(!bE||!("set" in bE)||(bD=bE.set(bx,bD))!==L){try{bv[bw]=bD}catch(bA){}}}else{if(bE&&"get" in bE&&(bB=bE.get(bx,false,by))!==L){return bB}return bv[bw]}},css:function(by,bx,bv){var bw,e;bx=b.camelCase(bx);e=b.cssHooks[bx];bx=b.cssProps[bx]||bx;if(bx==="cssFloat"){bx="float"}if(e&&"get" in e&&(bw=e.get(by,true,bv))!==L){return bw}else{if(Z){return Z(by,bx)}}},swap:function(by,bx,bz){var e={},bw,bv;for(bv in bx){e[bv]=by.style[bv];by.style[bv]=bx[bv]}bw=bz.call(by);for(bv in bx){by.style[bv]=e[bv]}return bw}});b.curCSS=b.css;if(av.defaultView&&av.defaultView.getComputedStyle){aJ=function(bA,bw){var bv,bz,e,by,bx=bA.style;bw=bw.replace(y,"-$1").toLowerCase();if((bz=bA.ownerDocument.defaultView)&&(e=bz.getComputedStyle(bA,null))){bv=e.getPropertyValue(bw);if(bv===""&&!b.contains(bA.ownerDocument.documentElement,bA)){bv=b.style(bA,bw)}}if(!b.support.pixelMargin&&e&&aE.test(bw)&&a1.test(bv)){by=bx.width;bx.width=bv;bv=e.width;bx.width=by}return bv}}if(av.documentElement.currentStyle){aY=function(bz,bw){var bA,e,by,bv=bz.currentStyle&&bz.currentStyle[bw],bx=bz.style;if(bv==null&&bx&&(by=bx[bw])){bv=by}if(a1.test(bv)){bA=bx.left;e=bz.runtimeStyle&&bz.runtimeStyle.left;if(e){bz.runtimeStyle.left=bz.currentStyle.left}bx.left=bw==="fontSize"?"1em":bv;bv=bx.pixelLeft+"px";bx.left=bA;if(e){bz.runtimeStyle.left=e}}return bv===""?"auto":bv}}Z=aJ||aY;function af(by,bw,bv){var bz=bw==="width"?by.offsetWidth:by.offsetHeight,bx=bw==="width"?1:0,e=4;if(bz>0){if(bv!=="border"){for(;bx=1&&b.trim(bw.replace(al,""))===""){bx.removeAttribute("filter");if(bv&&!bv.filter){return}}bx.filter=al.test(bw)?bw.replace(al,e):bw+" "+e}}}b(function(){if(!b.support.reliableMarginRight){b.cssHooks.marginRight={get:function(bv,e){return b.swap(bv,{display:"inline-block"},function(){if(e){return Z(bv,"margin-right")}else{return bv.style.marginRight}})}}}});if(b.expr&&b.expr.filters){b.expr.filters.hidden=function(bw){var bv=bw.offsetWidth,e=bw.offsetHeight;return(bv===0&&e===0)||(!b.support.reliableHiddenOffsets&&((bw.style&&bw.style.display)||b.css(bw,"display"))==="none")};b.expr.filters.visible=function(e){return !b.expr.filters.hidden(e)}}b.each({margin:"",padding:"",border:"Width"},function(e,bv){b.cssHooks[e+bv]={expand:function(by){var bx,bz=typeof by==="string"?by.split(" "):[by],bw={};for(bx=0;bx<4;bx++){bw[e+G[bx]+bv]=bz[bx]||bz[bx-2]||bz[0]}return bw}}});var k=/%20/g,ap=/\[\]$/,bs=/\r?\n/g,bq=/#.*$/,aD=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,a0=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,aN=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,aR=/^(?:GET|HEAD)$/,c=/^\/\//,M=/\?/,a7=/)<[^<]*)*<\/script>/gi,p=/^(?:select|textarea)/i,h=/\s+/,br=/([?&])_=[^&]*/,K=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,z=b.fn.load,aa={},q={},aF,r,aW=["*/"]+["*"];try{aF=bm.href}catch(aw){aF=av.createElement("a");aF.href="";aF=aF.href}r=K.exec(aF.toLowerCase())||[];function f(e){return function(by,bA){if(typeof by!=="string"){bA=by;by="*"}if(b.isFunction(bA)){var bx=by.toLowerCase().split(h),bw=0,bz=bx.length,bv,bB,bC;for(;bw=0){var e=bw.slice(by,bw.length);bw=bw.slice(0,by)}var bx="GET";if(bz){if(b.isFunction(bz)){bA=bz;bz=L}else{if(typeof bz==="object"){bz=b.param(bz,b.ajaxSettings.traditional);bx="POST"}}}var bv=this;b.ajax({url:bw,type:bx,dataType:"html",data:bz,complete:function(bC,bB,bD){bD=bC.responseText;if(bC.isResolved()){bC.done(function(bE){bD=bE});bv.html(e?b("
").append(bD.replace(a7,"")).find(e):bD)}if(bA){bv.each(bA,[bD,bB,bC])}}});return this},serialize:function(){return b.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?b.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||p.test(this.nodeName)||a0.test(this.type))}).map(function(e,bv){var bw=b(this).val();return bw==null?null:b.isArray(bw)?b.map(bw,function(by,bx){return{name:bv.name,value:by.replace(bs,"\r\n")}}):{name:bv.name,value:bw.replace(bs,"\r\n")}}).get()}});b.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(e,bv){b.fn[bv]=function(bw){return this.on(bv,bw)}});b.each(["get","post"],function(e,bv){b[bv]=function(bw,by,bz,bx){if(b.isFunction(by)){bx=bx||bz;bz=by;by=L}return b.ajax({type:bv,url:bw,data:by,success:bz,dataType:bx})}});b.extend({getScript:function(e,bv){return b.get(e,L,bv,"script")},getJSON:function(e,bv,bw){return b.get(e,bv,bw,"json")},ajaxSetup:function(bv,e){if(e){an(bv,b.ajaxSettings)}else{e=bv;bv=b.ajaxSettings}an(bv,e);return bv},ajaxSettings:{url:aF,isLocal:aN.test(r[1]),global:true,type:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",processData:true,async:true,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":aW},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":bd.String,"text html":true,"text json":b.parseJSON,"text xml":b.parseXML},flatOptions:{context:true,url:true}},ajaxPrefilter:f(aa),ajaxTransport:f(q),ajax:function(bz,bx){if(typeof bz==="object"){bx=bz;bz=L}bx=bx||{};var bD=b.ajaxSetup({},bx),bS=bD.context||bD,bG=bS!==bD&&(bS.nodeType||bS instanceof b)?b(bS):b.event,bR=b.Deferred(),bN=b.Callbacks("once memory"),bB=bD.statusCode||{},bC,bH={},bO={},bQ,by,bL,bE,bI,bA=0,bw,bK,bJ={readyState:0,setRequestHeader:function(bT,bU){if(!bA){var e=bT.toLowerCase();bT=bO[e]=bO[e]||bT;bH[bT]=bU}return this},getAllResponseHeaders:function(){return bA===2?bQ:null},getResponseHeader:function(bT){var e;if(bA===2){if(!by){by={};while((e=aD.exec(bQ))){by[e[1].toLowerCase()]=e[2]}}e=by[bT.toLowerCase()]}return e===L?null:e},overrideMimeType:function(e){if(!bA){bD.mimeType=e}return this},abort:function(e){e=e||"abort";if(bL){bL.abort(e)}bF(0,e);return this}};function bF(bZ,bU,b0,bW){if(bA===2){return}bA=2;if(bE){clearTimeout(bE)}bL=L;bQ=bW||"";bJ.readyState=bZ>0?4:0;var bT,b4,b3,bX=bU,bY=b0?bk(bD,bJ,b0):L,bV,b2;if(bZ>=200&&bZ<300||bZ===304){if(bD.ifModified){if((bV=bJ.getResponseHeader("Last-Modified"))){b.lastModified[bC]=bV}if((b2=bJ.getResponseHeader("Etag"))){b.etag[bC]=b2}}if(bZ===304){bX="notmodified";bT=true}else{try{b4=F(bD,bY);bX="success";bT=true}catch(b1){bX="parsererror";b3=b1}}}else{b3=bX;if(!bX||bZ){bX="error";if(bZ<0){bZ=0}}}bJ.status=bZ;bJ.statusText=""+(bU||bX);if(bT){bR.resolveWith(bS,[b4,bX,bJ])}else{bR.rejectWith(bS,[bJ,bX,b3])}bJ.statusCode(bB);bB=L;if(bw){bG.trigger("ajax"+(bT?"Success":"Error"),[bJ,bD,bT?b4:b3])}bN.fireWith(bS,[bJ,bX]);if(bw){bG.trigger("ajaxComplete",[bJ,bD]);if(!(--b.active)){b.event.trigger("ajaxStop")}}}bR.promise(bJ);bJ.success=bJ.done;bJ.error=bJ.fail;bJ.complete=bN.add;bJ.statusCode=function(bT){if(bT){var e;if(bA<2){for(e in bT){bB[e]=[bB[e],bT[e]]}}else{e=bT[bJ.status];bJ.then(e,e)}}return this};bD.url=((bz||bD.url)+"").replace(bq,"").replace(c,r[1]+"//");bD.dataTypes=b.trim(bD.dataType||"*").toLowerCase().split(h);if(bD.crossDomain==null){bI=K.exec(bD.url.toLowerCase());bD.crossDomain=!!(bI&&(bI[1]!=r[1]||bI[2]!=r[2]||(bI[3]||(bI[1]==="http:"?80:443))!=(r[3]||(r[1]==="http:"?80:443))))}if(bD.data&&bD.processData&&typeof bD.data!=="string"){bD.data=b.param(bD.data,bD.traditional)}aX(aa,bD,bx,bJ);if(bA===2){return false}bw=bD.global;bD.type=bD.type.toUpperCase();bD.hasContent=!aR.test(bD.type);if(bw&&b.active++===0){b.event.trigger("ajaxStart")}if(!bD.hasContent){if(bD.data){bD.url+=(M.test(bD.url)?"&":"?")+bD.data;delete bD.data}bC=bD.url;if(bD.cache===false){var bv=b.now(),bP=bD.url.replace(br,"$1_="+bv);bD.url=bP+((bP===bD.url)?(M.test(bD.url)?"&":"?")+"_="+bv:"")}}if(bD.data&&bD.hasContent&&bD.contentType!==false||bx.contentType){bJ.setRequestHeader("Content-Type",bD.contentType)}if(bD.ifModified){bC=bC||bD.url;if(b.lastModified[bC]){bJ.setRequestHeader("If-Modified-Since",b.lastModified[bC])}if(b.etag[bC]){bJ.setRequestHeader("If-None-Match",b.etag[bC])}}bJ.setRequestHeader("Accept",bD.dataTypes[0]&&bD.accepts[bD.dataTypes[0]]?bD.accepts[bD.dataTypes[0]]+(bD.dataTypes[0]!=="*"?", "+aW+"; q=0.01":""):bD.accepts["*"]);for(bK in bD.headers){bJ.setRequestHeader(bK,bD.headers[bK])}if(bD.beforeSend&&(bD.beforeSend.call(bS,bJ,bD)===false||bA===2)){bJ.abort();return false}for(bK in {success:1,error:1,complete:1}){bJ[bK](bD[bK])}bL=aX(q,bD,bx,bJ);if(!bL){bF(-1,"No Transport")}else{bJ.readyState=1;if(bw){bG.trigger("ajaxSend",[bJ,bD])}if(bD.async&&bD.timeout>0){bE=setTimeout(function(){bJ.abort("timeout")},bD.timeout)}try{bA=1;bL.send(bH,bF)}catch(bM){if(bA<2){bF(-1,bM)}else{throw bM}}}return bJ},param:function(e,bw){var bv=[],by=function(bz,bA){bA=b.isFunction(bA)?bA():bA;bv[bv.length]=encodeURIComponent(bz)+"="+encodeURIComponent(bA)};if(bw===L){bw=b.ajaxSettings.traditional}if(b.isArray(e)||(e.jquery&&!b.isPlainObject(e))){b.each(e,function(){by(this.name,this.value)})}else{for(var bx in e){u(bx,e[bx],bw,by)}}return bv.join("&").replace(k,"+")}});function u(bw,by,bv,bx){if(b.isArray(by)){b.each(by,function(bA,bz){if(bv||ap.test(bw)){bx(bw,bz)}else{u(bw+"["+(typeof bz==="object"?bA:"")+"]",bz,bv,bx)}})}else{if(!bv&&b.type(by)==="object"){for(var e in by){u(bw+"["+e+"]",by[e],bv,bx)}}else{bx(bw,by)}}}b.extend({active:0,lastModified:{},etag:{}});function bk(bD,bC,bz){var bv=bD.contents,bB=bD.dataTypes,bw=bD.responseFields,by,bA,bx,e;for(bA in bw){if(bA in bz){bC[bw[bA]]=bz[bA]}}while(bB[0]==="*"){bB.shift();if(by===L){by=bD.mimeType||bC.getResponseHeader("content-type")}}if(by){for(bA in bv){if(bv[bA]&&bv[bA].test(by)){bB.unshift(bA);break}}}if(bB[0] in bz){bx=bB[0]}else{for(bA in bz){if(!bB[0]||bD.converters[bA+" "+bB[0]]){bx=bA;break}if(!e){e=bA}}bx=bx||e}if(bx){if(bx!==bB[0]){bB.unshift(bx)}return bz[bx]}}function F(bH,bz){if(bH.dataFilter){bz=bH.dataFilter(bz,bH.dataType)}var bD=bH.dataTypes,bG={},bA,bE,bw=bD.length,bB,bC=bD[0],bx,by,bF,bv,e;for(bA=1;bA=bw.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();bw.animatedProperties[this.prop]=true;for(bA in bw.animatedProperties){if(bw.animatedProperties[bA]!==true){e=false}}if(e){if(bw.overflow!=null&&!b.support.shrinkWrapBlocks){b.each(["","X","Y"],function(bC,bD){bz.style["overflow"+bD]=bw.overflow[bC]})}if(bw.hide){b(bz).hide()}if(bw.hide||bw.show){for(bA in bw.animatedProperties){b.style(bz,bA,bw.orig[bA]);b.removeData(bz,"fxshow"+bA,true);b.removeData(bz,"toggle"+bA,true)}}bv=bw.complete;if(bv){bw.complete=false;bv.call(bz)}}return false}else{if(bw.duration==Infinity){this.now=bx}else{bB=bx-this.startTime;this.state=bB/bw.duration;this.pos=b.easing[bw.animatedProperties[this.prop]](this.state,bB,0,1,bw.duration);this.now=this.start+((this.end-this.start)*this.pos)}this.update()}return true}};b.extend(b.fx,{tick:function(){var bw,bv=b.timers,e=0;for(;e").appendTo(e),bw=bv.css("display");bv.remove();if(bw==="none"||bw===""){if(!ba){ba=av.createElement("iframe");ba.frameBorder=ba.width=ba.height=0}e.appendChild(ba);if(!m||!ba.createElement){m=(ba.contentWindow||ba.contentDocument).document;m.write((b.support.boxModel?"":"")+"");m.close()}bv=m.createElement(bx);m.body.appendChild(bv);bw=b.css(bv,"display");e.removeChild(ba)}Q[bx]=bw}return Q[bx]}var a8,V=/^t(?:able|d|h)$/i,ad=/^(?:body|html)$/i;if("getBoundingClientRect" in av.documentElement){a8=function(by,bH,bw,bB){try{bB=by.getBoundingClientRect()}catch(bF){}if(!bB||!b.contains(bw,by)){return bB?{top:bB.top,left:bB.left}:{top:0,left:0}}var bC=bH.body,bD=aL(bH),bA=bw.clientTop||bC.clientTop||0,bE=bw.clientLeft||bC.clientLeft||0,bv=bD.pageYOffset||b.support.boxModel&&bw.scrollTop||bC.scrollTop,bz=bD.pageXOffset||b.support.boxModel&&bw.scrollLeft||bC.scrollLeft,bG=bB.top+bv-bA,bx=bB.left+bz-bE;return{top:bG,left:bx}}}else{a8=function(bz,bE,bx){var bC,bw=bz.offsetParent,bv=bz,bA=bE.body,bB=bE.defaultView,e=bB?bB.getComputedStyle(bz,null):bz.currentStyle,bD=bz.offsetTop,by=bz.offsetLeft;while((bz=bz.parentNode)&&bz!==bA&&bz!==bx){if(b.support.fixedPosition&&e.position==="fixed"){break}bC=bB?bB.getComputedStyle(bz,null):bz.currentStyle;bD-=bz.scrollTop;by-=bz.scrollLeft;if(bz===bw){bD+=bz.offsetTop;by+=bz.offsetLeft;if(b.support.doesNotAddBorder&&!(b.support.doesAddBorderForTableAndCells&&V.test(bz.nodeName))){bD+=parseFloat(bC.borderTopWidth)||0;by+=parseFloat(bC.borderLeftWidth)||0}bv=bw;bw=bz.offsetParent}if(b.support.subtractsBorderForOverflowNotVisible&&bC.overflow!=="visible"){bD+=parseFloat(bC.borderTopWidth)||0;by+=parseFloat(bC.borderLeftWidth)||0}e=bC}if(e.position==="relative"||e.position==="static"){bD+=bA.offsetTop;by+=bA.offsetLeft}if(b.support.fixedPosition&&e.position==="fixed"){bD+=Math.max(bx.scrollTop,bA.scrollTop);by+=Math.max(bx.scrollLeft,bA.scrollLeft)}return{top:bD,left:by}}}b.fn.offset=function(e){if(arguments.length){return e===L?this:this.each(function(bx){b.offset.setOffset(this,e,bx)})}var bv=this[0],bw=bv&&bv.ownerDocument;if(!bw){return null}if(bv===bw.body){return b.offset.bodyOffset(bv)}return a8(bv,bw,bw.documentElement)};b.offset={bodyOffset:function(e){var bw=e.offsetTop,bv=e.offsetLeft;if(b.support.doesNotIncludeMarginInBodyOffset){bw+=parseFloat(b.css(e,"marginTop"))||0;bv+=parseFloat(b.css(e,"marginLeft"))||0}return{top:bw,left:bv}},setOffset:function(bx,bG,bA){var bB=b.css(bx,"position");if(bB==="static"){bx.style.position="relative"}var bz=b(bx),bv=bz.offset(),e=b.css(bx,"top"),bE=b.css(bx,"left"),bF=(bB==="absolute"||bB==="fixed")&&b.inArray("auto",[e,bE])>-1,bD={},bC={},bw,by;if(bF){bC=bz.position();bw=bC.top;by=bC.left}else{bw=parseFloat(e)||0;by=parseFloat(bE)||0}if(b.isFunction(bG)){bG=bG.call(bx,bA,bv)}if(bG.top!=null){bD.top=(bG.top-bv.top)+bw}if(bG.left!=null){bD.left=(bG.left-bv.left)+by}if("using" in bG){bG.using.call(bx,bD)}else{bz.css(bD)}}};b.fn.extend({position:function(){if(!this[0]){return null}var bw=this[0],bv=this.offsetParent(),bx=this.offset(),e=ad.test(bv[0].nodeName)?{top:0,left:0}:bv.offset();bx.top-=parseFloat(b.css(bw,"marginTop"))||0;bx.left-=parseFloat(b.css(bw,"marginLeft"))||0;e.top+=parseFloat(b.css(bv[0],"borderTopWidth"))||0;e.left+=parseFloat(b.css(bv[0],"borderLeftWidth"))||0;return{top:bx.top-e.top,left:bx.left-e.left}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||av.body;while(e&&(!ad.test(e.nodeName)&&b.css(e,"position")==="static")){e=e.offsetParent}return e})}});b.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(bw,bv){var e=/Y/.test(bv);b.fn[bw]=function(bx){return b.access(this,function(by,bB,bA){var bz=aL(by);if(bA===L){return bz?(bv in bz)?bz[bv]:b.support.boxModel&&bz.document.documentElement[bB]||bz.document.body[bB]:by[bB]}if(bz){bz.scrollTo(!e?bA:b(bz).scrollLeft(),e?bA:b(bz).scrollTop())}else{by[bB]=bA}},bw,bx,arguments.length,null)}});function aL(e){return b.isWindow(e)?e:e.nodeType===9?e.defaultView||e.parentWindow:false}b.each({Height:"height",Width:"width"},function(bw,bx){var bv="client"+bw,e="scroll"+bw,by="offset"+bw;b.fn["inner"+bw]=function(){var bz=this[0];return bz?bz.style?parseFloat(b.css(bz,bx,"padding")):this[bx]():null};b.fn["outer"+bw]=function(bA){var bz=this[0];return bz?bz.style?parseFloat(b.css(bz,bx,bA?"margin":"border")):this[bx]():null};b.fn[bx]=function(bz){return b.access(this,function(bC,bB,bD){var bF,bE,bG,bA;if(b.isWindow(bC)){bF=bC.document;bE=bF.documentElement[bv];return b.support.boxModel&&bE||bF.body&&bF.body[bv]||bE}if(bC.nodeType===9){bF=bC.documentElement;if(bF[bv]>=bF[e]){return bF[bv]}return Math.max(bC.body[e],bF[e],bC.body[by],bF[by])}if(bD===L){bG=b.css(bC,bB);bA=parseFloat(bG);return b.isNumeric(bA)?bA:bG}b(bC).css(bB,bD)},bx,bz,arguments.length,null)}});bd.jQuery=bd.$=b;if(typeof define==="function"&&define.amd&&define.amd.jQuery){define("jquery",[],function(){return b})}})(window);/*! - * jQuery UI 1.8.18 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI - */ -(function(a,d){a.ui=a.ui||{};if(a.ui.version){return}a.extend(a.ui,{version:"1.8.18",keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}});a.fn.extend({propAttr:a.fn.prop||a.fn.attr,_focus:a.fn.focus,focus:function(e,f){return typeof e==="number"?this.each(function(){var g=this;setTimeout(function(){a(g).focus();if(f){f.call(g)}},e)}):this._focus.apply(this,arguments)},scrollParent:function(){var e;if((a.browser.msie&&(/(static|relative)/).test(this.css("position")))||(/absolute/).test(this.css("position"))){e=this.parents().filter(function(){return(/(relative|absolute|fixed)/).test(a.curCSS(this,"position",1))&&(/(auto|scroll)/).test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0)}else{e=this.parents().filter(function(){return(/(auto|scroll)/).test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0)}return(/fixed/).test(this.css("position"))||!e.length?a(document):e},zIndex:function(h){if(h!==d){return this.css("zIndex",h)}if(this.length){var f=a(this[0]),e,g;while(f.length&&f[0]!==document){e=f.css("position");if(e==="absolute"||e==="relative"||e==="fixed"){g=parseInt(f.css("zIndex"),10);if(!isNaN(g)&&g!==0){return g}}f=f.parent()}}return 0},disableSelection:function(){return this.bind((a.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(e){e.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}});a.each(["Width","Height"],function(g,e){var f=e==="Width"?["Left","Right"]:["Top","Bottom"],h=e.toLowerCase(),k={innerWidth:a.fn.innerWidth,innerHeight:a.fn.innerHeight,outerWidth:a.fn.outerWidth,outerHeight:a.fn.outerHeight};function j(m,l,i,n){a.each(f,function(){l-=parseFloat(a.curCSS(m,"padding"+this,true))||0;if(i){l-=parseFloat(a.curCSS(m,"border"+this+"Width",true))||0}if(n){l-=parseFloat(a.curCSS(m,"margin"+this,true))||0}});return l}a.fn["inner"+e]=function(i){if(i===d){return k["inner"+e].call(this)}return this.each(function(){a(this).css(h,j(this,i)+"px")})};a.fn["outer"+e]=function(i,l){if(typeof i!=="number"){return k["outer"+e].call(this,i)}return this.each(function(){a(this).css(h,j(this,i,true,l)+"px")})}});function c(g,e){var j=g.nodeName.toLowerCase();if("area"===j){var i=g.parentNode,h=i.name,f;if(!g.href||!h||i.nodeName.toLowerCase()!=="map"){return false}f=a("img[usemap=#"+h+"]")[0];return !!f&&b(f)}return(/input|select|textarea|button|object/.test(j)?!g.disabled:"a"==j?g.href||e:e)&&b(g)}function b(e){return !a(e).parents().andSelf().filter(function(){return a.curCSS(this,"visibility")==="hidden"||a.expr.filters.hidden(this)}).length}a.extend(a.expr[":"],{data:function(g,f,e){return !!a.data(g,e[3])},focusable:function(e){return c(e,!isNaN(a.attr(e,"tabindex")))},tabbable:function(g){var e=a.attr(g,"tabindex"),f=isNaN(e);return(f||e>=0)&&c(g,!f)}});a(function(){var e=document.body,f=e.appendChild(f=document.createElement("div"));f.offsetHeight;a.extend(f.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0});a.support.minHeight=f.offsetHeight===100;a.support.selectstart="onselectstart" in f;e.removeChild(f).style.display="none"});a.extend(a.ui,{plugin:{add:function(f,g,j){var h=a.ui[f].prototype;for(var e in j){h.plugins[e]=h.plugins[e]||[];h.plugins[e].push([g,j[e]])}},call:function(e,g,f){var j=e.plugins[g];if(!j||!e.element[0].parentNode){return}for(var h=0;h0){return true}h[e]=1;g=(h[e]>0);h[e]=0;return g},isOverAxis:function(f,e,g){return(f>e)&&(f<(e+g))},isOver:function(j,f,i,h,e,g){return a.ui.isOverAxis(j,i,e)&&a.ui.isOverAxis(f,h,g)}})})(jQuery);/*! - * jQuery UI Widget 1.8.18 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Widget - */ -(function(b,d){if(b.cleanData){var c=b.cleanData;b.cleanData=function(f){for(var g=0,h;(h=f[g])!=null;g++){try{b(h).triggerHandler("remove")}catch(j){}}c(f)}}else{var a=b.fn.remove;b.fn.remove=function(e,f){return this.each(function(){if(!f){if(!e||b.filter(e,[this]).length){b("*",this).add([this]).each(function(){try{b(this).triggerHandler("remove")}catch(g){}})}}return a.call(b(this),e,f)})}}b.widget=function(f,h,e){var g=f.split(".")[0],j;f=f.split(".")[1];j=g+"-"+f;if(!e){e=h;h=b.Widget}b.expr[":"][j]=function(k){return !!b.data(k,f)};b[g]=b[g]||{};b[g][f]=function(k,l){if(arguments.length){this._createWidget(k,l)}};var i=new h();i.options=b.extend(true,{},i.options);b[g][f].prototype=b.extend(true,i,{namespace:g,widgetName:f,widgetEventPrefix:b[g][f].prototype.widgetEventPrefix||f,widgetBaseClass:j},e);b.widget.bridge(f,b[g][f])};b.widget.bridge=function(f,e){b.fn[f]=function(i){var g=typeof i==="string",h=Array.prototype.slice.call(arguments,1),j=this;i=!g&&h.length?b.extend.apply(null,[true,i].concat(h)):i;if(g&&i.charAt(0)==="_"){return j}if(g){this.each(function(){var k=b.data(this,f),l=k&&b.isFunction(k[i])?k[i].apply(k,h):k;if(l!==k&&l!==d){j=l;return false}})}else{this.each(function(){var k=b.data(this,f);if(k){k.option(i||{})._init()}else{b.data(this,f,new e(i,this))}})}return j}};b.Widget=function(e,f){if(arguments.length){this._createWidget(e,f)}};b.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:false},_createWidget:function(f,g){b.data(g,this.widgetName,this);this.element=b(g);this.options=b.extend(true,{},this.options,this._getCreateOptions(),f);var e=this;this.element.bind("remove."+this.widgetName,function(){e.destroy()});this._create();this._trigger("create");this._init()},_getCreateOptions:function(){return b.metadata&&b.metadata.get(this.element[0])[this.widgetName]},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName);this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled ui-state-disabled")},widget:function(){return this.element},option:function(f,g){var e=f;if(arguments.length===0){return b.extend({},this.options)}if(typeof f==="string"){if(g===d){return this.options[f]}e={};e[f]=g}this._setOptions(e);return this},_setOptions:function(f){var e=this;b.each(f,function(g,h){e._setOption(g,h)});return this},_setOption:function(e,f){this.options[e]=f;if(e==="disabled"){this.widget()[f?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",f)}return this},enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_trigger:function(e,f,g){var j,i,h=this.options[e];g=g||{};f=b.Event(f);f.type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase();f.target=this.element[0];i=f.originalEvent;if(i){for(j in i){if(!(j in f)){f[j]=i[j]}}}this.element.trigger(f,g);return !(b.isFunction(h)&&h.call(this.element[0],f,g)===false||f.isDefaultPrevented())}}})(jQuery);/*! - * jQuery UI Mouse 1.8.18 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Mouse - * - * Depends: - * jquery.ui.widget.js - */ -(function(b,c){var a=false;b(document).mouseup(function(d){a=false});b.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var d=this;this.element.bind("mousedown."+this.widgetName,function(e){return d._mouseDown(e)}).bind("click."+this.widgetName,function(e){if(true===b.data(e.target,d.widgetName+".preventClickEvent")){b.removeData(e.target,d.widgetName+".preventClickEvent");e.stopImmediatePropagation();return false}});this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName)},_mouseDown:function(f){if(a){return}(this._mouseStarted&&this._mouseUp(f));this._mouseDownEvent=f;var e=this,g=(f.which==1),d=(typeof this.options.cancel=="string"&&f.target.nodeName?b(f.target).closest(this.options.cancel).length:false);if(!g||d||!this._mouseCapture(f)){return true}this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){e.mouseDelayMet=true},this.options.delay)}if(this._mouseDistanceMet(f)&&this._mouseDelayMet(f)){this._mouseStarted=(this._mouseStart(f)!==false);if(!this._mouseStarted){f.preventDefault();return true}}if(true===b.data(f.target,this.widgetName+".preventClickEvent")){b.removeData(f.target,this.widgetName+".preventClickEvent")}this._mouseMoveDelegate=function(h){return e._mouseMove(h)};this._mouseUpDelegate=function(h){return e._mouseUp(h)};b(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);f.preventDefault();a=true;return true},_mouseMove:function(d){if(b.browser.msie&&!(document.documentMode>=9)&&!d.button){return this._mouseUp(d)}if(this._mouseStarted){this._mouseDrag(d);return d.preventDefault()}if(this._mouseDistanceMet(d)&&this._mouseDelayMet(d)){this._mouseStarted=(this._mouseStart(this._mouseDownEvent,d)!==false);(this._mouseStarted?this._mouseDrag(d):this._mouseUp(d))}return !this._mouseStarted},_mouseUp:function(d){b(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;if(d.target==this._mouseDownEvent.target){b.data(d.target,this.widgetName+".preventClickEvent",true)}this._mouseStop(d)}return false},_mouseDistanceMet:function(d){return(Math.max(Math.abs(this._mouseDownEvent.pageX-d.pageX),Math.abs(this._mouseDownEvent.pageY-d.pageY))>=this.options.distance)},_mouseDelayMet:function(d){return this.mouseDelayMet},_mouseStart:function(d){},_mouseDrag:function(d){},_mouseStop:function(d){},_mouseCapture:function(d){return true}})})(jQuery);(function(c,d){c.widget("ui.resizable",c.ui.mouse,{widgetEventPrefix:"resize",options:{alsoResize:false,animate:false,animateDuration:"slow",animateEasing:"swing",aspectRatio:false,autoHide:false,containment:false,ghost:false,grid:false,handles:"e,s,se",helper:false,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:1000},_create:function(){var f=this,k=this.options;this.element.addClass("ui-resizable");c.extend(this,{_aspectRatio:!!(k.aspectRatio),aspectRatio:k.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:k.helper||k.ghost||k.animate?k.helper||"ui-resizable-helper":null});if(this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)){this.element.wrap(c('
').css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")}));this.element=this.element.parent().data("resizable",this.element.data("resizable"));this.elementIsWrapper=true;this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")});this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0});this.originalResizeStyle=this.originalElement.css("resize");this.originalElement.css("resize","none");this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"}));this.originalElement.css({margin:this.originalElement.css("margin")});this._proportionallyResize()}this.handles=k.handles||(!c(".ui-resizable-handle",this.element).length?"e,s,se":{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"});if(this.handles.constructor==String){if(this.handles=="all"){this.handles="n,e,s,w,se,sw,ne,nw"}var l=this.handles.split(",");this.handles={};for(var g=0;g
');if(/sw|se|ne|nw/.test(j)){h.css({zIndex:++k.zIndex})}if("se"==j){h.addClass("ui-icon ui-icon-gripsmall-diagonal-se")}this.handles[j]=".ui-resizable-"+j;this.element.append(h)}}this._renderAxis=function(q){q=q||this.element;for(var n in this.handles){if(this.handles[n].constructor==String){this.handles[n]=c(this.handles[n],this.element).show()}if(this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)){var o=c(this.handles[n],this.element),p=0;p=/sw|ne|nw|se|n|s/.test(n)?o.outerHeight():o.outerWidth();var m=["padding",/ne|nw|n/.test(n)?"Top":/se|sw|s/.test(n)?"Bottom":/^e$/.test(n)?"Right":"Left"].join("");q.css(m,p);this._proportionallyResize()}if(!c(this.handles[n]).length){continue}}};this._renderAxis(this.element);this._handles=c(".ui-resizable-handle",this.element).disableSelection();this._handles.mouseover(function(){if(!f.resizing){if(this.className){var i=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)}f.axis=i&&i[1]?i[1]:"se"}});if(k.autoHide){this._handles.hide();c(this.element).addClass("ui-resizable-autohide").hover(function(){if(k.disabled){return}c(this).removeClass("ui-resizable-autohide");f._handles.show()},function(){if(k.disabled){return}if(!f.resizing){c(this).addClass("ui-resizable-autohide");f._handles.hide()}})}this._mouseInit()},destroy:function(){this._mouseDestroy();var e=function(g){c(g).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").unbind(".resizable").find(".ui-resizable-handle").remove()};if(this.elementIsWrapper){e(this.element);var f=this.element;f.after(this.originalElement.css({position:f.css("position"),width:f.outerWidth(),height:f.outerHeight(),top:f.css("top"),left:f.css("left")})).remove()}this.originalElement.css("resize",this.originalResizeStyle);e(this.originalElement);return this},_mouseCapture:function(f){var g=false;for(var e in this.handles){if(c(this.handles[e])[0]==f.target){g=true}}return !this.options.disabled&&g},_mouseStart:function(g){var j=this.options,f=this.element.position(),e=this.element;this.resizing=true;this.documentScroll={top:c(document).scrollTop(),left:c(document).scrollLeft()};if(e.is(".ui-draggable")||(/absolute/).test(e.css("position"))){e.css({position:"absolute",top:f.top,left:f.left})}this._renderProxy();var k=b(this.helper.css("left")),h=b(this.helper.css("top"));if(j.containment){k+=c(j.containment).scrollLeft()||0;h+=c(j.containment).scrollTop()||0}this.offset=this.helper.offset();this.position={left:k,top:h};this.size=this._helper?{width:e.outerWidth(),height:e.outerHeight()}:{width:e.width(),height:e.height()};this.originalSize=this._helper?{width:e.outerWidth(),height:e.outerHeight()}:{width:e.width(),height:e.height()};this.originalPosition={left:k,top:h};this.sizeDiff={width:e.outerWidth()-e.width(),height:e.outerHeight()-e.height()};this.originalMousePosition={left:g.pageX,top:g.pageY};this.aspectRatio=(typeof j.aspectRatio=="number")?j.aspectRatio:((this.originalSize.width/this.originalSize.height)||1);var i=c(".ui-resizable-"+this.axis).css("cursor");c("body").css("cursor",i=="auto"?this.axis+"-resize":i);e.addClass("ui-resizable-resizing");this._propagate("start",g);return true},_mouseDrag:function(e){var h=this.helper,g=this.options,m={},q=this,j=this.originalMousePosition,n=this.axis;var r=(e.pageX-j.left)||0,p=(e.pageY-j.top)||0;var i=this._change[n];if(!i){return false}var l=i.apply(this,[e,r,p]),k=c.browser.msie&&c.browser.version<7,f=this.sizeDiff;this._updateVirtualBoundaries(e.shiftKey);if(this._aspectRatio||e.shiftKey){l=this._updateRatio(l,e)}l=this._respectSize(l,e);this._propagate("resize",e);h.css({top:this.position.top+"px",left:this.position.left+"px",width:this.size.width+"px",height:this.size.height+"px"});if(!this._helper&&this._proportionallyResizeElements.length){this._proportionallyResize()}this._updateCache(l);this._trigger("resize",e,this.ui());return false},_mouseStop:function(h){this.resizing=false;var i=this.options,m=this;if(this._helper){var g=this._proportionallyResizeElements,e=g.length&&(/textarea/i).test(g[0].nodeName),f=e&&c.ui.hasScroll(g[0],"left")?0:m.sizeDiff.height,k=e?0:m.sizeDiff.width;var n={width:(m.helper.width()-k),height:(m.helper.height()-f)},j=(parseInt(m.element.css("left"),10)+(m.position.left-m.originalPosition.left))||null,l=(parseInt(m.element.css("top"),10)+(m.position.top-m.originalPosition.top))||null;if(!i.animate){this.element.css(c.extend(n,{top:l,left:j}))}m.helper.height(m.size.height);m.helper.width(m.size.width);if(this._helper&&!i.animate){this._proportionallyResize()}}c("body").css("cursor","auto");this.element.removeClass("ui-resizable-resizing");this._propagate("stop",h);if(this._helper){this.helper.remove()}return false},_updateVirtualBoundaries:function(g){var j=this.options,i,h,f,k,e;e={minWidth:a(j.minWidth)?j.minWidth:0,maxWidth:a(j.maxWidth)?j.maxWidth:Infinity,minHeight:a(j.minHeight)?j.minHeight:0,maxHeight:a(j.maxHeight)?j.maxHeight:Infinity};if(this._aspectRatio||g){i=e.minHeight*this.aspectRatio;f=e.minWidth/this.aspectRatio;h=e.maxHeight*this.aspectRatio;k=e.maxWidth/this.aspectRatio;if(i>e.minWidth){e.minWidth=i}if(f>e.minHeight){e.minHeight=f}if(hl.width),s=a(l.height)&&i.minHeight&&(i.minHeight>l.height);if(h){l.width=i.minWidth}if(s){l.height=i.minHeight}if(t){l.width=i.maxWidth}if(m){l.height=i.maxHeight}var f=this.originalPosition.left+this.originalSize.width,p=this.position.top+this.size.height;var k=/sw|nw|w/.test(q),e=/nw|ne|n/.test(q);if(h&&k){l.left=f-i.minWidth}if(t&&k){l.left=f-i.maxWidth}if(s&&e){l.top=p-i.minHeight}if(m&&e){l.top=p-i.maxHeight}var n=!l.width&&!l.height;if(n&&!l.left&&l.top){l.top=null}else{if(n&&!l.top&&l.left){l.left=null}}return l},_proportionallyResize:function(){var k=this.options;if(!this._proportionallyResizeElements.length){return}var g=this.helper||this.element;for(var f=0;f');var e=c.browser.msie&&c.browser.version<7,g=(e?1:0),h=(e?2:-1);this.helper.addClass(this._helper).css({width:this.element.outerWidth()+h,height:this.element.outerHeight()+h,position:"absolute",left:this.elementOffset.left-g+"px",top:this.elementOffset.top-g+"px",zIndex:++i.zIndex});this.helper.appendTo("body").disableSelection()}else{this.helper=this.element}},_change:{e:function(g,f,e){return{width:this.originalSize.width+f}},w:function(h,f,e){var j=this.options,g=this.originalSize,i=this.originalPosition;return{left:i.left+f,width:g.width-f}},n:function(h,f,e){var j=this.options,g=this.originalSize,i=this.originalPosition;return{top:i.top+e,height:g.height-e}},s:function(g,f,e){return{height:this.originalSize.height+e}},se:function(g,f,e){return c.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[g,f,e]))},sw:function(g,f,e){return c.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[g,f,e]))},ne:function(g,f,e){return c.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[g,f,e]))},nw:function(g,f,e){return c.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[g,f,e]))}},_propagate:function(f,e){c.ui.plugin.call(this,f,[e,this.ui()]);(f!="resize"&&this._trigger(f,e,this.ui()))},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}});c.extend(c.ui.resizable,{version:"1.8.18"});c.ui.plugin.add("resizable","alsoResize",{start:function(f,g){var e=c(this).data("resizable"),i=e.options;var h=function(j){c(j).each(function(){var k=c(this);k.data("resizable-alsoresize",{width:parseInt(k.width(),10),height:parseInt(k.height(),10),left:parseInt(k.css("left"),10),top:parseInt(k.css("top"),10)})})};if(typeof(i.alsoResize)=="object"&&!i.alsoResize.parentNode){if(i.alsoResize.length){i.alsoResize=i.alsoResize[0];h(i.alsoResize)}else{c.each(i.alsoResize,function(j){h(j)})}}else{h(i.alsoResize)}},resize:function(g,i){var f=c(this).data("resizable"),j=f.options,h=f.originalSize,l=f.originalPosition;var k={height:(f.size.height-h.height)||0,width:(f.size.width-h.width)||0,top:(f.position.top-l.top)||0,left:(f.position.left-l.left)||0},e=function(m,n){c(m).each(function(){var q=c(this),r=c(this).data("resizable-alsoresize"),p={},o=n&&n.length?n:q.parents(i.originalElement[0]).length?["width","height"]:["width","height","top","left"];c.each(o,function(s,u){var t=(r[u]||0)+(k[u]||0);if(t&&t>=0){p[u]=t||null}});q.css(p)})};if(typeof(j.alsoResize)=="object"&&!j.alsoResize.nodeType){c.each(j.alsoResize,function(m,n){e(m,n)})}else{e(j.alsoResize)}},stop:function(e,f){c(this).removeData("resizable-alsoresize")}});c.ui.plugin.add("resizable","animate",{stop:function(i,n){var p=c(this).data("resizable"),j=p.options;var h=p._proportionallyResizeElements,e=h.length&&(/textarea/i).test(h[0].nodeName),f=e&&c.ui.hasScroll(h[0],"left")?0:p.sizeDiff.height,l=e?0:p.sizeDiff.width;var g={width:(p.size.width-l),height:(p.size.height-f)},k=(parseInt(p.element.css("left"),10)+(p.position.left-p.originalPosition.left))||null,m=(parseInt(p.element.css("top"),10)+(p.position.top-p.originalPosition.top))||null;p.element.animate(c.extend(g,m&&k?{top:m,left:k}:{}),{duration:j.animateDuration,easing:j.animateEasing,step:function(){var o={width:parseInt(p.element.css("width"),10),height:parseInt(p.element.css("height"),10),top:parseInt(p.element.css("top"),10),left:parseInt(p.element.css("left"),10)};if(h&&h.length){c(h[0]).css({width:o.width,height:o.height})}p._updateCache(o);p._propagate("resize",i)}})}});c.ui.plugin.add("resizable","containment",{start:function(f,r){var t=c(this).data("resizable"),j=t.options,l=t.element;var g=j.containment,k=(g instanceof c)?g.get(0):(/parent/.test(g))?l.parent().get(0):g;if(!k){return}t.containerElement=c(k);if(/document/.test(g)||g==document){t.containerOffset={left:0,top:0};t.containerPosition={left:0,top:0};t.parentData={element:c(document),left:0,top:0,width:c(document).width(),height:c(document).height()||document.body.parentNode.scrollHeight}}else{var n=c(k),i=[];c(["Top","Right","Left","Bottom"]).each(function(p,o){i[p]=b(n.css("padding"+o))});t.containerOffset=n.offset();t.containerPosition=n.position();t.containerSize={height:(n.innerHeight()-i[3]),width:(n.innerWidth()-i[1])};var q=t.containerOffset,e=t.containerSize.height,m=t.containerSize.width,h=(c.ui.hasScroll(k,"left")?k.scrollWidth:m),s=(c.ui.hasScroll(k)?k.scrollHeight:e);t.parentData={element:k,left:q.left,top:q.top,width:h,height:s}}},resize:function(g,q){var t=c(this).data("resizable"),i=t.options,f=t.containerSize,p=t.containerOffset,m=t.size,n=t.position,r=t._aspectRatio||g.shiftKey,e={top:0,left:0},h=t.containerElement;if(h[0]!=document&&(/static/).test(h.css("position"))){e=p}if(n.left<(t._helper?p.left:0)){t.size.width=t.size.width+(t._helper?(t.position.left-p.left):(t.position.left-e.left));if(r){t.size.height=t.size.width/i.aspectRatio}t.position.left=i.helper?p.left:0}if(n.top<(t._helper?p.top:0)){t.size.height=t.size.height+(t._helper?(t.position.top-p.top):t.position.top);if(r){t.size.width=t.size.height*i.aspectRatio}t.position.top=t._helper?p.top:0}t.offset.left=t.parentData.left+t.position.left;t.offset.top=t.parentData.top+t.position.top;var l=Math.abs((t._helper?t.offset.left-e.left:(t.offset.left-e.left))+t.sizeDiff.width),s=Math.abs((t._helper?t.offset.top-e.top:(t.offset.top-p.top))+t.sizeDiff.height);var k=t.containerElement.get(0)==t.element.parent().get(0),j=/relative|absolute/.test(t.containerElement.css("position"));if(k&&j){l-=t.parentData.left}if(l+t.size.width>=t.parentData.width){t.size.width=t.parentData.width-l;if(r){t.size.height=t.size.width/t.aspectRatio}}if(s+t.size.height>=t.parentData.height){t.size.height=t.parentData.height-s;if(r){t.size.width=t.size.height*t.aspectRatio}}},stop:function(f,n){var q=c(this).data("resizable"),g=q.options,l=q.position,m=q.containerOffset,e=q.containerPosition,i=q.containerElement;var j=c(q.helper),r=j.offset(),p=j.outerWidth()-q.sizeDiff.width,k=j.outerHeight()-q.sizeDiff.height;if(q._helper&&!g.animate&&(/relative/).test(i.css("position"))){c(this).css({left:r.left-e.left-m.left,width:p,height:k})}if(q._helper&&!g.animate&&(/static/).test(i.css("position"))){c(this).css({left:r.left-e.left-m.left,width:p,height:k})}}});c.ui.plugin.add("resizable","ghost",{start:function(g,h){var e=c(this).data("resizable"),i=e.options,f=e.size;e.ghost=e.originalElement.clone();e.ghost.css({opacity:0.25,display:"block",position:"relative",height:f.height,width:f.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass(typeof i.ghost=="string"?i.ghost:"");e.ghost.appendTo(e.helper)},resize:function(f,g){var e=c(this).data("resizable"),h=e.options;if(e.ghost){e.ghost.css({position:"relative",height:e.size.height,width:e.size.width})}},stop:function(f,g){var e=c(this).data("resizable"),h=e.options;if(e.ghost&&e.helper){e.helper.get(0).removeChild(e.ghost.get(0))}}});c.ui.plugin.add("resizable","grid",{resize:function(e,m){var p=c(this).data("resizable"),h=p.options,k=p.size,i=p.originalSize,j=p.originalPosition,n=p.axis,l=h._aspectRatio||e.shiftKey;h.grid=typeof h.grid=="number"?[h.grid,h.grid]:h.grid;var g=Math.round((k.width-i.width)/(h.grid[0]||1))*(h.grid[0]||1),f=Math.round((k.height-i.height)/(h.grid[1]||1))*(h.grid[1]||1);if(/^(se|s|e)$/.test(n)){p.size.width=i.width+g;p.size.height=i.height+f}else{if(/^(ne)$/.test(n)){p.size.width=i.width+g;p.size.height=i.height+f;p.position.top=j.top-f}else{if(/^(sw)$/.test(n)){p.size.width=i.width+g;p.size.height=i.height+f;p.position.left=j.left-g}else{p.size.width=i.width+g;p.size.height=i.height+f;p.position.top=j.top-f;p.position.left=j.left-g}}}}});var b=function(e){return parseInt(e,10)||0};var a=function(e){return !isNaN(parseInt(e,10))}})(jQuery);/*! - * jQuery hashchange event - v1.3 - 7/21/2010 - * http://benalman.com/projects/jquery-hashchange-plugin/ - * - * Copyright (c) 2010 "Cowboy" Ben Alman - * Dual licensed under the MIT and GPL licenses. - * http://benalman.com/about/license/ - */ -(function($,e,b){var c="hashchange",h=document,f,g=$.event.special,i=h.documentMode,d="on"+c in e&&(i===b||i>7);function a(j){j=j||location.href;return"#"+j.replace(/^[^#]*#?(.*)$/,"$1")}$.fn[c]=function(j){return j?this.bind(c,j):this.trigger(c)};$.fn[c].delay=50;g[c]=$.extend(g[c],{setup:function(){if(d){return false}$(f.start)},teardown:function(){if(d){return false}$(f.stop)}});f=(function(){var j={},p,m=a(),k=function(q){return q},l=k,o=k;j.start=function(){p||n()};j.stop=function(){p&&clearTimeout(p);p=b};function n(){var r=a(),q=o(m);if(r!==m){l(m=r,q);$(e).trigger(c)}else{if(q!==m){location.href=location.href.replace(/#.*/,"")+q}}p=setTimeout(n,$.fn[c].delay)}$.browser.msie&&!d&&(function(){var q,r;j.start=function(){if(!q){r=$.fn[c].src;r=r&&r+a();q=$(' - - -
-
-
Modules
-
-
-
Here is a list of all modules:
-
[detail level 12]
- - - -
 Api
 Peer
 GameServer
- - - - - - - diff --git a/vendors/galaxy/Docs/modules.js b/vendors/galaxy/Docs/modules.js deleted file mode 100644 index dda7d8233..000000000 --- a/vendors/galaxy/Docs/modules.js +++ /dev/null @@ -1,4 +0,0 @@ -var modules = -[ - [ "Api", "group__api.html", "group__api" ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/nav_f.png b/vendors/galaxy/Docs/nav_f.png deleted file mode 100644 index 14bd2c513..000000000 Binary files a/vendors/galaxy/Docs/nav_f.png and /dev/null differ diff --git a/vendors/galaxy/Docs/nav_g.png b/vendors/galaxy/Docs/nav_g.png deleted file mode 100644 index 2093a237a..000000000 Binary files a/vendors/galaxy/Docs/nav_g.png and /dev/null differ diff --git a/vendors/galaxy/Docs/nav_h.png b/vendors/galaxy/Docs/nav_h.png deleted file mode 100644 index 068c1e3bc..000000000 Binary files a/vendors/galaxy/Docs/nav_h.png and /dev/null differ diff --git a/vendors/galaxy/Docs/navtree.css b/vendors/galaxy/Docs/navtree.css deleted file mode 100644 index bd17ed231..000000000 --- a/vendors/galaxy/Docs/navtree.css +++ /dev/null @@ -1,146 +0,0 @@ -#nav-tree .children_ul { - margin:0; - padding:4px; -} - -#nav-tree ul { - list-style:none outside none; - margin:0px; - padding:0px; -} - -#nav-tree li { - white-space:nowrap; - margin:0px; - padding:0px; -} - -#nav-tree .plus { - margin:0px; -} - -#nav-tree .selected { - background-image: url('tab_a.png'); - background-repeat:repeat-x; - color: #fff; - text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); -} - -#nav-tree img { - margin:0px; - padding:0px; - border:0px; - vertical-align: middle; -} - -#nav-tree a { - text-decoration:none; - padding:0px; - margin:0px; - outline:none; -} - -#nav-tree .label { - margin:0px; - padding:0px; - font: 12px 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; -} - -#nav-tree .label a { - padding:2px; -} - -#nav-tree .selected a { - text-decoration:none; - color:#fff; -} - -#nav-tree .children_ul { - margin:0px; - padding:0px; -} - -#nav-tree .item { - margin:0px; - padding:0px; -} - -#nav-tree { - padding: 0px 0px; - background-color: #FAFAFF; - font-size:14px; - overflow:auto; -} - -#doc-content { - overflow:auto; - display:block; - padding:0px; - margin:0px; - -webkit-overflow-scrolling : touch; /* iOS 5+ */ -} - -#side-nav { - padding:0 6px 0 0; - margin: 0px; - display:block; - position: absolute; - left: 0px; - width: 250px; -} - -.ui-resizable .ui-resizable-handle { - display:block; -} - -.ui-resizable-e { - background-image:url("splitbar.png"); - background-size:100%; - background-repeat:repeat-y; - background-attachment: scroll; - cursor:ew-resize; - height:100%; - right:0; - top:0; - width:6px; -} - -.ui-resizable-handle { - display:none; - font-size:0.1px; - position:absolute; - z-index:1; -} - -#nav-tree-contents { - margin: 6px 0px 0px 0px; -} - -#nav-tree { - background-image:url('nav_h.png'); - background-repeat:repeat-x; - background-color: #F1FCEF; - -webkit-overflow-scrolling : touch; /* iOS 5+ */ -} - -#nav-sync { - position:absolute; - top:5px; - right:24px; - z-index:0; -} - -#nav-sync img { - opacity:0.3; -} - -#nav-sync img:hover { - opacity:0.9; -} - -@media print -{ - #nav-tree { display: none; } - div.ui-resizable-handle { display: none; position: relative; } -} - diff --git a/vendors/galaxy/Docs/navtree.js b/vendors/galaxy/Docs/navtree.js deleted file mode 100644 index 7ce293523..000000000 --- a/vendors/galaxy/Docs/navtree.js +++ /dev/null @@ -1,540 +0,0 @@ -/* - @licstart The following is the entire license notice for the - JavaScript code in this file. - - Copyright (C) 1997-2017 by Dimitri van Heesch - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - - @licend The above is the entire license notice - for the JavaScript code in this file - */ -var navTreeSubIndices = new Array(); -var arrowDown = '▼'; -var arrowRight = '►'; - -function getData(varName) -{ - var i = varName.lastIndexOf('/'); - var n = i>=0 ? varName.substring(i+1) : varName; - return eval(n.replace(/\-/g,'_')); -} - -function stripPath(uri) -{ - return uri.substring(uri.lastIndexOf('/')+1); -} - -function stripPath2(uri) -{ - var i = uri.lastIndexOf('/'); - var s = uri.substring(i+1); - var m = uri.substring(0,i+1).match(/\/d\w\/d\w\w\/$/); - return m ? uri.substring(i-6) : s; -} - -function hashValue() -{ - return $(location).attr('hash').substring(1).replace(/[^\w\-]/g,''); -} - -function hashUrl() -{ - return '#'+hashValue(); -} - -function pathName() -{ - return $(location).attr('pathname').replace(/[^-A-Za-z0-9+&@#/%?=~_|!:,.;\(\)]/g, ''); -} - -function localStorageSupported() -{ - try { - return 'localStorage' in window && window['localStorage'] !== null && window.localStorage.getItem; - } - catch(e) { - return false; - } -} - - -function storeLink(link) -{ - if (!$("#nav-sync").hasClass('sync') && localStorageSupported()) { - window.localStorage.setItem('navpath',link); - } -} - -function deleteLink() -{ - if (localStorageSupported()) { - window.localStorage.setItem('navpath',''); - } -} - -function cachedLink() -{ - if (localStorageSupported()) { - return window.localStorage.getItem('navpath'); - } else { - return ''; - } -} - -function getScript(scriptName,func,show) -{ - var head = document.getElementsByTagName("head")[0]; - var script = document.createElement('script'); - script.id = scriptName; - script.type = 'text/javascript'; - script.onload = func; - script.src = scriptName+'.js'; - if ($.browser.msie && $.browser.version<=8) { - // script.onload does not work with older versions of IE - script.onreadystatechange = function() { - if (script.readyState=='complete' || script.readyState=='loaded') { - func(); if (show) showRoot(); - } - } - } - head.appendChild(script); -} - -function createIndent(o,domNode,node,level) -{ - var level=-1; - var n = node; - while (n.parentNode) { level++; n=n.parentNode; } - if (node.childrenData) { - var imgNode = document.createElement("span"); - imgNode.className = 'arrow'; - imgNode.style.paddingLeft=(16*level).toString()+'px'; - imgNode.innerHTML=arrowRight; - node.plus_img = imgNode; - node.expandToggle = document.createElement("a"); - node.expandToggle.href = "javascript:void(0)"; - node.expandToggle.onclick = function() { - if (node.expanded) { - $(node.getChildrenUL()).slideUp("fast"); - node.plus_img.innerHTML=arrowRight; - node.expanded = false; - } else { - expandNode(o, node, false, false); - } - } - node.expandToggle.appendChild(imgNode); - domNode.appendChild(node.expandToggle); - } else { - var span = document.createElement("span"); - span.className = 'arrow'; - span.style.width = 16*(level+1)+'px'; - span.innerHTML = ' '; - domNode.appendChild(span); - } -} - -var animationInProgress = false; - -function gotoAnchor(anchor,aname,updateLocation) -{ - var pos, docContent = $('#doc-content'); - var ancParent = $(anchor.parent()); - if (ancParent.hasClass('memItemLeft') || - ancParent.hasClass('fieldname') || - ancParent.hasClass('fieldtype') || - ancParent.is(':header')) - { - pos = ancParent.position().top; - } else if (anchor.position()) { - pos = anchor.position().top; - } - if (pos) { - var dist = Math.abs(Math.min( - pos-docContent.offset().top, - docContent[0].scrollHeight- - docContent.height()-docContent.scrollTop())); - animationInProgress=true; - docContent.animate({ - scrollTop: pos + docContent.scrollTop() - docContent.offset().top - },Math.max(50,Math.min(500,dist)),function(){ - if (updateLocation) window.location.href=aname; - animationInProgress=false; - }); - } -} - -function newNode(o, po, text, link, childrenData, lastNode) -{ - var node = new Object(); - node.children = Array(); - node.childrenData = childrenData; - node.depth = po.depth + 1; - node.relpath = po.relpath; - node.isLast = lastNode; - - node.li = document.createElement("li"); - po.getChildrenUL().appendChild(node.li); - node.parentNode = po; - - node.itemDiv = document.createElement("div"); - node.itemDiv.className = "item"; - - node.labelSpan = document.createElement("span"); - node.labelSpan.className = "label"; - - createIndent(o,node.itemDiv,node,0); - node.itemDiv.appendChild(node.labelSpan); - node.li.appendChild(node.itemDiv); - - var a = document.createElement("a"); - node.labelSpan.appendChild(a); - node.label = document.createTextNode(text); - node.expanded = false; - a.appendChild(node.label); - if (link) { - var url; - if (link.substring(0,1)=='^') { - url = link.substring(1); - link = url; - } else { - url = node.relpath+link; - } - a.className = stripPath(link.replace('#',':')); - if (link.indexOf('#')!=-1) { - var aname = '#'+link.split('#')[1]; - var srcPage = stripPath(pathName()); - var targetPage = stripPath(link.split('#')[0]); - a.href = srcPage!=targetPage ? url : "javascript:void(0)"; - a.onclick = function(){ - storeLink(link); - if (!$(a).parent().parent().hasClass('selected')) - { - $('.item').removeClass('selected'); - $('.item').removeAttr('id'); - $(a).parent().parent().addClass('selected'); - $(a).parent().parent().attr('id','selected'); - } - var anchor = $(aname); - gotoAnchor(anchor,aname,true); - }; - } else { - a.href = url; - a.onclick = function() { storeLink(link); } - } - } else { - if (childrenData != null) - { - a.className = "nolink"; - a.href = "javascript:void(0)"; - a.onclick = node.expandToggle.onclick; - } - } - - node.childrenUL = null; - node.getChildrenUL = function() { - if (!node.childrenUL) { - node.childrenUL = document.createElement("ul"); - node.childrenUL.className = "children_ul"; - node.childrenUL.style.display = "none"; - node.li.appendChild(node.childrenUL); - } - return node.childrenUL; - }; - - return node; -} - -function showRoot() -{ - var headerHeight = $("#top").height(); - var footerHeight = $("#nav-path").height(); - var windowHeight = $(window).height() - headerHeight - footerHeight; - (function (){ // retry until we can scroll to the selected item - try { - var navtree=$('#nav-tree'); - navtree.scrollTo('#selected',0,{offset:-windowHeight/2}); - } catch (err) { - setTimeout(arguments.callee, 0); - } - })(); -} - -function expandNode(o, node, imm, showRoot) -{ - if (node.childrenData && !node.expanded) { - if (typeof(node.childrenData)==='string') { - var varName = node.childrenData; - getScript(node.relpath+varName,function(){ - node.childrenData = getData(varName); - expandNode(o, node, imm, showRoot); - }, showRoot); - } else { - if (!node.childrenVisited) { - getNode(o, node); - } if (imm || ($.browser.msie && $.browser.version>8)) { - // somehow slideDown jumps to the start of tree for IE9 :-( - $(node.getChildrenUL()).show(); - } else { - $(node.getChildrenUL()).slideDown("fast"); - } - node.plus_img.innerHTML = arrowDown; - node.expanded = true; - } - } -} - -function glowEffect(n,duration) -{ - n.addClass('glow').delay(duration).queue(function(next){ - $(this).removeClass('glow');next(); - }); -} - -function highlightAnchor() -{ - var aname = hashUrl(); - var anchor = $(aname); - if (anchor.parent().attr('class')=='memItemLeft'){ - var rows = $('.memberdecls tr[class$="'+hashValue()+'"]'); - glowEffect(rows.children(),300); // member without details - } else if (anchor.parent().attr('class')=='fieldname'){ - glowEffect(anchor.parent().parent(),1000); // enum value - } else if (anchor.parent().attr('class')=='fieldtype'){ - glowEffect(anchor.parent().parent(),1000); // struct field - } else if (anchor.parent().is(":header")) { - glowEffect(anchor.parent(),1000); // section header - } else { - glowEffect(anchor.next(),1000); // normal member - } - gotoAnchor(anchor,aname,false); -} - -function selectAndHighlight(hash,n) -{ - var a; - if (hash) { - var link=stripPath(pathName())+':'+hash.substring(1); - a=$('.item a[class$="'+link+'"]'); - } - if (a && a.length) { - a.parent().parent().addClass('selected'); - a.parent().parent().attr('id','selected'); - highlightAnchor(); - } else if (n) { - $(n.itemDiv).addClass('selected'); - $(n.itemDiv).attr('id','selected'); - } - if ($('#nav-tree-contents .item:first').hasClass('selected')) { - $('#nav-sync').css('top','30px'); - } else { - $('#nav-sync').css('top','5px'); - } - showRoot(); -} - -function showNode(o, node, index, hash) -{ - if (node && node.childrenData) { - if (typeof(node.childrenData)==='string') { - var varName = node.childrenData; - getScript(node.relpath+varName,function(){ - node.childrenData = getData(varName); - showNode(o,node,index,hash); - },true); - } else { - if (!node.childrenVisited) { - getNode(o, node); - } - $(node.getChildrenUL()).css({'display':'block'}); - node.plus_img.innerHTML = arrowDown; - node.expanded = true; - var n = node.children[o.breadcrumbs[index]]; - if (index+11) hash = '#'+parts[1].replace(/[^\w\-]/g,''); - else hash=''; - } - if (hash.match(/^#l\d+$/)) { - var anchor=$('a[name='+hash.substring(1)+']'); - glowEffect(anchor.parent(),1000); // line number - hash=''; // strip line number anchors - } - var url=root+hash; - var i=-1; - while (NAVTREEINDEX[i+1]<=url) i++; - if (i==-1) { i=0; root=NAVTREE[0][1]; } // fallback: show index - if (navTreeSubIndices[i]) { - gotoNode(o,i,root,hash,relpath) - } else { - getScript(relpath+'navtreeindex'+i,function(){ - navTreeSubIndices[i] = eval('NAVTREEINDEX'+i); - if (navTreeSubIndices[i]) { - gotoNode(o,i,root,hash,relpath); - } - },true); - } -} - -function showSyncOff(n,relpath) -{ - n.html(''); -} - -function showSyncOn(n,relpath) -{ - n.html(''); -} - -function toggleSyncButton(relpath) -{ - var navSync = $('#nav-sync'); - if (navSync.hasClass('sync')) { - navSync.removeClass('sync'); - showSyncOff(navSync,relpath); - storeLink(stripPath2(pathName())+hashUrl()); - } else { - navSync.addClass('sync'); - showSyncOn(navSync,relpath); - deleteLink(); - } -} - -function initNavTree(toroot,relpath) -{ - var o = new Object(); - o.toroot = toroot; - o.node = new Object(); - o.node.li = document.getElementById("nav-tree-contents"); - o.node.childrenData = NAVTREE; - o.node.children = new Array(); - o.node.childrenUL = document.createElement("ul"); - o.node.getChildrenUL = function() { return o.node.childrenUL; }; - o.node.li.appendChild(o.node.childrenUL); - o.node.depth = 0; - o.node.relpath = relpath; - o.node.expanded = false; - o.node.isLast = true; - o.node.plus_img = document.createElement("span"); - o.node.plus_img.className = 'arrow'; - o.node.plus_img.innerHTML = arrowRight; - - if (localStorageSupported()) { - var navSync = $('#nav-sync'); - if (cachedLink()) { - showSyncOff(navSync,relpath); - navSync.removeClass('sync'); - } else { - showSyncOn(navSync,relpath); - } - navSync.click(function(){ toggleSyncButton(relpath); }); - } - - $(window).load(function(){ - navTo(o,toroot,hashUrl(),relpath); - showRoot(); - }); - - $(window).bind('hashchange', function(){ - if (window.location.hash && window.location.hash.length>1){ - var a; - if ($(location).attr('hash')){ - var clslink=stripPath(pathName())+':'+hashValue(); - a=$('.item a[class$="'+clslink.replace(/ - - - - - - -GOG Galaxy: Related Pages - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
Related Pages
-
-
-
Here is a list of all related documentation pages:
- - -
 Deprecated List
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/resize.js b/vendors/galaxy/Docs/resize.js deleted file mode 100644 index 6617aee8e..000000000 --- a/vendors/galaxy/Docs/resize.js +++ /dev/null @@ -1,136 +0,0 @@ -/* - @licstart The following is the entire license notice for the - JavaScript code in this file. - - Copyright (C) 1997-2017 by Dimitri van Heesch - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - - @licend The above is the entire license notice - for the JavaScript code in this file - */ -function initResizable() -{ - var cookie_namespace = 'doxygen'; - var sidenav,navtree,content,header,collapsed,collapsedWidth=0,barWidth=6,desktop_vp=768,titleHeight; - - function readCookie(cookie) - { - var myCookie = cookie_namespace+"_"+cookie+"="; - if (document.cookie) { - var index = document.cookie.indexOf(myCookie); - if (index != -1) { - var valStart = index + myCookie.length; - var valEnd = document.cookie.indexOf(";", valStart); - if (valEnd == -1) { - valEnd = document.cookie.length; - } - var val = document.cookie.substring(valStart, valEnd); - return val; - } - } - return 0; - } - - function writeCookie(cookie, val, expiration) - { - if (val==undefined) return; - if (expiration == null) { - var date = new Date(); - date.setTime(date.getTime()+(10*365*24*60*60*1000)); // default expiration is one week - expiration = date.toGMTString(); - } - document.cookie = cookie_namespace + "_" + cookie + "=" + val + "; expires=" + expiration+"; path=/"; - } - - function resizeWidth() - { - var windowWidth = $(window).width() + "px"; - var sidenavWidth = $(sidenav).outerWidth(); - content.css({marginLeft:parseInt(sidenavWidth)+"px"}); - writeCookie('width',sidenavWidth-barWidth, null); - } - - function restoreWidth(navWidth) - { - var windowWidth = $(window).width() + "px"; - content.css({marginLeft:parseInt(navWidth)+barWidth+"px"}); - sidenav.css({width:navWidth + "px"}); - } - - function resizeHeight() - { - var headerHeight = header.outerHeight(); - var footerHeight = footer.outerHeight(); - var windowHeight = $(window).height() - headerHeight - footerHeight; - content.css({height:windowHeight + "px"}); - navtree.css({height:windowHeight + "px"}); - sidenav.css({height:windowHeight + "px"}); - var width=$(window).width(); - if (width!=collapsedWidth) { - if (width=desktop_vp) { - if (!collapsed) { - collapseExpand(); - } - } else if (width>desktop_vp && collapsedWidth0) { - restoreWidth(0); - collapsed=true; - } - else { - var width = readCookie('width'); - if (width>200 && width<$(window).width()) { restoreWidth(width); } else { restoreWidth(200); } - collapsed=false; - } - } - - header = $("#top"); - sidenav = $("#side-nav"); - content = $("#doc-content"); - navtree = $("#nav-tree"); - footer = $("#nav-path"); - $(".side-nav-resizable").resizable({resize: function(e, ui) { resizeWidth(); } }); - $(sidenav).resizable({ minWidth: 0 }); - $(window).resize(function() { resizeHeight(); }); - var device = navigator.userAgent.toLowerCase(); - var touch_device = device.match(/(iphone|ipod|ipad|android)/); - if (touch_device) { /* wider split bar for touch only devices */ - $(sidenav).css({ paddingRight:'20px' }); - $('.ui-resizable-e').css({ width:'20px' }); - $('#nav-sync').css({ right:'34px' }); - barWidth=20; - } - var width = readCookie('width'); - if (width) { restoreWidth(width); } else { resizeWidth(); } - resizeHeight(); - var url = location.href; - var i=url.indexOf("#"); - if (i>=0) window.location.hash=url.substr(i); - var _preventDefault = function(evt) { evt.preventDefault(); }; - $("#splitbar").bind("dragstart", _preventDefault).bind("selectstart", _preventDefault); - $(".ui-resizable-handle").dblclick(collapseExpand); - $(window).load(resizeHeight); -} -/* @license-end */ diff --git a/vendors/galaxy/Docs/search/all_0.html b/vendors/galaxy/Docs/search/all_0.html deleted file mode 100644 index 5330204c2..000000000 --- a/vendors/galaxy/Docs/search/all_0.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/all_0.js b/vendors/galaxy/Docs/search/all_0.js deleted file mode 100644 index a63fb11c2..000000000 --- a/vendors/galaxy/Docs/search/all_0.js +++ /dev/null @@ -1,6 +0,0 @@ -var searchData= -[ - ['_5foverlay_5fstate_5fchange',['_OVERLAY_STATE_CHANGE',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a9036578ca8f1f8050f532dfba4abac6f',1,'galaxy::api']]], - ['_5fserver_5fnetworking',['_SERVER_NETWORKING',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325ae11a4d882c1d0cb7c39a9e0b9f6cfa59',1,'galaxy::api']]], - ['_5fstorage_5fsynchronization',['_STORAGE_SYNCHRONIZATION',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a9ef1002a95c2e0156bc151419caafa83',1,'galaxy::api']]] -]; diff --git a/vendors/galaxy/Docs/search/all_1.html b/vendors/galaxy/Docs/search/all_1.html deleted file mode 100644 index 2f4679366..000000000 --- a/vendors/galaxy/Docs/search/all_1.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/all_1.js b/vendors/galaxy/Docs/search/all_1.js deleted file mode 100644 index 5c623051b..000000000 --- a/vendors/galaxy/Docs/search/all_1.js +++ /dev/null @@ -1,24 +0,0 @@ -var searchData= -[ - ['access_5ftoken_5fchange',['ACCESS_TOKEN_CHANGE',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a140f38619b5a219594bed0ce3f607d77',1,'galaxy::api']]], - ['achievement_5fchange',['ACHIEVEMENT_CHANGE',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a1cdca9604979711a1f3d65e0d6b50d88',1,'galaxy::api']]], - ['addarrayparam',['AddArrayParam',['../classgalaxy_1_1api_1_1ITelemetry.html#a07994689bf6a549ae654698dd9c25a0b',1,'galaxy::api::ITelemetry']]], - ['addboolparam',['AddBoolParam',['../classgalaxy_1_1api_1_1ITelemetry.html#a6e9402df9141078a493f01285a61dae5',1,'galaxy::api::ITelemetry']]], - ['addfloatparam',['AddFloatParam',['../classgalaxy_1_1api_1_1ITelemetry.html#a836a98e4ffc28abd853c6bf24227c4f1',1,'galaxy::api::ITelemetry']]], - ['addintparam',['AddIntParam',['../classgalaxy_1_1api_1_1ITelemetry.html#a9bd9baaba76b0b075ae024c94859e244',1,'galaxy::api::ITelemetry']]], - ['addobjectparam',['AddObjectParam',['../classgalaxy_1_1api_1_1ITelemetry.html#a68b7108e87039bf36432c51c01c3879c',1,'galaxy::api::ITelemetry']]], - ['addrequestlobbylistnearvaluefilter',['AddRequestLobbyListNearValueFilter',['../classgalaxy_1_1api_1_1IMatchmaking.html#af8fd83c5ee487eca6862e2b8f5d3fc73',1,'galaxy::api::IMatchmaking']]], - ['addrequestlobbylistnumericalfilter',['AddRequestLobbyListNumericalFilter',['../classgalaxy_1_1api_1_1IMatchmaking.html#a3fd3d34a2cccaf9bfe237418ab368329',1,'galaxy::api::IMatchmaking']]], - ['addrequestlobbylistresultcountfilter',['AddRequestLobbyListResultCountFilter',['../classgalaxy_1_1api_1_1IMatchmaking.html#ad8b19c6d5c86194b90c01c1d14ba3ef7',1,'galaxy::api::IMatchmaking']]], - ['addrequestlobbyliststringfilter',['AddRequestLobbyListStringFilter',['../classgalaxy_1_1api_1_1IMatchmaking.html#a04440a136415d4c6f5272c9cca52b56e',1,'galaxy::api::IMatchmaking']]], - ['addstringparam',['AddStringParam',['../classgalaxy_1_1api_1_1ITelemetry.html#adf201bc466f23d5d1c97075d8ac54251',1,'galaxy::api::ITelemetry']]], - ['api',['Api',['../group__api.html',1,'']]], - ['apps',['Apps',['../group__Peer.html#ga50e879fbb5841e146b85e5ec419b3041',1,'galaxy::api']]], - ['auth',['AUTH',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a8b22fbb60fcbd7a4a5e1e6ff6ee38218',1,'galaxy::api']]], - ['avatar_5ftype_5flarge',['AVATAR_TYPE_LARGE',['../group__api.html#gga51ba11764e2176ad2cc364635fac294eaff15caabaef36eb4474c64eca3adf8ef',1,'galaxy::api']]], - ['avatar_5ftype_5fmedium',['AVATAR_TYPE_MEDIUM',['../group__api.html#gga51ba11764e2176ad2cc364635fac294eaa77de76e722c9a94aa7b3be97936f070',1,'galaxy::api']]], - ['avatar_5ftype_5fnone',['AVATAR_TYPE_NONE',['../group__api.html#gga51ba11764e2176ad2cc364635fac294ea91228793d738e332f5e41ef12ba1f586',1,'galaxy::api']]], - ['avatar_5ftype_5fsmall',['AVATAR_TYPE_SMALL',['../group__api.html#gga51ba11764e2176ad2cc364635fac294eab4d1c5b4099a3d2844181e6fd02b7f44',1,'galaxy::api']]], - ['avatarcriteria',['AvatarCriteria',['../group__api.html#ga0b4e285695fff5cdad470ce7fd65d232',1,'galaxy::api']]], - ['avatartype',['AvatarType',['../group__api.html#ga51ba11764e2176ad2cc364635fac294e',1,'galaxy::api']]] -]; diff --git a/vendors/galaxy/Docs/search/all_10.html b/vendors/galaxy/Docs/search/all_10.html deleted file mode 100644 index 170dc09c6..000000000 --- a/vendors/galaxy/Docs/search/all_10.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/all_10.js b/vendors/galaxy/Docs/search/all_10.js deleted file mode 100644 index 346363b94..000000000 --- a/vendors/galaxy/Docs/search/all_10.js +++ /dev/null @@ -1,58 +0,0 @@ -var searchData= -[ - ['selfregisteringlistener',['SelfRegisteringListener',['../classgalaxy_1_1api_1_1SelfRegisteringListener.html',1,'SelfRegisteringListener< _TypeAwareListener, _Registrar >'],['../classgalaxy_1_1api_1_1SelfRegisteringListener.html#a13cb637c90dbe6d25749d600e467cba8',1,'galaxy::api::SelfRegisteringListener::SelfRegisteringListener()']]], - ['sendanonymoustelemetryevent',['SendAnonymousTelemetryEvent',['../classgalaxy_1_1api_1_1ITelemetry.html#ae70ab04b9a5df7039bf76b6b9124d30a',1,'galaxy::api::ITelemetry']]], - ['sendchatroommessage',['SendChatRoomMessage',['../classgalaxy_1_1api_1_1IChat.html#a11cff02f62369b026fd7802bdeb9aca1',1,'galaxy::api::IChat']]], - ['senddata',['SendData',['../classgalaxy_1_1api_1_1ICustomNetworking.html#a8ec3a0a8840e94790d3f9e2f45097f98',1,'galaxy::api::ICustomNetworking']]], - ['sendfriendinvitation',['SendFriendInvitation',['../classgalaxy_1_1api_1_1IFriends.html#ac84396e28dc5a3c8d665f705ace6218e',1,'galaxy::api::IFriends']]], - ['sendinvitation',['SendInvitation',['../classgalaxy_1_1api_1_1IFriends.html#aefdc41edcd24ebbf88bfb25520a47397',1,'galaxy::api::IFriends']]], - ['sendlobbymessage',['SendLobbyMessage',['../classgalaxy_1_1api_1_1IMatchmaking.html#a61228fc0b2683c365e3993b251814ac5',1,'galaxy::api::IMatchmaking']]], - ['sendp2ppacket',['SendP2PPacket',['../classgalaxy_1_1api_1_1INetworking.html#a1fa6f25d0cbd7337ffacea9ffc9032ad',1,'galaxy::api::INetworking']]], - ['sendtelemetryevent',['SendTelemetryEvent',['../classgalaxy_1_1api_1_1ITelemetry.html#a902944123196aad4dd33ab6ffa4f33f2',1,'galaxy::api::ITelemetry']]], - ['sent_5ffriend_5finvitation_5flist_5fretrieve_5flistener',['SENT_FRIEND_INVITATION_LIST_RETRIEVE_LISTENER',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a35e645d702087e697dd2ad385c6e0499',1,'galaxy::api']]], - ['sessionid',['SessionID',['../group__api.html#ga9960a6aea752c9935ff46ffbcee98ad5',1,'galaxy::api']]], - ['setachievement',['SetAchievement',['../classgalaxy_1_1api_1_1IStats.html#aa5f8d8f187ae0870b3a6cb7dd5ab60e5',1,'galaxy::api::IStats']]], - ['setdefaultavatarcriteria',['SetDefaultAvatarCriteria',['../classgalaxy_1_1api_1_1IFriends.html#ae9172d7880741f6dc87f9f02ff018574',1,'galaxy::api::IFriends']]], - ['setleaderboardscore',['SetLeaderboardScore',['../classgalaxy_1_1api_1_1IStats.html#a95d5043fc61c941d882f0773225ace35',1,'galaxy::api::IStats']]], - ['setleaderboardscorewithdetails',['SetLeaderboardScoreWithDetails',['../classgalaxy_1_1api_1_1IStats.html#a089a1c895fce4fe49a3be6b341edc15c',1,'galaxy::api::IStats']]], - ['setlobbydata',['SetLobbyData',['../classgalaxy_1_1api_1_1IMatchmaking.html#a665683ee5377f48f6a10e57be41d35bd',1,'galaxy::api::IMatchmaking']]], - ['setlobbyjoinable',['SetLobbyJoinable',['../classgalaxy_1_1api_1_1IMatchmaking.html#a1b2e04c42a169da9deb5969704b67a85',1,'galaxy::api::IMatchmaking']]], - ['setlobbymemberdata',['SetLobbyMemberData',['../classgalaxy_1_1api_1_1IMatchmaking.html#a6e261274b1b12773851ca54be7a3ac04',1,'galaxy::api::IMatchmaking']]], - ['setlobbytype',['SetLobbyType',['../classgalaxy_1_1api_1_1IMatchmaking.html#ab7e0c34b0df5814515506dcbfcb894c0',1,'galaxy::api::IMatchmaking']]], - ['setmaxnumlobbymembers',['SetMaxNumLobbyMembers',['../classgalaxy_1_1api_1_1IMatchmaking.html#acbb790062f8185019e409918a8029a7c',1,'galaxy::api::IMatchmaking']]], - ['setrichpresence',['SetRichPresence',['../classgalaxy_1_1api_1_1IFriends.html#a73b14bf3df9d70a74eba89d5553a8241',1,'galaxy::api::IFriends']]], - ['setsamplingclass',['SetSamplingClass',['../classgalaxy_1_1api_1_1ITelemetry.html#a53682759c6c71cc3e46df486de95bd3a',1,'galaxy::api::ITelemetry']]], - ['setstatfloat',['SetStatFloat',['../classgalaxy_1_1api_1_1IStats.html#ab6e6c0a170b7ffcab82f1718df355814',1,'galaxy::api::IStats']]], - ['setstatint',['SetStatInt',['../classgalaxy_1_1api_1_1IStats.html#adefd43488e071c40dc508d38284a1074',1,'galaxy::api::IStats']]], - ['setuserdata',['SetUserData',['../classgalaxy_1_1api_1_1IUser.html#a2bee861638ff3887ace51f36827e2af0',1,'galaxy::api::IUser']]], - ['shared_5ffile_5fdownload',['SHARED_FILE_DOWNLOAD',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a5c727004e7704c79d985dc2ea1e3b219',1,'galaxy::api']]], - ['sharedfileclose',['SharedFileClose',['../classgalaxy_1_1api_1_1IStorage.html#a3f52b2af09c33a746891606b574d4526',1,'galaxy::api::IStorage']]], - ['sharedfileid',['SharedFileID',['../group__api.html#ga34a0c4ac76186b86e6c596d38a0e2042',1,'galaxy::api']]], - ['sharedfileread',['SharedFileRead',['../classgalaxy_1_1api_1_1IStorage.html#af4bbf0a1c95571c56b0eca0e5c3e9089',1,'galaxy::api::IStorage']]], - ['showoverlayinvitedialog',['ShowOverlayInviteDialog',['../classgalaxy_1_1api_1_1IFriends.html#ae589d534ed8846319e3a4d2f72d3c51a',1,'galaxy::api::IFriends']]], - ['showoverlaywithwebpage',['ShowOverlayWithWebPage',['../classgalaxy_1_1api_1_1IUtils.html#a3619b5a04785779086816b94fad7302c',1,'galaxy::api::IUtils']]], - ['shutdown',['Shutdown',['../group__Peer.html#ga07e40f3563405d786ecd0c6501a14baf',1,'galaxy::api']]], - ['shutdowngameserver',['ShutdownGameServer',['../group__GameServer.html#ga6da0a2c22f694061d1814cdf521379fe',1,'galaxy::api']]], - ['signedin',['SignedIn',['../classgalaxy_1_1api_1_1IUser.html#aa6c13795a19e7dae09674048394fc650',1,'galaxy::api::IUser']]], - ['signinanonymous',['SignInAnonymous',['../classgalaxy_1_1api_1_1IUser.html#a9d4af026704c4c221d9202e2d555e2f1',1,'galaxy::api::IUser']]], - ['signinanonymoustelemetry',['SignInAnonymousTelemetry',['../classgalaxy_1_1api_1_1IUser.html#a69c13e10cbdea771abdf9b7154d0370a',1,'galaxy::api::IUser']]], - ['signincredentials',['SignInCredentials',['../classgalaxy_1_1api_1_1IUser.html#ab278e47229adeb5251f43e6b06b830a9',1,'galaxy::api::IUser']]], - ['signinepic',['SignInEpic',['../classgalaxy_1_1api_1_1IUser.html#aebcb56b167a8c6ee21790b45ca3517ce',1,'galaxy::api::IUser']]], - ['signingalaxy',['SignInGalaxy',['../classgalaxy_1_1api_1_1IUser.html#a65e86ddce496e67c3d7c1cc5ed4f3939',1,'galaxy::api::IUser']]], - ['signinlauncher',['SignInLauncher',['../classgalaxy_1_1api_1_1IUser.html#ae0b6e789027809d9d4e455bc8dc0db7c',1,'galaxy::api::IUser']]], - ['signinps4',['SignInPS4',['../classgalaxy_1_1api_1_1IUser.html#a820d822d8e344fdecf8870cc644c7742',1,'galaxy::api::IUser']]], - ['signinserverkey',['SignInServerKey',['../classgalaxy_1_1api_1_1IUser.html#a66320de49b3c2f6b547f7fa3904c9c91',1,'galaxy::api::IUser']]], - ['signinsteam',['SignInSteam',['../classgalaxy_1_1api_1_1IUser.html#a7b0ceddf3546891964e8449a554b4f86',1,'galaxy::api::IUser']]], - ['signintoken',['SignInToken',['../classgalaxy_1_1api_1_1IUser.html#a20521b3ff4c1ba163cb915c92babf877',1,'galaxy::api::IUser']]], - ['signinuwp',['SignInUWP',['../classgalaxy_1_1api_1_1IUser.html#aaf3956f1f34fbf085b153341fef3b830',1,'galaxy::api::IUser']]], - ['signinxb1',['SignInXB1',['../classgalaxy_1_1api_1_1IUser.html#a4d4843b5d3fb3376f793720df512194e',1,'galaxy::api::IUser']]], - ['signinxblive',['SignInXBLive',['../classgalaxy_1_1api_1_1IUser.html#a6a6521c240ea01adfdc5dd00086c1a29',1,'galaxy::api::IUser']]], - ['signout',['SignOut',['../classgalaxy_1_1api_1_1IUser.html#a0201a4995e361382d2afeb876787bd0f',1,'galaxy::api::IUser']]], - ['spawnthread',['SpawnThread',['../classgalaxy_1_1api_1_1IGalaxyThreadFactory.html#ab423aff7bbfec9321c0f753e7013a7a9',1,'galaxy::api::IGalaxyThreadFactory']]], - ['specific_5fuser_5fdata',['SPECIFIC_USER_DATA',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325abb91289964fd00dcda77ffbecffcbf0d',1,'galaxy::api']]], - ['stats',['Stats',['../group__Peer.html#ga5c02ab593c2ea0b88eaa320f85b0dc2f',1,'galaxy::api']]], - ['stats_5fand_5fachievements_5fstore',['STATS_AND_ACHIEVEMENTS_STORE',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325ae8b38cb47d52f0f5e4a34ebe6fd85cf2',1,'galaxy::api']]], - ['storage',['Storage',['../group__Peer.html#ga1332e023e6736114f1c1ee8553155185',1,'galaxy::api']]], - ['storagepath',['storagePath',['../structgalaxy_1_1api_1_1InitOptions.html#a519bf06473052bd150ef238ddccdcde9',1,'galaxy::api::InitOptions']]], - ['storestatsandachievements',['StoreStatsAndAchievements',['../classgalaxy_1_1api_1_1IStats.html#a0e7f8f26b1825f6ccfb4dc26482b97ee',1,'galaxy::api::IStats']]] -]; diff --git a/vendors/galaxy/Docs/search/all_11.html b/vendors/galaxy/Docs/search/all_11.html deleted file mode 100644 index 10fcd0919..000000000 --- a/vendors/galaxy/Docs/search/all_11.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/all_11.js b/vendors/galaxy/Docs/search/all_11.js deleted file mode 100644 index 368834338..000000000 --- a/vendors/galaxy/Docs/search/all_11.js +++ /dev/null @@ -1,10 +0,0 @@ -var searchData= -[ - ['telemetry',['Telemetry',['../group__Peer.html#ga4b69eca19751e086638ca6038d76d331',1,'galaxy::api']]], - ['telemetry_5fevent_5fsend_5flistener',['TELEMETRY_EVENT_SEND_LISTENER',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325ab3ab76e1a23f449ed52c2f411d97941a',1,'galaxy::api']]], - ['threadentryfunction',['ThreadEntryFunction',['../group__api.html#ga14fc3e506d7327003940dbf3a8c4bcfe',1,'galaxy::api']]], - ['threadentryparam',['ThreadEntryParam',['../group__api.html#ga37cc1c803781672631d7ac1bc06f4bb2',1,'galaxy::api']]], - ['touint64',['ToUint64',['../classgalaxy_1_1api_1_1GalaxyID.html#ae5c045e6a51c05bdc45693259e80de6e',1,'galaxy::api::GalaxyID']]], - ['trace',['Trace',['../classgalaxy_1_1api_1_1ILogger.html#a2f884acd20718a6751ec1840c7fc0c3f',1,'galaxy::api::ILogger']]], - ['type',['Type',['../classgalaxy_1_1api_1_1IError.html#a1d1cfd8ffb84e947f82999c682b666a7',1,'galaxy::api::IError']]] -]; diff --git a/vendors/galaxy/Docs/search/all_12.html b/vendors/galaxy/Docs/search/all_12.html deleted file mode 100644 index 0876adf45..000000000 --- a/vendors/galaxy/Docs/search/all_12.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/all_12.js b/vendors/galaxy/Docs/search/all_12.js deleted file mode 100644 index a1c4d6fe9..000000000 --- a/vendors/galaxy/Docs/search/all_12.js +++ /dev/null @@ -1,13 +0,0 @@ -var searchData= -[ - ['unassigned_5fvalue',['UNASSIGNED_VALUE',['../classgalaxy_1_1api_1_1GalaxyID.html#a815f95d3facae427efd380d2b86723fd',1,'galaxy::api::GalaxyID']]], - ['unregister',['Unregister',['../classgalaxy_1_1api_1_1IListenerRegistrar.html#a12efe4237c46626606669fc2f22113bb',1,'galaxy::api::IListenerRegistrar']]], - ['updateavgratestat',['UpdateAvgRateStat',['../classgalaxy_1_1api_1_1IStats.html#ac3b5485e260faea00926df1354a38ccc',1,'galaxy::api::IStats']]], - ['user',['User',['../group__Peer.html#gae38960649548d817130298258e0c461a',1,'galaxy::api']]], - ['user_5fdata',['USER_DATA',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325ac4dcfccaa8f91257de6b916546d214ae',1,'galaxy::api']]], - ['user_5ffind_5flistener',['USER_FIND_LISTENER',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a4c062f52b68d1d424a5079891f7c1d36',1,'galaxy::api']]], - ['user_5finformation_5fretrieve_5flistener',['USER_INFORMATION_RETRIEVE_LISTENER',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325aa1a67cebe36541c17c7e35322e77d6a9',1,'galaxy::api']]], - ['user_5fstats_5fand_5fachievements_5fretrieve',['USER_STATS_AND_ACHIEVEMENTS_RETRIEVE',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a81a36542e8d6bd75d289199a7bf182a1',1,'galaxy::api']]], - ['user_5ftime_5fplayed_5fretrieve',['USER_TIME_PLAYED_RETRIEVE',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a4ebce3e1d104d7c3fb7c54415bb076e2',1,'galaxy::api']]], - ['utils',['Utils',['../group__Peer.html#ga07f13c08529578f0e4aacde7bab29b10',1,'galaxy::api']]] -]; diff --git a/vendors/galaxy/Docs/search/all_13.html b/vendors/galaxy/Docs/search/all_13.html deleted file mode 100644 index dc6c0496a..000000000 --- a/vendors/galaxy/Docs/search/all_13.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/all_13.js b/vendors/galaxy/Docs/search/all_13.js deleted file mode 100644 index de5517100..000000000 --- a/vendors/galaxy/Docs/search/all_13.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['warning',['Warning',['../classgalaxy_1_1api_1_1ILogger.html#ad8294a3f478bb0e03f96f9bee6976920',1,'galaxy::api::ILogger']]] -]; diff --git a/vendors/galaxy/Docs/search/all_14.html b/vendors/galaxy/Docs/search/all_14.html deleted file mode 100644 index 7fe46634d..000000000 --- a/vendors/galaxy/Docs/search/all_14.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/all_14.js b/vendors/galaxy/Docs/search/all_14.js deleted file mode 100644 index d176bd466..000000000 --- a/vendors/galaxy/Docs/search/all_14.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['_7eselfregisteringlistener',['~SelfRegisteringListener',['../classgalaxy_1_1api_1_1SelfRegisteringListener.html#a84fc934a5cac7d63e6355e8b51800c5b',1,'galaxy::api::SelfRegisteringListener']]] -]; diff --git a/vendors/galaxy/Docs/search/all_2.html b/vendors/galaxy/Docs/search/all_2.html deleted file mode 100644 index 4c33d8557..000000000 --- a/vendors/galaxy/Docs/search/all_2.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/all_2.js b/vendors/galaxy/Docs/search/all_2.js deleted file mode 100644 index 528505231..000000000 --- a/vendors/galaxy/Docs/search/all_2.js +++ /dev/null @@ -1,34 +0,0 @@ -var searchData= -[ - ['chat',['Chat',['../group__Peer.html#ga6e9cbdfb79b685a75bc2312ef19e2079',1,'galaxy::api']]], - ['chat_5fmessage_5ftype_5fchat_5fmessage',['CHAT_MESSAGE_TYPE_CHAT_MESSAGE',['../group__api.html#ggad1921a6afb665af4c7e7d243e2b762e9a6b08ec004a476f5ad71ba54259541c67',1,'galaxy::api']]], - ['chat_5fmessage_5ftype_5fgame_5finvitation',['CHAT_MESSAGE_TYPE_GAME_INVITATION',['../group__api.html#ggad1921a6afb665af4c7e7d243e2b762e9a569cef091eeb0adc8ab44cec802dab57',1,'galaxy::api']]], - ['chat_5fmessage_5ftype_5funknown',['CHAT_MESSAGE_TYPE_UNKNOWN',['../group__api.html#ggad1921a6afb665af4c7e7d243e2b762e9ad1f406f6b4feac6d276267b6502dcb47',1,'galaxy::api']]], - ['chat_5froom_5fmessage_5fsend_5flistener',['CHAT_ROOM_MESSAGE_SEND_LISTENER',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a12700c589db879536b4283a5912faa8f',1,'galaxy::api']]], - ['chat_5froom_5fmessages_5flistener',['CHAT_ROOM_MESSAGES_LISTENER',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a873e878d3dc00df44b36a2535b34624f',1,'galaxy::api']]], - ['chat_5froom_5fmessages_5fretrieve_5flistener',['CHAT_ROOM_MESSAGES_RETRIEVE_LISTENER',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a57a196ab47d0b16f92d31fe1aa5e905a',1,'galaxy::api']]], - ['chat_5froom_5fwith_5fuser_5fretrieve_5flistener',['CHAT_ROOM_WITH_USER_RETRIEVE_LISTENER',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a1480ce82560fd8f4a62da6b9ce3e3a38',1,'galaxy::api']]], - ['chatmessageid',['ChatMessageID',['../group__api.html#ga42d3784b96327d589928dd3b443fb6a1',1,'galaxy::api']]], - ['chatmessagetype',['ChatMessageType',['../group__api.html#gad1921a6afb665af4c7e7d243e2b762e9',1,'galaxy::api']]], - ['chatroomid',['ChatRoomID',['../group__api.html#ga8f62afb8807584e4588df6ae21eb8811',1,'galaxy::api']]], - ['clearachievement',['ClearAchievement',['../classgalaxy_1_1api_1_1IStats.html#adef56fea6b98328144d7c61b69233b68',1,'galaxy::api::IStats']]], - ['clearparams',['ClearParams',['../classgalaxy_1_1api_1_1ITelemetry.html#aec117a240e2a5d255834044301ef9269',1,'galaxy::api::ITelemetry']]], - ['clearrichpresence',['ClearRichPresence',['../classgalaxy_1_1api_1_1IFriends.html#ac4b3d7eb07d7d866e70c0770cc65ec3a',1,'galaxy::api::IFriends']]], - ['clientid',['clientID',['../structgalaxy_1_1api_1_1InitOptions.html#a8f49f435adc17c7e890b923379247887',1,'galaxy::api::InitOptions']]], - ['clientsecret',['clientSecret',['../structgalaxy_1_1api_1_1InitOptions.html#a80dad9ee175657a8fa58f56e60469f4e',1,'galaxy::api::InitOptions']]], - ['close_5freason_5fundefined',['CLOSE_REASON_UNDEFINED',['../classgalaxy_1_1api_1_1IConnectionCloseListener.html#a2af9150cca99c965611884e1a48ff18dae3c8bfc34a50df0931adc712de447dcf',1,'galaxy::api::IConnectionCloseListener']]], - ['closeconnection',['CloseConnection',['../classgalaxy_1_1api_1_1ICustomNetworking.html#a6bbb32acab4c10b8c17fa007b2693543',1,'galaxy::api::ICustomNetworking']]], - ['closeparam',['CloseParam',['../classgalaxy_1_1api_1_1ITelemetry.html#a0f87fdc31f540ce3816520fc0d17eb23',1,'galaxy::api::ITelemetry']]], - ['closereason',['CloseReason',['../classgalaxy_1_1api_1_1IConnectionCloseListener.html#a2af9150cca99c965611884e1a48ff18d',1,'galaxy::api::IConnectionCloseListener']]], - ['configfilepath',['configFilePath',['../structgalaxy_1_1api_1_1InitOptions.html#ad7e306ad4d8cfef5a438cc0863e169d7',1,'galaxy::api::InitOptions']]], - ['connection_5ftype_5fdirect',['CONNECTION_TYPE_DIRECT',['../group__api.html#ggaa1f0e2efd52935fd01bfece0fbead81fa54f65564c6ebfa12f1ab53c4cef8864a',1,'galaxy::api']]], - ['connection_5ftype_5fnone',['CONNECTION_TYPE_NONE',['../group__api.html#ggaa1f0e2efd52935fd01bfece0fbead81fa808fe0871c1c5c3073ea2e11cefa9d39',1,'galaxy::api']]], - ['connection_5ftype_5fproxy',['CONNECTION_TYPE_PROXY',['../group__api.html#ggaa1f0e2efd52935fd01bfece0fbead81fa868e58fdaa4cf592dfc454798977ebc4',1,'galaxy::api']]], - ['connectionid',['ConnectionID',['../group__api.html#ga4e2490f675d3a2b8ae3d250fcd32bc0d',1,'galaxy::api']]], - ['connectiontype',['ConnectionType',['../group__api.html#gaa1f0e2efd52935fd01bfece0fbead81f',1,'galaxy::api']]], - ['createlobby',['CreateLobby',['../classgalaxy_1_1api_1_1IMatchmaking.html#a092de26b8b91e450552a12494dce4644',1,'galaxy::api::IMatchmaking']]], - ['custom_5fnetworking_5fconnection_5fclose',['CUSTOM_NETWORKING_CONNECTION_CLOSE',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325ad86f20ec9ad84b2cde53d43f84530819',1,'galaxy::api']]], - ['custom_5fnetworking_5fconnection_5fdata',['CUSTOM_NETWORKING_CONNECTION_DATA',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325ad8a8714f03b0ab8ac1f3eca36ec1eede',1,'galaxy::api']]], - ['custom_5fnetworking_5fconnection_5fopen',['CUSTOM_NETWORKING_CONNECTION_OPEN',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a4d71b1bf3846cdf037472757971f7a01',1,'galaxy::api']]], - ['customnetworking',['CustomNetworking',['../group__Peer.html#gaa7632d0a4bcbae1fb58b1837cb82ddda',1,'galaxy::api']]] -]; diff --git a/vendors/galaxy/Docs/search/all_3.html b/vendors/galaxy/Docs/search/all_3.html deleted file mode 100644 index b634070bc..000000000 --- a/vendors/galaxy/Docs/search/all_3.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/all_3.js b/vendors/galaxy/Docs/search/all_3.js deleted file mode 100644 index bb6b60705..000000000 --- a/vendors/galaxy/Docs/search/all_3.js +++ /dev/null @@ -1,14 +0,0 @@ -var searchData= -[ - ['debug',['Debug',['../classgalaxy_1_1api_1_1ILogger.html#a2576db3f8fc28842d624c02175af2eb8',1,'galaxy::api::ILogger']]], - ['deletefriend',['DeleteFriend',['../classgalaxy_1_1api_1_1IFriends.html#aabd02b47cc7208c8696fa1c04419dec7',1,'galaxy::api::IFriends']]], - ['deletelobbydata',['DeleteLobbyData',['../classgalaxy_1_1api_1_1IMatchmaking.html#a4f413410b728855d1d1a9e400d3ac259',1,'galaxy::api::IMatchmaking']]], - ['deletelobbymemberdata',['DeleteLobbyMemberData',['../classgalaxy_1_1api_1_1IMatchmaking.html#ab43f4d563799e071ba889c36b8db81ce',1,'galaxy::api::IMatchmaking']]], - ['deleterichpresence',['DeleteRichPresence',['../classgalaxy_1_1api_1_1IFriends.html#a9ca5e270bac21300630ae985c9ef690d',1,'galaxy::api::IFriends']]], - ['deleteuserdata',['DeleteUserData',['../classgalaxy_1_1api_1_1IUser.html#ae95f75ecda7702c02f13801994f09e20',1,'galaxy::api::IUser']]], - ['deprecated_20list',['Deprecated List',['../deprecated.html',1,'']]], - ['deprecated_5flobby_5ftopology_5ftype_5ffcm_5fhost_5fmigration',['DEPRECATED_LOBBY_TOPOLOGY_TYPE_FCM_HOST_MIGRATION',['../group__api.html#gga966760a0bc04579410315346c09f5297ac3d6627d3673b044b0b420bc54967fac',1,'galaxy::api']]], - ['detach',['Detach',['../classgalaxy_1_1api_1_1IGalaxyThread.html#a4c7d7ba0157a1d4f0544968ff700691a',1,'galaxy::api::IGalaxyThread']]], - ['disableoverlaypopups',['DisableOverlayPopups',['../classgalaxy_1_1api_1_1IUtils.html#ada0a725829e0677427402b45af8e446a',1,'galaxy::api::IUtils']]], - ['downloadsharedfile',['DownloadSharedFile',['../classgalaxy_1_1api_1_1IStorage.html#aabdcf590bfdd6365e82aba4f1f332005',1,'galaxy::api::IStorage']]] -]; diff --git a/vendors/galaxy/Docs/search/all_4.html b/vendors/galaxy/Docs/search/all_4.html deleted file mode 100644 index dd062aeae..000000000 --- a/vendors/galaxy/Docs/search/all_4.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/all_4.js b/vendors/galaxy/Docs/search/all_4.js deleted file mode 100644 index c2d860fb8..000000000 --- a/vendors/galaxy/Docs/search/all_4.js +++ /dev/null @@ -1,6 +0,0 @@ -var searchData= -[ - ['encrypted_5fapp_5fticket_5fretrieve',['ENCRYPTED_APP_TICKET_RETRIEVE',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325ae1b91722e7da1bf2b0018eea873e5258',1,'galaxy::api']]], - ['error',['Error',['../classgalaxy_1_1api_1_1ILogger.html#a8019dc6a7edbf285ab91d6b058b93d42',1,'galaxy::api::ILogger']]], - ['errors_2eh',['Errors.h',['../Errors_8h.html',1,'']]] -]; diff --git a/vendors/galaxy/Docs/search/all_5.html b/vendors/galaxy/Docs/search/all_5.html deleted file mode 100644 index f0780fdd3..000000000 --- a/vendors/galaxy/Docs/search/all_5.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/all_5.js b/vendors/galaxy/Docs/search/all_5.js deleted file mode 100644 index 7fe9efeb5..000000000 --- a/vendors/galaxy/Docs/search/all_5.js +++ /dev/null @@ -1,50 +0,0 @@ -var searchData= -[ - ['failure_5freason_5fclient_5fforbidden',['FAILURE_REASON_CLIENT_FORBIDDEN',['../classgalaxy_1_1api_1_1ITelemetryEventSendListener.html#a2e1fab5fc244b0783172514baec21a6ea7fba7ed642dcdbd0369695993582e872',1,'galaxy::api::ITelemetryEventSendListener']]], - ['failure_5freason_5fconnection_5ffailure',['FAILURE_REASON_CONNECTION_FAILURE',['../classgalaxy_1_1api_1_1IChatRoomWithUserRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0',1,'galaxy::api::IChatRoomWithUserRetrieveListener::FAILURE_REASON_CONNECTION_FAILURE()'],['../classgalaxy_1_1api_1_1IChatRoomMessageSendListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0',1,'galaxy::api::IChatRoomMessageSendListener::FAILURE_REASON_CONNECTION_FAILURE()'],['../classgalaxy_1_1api_1_1IChatRoomMessagesRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0',1,'galaxy::api::IChatRoomMessagesRetrieveListener::FAILURE_REASON_CONNECTION_FAILURE()'],['../classgalaxy_1_1api_1_1IConnectionOpenListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0',1,'galaxy::api::IConnectionOpenListener::FAILURE_REASON_CONNECTION_FAILURE()'],['../classgalaxy_1_1api_1_1IUserInformationRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0',1,'galaxy::api::IUserInformationRetrieveListener::FAILURE_REASON_CONNECTION_FAILURE()'],['../classgalaxy_1_1api_1_1IFriendListListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0',1,'galaxy::api::IFriendListListener::FAILURE_REASON_CONNECTION_FAILURE()'],['../classgalaxy_1_1api_1_1IFriendInvitationSendListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0',1,'galaxy::api::IFriendInvitationSendListener::FAILURE_REASON_CONNECTION_FAILURE()'],['../classgalaxy_1_1api_1_1IFriendInvitationListRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0',1,'galaxy::api::IFriendInvitationListRetrieveListener::FAILURE_REASON_CONNECTION_FAILURE()'],['../classgalaxy_1_1api_1_1ISentFriendInvitationListRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0',1,'galaxy::api::ISentFriendInvitationListRetrieveListener::FAILURE_REASON_CONNECTION_FAILURE()'],['../classgalaxy_1_1api_1_1IFriendInvitationRespondToListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0',1,'galaxy::api::IFriendInvitationRespondToListener::FAILURE_REASON_CONNECTION_FAILURE()'],['../classgalaxy_1_1api_1_1IFriendDeleteListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0',1,'galaxy::api::IFriendDeleteListener::FAILURE_REASON_CONNECTION_FAILURE()'],['../classgalaxy_1_1api_1_1IRichPresenceChangeListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0',1,'galaxy::api::IRichPresenceChangeListener::FAILURE_REASON_CONNECTION_FAILURE()'],['../classgalaxy_1_1api_1_1IRichPresenceRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0',1,'galaxy::api::IRichPresenceRetrieveListener::FAILURE_REASON_CONNECTION_FAILURE()'],['../classgalaxy_1_1api_1_1ISendInvitationListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0',1,'galaxy::api::ISendInvitationListener::FAILURE_REASON_CONNECTION_FAILURE()'],['../classgalaxy_1_1api_1_1IUserFindListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0',1,'galaxy::api::IUserFindListener::FAILURE_REASON_CONNECTION_FAILURE()'],['../classgalaxy_1_1api_1_1ILobbyDataUpdateListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0',1,'galaxy::api::ILobbyDataUpdateListener::FAILURE_REASON_CONNECTION_FAILURE()'],['../classgalaxy_1_1api_1_1ILobbyMemberDataUpdateListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0',1,'galaxy::api::ILobbyMemberDataUpdateListener::FAILURE_REASON_CONNECTION_FAILURE()'],['../classgalaxy_1_1api_1_1ILobbyDataRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0',1,'galaxy::api::ILobbyDataRetrieveListener::FAILURE_REASON_CONNECTION_FAILURE()'],['../classgalaxy_1_1api_1_1IUserStatsAndAchievementsRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0',1,'galaxy::api::IUserStatsAndAchievementsRetrieveListener::FAILURE_REASON_CONNECTION_FAILURE()'],['../classgalaxy_1_1api_1_1IStatsAndAchievementsStoreListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0',1,'galaxy::api::IStatsAndAchievementsStoreListener::FAILURE_REASON_CONNECTION_FAILURE()'],['../classgalaxy_1_1api_1_1ILeaderboardsRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0',1,'galaxy::api::ILeaderboardsRetrieveListener::FAILURE_REASON_CONNECTION_FAILURE()'],['../classgalaxy_1_1api_1_1ILeaderboardEntriesRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0',1,'galaxy::api::ILeaderboardEntriesRetrieveListener::FAILURE_REASON_CONNECTION_FAILURE()'],['../classgalaxy_1_1api_1_1ILeaderboardScoreUpdateListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0',1,'galaxy::api::ILeaderboardScoreUpdateListener::FAILURE_REASON_CONNECTION_FAILURE()'],['../classgalaxy_1_1api_1_1ILeaderboardRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0',1,'galaxy::api::ILeaderboardRetrieveListener::FAILURE_REASON_CONNECTION_FAILURE()'],['../classgalaxy_1_1api_1_1IUserTimePlayedRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0',1,'galaxy::api::IUserTimePlayedRetrieveListener::FAILURE_REASON_CONNECTION_FAILURE()'],['../classgalaxy_1_1api_1_1IFileShareListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0',1,'galaxy::api::IFileShareListener::FAILURE_REASON_CONNECTION_FAILURE()'],['../classgalaxy_1_1api_1_1ISharedFileDownloadListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0',1,'galaxy::api::ISharedFileDownloadListener::FAILURE_REASON_CONNECTION_FAILURE()'],['../classgalaxy_1_1api_1_1ITelemetryEventSendListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0',1,'galaxy::api::ITelemetryEventSendListener::FAILURE_REASON_CONNECTION_FAILURE()'],['../classgalaxy_1_1api_1_1IAuthListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0',1,'galaxy::api::IAuthListener::FAILURE_REASON_CONNECTION_FAILURE()'],['../classgalaxy_1_1api_1_1IEncryptedAppTicketListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0',1,'galaxy::api::IEncryptedAppTicketListener::FAILURE_REASON_CONNECTION_FAILURE()']]], - ['failure_5freason_5fevent_5fsampled_5fout',['FAILURE_REASON_EVENT_SAMPLED_OUT',['../classgalaxy_1_1api_1_1ITelemetryEventSendListener.html#a2e1fab5fc244b0783172514baec21a6ea3d2c601e0008f0c4ecc929feeaa4f58a',1,'galaxy::api::ITelemetryEventSendListener']]], - ['failure_5freason_5fexternal_5fservice_5ffailure',['FAILURE_REASON_EXTERNAL_SERVICE_FAILURE',['../classgalaxy_1_1api_1_1IAuthListener.html#a2e1fab5fc244b0783172514baec21a6eab7145a99bbd4fa9b92e8d85150f8106f',1,'galaxy::api::IAuthListener']]], - ['failure_5freason_5fforbidden',['FAILURE_REASON_FORBIDDEN',['../classgalaxy_1_1api_1_1IChatRoomWithUserRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6ea1ddabde3adccfb118865118a875d071d',1,'galaxy::api::IChatRoomWithUserRetrieveListener::FAILURE_REASON_FORBIDDEN()'],['../classgalaxy_1_1api_1_1IChatRoomMessageSendListener.html#a2e1fab5fc244b0783172514baec21a6ea1ddabde3adccfb118865118a875d071d',1,'galaxy::api::IChatRoomMessageSendListener::FAILURE_REASON_FORBIDDEN()'],['../classgalaxy_1_1api_1_1IChatRoomMessagesRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6ea1ddabde3adccfb118865118a875d071d',1,'galaxy::api::IChatRoomMessagesRetrieveListener::FAILURE_REASON_FORBIDDEN()']]], - ['failure_5freason_5ffriend_5finvitation_5fdoes_5fnot_5fexist',['FAILURE_REASON_FRIEND_INVITATION_DOES_NOT_EXIST',['../classgalaxy_1_1api_1_1IFriendInvitationRespondToListener.html#a2e1fab5fc244b0783172514baec21a6eac6d034b89542b28cae96b846e2a92792',1,'galaxy::api::IFriendInvitationRespondToListener']]], - ['failure_5freason_5fgalaxy_5fnot_5finitialized',['FAILURE_REASON_GALAXY_NOT_INITIALIZED',['../classgalaxy_1_1api_1_1IAuthListener.html#a2e1fab5fc244b0783172514baec21a6eafb1301b46bbbb368826e2596af8aec24',1,'galaxy::api::IAuthListener']]], - ['failure_5freason_5fgalaxy_5fservice_5fnot_5favailable',['FAILURE_REASON_GALAXY_SERVICE_NOT_AVAILABLE',['../classgalaxy_1_1api_1_1IAuthListener.html#a2e1fab5fc244b0783172514baec21a6ea1240b0ce8b7f84b6d27510970c06776d',1,'galaxy::api::IAuthListener']]], - ['failure_5freason_5fgalaxy_5fservice_5fnot_5fsigned_5fin',['FAILURE_REASON_GALAXY_SERVICE_NOT_SIGNED_IN',['../classgalaxy_1_1api_1_1IAuthListener.html#a2e1fab5fc244b0783172514baec21a6ea27ab7c15c949b5bdac9a72372d48a4e4',1,'galaxy::api::IAuthListener']]], - ['failure_5freason_5finvalid_5fcredentials',['FAILURE_REASON_INVALID_CREDENTIALS',['../classgalaxy_1_1api_1_1IAuthListener.html#a2e1fab5fc244b0783172514baec21a6eab52a5b434ff81e2589c99889ace15fad',1,'galaxy::api::IAuthListener']]], - ['failure_5freason_5finvalid_5fdata',['FAILURE_REASON_INVALID_DATA',['../classgalaxy_1_1api_1_1ITelemetryEventSendListener.html#a2e1fab5fc244b0783172514baec21a6eace58a894eb8fe9f9a3e97f630475ca3a',1,'galaxy::api::ITelemetryEventSendListener']]], - ['failure_5freason_5flobby_5fdoes_5fnot_5fexist',['FAILURE_REASON_LOBBY_DOES_NOT_EXIST',['../classgalaxy_1_1api_1_1ILobbyDataUpdateListener.html#a2e1fab5fc244b0783172514baec21a6ea6e9ef4e4fbd09f5734790f71e9d6e97c',1,'galaxy::api::ILobbyDataUpdateListener::FAILURE_REASON_LOBBY_DOES_NOT_EXIST()'],['../classgalaxy_1_1api_1_1ILobbyMemberDataUpdateListener.html#a2e1fab5fc244b0783172514baec21a6ea6e9ef4e4fbd09f5734790f71e9d6e97c',1,'galaxy::api::ILobbyMemberDataUpdateListener::FAILURE_REASON_LOBBY_DOES_NOT_EXIST()'],['../classgalaxy_1_1api_1_1ILobbyDataRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6ea6e9ef4e4fbd09f5734790f71e9d6e97c',1,'galaxy::api::ILobbyDataRetrieveListener::FAILURE_REASON_LOBBY_DOES_NOT_EXIST()']]], - ['failure_5freason_5fno_5fimprovement',['FAILURE_REASON_NO_IMPROVEMENT',['../classgalaxy_1_1api_1_1ILeaderboardScoreUpdateListener.html#a2e1fab5fc244b0783172514baec21a6eaceb48ff7593713d35ec069494e299f19',1,'galaxy::api::ILeaderboardScoreUpdateListener']]], - ['failure_5freason_5fno_5flicense',['FAILURE_REASON_NO_LICENSE',['../classgalaxy_1_1api_1_1IAuthListener.html#a2e1fab5fc244b0783172514baec21a6eaf5553255a42a2b50bba4890a2bda4fd6',1,'galaxy::api::IAuthListener']]], - ['failure_5freason_5fno_5fsampling_5fclass_5fin_5fconfig',['FAILURE_REASON_NO_SAMPLING_CLASS_IN_CONFIG',['../classgalaxy_1_1api_1_1ITelemetryEventSendListener.html#a2e1fab5fc244b0783172514baec21a6ea86ff39a7adf0a5c2eef68436db4eb9cc',1,'galaxy::api::ITelemetryEventSendListener']]], - ['failure_5freason_5fnot_5ffound',['FAILURE_REASON_NOT_FOUND',['../classgalaxy_1_1api_1_1ILeaderboardEntriesRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6ea1757345b21c8d539d78e69d1266a8854',1,'galaxy::api::ILeaderboardEntriesRetrieveListener']]], - ['failure_5freason_5freceiver_5fblocked',['FAILURE_REASON_RECEIVER_BLOCKED',['../classgalaxy_1_1api_1_1ISendInvitationListener.html#a2e1fab5fc244b0783172514baec21a6ea4afc4feb156c1277318d40ef8d43f8bf',1,'galaxy::api::ISendInvitationListener']]], - ['failure_5freason_5freceiver_5fdoes_5fnot_5fallow_5finviting',['FAILURE_REASON_RECEIVER_DOES_NOT_ALLOW_INVITING',['../classgalaxy_1_1api_1_1ISendInvitationListener.html#a2e1fab5fc244b0783172514baec21a6ea2d07a59b06b2000f02c8122509cdc41f',1,'galaxy::api::ISendInvitationListener']]], - ['failure_5freason_5fsampling_5fclass_5ffield_5fmissing',['FAILURE_REASON_SAMPLING_CLASS_FIELD_MISSING',['../classgalaxy_1_1api_1_1ITelemetryEventSendListener.html#a2e1fab5fc244b0783172514baec21a6eae1926d3db86e0b3d2d248dde7769755e',1,'galaxy::api::ITelemetryEventSendListener']]], - ['failure_5freason_5fsender_5fblocked',['FAILURE_REASON_SENDER_BLOCKED',['../classgalaxy_1_1api_1_1ISendInvitationListener.html#a2e1fab5fc244b0783172514baec21a6ea24759fa13b642cae2eda00c5fcfe2cfc',1,'galaxy::api::ISendInvitationListener']]], - ['failure_5freason_5fsender_5fdoes_5fnot_5fallow_5finviting',['FAILURE_REASON_SENDER_DOES_NOT_ALLOW_INVITING',['../classgalaxy_1_1api_1_1ISendInvitationListener.html#a2e1fab5fc244b0783172514baec21a6ead6c9cfbb428609b302e2e6d3ca401a5b',1,'galaxy::api::ISendInvitationListener']]], - ['failure_5freason_5funauthorized',['FAILURE_REASON_UNAUTHORIZED',['../classgalaxy_1_1api_1_1IConnectionOpenListener.html#a2e1fab5fc244b0783172514baec21a6ea1f870b0f470cb854818527e6c70764a4',1,'galaxy::api::IConnectionOpenListener']]], - ['failure_5freason_5fundefined',['FAILURE_REASON_UNDEFINED',['../classgalaxy_1_1api_1_1IChatRoomWithUserRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39',1,'galaxy::api::IChatRoomWithUserRetrieveListener::FAILURE_REASON_UNDEFINED()'],['../classgalaxy_1_1api_1_1IChatRoomMessageSendListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39',1,'galaxy::api::IChatRoomMessageSendListener::FAILURE_REASON_UNDEFINED()'],['../classgalaxy_1_1api_1_1IChatRoomMessagesRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39',1,'galaxy::api::IChatRoomMessagesRetrieveListener::FAILURE_REASON_UNDEFINED()'],['../classgalaxy_1_1api_1_1IConnectionOpenListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39',1,'galaxy::api::IConnectionOpenListener::FAILURE_REASON_UNDEFINED()'],['../classgalaxy_1_1api_1_1IUserInformationRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39',1,'galaxy::api::IUserInformationRetrieveListener::FAILURE_REASON_UNDEFINED()'],['../classgalaxy_1_1api_1_1IFriendListListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39',1,'galaxy::api::IFriendListListener::FAILURE_REASON_UNDEFINED()'],['../classgalaxy_1_1api_1_1IFriendInvitationSendListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39',1,'galaxy::api::IFriendInvitationSendListener::FAILURE_REASON_UNDEFINED()'],['../classgalaxy_1_1api_1_1IFriendInvitationListRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39',1,'galaxy::api::IFriendInvitationListRetrieveListener::FAILURE_REASON_UNDEFINED()'],['../classgalaxy_1_1api_1_1ISentFriendInvitationListRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39',1,'galaxy::api::ISentFriendInvitationListRetrieveListener::FAILURE_REASON_UNDEFINED()'],['../classgalaxy_1_1api_1_1IFriendInvitationRespondToListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39',1,'galaxy::api::IFriendInvitationRespondToListener::FAILURE_REASON_UNDEFINED()'],['../classgalaxy_1_1api_1_1IFriendDeleteListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39',1,'galaxy::api::IFriendDeleteListener::FAILURE_REASON_UNDEFINED()'],['../classgalaxy_1_1api_1_1IRichPresenceChangeListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39',1,'galaxy::api::IRichPresenceChangeListener::FAILURE_REASON_UNDEFINED()'],['../classgalaxy_1_1api_1_1IRichPresenceRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39',1,'galaxy::api::IRichPresenceRetrieveListener::FAILURE_REASON_UNDEFINED()'],['../classgalaxy_1_1api_1_1ISendInvitationListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39',1,'galaxy::api::ISendInvitationListener::FAILURE_REASON_UNDEFINED()'],['../classgalaxy_1_1api_1_1IUserFindListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39',1,'galaxy::api::IUserFindListener::FAILURE_REASON_UNDEFINED()'],['../classgalaxy_1_1api_1_1ILobbyDataUpdateListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39',1,'galaxy::api::ILobbyDataUpdateListener::FAILURE_REASON_UNDEFINED()'],['../classgalaxy_1_1api_1_1ILobbyMemberDataUpdateListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39',1,'galaxy::api::ILobbyMemberDataUpdateListener::FAILURE_REASON_UNDEFINED()'],['../classgalaxy_1_1api_1_1ILobbyDataRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39',1,'galaxy::api::ILobbyDataRetrieveListener::FAILURE_REASON_UNDEFINED()'],['../classgalaxy_1_1api_1_1IUserStatsAndAchievementsRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39',1,'galaxy::api::IUserStatsAndAchievementsRetrieveListener::FAILURE_REASON_UNDEFINED()'],['../classgalaxy_1_1api_1_1IStatsAndAchievementsStoreListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39',1,'galaxy::api::IStatsAndAchievementsStoreListener::FAILURE_REASON_UNDEFINED()'],['../classgalaxy_1_1api_1_1ILeaderboardsRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39',1,'galaxy::api::ILeaderboardsRetrieveListener::FAILURE_REASON_UNDEFINED()'],['../classgalaxy_1_1api_1_1ILeaderboardEntriesRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39',1,'galaxy::api::ILeaderboardEntriesRetrieveListener::FAILURE_REASON_UNDEFINED()'],['../classgalaxy_1_1api_1_1ILeaderboardScoreUpdateListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39',1,'galaxy::api::ILeaderboardScoreUpdateListener::FAILURE_REASON_UNDEFINED()'],['../classgalaxy_1_1api_1_1ILeaderboardRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39',1,'galaxy::api::ILeaderboardRetrieveListener::FAILURE_REASON_UNDEFINED()'],['../classgalaxy_1_1api_1_1IUserTimePlayedRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39',1,'galaxy::api::IUserTimePlayedRetrieveListener::FAILURE_REASON_UNDEFINED()'],['../classgalaxy_1_1api_1_1IFileShareListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39',1,'galaxy::api::IFileShareListener::FAILURE_REASON_UNDEFINED()'],['../classgalaxy_1_1api_1_1ISharedFileDownloadListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39',1,'galaxy::api::ISharedFileDownloadListener::FAILURE_REASON_UNDEFINED()'],['../classgalaxy_1_1api_1_1ITelemetryEventSendListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39',1,'galaxy::api::ITelemetryEventSendListener::FAILURE_REASON_UNDEFINED()'],['../classgalaxy_1_1api_1_1IAuthListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39',1,'galaxy::api::IAuthListener::FAILURE_REASON_UNDEFINED()'],['../classgalaxy_1_1api_1_1IEncryptedAppTicketListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39',1,'galaxy::api::IEncryptedAppTicketListener::FAILURE_REASON_UNDEFINED()']]], - ['failure_5freason_5fuser_5falready_5ffriend',['FAILURE_REASON_USER_ALREADY_FRIEND',['../classgalaxy_1_1api_1_1IFriendInvitationSendListener.html#a2e1fab5fc244b0783172514baec21a6ea81d35666717e441e4a6c79a7fe7b62eb',1,'galaxy::api::IFriendInvitationSendListener::FAILURE_REASON_USER_ALREADY_FRIEND()'],['../classgalaxy_1_1api_1_1IFriendInvitationRespondToListener.html#a2e1fab5fc244b0783172514baec21a6ea81d35666717e441e4a6c79a7fe7b62eb',1,'galaxy::api::IFriendInvitationRespondToListener::FAILURE_REASON_USER_ALREADY_FRIEND()']]], - ['failure_5freason_5fuser_5falready_5finvited',['FAILURE_REASON_USER_ALREADY_INVITED',['../classgalaxy_1_1api_1_1IFriendInvitationSendListener.html#a2e1fab5fc244b0783172514baec21a6ea1e4fcee207327fc8bd9f1224ef08035f',1,'galaxy::api::IFriendInvitationSendListener']]], - ['failure_5freason_5fuser_5fdoes_5fnot_5fexist',['FAILURE_REASON_USER_DOES_NOT_EXIST',['../classgalaxy_1_1api_1_1IFriendInvitationSendListener.html#a2e1fab5fc244b0783172514baec21a6eaa7fdbf5fd0f8fb915cd270eaf4dee431',1,'galaxy::api::IFriendInvitationSendListener::FAILURE_REASON_USER_DOES_NOT_EXIST()'],['../classgalaxy_1_1api_1_1IFriendInvitationRespondToListener.html#a2e1fab5fc244b0783172514baec21a6eaa7fdbf5fd0f8fb915cd270eaf4dee431',1,'galaxy::api::IFriendInvitationRespondToListener::FAILURE_REASON_USER_DOES_NOT_EXIST()'],['../classgalaxy_1_1api_1_1ISendInvitationListener.html#a2e1fab5fc244b0783172514baec21a6eaa7fdbf5fd0f8fb915cd270eaf4dee431',1,'galaxy::api::ISendInvitationListener::FAILURE_REASON_USER_DOES_NOT_EXIST()']]], - ['failure_5freason_5fuser_5fnot_5ffound',['FAILURE_REASON_USER_NOT_FOUND',['../classgalaxy_1_1api_1_1IUserFindListener.html#a2e1fab5fc244b0783172514baec21a6eaa3872a391409543312c44443abd5df02',1,'galaxy::api::IUserFindListener']]], - ['failurereason',['FailureReason',['../classgalaxy_1_1api_1_1IChatRoomWithUserRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6e',1,'galaxy::api::IChatRoomWithUserRetrieveListener::FailureReason()'],['../classgalaxy_1_1api_1_1IChatRoomMessageSendListener.html#a2e1fab5fc244b0783172514baec21a6e',1,'galaxy::api::IChatRoomMessageSendListener::FailureReason()'],['../classgalaxy_1_1api_1_1IChatRoomMessagesRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6e',1,'galaxy::api::IChatRoomMessagesRetrieveListener::FailureReason()'],['../classgalaxy_1_1api_1_1IConnectionOpenListener.html#a2e1fab5fc244b0783172514baec21a6e',1,'galaxy::api::IConnectionOpenListener::FailureReason()'],['../classgalaxy_1_1api_1_1IUserInformationRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6e',1,'galaxy::api::IUserInformationRetrieveListener::FailureReason()'],['../classgalaxy_1_1api_1_1IFriendListListener.html#a2e1fab5fc244b0783172514baec21a6e',1,'galaxy::api::IFriendListListener::FailureReason()'],['../classgalaxy_1_1api_1_1IFriendInvitationSendListener.html#a2e1fab5fc244b0783172514baec21a6e',1,'galaxy::api::IFriendInvitationSendListener::FailureReason()'],['../classgalaxy_1_1api_1_1IFriendInvitationListRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6e',1,'galaxy::api::IFriendInvitationListRetrieveListener::FailureReason()'],['../classgalaxy_1_1api_1_1ISentFriendInvitationListRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6e',1,'galaxy::api::ISentFriendInvitationListRetrieveListener::FailureReason()'],['../classgalaxy_1_1api_1_1IFriendInvitationRespondToListener.html#a2e1fab5fc244b0783172514baec21a6e',1,'galaxy::api::IFriendInvitationRespondToListener::FailureReason()'],['../classgalaxy_1_1api_1_1IFriendDeleteListener.html#a2e1fab5fc244b0783172514baec21a6e',1,'galaxy::api::IFriendDeleteListener::FailureReason()'],['../classgalaxy_1_1api_1_1IRichPresenceChangeListener.html#a2e1fab5fc244b0783172514baec21a6e',1,'galaxy::api::IRichPresenceChangeListener::FailureReason()'],['../classgalaxy_1_1api_1_1IRichPresenceRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6e',1,'galaxy::api::IRichPresenceRetrieveListener::FailureReason()'],['../classgalaxy_1_1api_1_1ISendInvitationListener.html#a2e1fab5fc244b0783172514baec21a6e',1,'galaxy::api::ISendInvitationListener::FailureReason()'],['../classgalaxy_1_1api_1_1IUserFindListener.html#a2e1fab5fc244b0783172514baec21a6e',1,'galaxy::api::IUserFindListener::FailureReason()'],['../classgalaxy_1_1api_1_1ILobbyDataUpdateListener.html#a2e1fab5fc244b0783172514baec21a6e',1,'galaxy::api::ILobbyDataUpdateListener::FailureReason()'],['../classgalaxy_1_1api_1_1ILobbyMemberDataUpdateListener.html#a2e1fab5fc244b0783172514baec21a6e',1,'galaxy::api::ILobbyMemberDataUpdateListener::FailureReason()'],['../classgalaxy_1_1api_1_1ILobbyDataRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6e',1,'galaxy::api::ILobbyDataRetrieveListener::FailureReason()'],['../classgalaxy_1_1api_1_1IUserStatsAndAchievementsRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6e',1,'galaxy::api::IUserStatsAndAchievementsRetrieveListener::FailureReason()'],['../classgalaxy_1_1api_1_1IStatsAndAchievementsStoreListener.html#a2e1fab5fc244b0783172514baec21a6e',1,'galaxy::api::IStatsAndAchievementsStoreListener::FailureReason()'],['../classgalaxy_1_1api_1_1ILeaderboardsRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6e',1,'galaxy::api::ILeaderboardsRetrieveListener::FailureReason()'],['../classgalaxy_1_1api_1_1ILeaderboardEntriesRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6e',1,'galaxy::api::ILeaderboardEntriesRetrieveListener::FailureReason()'],['../classgalaxy_1_1api_1_1ILeaderboardScoreUpdateListener.html#a2e1fab5fc244b0783172514baec21a6e',1,'galaxy::api::ILeaderboardScoreUpdateListener::FailureReason()'],['../classgalaxy_1_1api_1_1ILeaderboardRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6e',1,'galaxy::api::ILeaderboardRetrieveListener::FailureReason()'],['../classgalaxy_1_1api_1_1IUserTimePlayedRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6e',1,'galaxy::api::IUserTimePlayedRetrieveListener::FailureReason()'],['../classgalaxy_1_1api_1_1IFileShareListener.html#a2e1fab5fc244b0783172514baec21a6e',1,'galaxy::api::IFileShareListener::FailureReason()'],['../classgalaxy_1_1api_1_1ISharedFileDownloadListener.html#a2e1fab5fc244b0783172514baec21a6e',1,'galaxy::api::ISharedFileDownloadListener::FailureReason()'],['../classgalaxy_1_1api_1_1ITelemetryEventSendListener.html#a2e1fab5fc244b0783172514baec21a6e',1,'galaxy::api::ITelemetryEventSendListener::FailureReason()'],['../classgalaxy_1_1api_1_1IAuthListener.html#a2e1fab5fc244b0783172514baec21a6e',1,'galaxy::api::IAuthListener::FailureReason()'],['../classgalaxy_1_1api_1_1IEncryptedAppTicketListener.html#a2e1fab5fc244b0783172514baec21a6e',1,'galaxy::api::IEncryptedAppTicketListener::FailureReason()']]], - ['fatal',['Fatal',['../classgalaxy_1_1api_1_1ILogger.html#a9f845ab48be230fa39be75c73ad5c8ec',1,'galaxy::api::ILogger']]], - ['file_5fshare',['FILE_SHARE',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325ab548e05dec73185c51357ce89e32540b',1,'galaxy::api']]], - ['filedelete',['FileDelete',['../classgalaxy_1_1api_1_1IStorage.html#a51d41b83fca88ea99f4efbf8eb821759',1,'galaxy::api::IStorage']]], - ['fileexists',['FileExists',['../classgalaxy_1_1api_1_1IStorage.html#a3e0e304228ce32f9adf541cebf9c5056',1,'galaxy::api::IStorage']]], - ['fileread',['FileRead',['../classgalaxy_1_1api_1_1IStorage.html#acf76533ce14ff9dd852d06e311447ef9',1,'galaxy::api::IStorage']]], - ['fileshare',['FileShare',['../classgalaxy_1_1api_1_1IStorage.html#a10cfbb334ff48fcb8c9f891adc45ca1d',1,'galaxy::api::IStorage']]], - ['filewrite',['FileWrite',['../classgalaxy_1_1api_1_1IStorage.html#a1c3179a4741b7e84fe2626a696e9b4df',1,'galaxy::api::IStorage']]], - ['findleaderboard',['FindLeaderboard',['../classgalaxy_1_1api_1_1IStats.html#ace79a09f5cc55acdc502b9251cdb0898',1,'galaxy::api::IStats']]], - ['findorcreateleaderboard',['FindOrCreateLeaderboard',['../classgalaxy_1_1api_1_1IStats.html#a1854172caa8de815218a0c44e2d04d8c',1,'galaxy::api::IStats']]], - ['finduser',['FindUser',['../classgalaxy_1_1api_1_1IFriends.html#af56e4546f048ca3a6467fc03f5ec2448',1,'galaxy::api::IFriends']]], - ['friend_5fadd_5flistener',['FRIEND_ADD_LISTENER',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a9d114ff52d63ce2d091f265089d2093c',1,'galaxy::api']]], - ['friend_5fdelete_5flistener',['FRIEND_DELETE_LISTENER',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325ac4e0c9466447897ecea72d44fbfe9ce3',1,'galaxy::api']]], - ['friend_5finvitation_5flist_5fretrieve_5flistener',['FRIEND_INVITATION_LIST_RETRIEVE_LISTENER',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325acf9249464a9b14ddfe4deb86fd383718',1,'galaxy::api']]], - ['friend_5finvitation_5flistener',['FRIEND_INVITATION_LISTENER',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a5a3d72d3b844e13e5d62cf064d056992',1,'galaxy::api']]], - ['friend_5finvitation_5frespond_5fto_5flistener',['FRIEND_INVITATION_RESPOND_TO_LISTENER',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325aeda03f2a3a56e74628529e5eb5531ba7',1,'galaxy::api']]], - ['friend_5finvitation_5fsend_5flistener',['FRIEND_INVITATION_SEND_LISTENER',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a1feb0b8df63e25370e9ecc716761d0ec',1,'galaxy::api']]], - ['friend_5flist_5fretrieve',['FRIEND_LIST_RETRIEVE',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a21da77db9d7caf59cd2853a9d9f10e06',1,'galaxy::api']]], - ['friends',['Friends',['../group__Peer.html#ga27e073630c24a0ed20def15bdaf1aa52',1,'galaxy::api']]], - ['fromrealid',['FromRealID',['../classgalaxy_1_1api_1_1GalaxyID.html#a0a8140979b8e84844babea160999f17e',1,'galaxy::api::GalaxyID']]] -]; diff --git a/vendors/galaxy/Docs/search/all_6.html b/vendors/galaxy/Docs/search/all_6.html deleted file mode 100644 index 39b0f555c..000000000 --- a/vendors/galaxy/Docs/search/all_6.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/all_6.js b/vendors/galaxy/Docs/search/all_6.js deleted file mode 100644 index 1a8dfd2b8..000000000 --- a/vendors/galaxy/Docs/search/all_6.js +++ /dev/null @@ -1,258 +0,0 @@ -var searchData= -[ - ['galaxyallocator',['GalaxyAllocator',['../structgalaxy_1_1api_1_1GalaxyAllocator.html',1,'GalaxyAllocator'],['../structgalaxy_1_1api_1_1GalaxyAllocator.html#a261d0d87a9bbed09c69689b3459a035a',1,'galaxy::api::GalaxyAllocator::GalaxyAllocator()'],['../structgalaxy_1_1api_1_1GalaxyAllocator.html#af385348d5da9d6d713c2708d89185895',1,'galaxy::api::GalaxyAllocator::GalaxyAllocator(GalaxyMalloc _galaxyMalloc, GalaxyRealloc _galaxyRealloc, GalaxyFree _galaxyFree)'],['../structgalaxy_1_1api_1_1InitOptions.html#a62f785f7596efd24dba4929a2084c790',1,'galaxy::api::InitOptions::galaxyAllocator()']]], - ['galaxyallocator_2eh',['GalaxyAllocator.h',['../GalaxyAllocator_8h.html',1,'']]], - ['galaxyapi_2eh',['GalaxyApi.h',['../GalaxyApi_8h.html',1,'']]], - ['galaxyexport_2eh',['GalaxyExport.h',['../GalaxyExport_8h.html',1,'']]], - ['galaxyfree',['galaxyFree',['../structgalaxy_1_1api_1_1GalaxyAllocator.html#afc8835346a535e504ca52948d543a98c',1,'galaxy::api::GalaxyAllocator::galaxyFree()'],['../group__api.html#ga088429be4e622eaf0e7b66bbde64fbf6',1,'galaxy::api::GalaxyFree()']]], - ['galaxygameserverapi_2eh',['GalaxyGameServerApi.h',['../GalaxyGameServerApi_8h.html',1,'']]], - ['galaxyid',['GalaxyID',['../classgalaxy_1_1api_1_1GalaxyID.html',1,'GalaxyID'],['../classgalaxy_1_1api_1_1GalaxyID.html#a2e3ebd392d5e297c13930b8faf898a1f',1,'galaxy::api::GalaxyID::GalaxyID(void)'],['../classgalaxy_1_1api_1_1GalaxyID.html#ad59408c3065d045dba74ddae05e38b2e',1,'galaxy::api::GalaxyID::GalaxyID(uint64_t _value)'],['../classgalaxy_1_1api_1_1GalaxyID.html#ad6b4fcad45c426af8fee75a65fc17ada',1,'galaxy::api::GalaxyID::GalaxyID(const GalaxyID &galaxyID)']]], - ['galaxyid_2eh',['GalaxyID.h',['../GalaxyID_8h.html',1,'']]], - ['galaxymalloc',['galaxyMalloc',['../structgalaxy_1_1api_1_1GalaxyAllocator.html#a752fba92fb1fc16dcb26097dff9539d4',1,'galaxy::api::GalaxyAllocator::galaxyMalloc()'],['../group__api.html#ga75ffb9cb99a62cae423601071be95b4b',1,'galaxy::api::GalaxyMalloc()']]], - ['galaxyrealloc',['galaxyRealloc',['../structgalaxy_1_1api_1_1GalaxyAllocator.html#aacd5e4595cffe8c5ad6ec599a7015e3e',1,'galaxy::api::GalaxyAllocator::galaxyRealloc()'],['../group__api.html#ga243f15d68e0aad3b5311b5829e90f2eb',1,'galaxy::api::GalaxyRealloc()']]], - ['galaxythreadfactory',['galaxyThreadFactory',['../structgalaxy_1_1api_1_1InitOptions.html#aa8130027e13b1e6b9bd5047cde1612b1',1,'galaxy::api::InitOptions']]], - ['galaxytypeawarelistener',['GalaxyTypeAwareListener',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20access_5ftoken_5fchange_20_3e',['GalaxyTypeAwareListener< ACCESS_TOKEN_CHANGE >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20achievement_5fchange_20_3e',['GalaxyTypeAwareListener< ACHIEVEMENT_CHANGE >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20auth_20_3e',['GalaxyTypeAwareListener< AUTH >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20chat_5froom_5fmessage_5fsend_5flistener_20_3e',['GalaxyTypeAwareListener< CHAT_ROOM_MESSAGE_SEND_LISTENER >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20chat_5froom_5fmessages_5flistener_20_3e',['GalaxyTypeAwareListener< CHAT_ROOM_MESSAGES_LISTENER >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20chat_5froom_5fmessages_5fretrieve_5flistener_20_3e',['GalaxyTypeAwareListener< CHAT_ROOM_MESSAGES_RETRIEVE_LISTENER >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20chat_5froom_5fwith_5fuser_5fretrieve_5flistener_20_3e',['GalaxyTypeAwareListener< CHAT_ROOM_WITH_USER_RETRIEVE_LISTENER >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20custom_5fnetworking_5fconnection_5fclose_20_3e',['GalaxyTypeAwareListener< CUSTOM_NETWORKING_CONNECTION_CLOSE >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20custom_5fnetworking_5fconnection_5fdata_20_3e',['GalaxyTypeAwareListener< CUSTOM_NETWORKING_CONNECTION_DATA >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20custom_5fnetworking_5fconnection_5fopen_20_3e',['GalaxyTypeAwareListener< CUSTOM_NETWORKING_CONNECTION_OPEN >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20encrypted_5fapp_5fticket_5fretrieve_20_3e',['GalaxyTypeAwareListener< ENCRYPTED_APP_TICKET_RETRIEVE >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20file_5fshare_20_3e',['GalaxyTypeAwareListener< FILE_SHARE >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20friend_5fadd_5flistener_20_3e',['GalaxyTypeAwareListener< FRIEND_ADD_LISTENER >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20friend_5fdelete_5flistener_20_3e',['GalaxyTypeAwareListener< FRIEND_DELETE_LISTENER >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20friend_5finvitation_5flist_5fretrieve_5flistener_20_3e',['GalaxyTypeAwareListener< FRIEND_INVITATION_LIST_RETRIEVE_LISTENER >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20friend_5finvitation_5flistener_20_3e',['GalaxyTypeAwareListener< FRIEND_INVITATION_LISTENER >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20friend_5finvitation_5frespond_5fto_5flistener_20_3e',['GalaxyTypeAwareListener< FRIEND_INVITATION_RESPOND_TO_LISTENER >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20friend_5finvitation_5fsend_5flistener_20_3e',['GalaxyTypeAwareListener< FRIEND_INVITATION_SEND_LISTENER >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20friend_5flist_5fretrieve_20_3e',['GalaxyTypeAwareListener< FRIEND_LIST_RETRIEVE >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20game_5finvitation_5freceived_5flistener_20_3e',['GalaxyTypeAwareListener< GAME_INVITATION_RECEIVED_LISTENER >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20game_5fjoin_5frequested_5flistener_20_3e',['GalaxyTypeAwareListener< GAME_JOIN_REQUESTED_LISTENER >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20gog_5fservices_5fconnection_5fstate_5flistener_20_3e',['GalaxyTypeAwareListener< GOG_SERVICES_CONNECTION_STATE_LISTENER >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20invitation_5fsend_20_3e',['GalaxyTypeAwareListener< INVITATION_SEND >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20leaderboard_5fentries_5fretrieve_20_3e',['GalaxyTypeAwareListener< LEADERBOARD_ENTRIES_RETRIEVE >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20leaderboard_5fretrieve_20_3e',['GalaxyTypeAwareListener< LEADERBOARD_RETRIEVE >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20leaderboard_5fscore_5fupdate_5flistener_20_3e',['GalaxyTypeAwareListener< LEADERBOARD_SCORE_UPDATE_LISTENER >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20leaderboards_5fretrieve_20_3e',['GalaxyTypeAwareListener< LEADERBOARDS_RETRIEVE >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20lobby_5fcreated_20_3e',['GalaxyTypeAwareListener< LOBBY_CREATED >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20lobby_5fdata_20_3e',['GalaxyTypeAwareListener< LOBBY_DATA >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20lobby_5fdata_5fretrieve_20_3e',['GalaxyTypeAwareListener< LOBBY_DATA_RETRIEVE >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20lobby_5fdata_5fupdate_5flistener_20_3e',['GalaxyTypeAwareListener< LOBBY_DATA_UPDATE_LISTENER >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20lobby_5fentered_20_3e',['GalaxyTypeAwareListener< LOBBY_ENTERED >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20lobby_5fleft_20_3e',['GalaxyTypeAwareListener< LOBBY_LEFT >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20lobby_5flist_20_3e',['GalaxyTypeAwareListener< LOBBY_LIST >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20lobby_5fmember_5fdata_5fupdate_5flistener_20_3e',['GalaxyTypeAwareListener< LOBBY_MEMBER_DATA_UPDATE_LISTENER >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20lobby_5fmember_5fstate_20_3e',['GalaxyTypeAwareListener< LOBBY_MEMBER_STATE >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20lobby_5fmessage_20_3e',['GalaxyTypeAwareListener< LOBBY_MESSAGE >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20lobby_5fowner_5fchange_20_3e',['GalaxyTypeAwareListener< LOBBY_OWNER_CHANGE >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20nat_5ftype_5fdetection_20_3e',['GalaxyTypeAwareListener< NAT_TYPE_DETECTION >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20networking_20_3e',['GalaxyTypeAwareListener< NETWORKING >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20notification_5flistener_20_3e',['GalaxyTypeAwareListener< NOTIFICATION_LISTENER >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20operational_5fstate_5fchange_20_3e',['GalaxyTypeAwareListener< OPERATIONAL_STATE_CHANGE >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20other_5fsession_5fstart_20_3e',['GalaxyTypeAwareListener< OTHER_SESSION_START >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20overlay_5finitialization_5fstate_5fchange_20_3e',['GalaxyTypeAwareListener< OVERLAY_INITIALIZATION_STATE_CHANGE >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20overlay_5fvisibility_5fchange_20_3e',['GalaxyTypeAwareListener< OVERLAY_VISIBILITY_CHANGE >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20persona_5fdata_5fchanged_20_3e',['GalaxyTypeAwareListener< PERSONA_DATA_CHANGED >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20rich_5fpresence_5fchange_5flistener_20_3e',['GalaxyTypeAwareListener< RICH_PRESENCE_CHANGE_LISTENER >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20rich_5fpresence_5flistener_20_3e',['GalaxyTypeAwareListener< RICH_PRESENCE_LISTENER >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20rich_5fpresence_5fretrieve_5flistener_20_3e',['GalaxyTypeAwareListener< RICH_PRESENCE_RETRIEVE_LISTENER >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20sent_5ffriend_5finvitation_5flist_5fretrieve_5flistener_20_3e',['GalaxyTypeAwareListener< SENT_FRIEND_INVITATION_LIST_RETRIEVE_LISTENER >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20shared_5ffile_5fdownload_20_3e',['GalaxyTypeAwareListener< SHARED_FILE_DOWNLOAD >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20specific_5fuser_5fdata_20_3e',['GalaxyTypeAwareListener< SPECIFIC_USER_DATA >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20stats_5fand_5fachievements_5fstore_20_3e',['GalaxyTypeAwareListener< STATS_AND_ACHIEVEMENTS_STORE >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20telemetry_5fevent_5fsend_5flistener_20_3e',['GalaxyTypeAwareListener< TELEMETRY_EVENT_SEND_LISTENER >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20user_5fdata_20_3e',['GalaxyTypeAwareListener< USER_DATA >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20user_5ffind_5flistener_20_3e',['GalaxyTypeAwareListener< USER_FIND_LISTENER >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20user_5finformation_5fretrieve_5flistener_20_3e',['GalaxyTypeAwareListener< USER_INFORMATION_RETRIEVE_LISTENER >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20user_5fstats_5fand_5fachievements_5fretrieve_20_3e',['GalaxyTypeAwareListener< USER_STATS_AND_ACHIEVEMENTS_RETRIEVE >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20user_5ftime_5fplayed_5fretrieve_20_3e',['GalaxyTypeAwareListener< USER_TIME_PLAYED_RETRIEVE >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['game_5finvitation_5freceived_5flistener',['GAME_INVITATION_RECEIVED_LISTENER',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a5fffa6c24763d7583b9534afa24524fe',1,'galaxy::api']]], - ['game_5fjoin_5frequested_5flistener',['GAME_JOIN_REQUESTED_LISTENER',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325ac4207f87ebbafefd3f72814ada7a1f78',1,'galaxy::api']]], - ['gameserver',['GameServer',['../group__GameServer.html',1,'']]], - ['gameserverglobalaccesstokenlistener',['GameServerGlobalAccessTokenListener',['../group__api.html#ga01aaf9ef2650abfdd465535a669cc783',1,'galaxy::api']]], - ['gameserverglobalauthlistener',['GameServerGlobalAuthListener',['../group__api.html#gaf49ff046f73b164653f2f22fb3048472',1,'galaxy::api']]], - ['gameserverglobalencryptedappticketlistener',['GameServerGlobalEncryptedAppTicketListener',['../group__api.html#ga4b2e686d5a9fee3836dee6b8d182dfb0',1,'galaxy::api']]], - ['gameserverglobalgogservicesconnectionstatelistener',['GameServerGlobalGogServicesConnectionStateListener',['../group__api.html#ga157e0d815e8d562e3d999389cd49e657',1,'galaxy::api']]], - ['gameservergloballobbycreatedlistener',['GameServerGlobalLobbyCreatedListener',['../group__api.html#ga0f6bf49d1748a7791b5a87519fa7b7c8',1,'galaxy::api']]], - ['gameservergloballobbydatalistener',['GameServerGlobalLobbyDataListener',['../group__api.html#gaa7caf10d762cbd20ec9139adbfc3f3ab',1,'galaxy::api']]], - ['gameservergloballobbydataretrievelistener',['GameServerGlobalLobbyDataRetrieveListener',['../group__api.html#gaf42369e75e2b43cb3624d60cc48e57b0',1,'galaxy::api']]], - ['gameservergloballobbyenteredlistener',['GameServerGlobalLobbyEnteredListener',['../group__api.html#gadd05c4e9e647cd10e676b9b851fd4c75',1,'galaxy::api']]], - ['gameservergloballobbyleftlistener',['GameServerGlobalLobbyLeftListener',['../group__api.html#ga199d848a79dc8efd80c739a502e7d351',1,'galaxy::api']]], - ['gameservergloballobbymemberstatelistener',['GameServerGlobalLobbyMemberStateListener',['../group__api.html#ga1be8a6e7cb86254f908536bf08636763',1,'galaxy::api']]], - ['gameservergloballobbymessagelistener',['GameServerGlobalLobbyMessageListener',['../group__api.html#ga76f4c1bda68bbaf347d35d3c57847e7f',1,'galaxy::api']]], - ['gameserverglobalnattypedetectionlistener',['GameServerGlobalNatTypeDetectionListener',['../group__api.html#ga250338bd8feda7d9af166f0a09e65af7',1,'galaxy::api']]], - ['gameserverglobalnetworkinglistener',['GameServerGlobalNetworkingListener',['../group__api.html#ga273ad4080b9e5857779cd1be0a2d61e8',1,'galaxy::api']]], - ['gameserverglobaloperationalstatechangelistener',['GameServerGlobalOperationalStateChangeListener',['../group__api.html#ga08d028797c5fb53d3a1502e87435ee05',1,'galaxy::api']]], - ['gameserverglobalothersessionstartlistener',['GameServerGlobalOtherSessionStartListener',['../group__api.html#ga8b71e4a7ee79182fdae702378031449a',1,'galaxy::api']]], - ['gameserverglobalspecificuserdatalistener',['GameServerGlobalSpecificUserDataListener',['../group__api.html#gad751c2fa631b3d5a603394385f8242d6',1,'galaxy::api']]], - ['gameserverglobaltelemetryeventsendlistener',['GameServerGlobalTelemetryEventSendListener',['../group__api.html#ga7053fa90aae170eb1da2bc3c25aa22ff',1,'galaxy::api']]], - ['gameserverglobaluserdatalistener',['GameServerGlobalUserDataListener',['../group__api.html#ga72ea028bd25aa7f256121866792ceb8e',1,'galaxy::api']]], - ['gameserverlistenerregistrar',['GameServerListenerRegistrar',['../group__GameServer.html#ga3e6a00bad9497d9e055f1bf6aff01c37',1,'galaxy::api']]], - ['gameserverlogger',['GameServerLogger',['../group__GameServer.html#ga9393370179cb8f2e8561ba860c0d4022',1,'galaxy::api']]], - ['gameservermatchmaking',['GameServerMatchmaking',['../group__GameServer.html#ga2a3635741b0b2a84ee3e9b5c21a576dd',1,'galaxy::api']]], - ['gameservernetworking',['GameServerNetworking',['../group__GameServer.html#ga1abe6d85bc8550b6a9faa67ab8f46a25',1,'galaxy::api']]], - ['gameservertelemetry',['GameServerTelemetry',['../group__GameServer.html#ga5051973a07fdf16670a40f8ef50e20f7',1,'galaxy::api']]], - ['gameserveruser',['GameServerUser',['../group__GameServer.html#gad4c301b492cac512564dbc296054e384',1,'galaxy::api']]], - ['gameserverutils',['GameServerUtils',['../group__GameServer.html#ga537b6c1a62c749a3146f7ab8676393bc',1,'galaxy::api']]], - ['getaccesstoken',['GetAccessToken',['../classgalaxy_1_1api_1_1IUser.html#a5a70eb6629619bd94f3e9f6bc15af10f',1,'galaxy::api::IUser']]], - ['getaccesstokencopy',['GetAccessTokenCopy',['../classgalaxy_1_1api_1_1IUser.html#a994a33a3894d2ba53bb96236addde1a0',1,'galaxy::api::IUser']]], - ['getachievement',['GetAchievement',['../classgalaxy_1_1api_1_1IStats.html#a4c38e91a161d4097215cfa0f3167ed58',1,'galaxy::api::IStats']]], - ['getachievementdescription',['GetAchievementDescription',['../classgalaxy_1_1api_1_1IStats.html#a766ea6f3667b08da01de7fdb2e16a378',1,'galaxy::api::IStats']]], - ['getachievementdescriptioncopy',['GetAchievementDescriptionCopy',['../classgalaxy_1_1api_1_1IStats.html#a2d946793c6c51957e9f8183280809503',1,'galaxy::api::IStats']]], - ['getachievementdisplayname',['GetAchievementDisplayName',['../classgalaxy_1_1api_1_1IStats.html#afc6ab1ea447fefc02a4b3fd0b3f4a630',1,'galaxy::api::IStats']]], - ['getachievementdisplaynamecopy',['GetAchievementDisplayNameCopy',['../classgalaxy_1_1api_1_1IStats.html#af31e1040a95f89b70f87e84f3ca510fb',1,'galaxy::api::IStats']]], - ['getavailabledatasize',['GetAvailableDataSize',['../classgalaxy_1_1api_1_1ICustomNetworking.html#a09529b63903ad1234480a5877e8e95dd',1,'galaxy::api::ICustomNetworking']]], - ['getchatroommembercount',['GetChatRoomMemberCount',['../classgalaxy_1_1api_1_1IChat.html#a251ddea16a64be7461e6d5de78a4ad63',1,'galaxy::api::IChat']]], - ['getchatroommemberuseridbyindex',['GetChatRoomMemberUserIDByIndex',['../classgalaxy_1_1api_1_1IChat.html#a6a8716d44283234878d810d075b2bc09',1,'galaxy::api::IChat']]], - ['getchatroommessagebyindex',['GetChatRoomMessageByIndex',['../classgalaxy_1_1api_1_1IChat.html#ae8d32143755d50f5a0738287bce697f9',1,'galaxy::api::IChat']]], - ['getchatroomunreadmessagecount',['GetChatRoomUnreadMessageCount',['../classgalaxy_1_1api_1_1IChat.html#ae29c115c1f262e6386ee76c46371b94b',1,'galaxy::api::IChat']]], - ['getconnectiontype',['GetConnectionType',['../classgalaxy_1_1api_1_1INetworking.html#ac4786da1e56445c29cafe94c29b86185',1,'galaxy::api::INetworking']]], - ['getcurrentgamelanguage',['GetCurrentGameLanguage',['../classgalaxy_1_1api_1_1IApps.html#a3f9c65577ba3ce08f9addb81245fa305',1,'galaxy::api::IApps']]], - ['getcurrentgamelanguagecopy',['GetCurrentGameLanguageCopy',['../classgalaxy_1_1api_1_1IApps.html#a1e420c689ec662327f75ef71ad5916dd',1,'galaxy::api::IApps']]], - ['getdefaultavatarcriteria',['GetDefaultAvatarCriteria',['../classgalaxy_1_1api_1_1IFriends.html#a93b549c9c37936bb2cbb4118140f5659',1,'galaxy::api::IFriends']]], - ['getdownloadedsharedfilebyindex',['GetDownloadedSharedFileByIndex',['../classgalaxy_1_1api_1_1IStorage.html#a125d232851e082fefbb19320be248f27',1,'galaxy::api::IStorage']]], - ['getdownloadedsharedfilecount',['GetDownloadedSharedFileCount',['../classgalaxy_1_1api_1_1IStorage.html#ae8d18b49e528f976f733557c54a75ef2',1,'galaxy::api::IStorage']]], - ['getencryptedappticket',['GetEncryptedAppTicket',['../classgalaxy_1_1api_1_1IUser.html#a96af6792efc260e75daebedca2cf74c6',1,'galaxy::api::IUser']]], - ['geterror',['GetError',['../group__api.html#ga11169dd939f560d09704770a1ba4612b',1,'galaxy::api']]], - ['getfilecount',['GetFileCount',['../classgalaxy_1_1api_1_1IStorage.html#a17310a285edce9efbebb58d402380ef8',1,'galaxy::api::IStorage']]], - ['getfilenamebyindex',['GetFileNameByIndex',['../classgalaxy_1_1api_1_1IStorage.html#abac455600508afd15e56cbc3b9297c2d',1,'galaxy::api::IStorage']]], - ['getfilenamecopybyindex',['GetFileNameCopyByIndex',['../classgalaxy_1_1api_1_1IStorage.html#a4b16324889bc91da876d07c822e2506a',1,'galaxy::api::IStorage']]], - ['getfilesize',['GetFileSize',['../classgalaxy_1_1api_1_1IStorage.html#aaa5db00c6af8afc0b230bd237a3bdac3',1,'galaxy::api::IStorage']]], - ['getfiletimestamp',['GetFileTimestamp',['../classgalaxy_1_1api_1_1IStorage.html#a978cf0ad929a1b92456978ec2806c9d8',1,'galaxy::api::IStorage']]], - ['getfriendavatarimageid',['GetFriendAvatarImageID',['../classgalaxy_1_1api_1_1IFriends.html#afe0b4900cac6d973562d027a4fcaa33a',1,'galaxy::api::IFriends']]], - ['getfriendavatarimagergba',['GetFriendAvatarImageRGBA',['../classgalaxy_1_1api_1_1IFriends.html#a092e51d912ad94d9c9ef2617f61c82ec',1,'galaxy::api::IFriends']]], - ['getfriendavatarurl',['GetFriendAvatarUrl',['../classgalaxy_1_1api_1_1IFriends.html#a4fe15f4be55cf030e12018134a281591',1,'galaxy::api::IFriends']]], - ['getfriendavatarurlcopy',['GetFriendAvatarUrlCopy',['../classgalaxy_1_1api_1_1IFriends.html#aac64a5c1bc9789f18763d4a29eeb172f',1,'galaxy::api::IFriends']]], - ['getfriendbyindex',['GetFriendByIndex',['../classgalaxy_1_1api_1_1IFriends.html#a07746daaec828d1d9f1e67e4ff00a02d',1,'galaxy::api::IFriends']]], - ['getfriendcount',['GetFriendCount',['../classgalaxy_1_1api_1_1IFriends.html#a8c7db81fe693c4fb8ed9bf1420393cbb',1,'galaxy::api::IFriends']]], - ['getfriendinvitationbyindex',['GetFriendInvitationByIndex',['../classgalaxy_1_1api_1_1IFriends.html#a85682fcdbf3fecf223113e718aa604bf',1,'galaxy::api::IFriends']]], - ['getfriendinvitationcount',['GetFriendInvitationCount',['../classgalaxy_1_1api_1_1IFriends.html#af98fa5e1e14d1535e3a777fa85d5ed0e',1,'galaxy::api::IFriends']]], - ['getfriendpersonaname',['GetFriendPersonaName',['../classgalaxy_1_1api_1_1IFriends.html#aae6d3e6af5bde578b04379cf324b30c5',1,'galaxy::api::IFriends']]], - ['getfriendpersonanamecopy',['GetFriendPersonaNameCopy',['../classgalaxy_1_1api_1_1IFriends.html#a136fe72f661d2dff7e01708f53e3bed6',1,'galaxy::api::IFriends']]], - ['getfriendpersonastate',['GetFriendPersonaState',['../classgalaxy_1_1api_1_1IFriends.html#a880dc8d200130ff11f8705595980d91e',1,'galaxy::api::IFriends']]], - ['getgalaxyid',['GetGalaxyID',['../classgalaxy_1_1api_1_1IUser.html#a48e11f83dfeb2816e27ac1c8882aac85',1,'galaxy::api::IUser']]], - ['getgogservicesconnectionstate',['GetGogServicesConnectionState',['../classgalaxy_1_1api_1_1IUtils.html#a756d3ca55281edea8bed3a08c2f93b6b',1,'galaxy::api::IUtils']]], - ['getidtype',['GetIDType',['../classgalaxy_1_1api_1_1GalaxyID.html#a8d0a478ff0873b4ebf57313282dcb632',1,'galaxy::api::GalaxyID']]], - ['getimagergba',['GetImageRGBA',['../classgalaxy_1_1api_1_1IUtils.html#af5ecf98db9f6e17e643f72a6397477d0',1,'galaxy::api::IUtils']]], - ['getimagesize',['GetImageSize',['../classgalaxy_1_1api_1_1IUtils.html#a507c0bbed768ce1fe0a061a73cd9cf14',1,'galaxy::api::IUtils']]], - ['getleaderboarddisplayname',['GetLeaderboardDisplayName',['../classgalaxy_1_1api_1_1IStats.html#aeb8ad13b648b02f2ad6f8afd3658e40e',1,'galaxy::api::IStats']]], - ['getleaderboarddisplaynamecopy',['GetLeaderboardDisplayNameCopy',['../classgalaxy_1_1api_1_1IStats.html#af9b3abfcc55395e59e6695a3825e3dcd',1,'galaxy::api::IStats']]], - ['getleaderboarddisplaytype',['GetLeaderboardDisplayType',['../classgalaxy_1_1api_1_1IStats.html#a6e3db56a07e5c333b0bc011e1982cd15',1,'galaxy::api::IStats']]], - ['getleaderboardentrycount',['GetLeaderboardEntryCount',['../classgalaxy_1_1api_1_1IStats.html#a7824b3508a71c3dfa1727d5720430589',1,'galaxy::api::IStats']]], - ['getleaderboardsortmethod',['GetLeaderboardSortMethod',['../classgalaxy_1_1api_1_1IStats.html#a1ab3329a34f670415ac45dbea6bc5e1d',1,'galaxy::api::IStats']]], - ['getlistenertype',['GetListenerType',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html#aa9f47838e0408f2717d7a15f72228f44',1,'galaxy::api::GalaxyTypeAwareListener']]], - ['getlobbybyindex',['GetLobbyByIndex',['../classgalaxy_1_1api_1_1IMatchmaking.html#aec7feb30e61e3ad6b606b23649c56cc2',1,'galaxy::api::IMatchmaking']]], - ['getlobbydata',['GetLobbyData',['../classgalaxy_1_1api_1_1IMatchmaking.html#a9f5a411d64cf35ad1ed6c87d7f5b465b',1,'galaxy::api::IMatchmaking']]], - ['getlobbydatabyindex',['GetLobbyDataByIndex',['../classgalaxy_1_1api_1_1IMatchmaking.html#a81176ccf6d66aa5b2af62695e4abb3e4',1,'galaxy::api::IMatchmaking']]], - ['getlobbydatacopy',['GetLobbyDataCopy',['../classgalaxy_1_1api_1_1IMatchmaking.html#a11e88cacb3f95d38ff5622976ef2a5fa',1,'galaxy::api::IMatchmaking']]], - ['getlobbydatacount',['GetLobbyDataCount',['../classgalaxy_1_1api_1_1IMatchmaking.html#a80ab767663908892e6d442a079dcdff9',1,'galaxy::api::IMatchmaking']]], - ['getlobbymemberbyindex',['GetLobbyMemberByIndex',['../classgalaxy_1_1api_1_1IMatchmaking.html#a7d4cc75cea4a211d399f3bd37b870ccd',1,'galaxy::api::IMatchmaking']]], - ['getlobbymemberdata',['GetLobbyMemberData',['../classgalaxy_1_1api_1_1IMatchmaking.html#acfc05eaa67dd8dbd90d3ad78af014aa2',1,'galaxy::api::IMatchmaking']]], - ['getlobbymemberdatabyindex',['GetLobbyMemberDataByIndex',['../classgalaxy_1_1api_1_1IMatchmaking.html#acc583230e2b8352f4cffc2bc91d367b7',1,'galaxy::api::IMatchmaking']]], - ['getlobbymemberdatacopy',['GetLobbyMemberDataCopy',['../classgalaxy_1_1api_1_1IMatchmaking.html#aa2f5e017878bc9b65379832cbb578af5',1,'galaxy::api::IMatchmaking']]], - ['getlobbymemberdatacount',['GetLobbyMemberDataCount',['../classgalaxy_1_1api_1_1IMatchmaking.html#ae126e8b323d66e6433fa5424aab85e22',1,'galaxy::api::IMatchmaking']]], - ['getlobbymessage',['GetLobbyMessage',['../classgalaxy_1_1api_1_1IMatchmaking.html#a372290fa1405296bae96afe7476e1147',1,'galaxy::api::IMatchmaking']]], - ['getlobbyowner',['GetLobbyOwner',['../classgalaxy_1_1api_1_1IMatchmaking.html#ab70f27b6307243a8d3054cb39efc0789',1,'galaxy::api::IMatchmaking']]], - ['getlobbytype',['GetLobbyType',['../classgalaxy_1_1api_1_1IMatchmaking.html#a70af013e7dfa5b40d44520c6f9cd41d2',1,'galaxy::api::IMatchmaking']]], - ['getmaxnumlobbymembers',['GetMaxNumLobbyMembers',['../classgalaxy_1_1api_1_1IMatchmaking.html#a8007909a1e97a3f026546481f0e06c12',1,'galaxy::api::IMatchmaking']]], - ['getmsg',['GetMsg',['../classgalaxy_1_1api_1_1IError.html#aa7dbbdecb5dfabbd4cd1407ed3858632',1,'galaxy::api::IError']]], - ['getname',['GetName',['../classgalaxy_1_1api_1_1IError.html#afcc1c3a20bd2860e0ddd21674389246f',1,'galaxy::api::IError']]], - ['getnattype',['GetNatType',['../classgalaxy_1_1api_1_1INetworking.html#aec50077fbe5a927028a1bffcb8bca52a',1,'galaxy::api::INetworking']]], - ['getnotification',['GetNotification',['../classgalaxy_1_1api_1_1IUtils.html#a4cc9ae84c1488cce3ec55134a7eb3d2d',1,'galaxy::api::IUtils']]], - ['getnumlobbymembers',['GetNumLobbyMembers',['../classgalaxy_1_1api_1_1IMatchmaking.html#a3afa0810758ebfd189ad6c871d216b4d',1,'galaxy::api::IMatchmaking']]], - ['getoverlaystate',['GetOverlayState',['../classgalaxy_1_1api_1_1IUtils.html#ace3179674f31b02b4dcd704f59c3e466',1,'galaxy::api::IUtils']]], - ['getpersonaname',['GetPersonaName',['../classgalaxy_1_1api_1_1IFriends.html#a3341601932e0f6e14874bb9312c09c1a',1,'galaxy::api::IFriends']]], - ['getpersonanamecopy',['GetPersonaNameCopy',['../classgalaxy_1_1api_1_1IFriends.html#adfe6d1abdf9dabc36bc01714cbdf98b4',1,'galaxy::api::IFriends']]], - ['getpersonastate',['GetPersonaState',['../classgalaxy_1_1api_1_1IFriends.html#abc51e9c251c4428f1dc3eb403e066876',1,'galaxy::api::IFriends']]], - ['getpingwith',['GetPingWith',['../classgalaxy_1_1api_1_1INetworking.html#a8949164f11b2f956fd0e4e1f1f8d1eb5',1,'galaxy::api::INetworking']]], - ['getrealid',['GetRealID',['../classgalaxy_1_1api_1_1GalaxyID.html#a9d568c67c6f51516c99356b501aeeeee',1,'galaxy::api::GalaxyID']]], - ['getrequestedleaderboardentry',['GetRequestedLeaderboardEntry',['../classgalaxy_1_1api_1_1IStats.html#a2a83a60778dafd8375aa7c477d9f7bff',1,'galaxy::api::IStats']]], - ['getrequestedleaderboardentrywithdetails',['GetRequestedLeaderboardEntryWithDetails',['../classgalaxy_1_1api_1_1IStats.html#ab76b8431bd7f2ef75022a54ad704dbfd',1,'galaxy::api::IStats']]], - ['getrichpresence',['GetRichPresence',['../classgalaxy_1_1api_1_1IFriends.html#af7d644d840aaeff4eacef1ea74838433',1,'galaxy::api::IFriends']]], - ['getrichpresencebyindex',['GetRichPresenceByIndex',['../classgalaxy_1_1api_1_1IFriends.html#a714a0b7a4497cc3904a970d19a03e403',1,'galaxy::api::IFriends']]], - ['getrichpresencecopy',['GetRichPresenceCopy',['../classgalaxy_1_1api_1_1IFriends.html#a661d5d43361d708d1ed3e2e57c75315f',1,'galaxy::api::IFriends']]], - ['getrichpresencecount',['GetRichPresenceCount',['../classgalaxy_1_1api_1_1IFriends.html#acdb3c067632075d4ba00ab9276981e54',1,'galaxy::api::IFriends']]], - ['getsessionid',['GetSessionID',['../classgalaxy_1_1api_1_1IUser.html#a9ebe43b1574e7f45404d58da8c9161c5',1,'galaxy::api::IUser']]], - ['getsharedfilename',['GetSharedFileName',['../classgalaxy_1_1api_1_1IStorage.html#aa5c616ea1b64b7be860dc61d3d467dd3',1,'galaxy::api::IStorage']]], - ['getsharedfilenamecopy',['GetSharedFileNameCopy',['../classgalaxy_1_1api_1_1IStorage.html#aa42aa0a57227db892066c3e948c16e38',1,'galaxy::api::IStorage']]], - ['getsharedfileowner',['GetSharedFileOwner',['../classgalaxy_1_1api_1_1IStorage.html#a96afe47cd5ed635950f15f84b5cd51d3',1,'galaxy::api::IStorage']]], - ['getsharedfilesize',['GetSharedFileSize',['../classgalaxy_1_1api_1_1IStorage.html#af389717a0a383175e17b8821b6e38f44',1,'galaxy::api::IStorage']]], - ['getstatfloat',['GetStatFloat',['../classgalaxy_1_1api_1_1IStats.html#a4949fc4f78cf0292dca401f6411fab5b',1,'galaxy::api::IStats']]], - ['getstatint',['GetStatInt',['../classgalaxy_1_1api_1_1IStats.html#a5a40b3ae1cd2d0cb0b8cf1f54bb8b759',1,'galaxy::api::IStats']]], - ['gettype',['GetType',['../classgalaxy_1_1api_1_1IError.html#adbd91f48e98ad6dc6ca4c1e0d68cf3e6',1,'galaxy::api::IError']]], - ['getuserdata',['GetUserData',['../classgalaxy_1_1api_1_1IUser.html#aa060612e4b41c726b4fdc7fd6ed69766',1,'galaxy::api::IUser']]], - ['getuserdatabyindex',['GetUserDataByIndex',['../classgalaxy_1_1api_1_1IUser.html#a2478dbe71815b3b4ce0073b439a2ea1f',1,'galaxy::api::IUser']]], - ['getuserdatacopy',['GetUserDataCopy',['../classgalaxy_1_1api_1_1IUser.html#ae829eb09d78bd00ffd1b26be91a9dc27',1,'galaxy::api::IUser']]], - ['getuserdatacount',['GetUserDataCount',['../classgalaxy_1_1api_1_1IUser.html#ab3bf3cb7fa99d937ebbccbce7490eb09',1,'galaxy::api::IUser']]], - ['getusertimeplayed',['GetUserTimePlayed',['../classgalaxy_1_1api_1_1IStats.html#abffc15f858208b1c9272334823ead905',1,'galaxy::api::IStats']]], - ['getvisitid',['GetVisitID',['../classgalaxy_1_1api_1_1ITelemetry.html#a184d85edc455e7c6742e62e3279d35e3',1,'galaxy::api::ITelemetry']]], - ['getvisitidcopy',['GetVisitIDCopy',['../classgalaxy_1_1api_1_1ITelemetry.html#afce956301c516233bbe752f29a89c420',1,'galaxy::api::ITelemetry']]], - ['globalaccesstokenlistener',['GlobalAccessTokenListener',['../group__api.html#ga804f3e20630181e42c1b580d2f410142',1,'galaxy::api']]], - ['globalachievementchangelistener',['GlobalAchievementChangeListener',['../group__api.html#gaf98d38634b82abe976c60e73ff680aa4',1,'galaxy::api']]], - ['globalauthlistener',['GlobalAuthListener',['../group__api.html#ga6430b7cce9464716b54205500f0b4346',1,'galaxy::api']]], - ['globalchatroommessagesendlistener',['GlobalChatRoomMessageSendListener',['../group__api.html#ga1caa22fa58bf71920aa98b74c3d120b2',1,'galaxy::api']]], - ['globalchatroommessageslistener',['GlobalChatRoomMessagesListener',['../group__api.html#gab22757c7b50857f421db7d59be1ae210',1,'galaxy::api']]], - ['globalchatroommessagesretrievelistener',['GlobalChatRoomMessagesRetrieveListener',['../group__api.html#ga25b363fb856af48d0a3cbff918e46375',1,'galaxy::api']]], - ['globalchatroomwithuserretrievelistener',['GlobalChatRoomWithUserRetrieveListener',['../group__api.html#gaad3a25903efbfe5fc99d0057981f76fd',1,'galaxy::api']]], - ['globalconnectioncloselistener',['GlobalConnectionCloseListener',['../group__api.html#ga229f437bc05b09019dd5410bf3906c15',1,'galaxy::api']]], - ['globalconnectiondatalistener',['GlobalConnectionDataListener',['../group__api.html#ga6d91c24045928db57e5178b22f97f51c',1,'galaxy::api']]], - ['globalconnectionopenlistener',['GlobalConnectionOpenListener',['../group__api.html#ga6b3ac9dcf60c437a72f42083dd41c69d',1,'galaxy::api']]], - ['globalencryptedappticketlistener',['GlobalEncryptedAppTicketListener',['../group__api.html#gaa8de3ff05620ac2c86fdab97e98a8cac',1,'galaxy::api']]], - ['globalfilesharelistener',['GlobalFileShareListener',['../group__api.html#gaac61eec576910c28aa27ff52f75871af',1,'galaxy::api']]], - ['globalfriendaddlistener',['GlobalFriendAddListener',['../group__api.html#ga1d833290a4ae392fabc7b87ca6d49b7e',1,'galaxy::api']]], - ['globalfrienddeletelistener',['GlobalFriendDeleteListener',['../group__api.html#ga7718927f50b205a80397e521448d2a36',1,'galaxy::api']]], - ['globalfriendinvitationlistener',['GlobalFriendInvitationListener',['../group__api.html#ga89ff60f1104ad4f2157a6d85503899bd',1,'galaxy::api']]], - ['globalfriendinvitationlistretrievelistener',['GlobalFriendInvitationListRetrieveListener',['../group__api.html#ga3b2231cc3ab28023cfc5a9b382c3dc8b',1,'galaxy::api']]], - ['globalfriendinvitationrespondtolistener',['GlobalFriendInvitationRespondToListener',['../group__api.html#ga9d1949990154592b751ce7eac0f879cc',1,'galaxy::api']]], - ['globalfriendinvitationsendlistener',['GlobalFriendInvitationSendListener',['../group__api.html#ga7a0908d19dd99ad941762285d8203b23',1,'galaxy::api']]], - ['globalfriendlistlistener',['GlobalFriendListListener',['../group__api.html#ga3c47abf20e566dc0cd0b8bcbc3bc386d',1,'galaxy::api']]], - ['globalgameinvitationreceivedlistener',['GlobalGameInvitationReceivedListener',['../group__api.html#ga041cd7c0c92d31f5fc67e1154e2f8de7',1,'galaxy::api']]], - ['globalgamejoinrequestedlistener',['GlobalGameJoinRequestedListener',['../group__api.html#gadab0159681deec55f64fa6d1df5d543c',1,'galaxy::api']]], - ['globalgogservicesconnectionstatelistener',['GlobalGogServicesConnectionStateListener',['../group__api.html#gad92afb23db92d9bc7fc97750e72caeb3',1,'galaxy::api']]], - ['globalleaderboardentriesretrievelistener',['GlobalLeaderboardEntriesRetrieveListener',['../group__api.html#ga7938b00f2b55ed766eb74ffe312bbffc',1,'galaxy::api']]], - ['globalleaderboardretrievelistener',['GlobalLeaderboardRetrieveListener',['../group__api.html#ga69a3dd7dd052794687fe963bb170a718',1,'galaxy::api']]], - ['globalleaderboardscoreupdatelistener',['GlobalLeaderboardScoreUpdateListener',['../group__api.html#ga5cc3302c7fac6138177fb5c7f81698c1',1,'galaxy::api']]], - ['globalleaderboardsretrievelistener',['GlobalLeaderboardsRetrieveListener',['../group__api.html#ga4589cbd5c6f72cd32d8ca1be3727c40e',1,'galaxy::api']]], - ['globallobbycreatedlistener',['GlobalLobbyCreatedListener',['../group__api.html#ga4a51265e52d8427a7a76c51c1ebd9984',1,'galaxy::api']]], - ['globallobbydatalistener',['GlobalLobbyDataListener',['../group__api.html#ga7b73cba535d27e5565e8eef4cec81144',1,'galaxy::api']]], - ['globallobbydataretrievelistener',['GlobalLobbyDataRetrieveListener',['../group__api.html#gad58cbac5a60b30fd0545dafdbc56ea8a',1,'galaxy::api']]], - ['globallobbyenteredlistener',['GlobalLobbyEnteredListener',['../group__api.html#gabf2ad3c27e8349fa3662a935c7893f8c',1,'galaxy::api']]], - ['globallobbyleftlistener',['GlobalLobbyLeftListener',['../group__api.html#ga819326fece7e765b59e2b548c97bbe5f',1,'galaxy::api']]], - ['globallobbylistlistener',['GlobalLobbyListListener',['../group__api.html#ga9ee3592412bb8a71f5d710f936ca4621',1,'galaxy::api']]], - ['globallobbymemberstatelistener',['GlobalLobbyMemberStateListener',['../group__api.html#ga2d41f6b1f6dd12b3dc757db188c8db0a',1,'galaxy::api']]], - ['globallobbymessagelistener',['GlobalLobbyMessageListener',['../group__api.html#ga659c9fd389b34e22c3517ab892d435c3',1,'galaxy::api']]], - ['globallobbyownerchangelistener',['GlobalLobbyOwnerChangeListener',['../group__api.html#ga46b29610b1e1cf9ba11ae8567d117587',1,'galaxy::api']]], - ['globalnattypedetectionlistener',['GlobalNatTypeDetectionListener',['../group__api.html#ga3b22c934de78c8c169632470b4f23492',1,'galaxy::api']]], - ['globalnetworkinglistener',['GlobalNetworkingListener',['../group__api.html#ga5a806b459fd86ecf340e3f258e38fe18',1,'galaxy::api']]], - ['globalnotificationlistener',['GlobalNotificationListener',['../group__api.html#ga823b6a3df996506fbcd25d97e0f143bd',1,'galaxy::api']]], - ['globaloperationalstatechangelistener',['GlobalOperationalStateChangeListener',['../group__api.html#ga74c9ed60c6a4304258873b891a0a2936',1,'galaxy::api']]], - ['globalothersessionstartlistener',['GlobalOtherSessionStartListener',['../group__api.html#ga13be6be40f64ce7797afb935f2110804',1,'galaxy::api']]], - ['globaloverlayinitializationstatechangelistener',['GlobalOverlayInitializationStateChangeListener',['../group__api.html#gafaa46fe6610b3a7e54237fb340f11cb6',1,'galaxy::api']]], - ['globaloverlayvisibilitychangelistener',['GlobalOverlayVisibilityChangeListener',['../group__api.html#gad0cd8d98601fdb1205c416fbb7b2b31f',1,'galaxy::api']]], - ['globalpersonadatachangedlistener',['GlobalPersonaDataChangedListener',['../group__api.html#gad9c8e014e3ae811c6bd56b7c5b3704f6',1,'galaxy::api']]], - ['globalrichpresencechangelistener',['GlobalRichPresenceChangeListener',['../group__api.html#ga76d003ff80cd39b871a45886762ee2b0',1,'galaxy::api']]], - ['globalrichpresencelistener',['GlobalRichPresenceListener',['../group__api.html#gaed6410df8d42c1f0de2696e5726fb286',1,'galaxy::api']]], - ['globalrichpresenceretrievelistener',['GlobalRichPresenceRetrieveListener',['../group__api.html#gae3a957dca3c9de0984f77cb2cb82dbed',1,'galaxy::api']]], - ['globalsendinvitationlistener',['GlobalSendInvitationListener',['../group__api.html#ga1e06a9d38e42bdfd72b78b4f72460604',1,'galaxy::api']]], - ['globalsentfriendinvitationlistretrievelistener',['GlobalSentFriendInvitationListRetrieveListener',['../group__api.html#ga32fa1f7ffccbe5e990ce550040ddc96c',1,'galaxy::api']]], - ['globalsharedfiledownloadlistener',['GlobalSharedFileDownloadListener',['../group__api.html#ga50ce8adee98df4b6d72e1ff4b1a93b0d',1,'galaxy::api']]], - ['globalspecificuserdatalistener',['GlobalSpecificUserDataListener',['../group__api.html#ga31328bf0404b71ad2c2b0d2dd19a0b34',1,'galaxy::api']]], - ['globalstatsandachievementsstorelistener',['GlobalStatsAndAchievementsStoreListener',['../group__api.html#ga9b1ef7633d163287db3aa62ab78e3753',1,'galaxy::api']]], - ['globaltelemetryeventsendlistener',['GlobalTelemetryEventSendListener',['../group__api.html#ga8883450aaa7948285bd84a78aadea902',1,'galaxy::api']]], - ['globaluserdatalistener',['GlobalUserDataListener',['../group__api.html#ga3f4bbe02db1d395310b2ff6a5b4680df',1,'galaxy::api']]], - ['globaluserfindlistener',['GlobalUserFindListener',['../group__api.html#ga83310c5c4a6629c16919c694db327526',1,'galaxy::api']]], - ['globaluserinformationretrievelistener',['GlobalUserInformationRetrieveListener',['../group__api.html#ga3feb79b21f28d5d678f51c47c168adc6',1,'galaxy::api']]], - ['globaluserstatsandachievementsretrievelistener',['GlobalUserStatsAndAchievementsRetrieveListener',['../group__api.html#gac3cf027a203549ba1f6113fbb93c6c07',1,'galaxy::api']]], - ['globalusertimeplayedretrievelistener',['GlobalUserTimePlayedRetrieveListener',['../group__api.html#gae0423734fc66c07bccc6a200c7d9f650',1,'galaxy::api']]], - ['gog_5fservices_5fconnection_5fstate_5fauth_5flost',['GOG_SERVICES_CONNECTION_STATE_AUTH_LOST',['../group__api.html#gga1e44fb253de3879ddbfae2977049396eafa96e7887ac0c246bc641ab6fa8cd170',1,'galaxy::api']]], - ['gog_5fservices_5fconnection_5fstate_5fconnected',['GOG_SERVICES_CONNECTION_STATE_CONNECTED',['../group__api.html#gga1e44fb253de3879ddbfae2977049396ea262ea69c2235d138d2a0289d5b7221da',1,'galaxy::api']]], - ['gog_5fservices_5fconnection_5fstate_5fdisconnected',['GOG_SERVICES_CONNECTION_STATE_DISCONNECTED',['../group__api.html#gga1e44fb253de3879ddbfae2977049396ea10e527cfe5f8f40242fe2c8779e0fcd3',1,'galaxy::api']]], - ['gog_5fservices_5fconnection_5fstate_5flistener',['GOG_SERVICES_CONNECTION_STATE_LISTENER',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a7aeb4604c9a6dd5d0bf61dc8a43978f0',1,'galaxy::api']]], - ['gog_5fservices_5fconnection_5fstate_5fundefined',['GOG_SERVICES_CONNECTION_STATE_UNDEFINED',['../group__api.html#gga1e44fb253de3879ddbfae2977049396eaa7e2464ade2105871d4bf3377949b7a3',1,'galaxy::api']]], - ['gogservicesconnectionstate',['GogServicesConnectionState',['../group__api.html#ga1e44fb253de3879ddbfae2977049396e',1,'galaxy::api']]] -]; diff --git a/vendors/galaxy/Docs/search/all_7.html b/vendors/galaxy/Docs/search/all_7.html deleted file mode 100644 index 9cd0196e7..000000000 --- a/vendors/galaxy/Docs/search/all_7.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/all_7.js b/vendors/galaxy/Docs/search/all_7.js deleted file mode 100644 index d8232bf8a..000000000 --- a/vendors/galaxy/Docs/search/all_7.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['host',['host',['../structgalaxy_1_1api_1_1InitOptions.html#ae032e164f1daa754d6fbb79d59723931',1,'galaxy::api::InitOptions']]] -]; diff --git a/vendors/galaxy/Docs/search/all_8.html b/vendors/galaxy/Docs/search/all_8.html deleted file mode 100644 index 1e8fb9ceb..000000000 --- a/vendors/galaxy/Docs/search/all_8.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/all_8.js b/vendors/galaxy/Docs/search/all_8.js deleted file mode 100644 index 6be564262..000000000 --- a/vendors/galaxy/Docs/search/all_8.js +++ /dev/null @@ -1,120 +0,0 @@ -var searchData= -[ - ['iaccesstokenlistener',['IAccessTokenListener',['../classgalaxy_1_1api_1_1IAccessTokenListener.html',1,'galaxy::api']]], - ['iachievementchangelistener',['IAchievementChangeListener',['../classgalaxy_1_1api_1_1IAchievementChangeListener.html',1,'galaxy::api']]], - ['iapps',['IApps',['../classgalaxy_1_1api_1_1IApps.html',1,'galaxy::api']]], - ['iapps_2eh',['IApps.h',['../IApps_8h.html',1,'']]], - ['iauthlistener',['IAuthListener',['../classgalaxy_1_1api_1_1IAuthListener.html',1,'galaxy::api']]], - ['ichat',['IChat',['../classgalaxy_1_1api_1_1IChat.html',1,'galaxy::api']]], - ['ichat_2eh',['IChat.h',['../IChat_8h.html',1,'']]], - ['ichatroommessagesendlistener',['IChatRoomMessageSendListener',['../classgalaxy_1_1api_1_1IChatRoomMessageSendListener.html',1,'galaxy::api']]], - ['ichatroommessageslistener',['IChatRoomMessagesListener',['../classgalaxy_1_1api_1_1IChatRoomMessagesListener.html',1,'galaxy::api']]], - ['ichatroommessagesretrievelistener',['IChatRoomMessagesRetrieveListener',['../classgalaxy_1_1api_1_1IChatRoomMessagesRetrieveListener.html',1,'galaxy::api']]], - ['ichatroomwithuserretrievelistener',['IChatRoomWithUserRetrieveListener',['../classgalaxy_1_1api_1_1IChatRoomWithUserRetrieveListener.html',1,'galaxy::api']]], - ['iconnectioncloselistener',['IConnectionCloseListener',['../classgalaxy_1_1api_1_1IConnectionCloseListener.html',1,'galaxy::api']]], - ['iconnectiondatalistener',['IConnectionDataListener',['../classgalaxy_1_1api_1_1IConnectionDataListener.html',1,'galaxy::api']]], - ['iconnectionopenlistener',['IConnectionOpenListener',['../classgalaxy_1_1api_1_1IConnectionOpenListener.html',1,'galaxy::api']]], - ['icustomnetworking',['ICustomNetworking',['../classgalaxy_1_1api_1_1ICustomNetworking.html',1,'galaxy::api']]], - ['icustomnetworking_2eh',['ICustomNetworking.h',['../ICustomNetworking_8h.html',1,'']]], - ['idtype',['IDType',['../classgalaxy_1_1api_1_1GalaxyID.html#aa0a690a2c08f2c4e8568b767107275a2',1,'galaxy::api::GalaxyID']]], - ['iencryptedappticketlistener',['IEncryptedAppTicketListener',['../classgalaxy_1_1api_1_1IEncryptedAppTicketListener.html',1,'galaxy::api']]], - ['ierror',['IError',['../classgalaxy_1_1api_1_1IError.html',1,'galaxy::api']]], - ['ifilesharelistener',['IFileShareListener',['../classgalaxy_1_1api_1_1IFileShareListener.html',1,'galaxy::api']]], - ['ifriendaddlistener',['IFriendAddListener',['../classgalaxy_1_1api_1_1IFriendAddListener.html',1,'galaxy::api']]], - ['ifrienddeletelistener',['IFriendDeleteListener',['../classgalaxy_1_1api_1_1IFriendDeleteListener.html',1,'galaxy::api']]], - ['ifriendinvitationlistener',['IFriendInvitationListener',['../classgalaxy_1_1api_1_1IFriendInvitationListener.html',1,'galaxy::api']]], - ['ifriendinvitationlistretrievelistener',['IFriendInvitationListRetrieveListener',['../classgalaxy_1_1api_1_1IFriendInvitationListRetrieveListener.html',1,'galaxy::api']]], - ['ifriendinvitationrespondtolistener',['IFriendInvitationRespondToListener',['../classgalaxy_1_1api_1_1IFriendInvitationRespondToListener.html',1,'galaxy::api']]], - ['ifriendinvitationsendlistener',['IFriendInvitationSendListener',['../classgalaxy_1_1api_1_1IFriendInvitationSendListener.html',1,'galaxy::api']]], - ['ifriendlistlistener',['IFriendListListener',['../classgalaxy_1_1api_1_1IFriendListListener.html',1,'galaxy::api']]], - ['ifriends',['IFriends',['../classgalaxy_1_1api_1_1IFriends.html',1,'galaxy::api']]], - ['ifriends_2eh',['IFriends.h',['../IFriends_8h.html',1,'']]], - ['igalaxylistener',['IGalaxyListener',['../classgalaxy_1_1api_1_1IGalaxyListener.html',1,'galaxy::api']]], - ['igalaxythread',['IGalaxyThread',['../classgalaxy_1_1api_1_1IGalaxyThread.html',1,'galaxy::api']]], - ['igalaxythreadfactory',['IGalaxyThreadFactory',['../classgalaxy_1_1api_1_1IGalaxyThreadFactory.html',1,'galaxy::api']]], - ['igameinvitationreceivedlistener',['IGameInvitationReceivedListener',['../classgalaxy_1_1api_1_1IGameInvitationReceivedListener.html',1,'galaxy::api']]], - ['igamejoinrequestedlistener',['IGameJoinRequestedListener',['../classgalaxy_1_1api_1_1IGameJoinRequestedListener.html',1,'galaxy::api']]], - ['igogservicesconnectionstatelistener',['IGogServicesConnectionStateListener',['../classgalaxy_1_1api_1_1IGogServicesConnectionStateListener.html',1,'galaxy::api']]], - ['iinvalidargumenterror',['IInvalidArgumentError',['../classgalaxy_1_1api_1_1IInvalidArgumentError.html',1,'galaxy::api']]], - ['iinvalidstateerror',['IInvalidStateError',['../classgalaxy_1_1api_1_1IInvalidStateError.html',1,'galaxy::api']]], - ['ileaderboardentriesretrievelistener',['ILeaderboardEntriesRetrieveListener',['../classgalaxy_1_1api_1_1ILeaderboardEntriesRetrieveListener.html',1,'galaxy::api']]], - ['ileaderboardretrievelistener',['ILeaderboardRetrieveListener',['../classgalaxy_1_1api_1_1ILeaderboardRetrieveListener.html',1,'galaxy::api']]], - ['ileaderboardscoreupdatelistener',['ILeaderboardScoreUpdateListener',['../classgalaxy_1_1api_1_1ILeaderboardScoreUpdateListener.html',1,'galaxy::api']]], - ['ileaderboardsretrievelistener',['ILeaderboardsRetrieveListener',['../classgalaxy_1_1api_1_1ILeaderboardsRetrieveListener.html',1,'galaxy::api']]], - ['ilistenerregistrar',['IListenerRegistrar',['../classgalaxy_1_1api_1_1IListenerRegistrar.html',1,'galaxy::api']]], - ['ilistenerregistrar_2eh',['IListenerRegistrar.h',['../IListenerRegistrar_8h.html',1,'']]], - ['ilobbycreatedlistener',['ILobbyCreatedListener',['../classgalaxy_1_1api_1_1ILobbyCreatedListener.html',1,'galaxy::api']]], - ['ilobbydatalistener',['ILobbyDataListener',['../classgalaxy_1_1api_1_1ILobbyDataListener.html',1,'galaxy::api']]], - ['ilobbydataretrievelistener',['ILobbyDataRetrieveListener',['../classgalaxy_1_1api_1_1ILobbyDataRetrieveListener.html',1,'galaxy::api']]], - ['ilobbydataupdatelistener',['ILobbyDataUpdateListener',['../classgalaxy_1_1api_1_1ILobbyDataUpdateListener.html',1,'galaxy::api']]], - ['ilobbyenteredlistener',['ILobbyEnteredListener',['../classgalaxy_1_1api_1_1ILobbyEnteredListener.html',1,'galaxy::api']]], - ['ilobbyleftlistener',['ILobbyLeftListener',['../classgalaxy_1_1api_1_1ILobbyLeftListener.html',1,'galaxy::api']]], - ['ilobbylistlistener',['ILobbyListListener',['../classgalaxy_1_1api_1_1ILobbyListListener.html',1,'galaxy::api']]], - ['ilobbymemberdataupdatelistener',['ILobbyMemberDataUpdateListener',['../classgalaxy_1_1api_1_1ILobbyMemberDataUpdateListener.html',1,'galaxy::api']]], - ['ilobbymemberstatelistener',['ILobbyMemberStateListener',['../classgalaxy_1_1api_1_1ILobbyMemberStateListener.html',1,'galaxy::api']]], - ['ilobbymessagelistener',['ILobbyMessageListener',['../classgalaxy_1_1api_1_1ILobbyMessageListener.html',1,'galaxy::api']]], - ['ilobbyownerchangelistener',['ILobbyOwnerChangeListener',['../classgalaxy_1_1api_1_1ILobbyOwnerChangeListener.html',1,'galaxy::api']]], - ['ilogger',['ILogger',['../classgalaxy_1_1api_1_1ILogger.html',1,'galaxy::api']]], - ['ilogger_2eh',['ILogger.h',['../ILogger_8h.html',1,'']]], - ['imatchmaking',['IMatchmaking',['../classgalaxy_1_1api_1_1IMatchmaking.html',1,'galaxy::api']]], - ['imatchmaking_2eh',['IMatchmaking.h',['../IMatchmaking_8h.html',1,'']]], - ['inattypedetectionlistener',['INatTypeDetectionListener',['../classgalaxy_1_1api_1_1INatTypeDetectionListener.html',1,'galaxy::api']]], - ['introduction',['Introduction',['../index.html',1,'']]], - ['inetworking',['INetworking',['../classgalaxy_1_1api_1_1INetworking.html',1,'galaxy::api']]], - ['inetworking_2eh',['INetworking.h',['../INetworking_8h.html',1,'']]], - ['inetworkinglistener',['INetworkingListener',['../classgalaxy_1_1api_1_1INetworkingListener.html',1,'galaxy::api']]], - ['info',['Info',['../classgalaxy_1_1api_1_1ILogger.html#a48787fd7db790bcebfcb1f881a822229',1,'galaxy::api::ILogger']]], - ['init',['Init',['../group__Peer.html#ga7d13610789657b6aebe0ba0aa542196f',1,'galaxy::api']]], - ['initgameserver',['InitGameServer',['../group__GameServer.html#ga521fad9446956ce69e3d11ca4a7fbc0e',1,'galaxy::api']]], - ['initoptions',['InitOptions',['../structgalaxy_1_1api_1_1InitOptions.html',1,'InitOptions'],['../structgalaxy_1_1api_1_1InitOptions.html#a9eb94ef2ab0d1efc42863fccb60ec5f5',1,'galaxy::api::InitOptions::InitOptions()']]], - ['initoptions_2eh',['InitOptions.h',['../InitOptions_8h.html',1,'']]], - ['inotificationlistener',['INotificationListener',['../classgalaxy_1_1api_1_1INotificationListener.html',1,'galaxy::api']]], - ['invitation_5fdirection_5fincoming',['INVITATION_DIRECTION_INCOMING',['../classgalaxy_1_1api_1_1IFriendAddListener.html#a6987312242c9bc945fadf5d2022240c7a27cfeefdda57343cdbcbfca03c58cd91',1,'galaxy::api::IFriendAddListener']]], - ['invitation_5fdirection_5foutgoing',['INVITATION_DIRECTION_OUTGOING',['../classgalaxy_1_1api_1_1IFriendAddListener.html#a6987312242c9bc945fadf5d2022240c7a801280a11440b55d67618746c3c4038c',1,'galaxy::api::IFriendAddListener']]], - ['invitation_5fsend',['INVITATION_SEND',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325aad9c8117c9c6011003e6128d17a80083',1,'galaxy::api']]], - ['invitationdirection',['InvitationDirection',['../classgalaxy_1_1api_1_1IFriendAddListener.html#a6987312242c9bc945fadf5d2022240c7',1,'galaxy::api::IFriendAddListener']]], - ['ioperationalstatechangelistener',['IOperationalStateChangeListener',['../classgalaxy_1_1api_1_1IOperationalStateChangeListener.html',1,'galaxy::api']]], - ['iothersessionstartlistener',['IOtherSessionStartListener',['../classgalaxy_1_1api_1_1IOtherSessionStartListener.html',1,'galaxy::api']]], - ['ioverlayinitializationstatechangelistener',['IOverlayInitializationStateChangeListener',['../classgalaxy_1_1api_1_1IOverlayInitializationStateChangeListener.html',1,'galaxy::api']]], - ['ioverlayvisibilitychangelistener',['IOverlayVisibilityChangeListener',['../classgalaxy_1_1api_1_1IOverlayVisibilityChangeListener.html',1,'galaxy::api']]], - ['ipersonadatachangedlistener',['IPersonaDataChangedListener',['../classgalaxy_1_1api_1_1IPersonaDataChangedListener.html',1,'galaxy::api']]], - ['irichpresencechangelistener',['IRichPresenceChangeListener',['../classgalaxy_1_1api_1_1IRichPresenceChangeListener.html',1,'galaxy::api']]], - ['irichpresencelistener',['IRichPresenceListener',['../classgalaxy_1_1api_1_1IRichPresenceListener.html',1,'galaxy::api']]], - ['irichpresenceretrievelistener',['IRichPresenceRetrieveListener',['../classgalaxy_1_1api_1_1IRichPresenceRetrieveListener.html',1,'galaxy::api']]], - ['iruntimeerror',['IRuntimeError',['../classgalaxy_1_1api_1_1IRuntimeError.html',1,'galaxy::api']]], - ['isachievementvisible',['IsAchievementVisible',['../classgalaxy_1_1api_1_1IStats.html#aca68bad66bc4e7c9d87c9984dea052eb',1,'galaxy::api::IStats']]], - ['isachievementvisiblewhilelocked',['IsAchievementVisibleWhileLocked',['../classgalaxy_1_1api_1_1IStats.html#a23a4ce388c7a4d5f5801225081463019',1,'galaxy::api::IStats']]], - ['isdlcinstalled',['IsDlcInstalled',['../classgalaxy_1_1api_1_1IApps.html#a46fbdec6ec2e1b6d1a1625ba157d3aa2',1,'galaxy::api::IApps']]], - ['isendinvitationlistener',['ISendInvitationListener',['../classgalaxy_1_1api_1_1ISendInvitationListener.html',1,'galaxy::api']]], - ['isentfriendinvitationlistretrievelistener',['ISentFriendInvitationListRetrieveListener',['../classgalaxy_1_1api_1_1ISentFriendInvitationListRetrieveListener.html',1,'galaxy::api']]], - ['isfriend',['IsFriend',['../classgalaxy_1_1api_1_1IFriends.html#a559f639ae99def14b9ce220464806693',1,'galaxy::api::IFriends']]], - ['isfriendavatarimagergbaavailable',['IsFriendAvatarImageRGBAAvailable',['../classgalaxy_1_1api_1_1IFriends.html#aa448e4ca7b496850b24a6c7b430cd78b',1,'galaxy::api::IFriends']]], - ['isharedfiledownloadlistener',['ISharedFileDownloadListener',['../classgalaxy_1_1api_1_1ISharedFileDownloadListener.html',1,'galaxy::api']]], - ['islobbyjoinable',['IsLobbyJoinable',['../classgalaxy_1_1api_1_1IMatchmaking.html#a85ad3a098cc95e8e6adeef88712cdc77',1,'galaxy::api::IMatchmaking']]], - ['isloggedon',['IsLoggedOn',['../classgalaxy_1_1api_1_1IUser.html#a3e373012e77fd2baf915062d9e0c05b3',1,'galaxy::api::IUser']]], - ['isoverlayvisible',['IsOverlayVisible',['../classgalaxy_1_1api_1_1IUtils.html#a0cbd418520fe9b68d5cfd4decd02494f',1,'galaxy::api::IUtils']]], - ['isp2ppacketavailable',['IsP2PPacketAvailable',['../classgalaxy_1_1api_1_1INetworking.html#aebff94c689ad6ad987b24f430a456677',1,'galaxy::api::INetworking']]], - ['ispecificuserdatalistener',['ISpecificUserDataListener',['../classgalaxy_1_1api_1_1ISpecificUserDataListener.html',1,'galaxy::api']]], - ['istats',['IStats',['../classgalaxy_1_1api_1_1IStats.html',1,'galaxy::api']]], - ['istats_2eh',['IStats.h',['../IStats_8h.html',1,'']]], - ['istatsandachievementsstorelistener',['IStatsAndAchievementsStoreListener',['../classgalaxy_1_1api_1_1IStatsAndAchievementsStoreListener.html',1,'galaxy::api']]], - ['istorage',['IStorage',['../classgalaxy_1_1api_1_1IStorage.html',1,'galaxy::api']]], - ['istorage_2eh',['IStorage.h',['../IStorage_8h.html',1,'']]], - ['isuserdataavailable',['IsUserDataAvailable',['../classgalaxy_1_1api_1_1IUser.html#a6cc743c75fe68939408055c980f9cce0',1,'galaxy::api::IUser']]], - ['isuserinformationavailable',['IsUserInformationAvailable',['../classgalaxy_1_1api_1_1IFriends.html#a0fc2d00c82e5ea7d62b45508f9c66a82',1,'galaxy::api::IFriends']]], - ['isuserinthesamegame',['IsUserInTheSameGame',['../classgalaxy_1_1api_1_1IFriends.html#a71854226dc4df803e73710e9d4231b69',1,'galaxy::api::IFriends']]], - ['isvalid',['IsValid',['../classgalaxy_1_1api_1_1GalaxyID.html#ac532c4b500b1a85ea22217f2c65a70ed',1,'galaxy::api::GalaxyID']]], - ['itelemetry',['ITelemetry',['../classgalaxy_1_1api_1_1ITelemetry.html',1,'galaxy::api']]], - ['itelemetry_2eh',['ITelemetry.h',['../ITelemetry_8h.html',1,'']]], - ['itelemetryeventsendlistener',['ITelemetryEventSendListener',['../classgalaxy_1_1api_1_1ITelemetryEventSendListener.html',1,'galaxy::api']]], - ['iunauthorizedaccesserror',['IUnauthorizedAccessError',['../classgalaxy_1_1api_1_1IUnauthorizedAccessError.html',1,'galaxy::api']]], - ['iuser',['IUser',['../classgalaxy_1_1api_1_1IUser.html',1,'galaxy::api']]], - ['iuser_2eh',['IUser.h',['../IUser_8h.html',1,'']]], - ['iuserdatalistener',['IUserDataListener',['../classgalaxy_1_1api_1_1IUserDataListener.html',1,'galaxy::api']]], - ['iuserfindlistener',['IUserFindListener',['../classgalaxy_1_1api_1_1IUserFindListener.html',1,'galaxy::api']]], - ['iuserinformationretrievelistener',['IUserInformationRetrieveListener',['../classgalaxy_1_1api_1_1IUserInformationRetrieveListener.html',1,'galaxy::api']]], - ['iuserstatsandachievementsretrievelistener',['IUserStatsAndAchievementsRetrieveListener',['../classgalaxy_1_1api_1_1IUserStatsAndAchievementsRetrieveListener.html',1,'galaxy::api']]], - ['iusertimeplayedretrievelistener',['IUserTimePlayedRetrieveListener',['../classgalaxy_1_1api_1_1IUserTimePlayedRetrieveListener.html',1,'galaxy::api']]], - ['iutils',['IUtils',['../classgalaxy_1_1api_1_1IUtils.html',1,'galaxy::api']]], - ['iutils_2eh',['IUtils.h',['../IUtils_8h.html',1,'']]] -]; diff --git a/vendors/galaxy/Docs/search/all_9.html b/vendors/galaxy/Docs/search/all_9.html deleted file mode 100644 index 27df366b2..000000000 --- a/vendors/galaxy/Docs/search/all_9.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/all_9.js b/vendors/galaxy/Docs/search/all_9.js deleted file mode 100644 index f5bb0fa24..000000000 --- a/vendors/galaxy/Docs/search/all_9.js +++ /dev/null @@ -1,6 +0,0 @@ -var searchData= -[ - ['join',['Join',['../classgalaxy_1_1api_1_1IGalaxyThread.html#af91a5eba595a7f7a9742ea592066e255',1,'galaxy::api::IGalaxyThread']]], - ['joinable',['Joinable',['../classgalaxy_1_1api_1_1IGalaxyThread.html#aa3a0e8c6e6de907af75ff3f379f39245',1,'galaxy::api::IGalaxyThread']]], - ['joinlobby',['JoinLobby',['../classgalaxy_1_1api_1_1IMatchmaking.html#a809b3d5508a63bd183bcd72682ce7113',1,'galaxy::api::IMatchmaking']]] -]; diff --git a/vendors/galaxy/Docs/search/all_a.html b/vendors/galaxy/Docs/search/all_a.html deleted file mode 100644 index 63f9254d8..000000000 --- a/vendors/galaxy/Docs/search/all_a.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/all_a.js b/vendors/galaxy/Docs/search/all_a.js deleted file mode 100644 index f7cff5219..000000000 --- a/vendors/galaxy/Docs/search/all_a.js +++ /dev/null @@ -1,74 +0,0 @@ -var searchData= -[ - ['leaderboard_5fdisplay_5ftype_5fnone',['LEADERBOARD_DISPLAY_TYPE_NONE',['../group__api.html#ggab796d71880cf4101dbb210bf989ba9b8acf3e4c70e50968117fc9df97876e57fa',1,'galaxy::api']]], - ['leaderboard_5fdisplay_5ftype_5fnumber',['LEADERBOARD_DISPLAY_TYPE_NUMBER',['../group__api.html#ggab796d71880cf4101dbb210bf989ba9b8a411b8879f4ef91afb5307621a2a41efe',1,'galaxy::api']]], - ['leaderboard_5fdisplay_5ftype_5ftime_5fmilliseconds',['LEADERBOARD_DISPLAY_TYPE_TIME_MILLISECONDS',['../group__api.html#ggab796d71880cf4101dbb210bf989ba9b8adc0b1d18956e22e98935a8c341b24d78',1,'galaxy::api']]], - ['leaderboard_5fdisplay_5ftype_5ftime_5fseconds',['LEADERBOARD_DISPLAY_TYPE_TIME_SECONDS',['../group__api.html#ggab796d71880cf4101dbb210bf989ba9b8a6fde1620af398c1ad1de2c35d764aa6a',1,'galaxy::api']]], - ['leaderboard_5fentries_5fretrieve',['LEADERBOARD_ENTRIES_RETRIEVE',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a5d6bf6ca50e1a386b070149ea65b4481',1,'galaxy::api']]], - ['leaderboard_5fretrieve',['LEADERBOARD_RETRIEVE',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a983abedbfba5255913b547b11219c5be',1,'galaxy::api']]], - ['leaderboard_5fscore_5fupdate_5flistener',['LEADERBOARD_SCORE_UPDATE_LISTENER',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a00741befc273de8d805f72124cf992d2',1,'galaxy::api']]], - ['leaderboard_5fsort_5fmethod_5fascending',['LEADERBOARD_SORT_METHOD_ASCENDING',['../group__api.html#gga6f93e1660335ee7866cb354ab5f8cd90aa0d841ca8ac0568098b7955f7375b2b4',1,'galaxy::api']]], - ['leaderboard_5fsort_5fmethod_5fdescending',['LEADERBOARD_SORT_METHOD_DESCENDING',['../group__api.html#gga6f93e1660335ee7866cb354ab5f8cd90a8c28fa9480d452129a289a7c61115322',1,'galaxy::api']]], - ['leaderboard_5fsort_5fmethod_5fnone',['LEADERBOARD_SORT_METHOD_NONE',['../group__api.html#gga6f93e1660335ee7866cb354ab5f8cd90a3bc5085e90a842f574d928063e6c0d77',1,'galaxy::api']]], - ['leaderboarddisplaytype',['LeaderboardDisplayType',['../group__api.html#gab796d71880cf4101dbb210bf989ba9b8',1,'galaxy::api']]], - ['leaderboards_5fretrieve',['LEADERBOARDS_RETRIEVE',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325afefaa48dc75f328fe84a6e08b84c48a6',1,'galaxy::api']]], - ['leaderboardsortmethod',['LeaderboardSortMethod',['../group__api.html#ga6f93e1660335ee7866cb354ab5f8cd90',1,'galaxy::api']]], - ['leavelobby',['LeaveLobby',['../classgalaxy_1_1api_1_1IMatchmaking.html#a96dfce0b1e35fdc46f61eadaa9639f49',1,'galaxy::api::IMatchmaking']]], - ['listener_5ftype_5fbegin',['LISTENER_TYPE_BEGIN',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a2550722395b71677daa582a5b9c81475',1,'galaxy::api']]], - ['listener_5ftype_5fend',['LISTENER_TYPE_END',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a27c65d867aa81d580b8f6b6835e17ee6',1,'galaxy::api']]], - ['listenerregistrar',['ListenerRegistrar',['../group__Peer.html#ga1f7ee19b74d0fd9db6703b2c35df7bf5',1,'galaxy::api']]], - ['listenertype',['ListenerType',['../group__api.html#ga187ae2b146c2a18d18a60fbb66cb1325',1,'galaxy::api']]], - ['lobby_5fcomparison_5ftype_5fequal',['LOBBY_COMPARISON_TYPE_EQUAL',['../group__api.html#ggaaa1f784857e2accc0bb6e9ff04f6730da480f87abf8713dc5e0db8edc91a82b08',1,'galaxy::api']]], - ['lobby_5fcomparison_5ftype_5fgreater',['LOBBY_COMPARISON_TYPE_GREATER',['../group__api.html#ggaaa1f784857e2accc0bb6e9ff04f6730da150cfb626a3aac85a979ed2049878989',1,'galaxy::api']]], - ['lobby_5fcomparison_5ftype_5fgreater_5for_5fequal',['LOBBY_COMPARISON_TYPE_GREATER_OR_EQUAL',['../group__api.html#ggaaa1f784857e2accc0bb6e9ff04f6730daa3371a1534252ee455c86f1cd1cfe59a',1,'galaxy::api']]], - ['lobby_5fcomparison_5ftype_5flower',['LOBBY_COMPARISON_TYPE_LOWER',['../group__api.html#ggaaa1f784857e2accc0bb6e9ff04f6730da11916e40d4813a04f2209aef2b0eb8a7',1,'galaxy::api']]], - ['lobby_5fcomparison_5ftype_5flower_5for_5fequal',['LOBBY_COMPARISON_TYPE_LOWER_OR_EQUAL',['../group__api.html#ggaaa1f784857e2accc0bb6e9ff04f6730daa8ee60d541753ef47e3cd7fc4b0ab688',1,'galaxy::api']]], - ['lobby_5fcomparison_5ftype_5fnot_5fequal',['LOBBY_COMPARISON_TYPE_NOT_EQUAL',['../group__api.html#ggaaa1f784857e2accc0bb6e9ff04f6730dadf5dc535e169ab9a847b084577cd9d63',1,'galaxy::api']]], - ['lobby_5fcreate_5fresult_5fconnection_5ffailure',['LOBBY_CREATE_RESULT_CONNECTION_FAILURE',['../group__api.html#gga4dbcb3a90897b7a6f019fb313cef3c12a0a74f32f1d22ad6c632822737d5fee00',1,'galaxy::api']]], - ['lobby_5fcreate_5fresult_5ferror',['LOBBY_CREATE_RESULT_ERROR',['../group__api.html#gga4dbcb3a90897b7a6f019fb313cef3c12a2305d918f65d5a59636c3c6dd38c74ca',1,'galaxy::api']]], - ['lobby_5fcreate_5fresult_5fsuccess',['LOBBY_CREATE_RESULT_SUCCESS',['../group__api.html#gga4dbcb3a90897b7a6f019fb313cef3c12ae34b05b10da4c91b3c768ea284987bda',1,'galaxy::api']]], - ['lobby_5fcreated',['LOBBY_CREATED',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a72b400c0cb9db505acdf2d141bcb2e80',1,'galaxy::api']]], - ['lobby_5fdata',['LOBBY_DATA',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a753c6fa3b59b26d70414aba9627c4de3',1,'galaxy::api']]], - ['lobby_5fdata_5fretrieve',['LOBBY_DATA_RETRIEVE',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a1cc0ee94dc2d746b9561dbd2c7d38cb3',1,'galaxy::api']]], - ['lobby_5fenter_5fresult_5fconnection_5ffailure',['LOBBY_ENTER_RESULT_CONNECTION_FAILURE',['../group__api.html#gga9a697cb4c70ba145451e372d7b064336a4b12fe91734c91f8b9ce7af7968fc3d4',1,'galaxy::api']]], - ['lobby_5fenter_5fresult_5ferror',['LOBBY_ENTER_RESULT_ERROR',['../group__api.html#gga9a697cb4c70ba145451e372d7b064336af4eab26f860d54c0de9271a144dcd900',1,'galaxy::api']]], - ['lobby_5fenter_5fresult_5flobby_5fdoes_5fnot_5fexist',['LOBBY_ENTER_RESULT_LOBBY_DOES_NOT_EXIST',['../group__api.html#gga9a697cb4c70ba145451e372d7b064336a185be0fbec90a6d7d1ce4fb4be63ef89',1,'galaxy::api']]], - ['lobby_5fenter_5fresult_5flobby_5fis_5ffull',['LOBBY_ENTER_RESULT_LOBBY_IS_FULL',['../group__api.html#gga9a697cb4c70ba145451e372d7b064336a98a29aa953dfbb0b716da9243c20f44f',1,'galaxy::api']]], - ['lobby_5fenter_5fresult_5fsuccess',['LOBBY_ENTER_RESULT_SUCCESS',['../group__api.html#gga9a697cb4c70ba145451e372d7b064336a76b563ecea3fd53da962dd4616190b65',1,'galaxy::api']]], - ['lobby_5fentered',['LOBBY_ENTERED',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a4a2114245474500da2ab887ddf173c9a',1,'galaxy::api']]], - ['lobby_5fleave_5freason_5fconnection_5flost',['LOBBY_LEAVE_REASON_CONNECTION_LOST',['../classgalaxy_1_1api_1_1ILobbyLeftListener.html#a47f45bc710b2a54713190fe298784ad2a4a16b2972e1ab9c0ff5056e1fdc54db2',1,'galaxy::api::ILobbyLeftListener']]], - ['lobby_5fleave_5freason_5flobby_5fclosed',['LOBBY_LEAVE_REASON_LOBBY_CLOSED',['../classgalaxy_1_1api_1_1ILobbyLeftListener.html#a47f45bc710b2a54713190fe298784ad2ae4bc91d153942bdfe568aae8379c0747',1,'galaxy::api::ILobbyLeftListener']]], - ['lobby_5fleave_5freason_5fundefined',['LOBBY_LEAVE_REASON_UNDEFINED',['../classgalaxy_1_1api_1_1ILobbyLeftListener.html#a47f45bc710b2a54713190fe298784ad2a6070b2697b7c0e6f2646ca763b256513',1,'galaxy::api::ILobbyLeftListener']]], - ['lobby_5fleave_5freason_5fuser_5fleft',['LOBBY_LEAVE_REASON_USER_LEFT',['../classgalaxy_1_1api_1_1ILobbyLeftListener.html#a47f45bc710b2a54713190fe298784ad2adb3c59b9e3d120fa6aba361e8d67d1c1',1,'galaxy::api::ILobbyLeftListener']]], - ['lobby_5fleft',['LOBBY_LEFT',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a27105c2e9a00c8d321918ebe8ce1c166',1,'galaxy::api']]], - ['lobby_5flist',['LOBBY_LIST',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a961649662a019865d4dd71363a4281dc',1,'galaxy::api']]], - ['lobby_5flist_5fresult_5fconnection_5ffailure',['LOBBY_LIST_RESULT_CONNECTION_FAILURE',['../group__api.html#ggab9f7574c7dfd404052e64a6a275dcdc8a9909d1df224ecb0b3c759301fb547121',1,'galaxy::api']]], - ['lobby_5flist_5fresult_5ferror',['LOBBY_LIST_RESULT_ERROR',['../group__api.html#ggab9f7574c7dfd404052e64a6a275dcdc8ae306c3d06307c00594cac179340388c6',1,'galaxy::api']]], - ['lobby_5flist_5fresult_5fsuccess',['LOBBY_LIST_RESULT_SUCCESS',['../group__api.html#ggab9f7574c7dfd404052e64a6a275dcdc8ae6fbd40817254a84ce3311ceb0ccf9a5',1,'galaxy::api']]], - ['lobby_5fmember_5fdata_5fupdate_5flistener',['LOBBY_MEMBER_DATA_UPDATE_LISTENER',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325ad6aa2cb0b9595bf4ccabbf5cd737ac9b',1,'galaxy::api']]], - ['lobby_5fmember_5fstate',['LOBBY_MEMBER_STATE',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325aa53647cf33f944bbe7f8055b34c7d4f0',1,'galaxy::api']]], - ['lobby_5fmember_5fstate_5fchanged_5fbanned',['LOBBY_MEMBER_STATE_CHANGED_BANNED',['../group__api.html#gga8c5f2e74526169399ff2edcfd2d386dfa465cf5af6a4c53c3d6df74e7613996d5',1,'galaxy::api']]], - ['lobby_5fmember_5fstate_5fchanged_5fdisconnected',['LOBBY_MEMBER_STATE_CHANGED_DISCONNECTED',['../group__api.html#gga8c5f2e74526169399ff2edcfd2d386dfa0780ded5ee628fcb6a05420844fca0d0',1,'galaxy::api']]], - ['lobby_5fmember_5fstate_5fchanged_5fentered',['LOBBY_MEMBER_STATE_CHANGED_ENTERED',['../group__api.html#gga8c5f2e74526169399ff2edcfd2d386dfad3bd316a9abdfef0fab174bcabea6736',1,'galaxy::api']]], - ['lobby_5fmember_5fstate_5fchanged_5fkicked',['LOBBY_MEMBER_STATE_CHANGED_KICKED',['../group__api.html#gga8c5f2e74526169399ff2edcfd2d386dfa0e2f95876ec6b48e87c69c9724eb31ea',1,'galaxy::api']]], - ['lobby_5fmember_5fstate_5fchanged_5fleft',['LOBBY_MEMBER_STATE_CHANGED_LEFT',['../group__api.html#gga8c5f2e74526169399ff2edcfd2d386dfa1e1a5fc4eea4d7b53d3386e6ff9fb8a7',1,'galaxy::api']]], - ['lobby_5fmessage',['LOBBY_MESSAGE',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a7facde2105ca77872d8e8fe396066cee',1,'galaxy::api']]], - ['lobby_5fowner_5fchange',['LOBBY_OWNER_CHANGE',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a925a790bff1b18803f5bed2b92736842',1,'galaxy::api']]], - ['lobby_5ftopology_5ftype_5fconnectionless',['LOBBY_TOPOLOGY_TYPE_CONNECTIONLESS',['../group__api.html#gga966760a0bc04579410315346c09f5297a97062606a19ce304cb08b37dd1fb230c',1,'galaxy::api']]], - ['lobby_5ftopology_5ftype_5ffcm',['LOBBY_TOPOLOGY_TYPE_FCM',['../group__api.html#gga966760a0bc04579410315346c09f5297aec97c7470d63b1411fc44d804d86e5ad',1,'galaxy::api']]], - ['lobby_5ftopology_5ftype_5ffcm_5fownership_5ftransition',['LOBBY_TOPOLOGY_TYPE_FCM_OWNERSHIP_TRANSITION',['../group__api.html#gga966760a0bc04579410315346c09f5297a4e7ccb46c6f6fbf4155a3e8af28640cc',1,'galaxy::api']]], - ['lobby_5ftopology_5ftype_5fstar',['LOBBY_TOPOLOGY_TYPE_STAR',['../group__api.html#gga966760a0bc04579410315346c09f5297a744cb713d95b58f8720a2cfd4a11054a',1,'galaxy::api']]], - ['lobby_5ftype_5ffriends_5fonly',['LOBBY_TYPE_FRIENDS_ONLY',['../group__api.html#gga311c1e3b455f317f13d825bb5d775705a37a763eba2d28b1cc1fbaaa601c30d1b',1,'galaxy::api']]], - ['lobby_5ftype_5finvisible_5fto_5ffriends',['LOBBY_TYPE_INVISIBLE_TO_FRIENDS',['../group__api.html#gga311c1e3b455f317f13d825bb5d775705a4f8f12169bc568a74d268f8edba1acdd',1,'galaxy::api']]], - ['lobby_5ftype_5fprivate',['LOBBY_TYPE_PRIVATE',['../group__api.html#gga311c1e3b455f317f13d825bb5d775705ad1a563a0cc0384bbe5c57f4681ef1c19',1,'galaxy::api']]], - ['lobby_5ftype_5fpublic',['LOBBY_TYPE_PUBLIC',['../group__api.html#gga311c1e3b455f317f13d825bb5d775705a62ed4def75b04f5d9bec9ddff877d2b6',1,'galaxy::api']]], - ['lobbycomparisontype',['LobbyComparisonType',['../group__api.html#gaaa1f784857e2accc0bb6e9ff04f6730d',1,'galaxy::api']]], - ['lobbycreateresult',['LobbyCreateResult',['../group__api.html#ga4dbcb3a90897b7a6f019fb313cef3c12',1,'galaxy::api']]], - ['lobbyenterresult',['LobbyEnterResult',['../group__api.html#ga9a697cb4c70ba145451e372d7b064336',1,'galaxy::api']]], - ['lobbyleavereason',['LobbyLeaveReason',['../classgalaxy_1_1api_1_1ILobbyLeftListener.html#a47f45bc710b2a54713190fe298784ad2',1,'galaxy::api::ILobbyLeftListener']]], - ['lobbylistresult',['LobbyListResult',['../group__api.html#gab9f7574c7dfd404052e64a6a275dcdc8',1,'galaxy::api']]], - ['lobbymemberstatechange',['LobbyMemberStateChange',['../group__api.html#ga8c5f2e74526169399ff2edcfd2d386df',1,'galaxy::api']]], - ['lobbytopologytype',['LobbyTopologyType',['../group__api.html#ga966760a0bc04579410315346c09f5297',1,'galaxy::api']]], - ['lobbytype',['LobbyType',['../group__api.html#ga311c1e3b455f317f13d825bb5d775705',1,'galaxy::api']]], - ['logger',['Logger',['../group__Peer.html#gaa1c9d39dfa5f8635983a7a2448cb0c39',1,'galaxy::api']]] -]; diff --git a/vendors/galaxy/Docs/search/all_b.html b/vendors/galaxy/Docs/search/all_b.html deleted file mode 100644 index 44ae3e475..000000000 --- a/vendors/galaxy/Docs/search/all_b.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/all_b.js b/vendors/galaxy/Docs/search/all_b.js deleted file mode 100644 index 1c3787118..000000000 --- a/vendors/galaxy/Docs/search/all_b.js +++ /dev/null @@ -1,5 +0,0 @@ -var searchData= -[ - ['markchatroomasread',['MarkChatRoomAsRead',['../classgalaxy_1_1api_1_1IChat.html#a1b8ef66f124412d9fef6e8c4b1ee86c3',1,'galaxy::api::IChat']]], - ['matchmaking',['Matchmaking',['../group__Peer.html#ga4d96db1436295a3104a435b3afd4eeb8',1,'galaxy::api']]] -]; diff --git a/vendors/galaxy/Docs/search/all_c.html b/vendors/galaxy/Docs/search/all_c.html deleted file mode 100644 index 3de15867d..000000000 --- a/vendors/galaxy/Docs/search/all_c.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/all_c.js b/vendors/galaxy/Docs/search/all_c.js deleted file mode 100644 index 1d6655c55..000000000 --- a/vendors/galaxy/Docs/search/all_c.js +++ /dev/null @@ -1,14 +0,0 @@ -var searchData= -[ - ['nat_5ftype_5faddress_5frestricted',['NAT_TYPE_ADDRESS_RESTRICTED',['../group__api.html#gga73736c0f7526e31ef6a35dcc0ebd34cea47df308fc95edc5df5c3a6c600d56487',1,'galaxy::api']]], - ['nat_5ftype_5fdetection',['NAT_TYPE_DETECTION',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a614fb2383e33ca93e4e368295ae865f2',1,'galaxy::api']]], - ['nat_5ftype_5ffull_5fcone',['NAT_TYPE_FULL_CONE',['../group__api.html#gga73736c0f7526e31ef6a35dcc0ebd34ceabc4ec3321c82e31fbaaee67fa02ea47a',1,'galaxy::api']]], - ['nat_5ftype_5fnone',['NAT_TYPE_NONE',['../group__api.html#gga73736c0f7526e31ef6a35dcc0ebd34ceaa9e1944a7565512e00f6fa448a495508',1,'galaxy::api']]], - ['nat_5ftype_5fport_5frestricted',['NAT_TYPE_PORT_RESTRICTED',['../group__api.html#gga73736c0f7526e31ef6a35dcc0ebd34cea1d64ea9bbd365fc005390552d6f7d851',1,'galaxy::api']]], - ['nat_5ftype_5fsymmetric',['NAT_TYPE_SYMMETRIC',['../group__api.html#gga73736c0f7526e31ef6a35dcc0ebd34cea21fb563e9e76b1098f809c927b3bb80b',1,'galaxy::api']]], - ['nat_5ftype_5funknown',['NAT_TYPE_UNKNOWN',['../group__api.html#gga73736c0f7526e31ef6a35dcc0ebd34ceae0916dd80e1a9d76db5979c5700ebaeb',1,'galaxy::api']]], - ['nattype',['NatType',['../group__api.html#ga73736c0f7526e31ef6a35dcc0ebd34ce',1,'galaxy::api']]], - ['networking',['Networking',['../group__Peer.html#ga269daf0c541ae9d76f6a27f293804677',1,'galaxy::api::Networking()'],['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a649576b72b8563d824386a69916c2563',1,'galaxy::api::NETWORKING()']]], - ['notification_5flistener',['NOTIFICATION_LISTENER',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325acf5bdce9fa3fee58610918c7e9bbd3a8',1,'galaxy::api']]], - ['notificationid',['NotificationID',['../group__api.html#gab06789e8ae20a20699a59585801d5861',1,'galaxy::api']]] -]; diff --git a/vendors/galaxy/Docs/search/all_d.html b/vendors/galaxy/Docs/search/all_d.html deleted file mode 100644 index a2d5bd7ed..000000000 --- a/vendors/galaxy/Docs/search/all_d.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/all_d.js b/vendors/galaxy/Docs/search/all_d.js deleted file mode 100644 index e2c4144ab..000000000 --- a/vendors/galaxy/Docs/search/all_d.js +++ /dev/null @@ -1,112 +0,0 @@ -var searchData= -[ - ['onaccesstokenchanged',['OnAccessTokenChanged',['../classgalaxy_1_1api_1_1IAccessTokenListener.html#a258ebfd3ebadc9d18d13a737bfb1331c',1,'galaxy::api::IAccessTokenListener']]], - ['onachievementunlocked',['OnAchievementUnlocked',['../classgalaxy_1_1api_1_1IAchievementChangeListener.html#a0c2290aab40bc3d2306ce41d813e89f3',1,'galaxy::api::IAchievementChangeListener']]], - ['onauthfailure',['OnAuthFailure',['../classgalaxy_1_1api_1_1IAuthListener.html#ae6242dab20e1267e8bb4c5b4d9570300',1,'galaxy::api::IAuthListener']]], - ['onauthlost',['OnAuthLost',['../classgalaxy_1_1api_1_1IAuthListener.html#a1597f5b07b7e050f0cb7f62a2dae8840',1,'galaxy::api::IAuthListener']]], - ['onauthsuccess',['OnAuthSuccess',['../classgalaxy_1_1api_1_1IAuthListener.html#aa824226d05ff7e738df8e8bef62dbf69',1,'galaxy::api::IAuthListener']]], - ['onchatroommessagesendfailure',['OnChatRoomMessageSendFailure',['../classgalaxy_1_1api_1_1IChatRoomMessageSendListener.html#aa15ca54f88deb44ef1f9a49b9f248fef',1,'galaxy::api::IChatRoomMessageSendListener']]], - ['onchatroommessagesendsuccess',['OnChatRoomMessageSendSuccess',['../classgalaxy_1_1api_1_1IChatRoomMessageSendListener.html#a36c02be9c4ab7ad034ffaec9a5b0aa2d',1,'galaxy::api::IChatRoomMessageSendListener']]], - ['onchatroommessagesreceived',['OnChatRoomMessagesReceived',['../classgalaxy_1_1api_1_1IChatRoomMessagesListener.html#ab440a4f2f41c573c8debdf71de088c2a',1,'galaxy::api::IChatRoomMessagesListener']]], - ['onchatroommessagesretrievefailure',['OnChatRoomMessagesRetrieveFailure',['../classgalaxy_1_1api_1_1IChatRoomMessagesRetrieveListener.html#aefab5e0dcefd17a05adf8fe7a169895d',1,'galaxy::api::IChatRoomMessagesRetrieveListener']]], - ['onchatroommessagesretrievesuccess',['OnChatRoomMessagesRetrieveSuccess',['../classgalaxy_1_1api_1_1IChatRoomMessagesRetrieveListener.html#af640da6293b7d509ae0539db4c7aa95a',1,'galaxy::api::IChatRoomMessagesRetrieveListener']]], - ['onchatroomwithuserretrievefailure',['OnChatRoomWithUserRetrieveFailure',['../classgalaxy_1_1api_1_1IChatRoomWithUserRetrieveListener.html#a7f114d18a0c6b5a27a5b649218a3f36f',1,'galaxy::api::IChatRoomWithUserRetrieveListener']]], - ['onchatroomwithuserretrievesuccess',['OnChatRoomWithUserRetrieveSuccess',['../classgalaxy_1_1api_1_1IChatRoomWithUserRetrieveListener.html#a1a3812efce6f7e1edf0bcd2193be5f75',1,'galaxy::api::IChatRoomWithUserRetrieveListener']]], - ['onconnectionclosed',['OnConnectionClosed',['../classgalaxy_1_1api_1_1IConnectionCloseListener.html#ac2bc29b679a80d734971b77b8219aa5c',1,'galaxy::api::IConnectionCloseListener']]], - ['onconnectiondatareceived',['OnConnectionDataReceived',['../classgalaxy_1_1api_1_1IConnectionDataListener.html#a03f05f225fd487bd7d4c5c10264ea34d',1,'galaxy::api::IConnectionDataListener']]], - ['onconnectionopenfailure',['OnConnectionOpenFailure',['../classgalaxy_1_1api_1_1IConnectionOpenListener.html#a9e154ee98e393e5fe2c4739716d5f3e6',1,'galaxy::api::IConnectionOpenListener']]], - ['onconnectionopensuccess',['OnConnectionOpenSuccess',['../classgalaxy_1_1api_1_1IConnectionOpenListener.html#afe1cff9894d6fa491cbc100b3bdab922',1,'galaxy::api::IConnectionOpenListener']]], - ['onconnectionstatechange',['OnConnectionStateChange',['../classgalaxy_1_1api_1_1IGogServicesConnectionStateListener.html#a0a20d3b673832ba33903454988a4aca6',1,'galaxy::api::IGogServicesConnectionStateListener']]], - ['onencryptedappticketretrievefailure',['OnEncryptedAppTicketRetrieveFailure',['../classgalaxy_1_1api_1_1IEncryptedAppTicketListener.html#a65b3470fbeeeb0853458a0536743c020',1,'galaxy::api::IEncryptedAppTicketListener']]], - ['onencryptedappticketretrievesuccess',['OnEncryptedAppTicketRetrieveSuccess',['../classgalaxy_1_1api_1_1IEncryptedAppTicketListener.html#ae5ad1ca3940e9df9ebc21e25799aa084',1,'galaxy::api::IEncryptedAppTicketListener']]], - ['onfilesharefailure',['OnFileShareFailure',['../classgalaxy_1_1api_1_1IFileShareListener.html#ae68d17965f0db712dff94593c576ec9a',1,'galaxy::api::IFileShareListener']]], - ['onfilesharesuccess',['OnFileShareSuccess',['../classgalaxy_1_1api_1_1IFileShareListener.html#a585daa98f29e962d1d5bf0a4c4bd703e',1,'galaxy::api::IFileShareListener']]], - ['onfriendadded',['OnFriendAdded',['../classgalaxy_1_1api_1_1IFriendAddListener.html#a47269a1024a80623d82da55e0671fa7c',1,'galaxy::api::IFriendAddListener']]], - ['onfrienddeletefailure',['OnFriendDeleteFailure',['../classgalaxy_1_1api_1_1IFriendDeleteListener.html#a108fcc5e38fdf6945deaebbbc3798b49',1,'galaxy::api::IFriendDeleteListener']]], - ['onfrienddeletesuccess',['OnFriendDeleteSuccess',['../classgalaxy_1_1api_1_1IFriendDeleteListener.html#aab24fda85971eed336a55f76c303bad8',1,'galaxy::api::IFriendDeleteListener']]], - ['onfriendinvitationlistretrievefailure',['OnFriendInvitationListRetrieveFailure',['../classgalaxy_1_1api_1_1IFriendInvitationListRetrieveListener.html#a6fe6a31ce22c07e8b676725eccce0cb6',1,'galaxy::api::IFriendInvitationListRetrieveListener']]], - ['onfriendinvitationlistretrievesuccess',['OnFriendInvitationListRetrieveSuccess',['../classgalaxy_1_1api_1_1IFriendInvitationListRetrieveListener.html#a4e0794a45d176a2ad3d650a06015d410',1,'galaxy::api::IFriendInvitationListRetrieveListener']]], - ['onfriendinvitationreceived',['OnFriendInvitationReceived',['../classgalaxy_1_1api_1_1IFriendInvitationListener.html#aaf8be938710a65ccb816602aeadc082e',1,'galaxy::api::IFriendInvitationListener']]], - ['onfriendinvitationrespondtofailure',['OnFriendInvitationRespondToFailure',['../classgalaxy_1_1api_1_1IFriendInvitationRespondToListener.html#a7665287c51fd5638dae67df42a1d6bcc',1,'galaxy::api::IFriendInvitationRespondToListener']]], - ['onfriendinvitationrespondtosuccess',['OnFriendInvitationRespondToSuccess',['../classgalaxy_1_1api_1_1IFriendInvitationRespondToListener.html#acad7057a5310ccf0547dccbf1ac9fdd9',1,'galaxy::api::IFriendInvitationRespondToListener']]], - ['onfriendinvitationsendfailure',['OnFriendInvitationSendFailure',['../classgalaxy_1_1api_1_1IFriendInvitationSendListener.html#a672651b7eeaa004bfb8545ce17ff329d',1,'galaxy::api::IFriendInvitationSendListener']]], - ['onfriendinvitationsendsuccess',['OnFriendInvitationSendSuccess',['../classgalaxy_1_1api_1_1IFriendInvitationSendListener.html#ad7226c49931d0db1aea6e8c6797bc78c',1,'galaxy::api::IFriendInvitationSendListener']]], - ['onfriendlistretrievefailure',['OnFriendListRetrieveFailure',['../classgalaxy_1_1api_1_1IFriendListListener.html#a9cbe96cfeea72a677589b645b4431b17',1,'galaxy::api::IFriendListListener']]], - ['onfriendlistretrievesuccess',['OnFriendListRetrieveSuccess',['../classgalaxy_1_1api_1_1IFriendListListener.html#a8b9472f2304e62a9b419c779e8e6a2f6',1,'galaxy::api::IFriendListListener']]], - ['ongameinvitationreceived',['OnGameInvitationReceived',['../classgalaxy_1_1api_1_1IGameInvitationReceivedListener.html#a673c42fb998da553ec8397bd230a809a',1,'galaxy::api::IGameInvitationReceivedListener']]], - ['ongamejoinrequested',['OnGameJoinRequested',['../classgalaxy_1_1api_1_1IGameJoinRequestedListener.html#a78819865eeb26db1e3d53d53f78c5cf3',1,'galaxy::api::IGameJoinRequestedListener']]], - ['oninvitationsendfailure',['OnInvitationSendFailure',['../classgalaxy_1_1api_1_1ISendInvitationListener.html#a81583609c907c7fd1a341ad56c852fe5',1,'galaxy::api::ISendInvitationListener']]], - ['oninvitationsendsuccess',['OnInvitationSendSuccess',['../classgalaxy_1_1api_1_1ISendInvitationListener.html#ab4497ece9b9aba93c62aee0adf770215',1,'galaxy::api::ISendInvitationListener']]], - ['onleaderboardentriesretrievefailure',['OnLeaderboardEntriesRetrieveFailure',['../classgalaxy_1_1api_1_1ILeaderboardEntriesRetrieveListener.html#aa69003540d3702d8d93016b76df931f2',1,'galaxy::api::ILeaderboardEntriesRetrieveListener']]], - ['onleaderboardentriesretrievesuccess',['OnLeaderboardEntriesRetrieveSuccess',['../classgalaxy_1_1api_1_1ILeaderboardEntriesRetrieveListener.html#ac31bd6c12ee1c2b2ea4b7a38c8ebd593',1,'galaxy::api::ILeaderboardEntriesRetrieveListener']]], - ['onleaderboardretrievefailure',['OnLeaderboardRetrieveFailure',['../classgalaxy_1_1api_1_1ILeaderboardRetrieveListener.html#af7fa4c2ef5d3b9d1b77718a05e9cbdda',1,'galaxy::api::ILeaderboardRetrieveListener']]], - ['onleaderboardretrievesuccess',['OnLeaderboardRetrieveSuccess',['../classgalaxy_1_1api_1_1ILeaderboardRetrieveListener.html#a565a53daee664b5104c29cbb37a3f1b8',1,'galaxy::api::ILeaderboardRetrieveListener']]], - ['onleaderboardscoreupdatefailure',['OnLeaderboardScoreUpdateFailure',['../classgalaxy_1_1api_1_1ILeaderboardScoreUpdateListener.html#adeb4ae48a27254492eb93b9319bc5cb7',1,'galaxy::api::ILeaderboardScoreUpdateListener']]], - ['onleaderboardscoreupdatesuccess',['OnLeaderboardScoreUpdateSuccess',['../classgalaxy_1_1api_1_1ILeaderboardScoreUpdateListener.html#aa1f80d6a174a445c2ae14e1cd5a01214',1,'galaxy::api::ILeaderboardScoreUpdateListener']]], - ['onleaderboardsretrievefailure',['OnLeaderboardsRetrieveFailure',['../classgalaxy_1_1api_1_1ILeaderboardsRetrieveListener.html#a38cc600b366e5f0ae784167ab3eccb03',1,'galaxy::api::ILeaderboardsRetrieveListener']]], - ['onleaderboardsretrievesuccess',['OnLeaderboardsRetrieveSuccess',['../classgalaxy_1_1api_1_1ILeaderboardsRetrieveListener.html#a9527b6016861117afe441116221c4668',1,'galaxy::api::ILeaderboardsRetrieveListener']]], - ['onlobbycreated',['OnLobbyCreated',['../classgalaxy_1_1api_1_1ILobbyCreatedListener.html#a47fc589a8aeded491c5e7afcf9641d1f',1,'galaxy::api::ILobbyCreatedListener']]], - ['onlobbydataretrievefailure',['OnLobbyDataRetrieveFailure',['../classgalaxy_1_1api_1_1ILobbyDataRetrieveListener.html#af8d58a649d3b6f61e2e4cb0644c849a4',1,'galaxy::api::ILobbyDataRetrieveListener']]], - ['onlobbydataretrievesuccess',['OnLobbyDataRetrieveSuccess',['../classgalaxy_1_1api_1_1ILobbyDataRetrieveListener.html#af7e26db1c50ccf070b2378a5b78cda7c',1,'galaxy::api::ILobbyDataRetrieveListener']]], - ['onlobbydataupdated',['OnLobbyDataUpdated',['../classgalaxy_1_1api_1_1ILobbyDataListener.html#a1dc57c5cd1fca408a3752cd0c2bbbebc',1,'galaxy::api::ILobbyDataListener']]], - ['onlobbydataupdatefailure',['OnLobbyDataUpdateFailure',['../classgalaxy_1_1api_1_1ILobbyDataUpdateListener.html#a149a668522af870cb1ed061e848ca209',1,'galaxy::api::ILobbyDataUpdateListener']]], - ['onlobbydataupdatesuccess',['OnLobbyDataUpdateSuccess',['../classgalaxy_1_1api_1_1ILobbyDataUpdateListener.html#a29f949881d51c39627d2063ce03647a1',1,'galaxy::api::ILobbyDataUpdateListener']]], - ['onlobbyentered',['OnLobbyEntered',['../classgalaxy_1_1api_1_1ILobbyEnteredListener.html#a6031d49f0d56094761deac38ca7a8460',1,'galaxy::api::ILobbyEnteredListener']]], - ['onlobbyleft',['OnLobbyLeft',['../classgalaxy_1_1api_1_1ILobbyLeftListener.html#a9bad9ee60861636ee6e710f44910d450',1,'galaxy::api::ILobbyLeftListener']]], - ['onlobbylist',['OnLobbyList',['../classgalaxy_1_1api_1_1ILobbyListListener.html#a95e2555359b52d867ca6e2338cbcafcf',1,'galaxy::api::ILobbyListListener']]], - ['onlobbymemberdataupdatefailure',['OnLobbyMemberDataUpdateFailure',['../classgalaxy_1_1api_1_1ILobbyMemberDataUpdateListener.html#ae0cb87451b2602ed7a41ecceb308df96',1,'galaxy::api::ILobbyMemberDataUpdateListener']]], - ['onlobbymemberdataupdatesuccess',['OnLobbyMemberDataUpdateSuccess',['../classgalaxy_1_1api_1_1ILobbyMemberDataUpdateListener.html#abdf4b48e9f7c421f8ae044cf07338d23',1,'galaxy::api::ILobbyMemberDataUpdateListener']]], - ['onlobbymemberstatechanged',['OnLobbyMemberStateChanged',['../classgalaxy_1_1api_1_1ILobbyMemberStateListener.html#a6800dd47f89e3c03e230bd31fa87023e',1,'galaxy::api::ILobbyMemberStateListener']]], - ['onlobbymessagereceived',['OnLobbyMessageReceived',['../classgalaxy_1_1api_1_1ILobbyMessageListener.html#aa31d9ad7d79a3ab5e0b9b18cdb16976a',1,'galaxy::api::ILobbyMessageListener']]], - ['onlobbyownerchanged',['OnLobbyOwnerChanged',['../classgalaxy_1_1api_1_1ILobbyOwnerChangeListener.html#a7a9300e96fb1276b47c486181abedec8',1,'galaxy::api::ILobbyOwnerChangeListener']]], - ['onnattypedetectionfailure',['OnNatTypeDetectionFailure',['../classgalaxy_1_1api_1_1INatTypeDetectionListener.html#af40081fd5f73a291b0ff0f83037f1de8',1,'galaxy::api::INatTypeDetectionListener']]], - ['onnattypedetectionsuccess',['OnNatTypeDetectionSuccess',['../classgalaxy_1_1api_1_1INatTypeDetectionListener.html#abc8873bccaa5e9aaa69295fca4821efc',1,'galaxy::api::INatTypeDetectionListener']]], - ['onnotificationreceived',['OnNotificationReceived',['../classgalaxy_1_1api_1_1INotificationListener.html#a4983ed497c6db643f26854c14d318ab8',1,'galaxy::api::INotificationListener']]], - ['onoperationalstatechanged',['OnOperationalStateChanged',['../classgalaxy_1_1api_1_1IOperationalStateChangeListener.html#a7de944d408b2386e77a7081638caef96',1,'galaxy::api::IOperationalStateChangeListener']]], - ['onothersessionstarted',['OnOtherSessionStarted',['../classgalaxy_1_1api_1_1IOtherSessionStartListener.html#ac52e188f08e67d25609ef61f2d3d10c7',1,'galaxy::api::IOtherSessionStartListener']]], - ['onoverlaystatechanged',['OnOverlayStateChanged',['../classgalaxy_1_1api_1_1IOverlayInitializationStateChangeListener.html#af55f5b8e0b10dde7869226c0fbd63b35',1,'galaxy::api::IOverlayInitializationStateChangeListener']]], - ['onoverlayvisibilitychanged',['OnOverlayVisibilityChanged',['../classgalaxy_1_1api_1_1IOverlayVisibilityChangeListener.html#a139110a3ff4c92f1d63cac39b433d504',1,'galaxy::api::IOverlayVisibilityChangeListener']]], - ['onp2ppacketavailable',['OnP2PPacketAvailable',['../classgalaxy_1_1api_1_1INetworkingListener.html#afa7df957063fe159e005566be01b0886',1,'galaxy::api::INetworkingListener']]], - ['onpersonadatachanged',['OnPersonaDataChanged',['../classgalaxy_1_1api_1_1IPersonaDataChangedListener.html#a3d13d371bbedd3f600590c187a13ea28',1,'galaxy::api::IPersonaDataChangedListener']]], - ['onrichpresencechangefailure',['OnRichPresenceChangeFailure',['../classgalaxy_1_1api_1_1IRichPresenceChangeListener.html#a2467a872892d3a50dd00347d1f30bc7b',1,'galaxy::api::IRichPresenceChangeListener']]], - ['onrichpresencechangesuccess',['OnRichPresenceChangeSuccess',['../classgalaxy_1_1api_1_1IRichPresenceChangeListener.html#aa3636f8d79edd9e32e388b1ef6402005',1,'galaxy::api::IRichPresenceChangeListener']]], - ['onrichpresenceretrievefailure',['OnRichPresenceRetrieveFailure',['../classgalaxy_1_1api_1_1IRichPresenceRetrieveListener.html#a6fe9f78c1cb04a87327791203143304b',1,'galaxy::api::IRichPresenceRetrieveListener']]], - ['onrichpresenceretrievesuccess',['OnRichPresenceRetrieveSuccess',['../classgalaxy_1_1api_1_1IRichPresenceRetrieveListener.html#ac494c03a72aa7ef80392ed30104caa11',1,'galaxy::api::IRichPresenceRetrieveListener']]], - ['onrichpresenceupdated',['OnRichPresenceUpdated',['../classgalaxy_1_1api_1_1IRichPresenceListener.html#aa9874ac50140dbb608026b72172ac31c',1,'galaxy::api::IRichPresenceListener']]], - ['onsentfriendinvitationlistretrievefailure',['OnSentFriendInvitationListRetrieveFailure',['../classgalaxy_1_1api_1_1ISentFriendInvitationListRetrieveListener.html#a35d5c1f02fd7cfae43cdae41554e2f74',1,'galaxy::api::ISentFriendInvitationListRetrieveListener']]], - ['onsentfriendinvitationlistretrievesuccess',['OnSentFriendInvitationListRetrieveSuccess',['../classgalaxy_1_1api_1_1ISentFriendInvitationListRetrieveListener.html#aa6ba4aaafe84d611b1f43068f815f491',1,'galaxy::api::ISentFriendInvitationListRetrieveListener']]], - ['onsharedfiledownloadfailure',['OnSharedFileDownloadFailure',['../classgalaxy_1_1api_1_1ISharedFileDownloadListener.html#a9308c8f0719c03ee3025aed3f51ede4d',1,'galaxy::api::ISharedFileDownloadListener']]], - ['onsharedfiledownloadsuccess',['OnSharedFileDownloadSuccess',['../classgalaxy_1_1api_1_1ISharedFileDownloadListener.html#a6ab1bf95a27bb9437f2eb3daff36f98d',1,'galaxy::api::ISharedFileDownloadListener']]], - ['onspecificuserdataupdated',['OnSpecificUserDataUpdated',['../classgalaxy_1_1api_1_1ISpecificUserDataListener.html#a79a7b06373b8ffc7f55ab2d7d1a4391a',1,'galaxy::api::ISpecificUserDataListener']]], - ['ontelemetryeventsendfailure',['OnTelemetryEventSendFailure',['../classgalaxy_1_1api_1_1ITelemetryEventSendListener.html#a80164ea4f31e6591804882fff7309ce7',1,'galaxy::api::ITelemetryEventSendListener']]], - ['ontelemetryeventsendsuccess',['OnTelemetryEventSendSuccess',['../classgalaxy_1_1api_1_1ITelemetryEventSendListener.html#a2458f75178736f5720312a0a8177bdb8',1,'galaxy::api::ITelemetryEventSendListener']]], - ['onuserdataupdated',['OnUserDataUpdated',['../classgalaxy_1_1api_1_1IUserDataListener.html#a9fd33f7239422f3603de82dace2a3d10',1,'galaxy::api::IUserDataListener']]], - ['onuserfindfailure',['OnUserFindFailure',['../classgalaxy_1_1api_1_1IUserFindListener.html#a7a0b27d51b23a712dcb55963e5b294e9',1,'galaxy::api::IUserFindListener']]], - ['onuserfindsuccess',['OnUserFindSuccess',['../classgalaxy_1_1api_1_1IUserFindListener.html#ab37abd921a121ffdea4b8c53e020fc91',1,'galaxy::api::IUserFindListener']]], - ['onuserinformationretrievefailure',['OnUserInformationRetrieveFailure',['../classgalaxy_1_1api_1_1IUserInformationRetrieveListener.html#a0164a19a563d9a87d714cff106530dff',1,'galaxy::api::IUserInformationRetrieveListener']]], - ['onuserinformationretrievesuccess',['OnUserInformationRetrieveSuccess',['../classgalaxy_1_1api_1_1IUserInformationRetrieveListener.html#a90e616a4dd50befabe6681a707af3854',1,'galaxy::api::IUserInformationRetrieveListener']]], - ['onuserstatsandachievementsretrievefailure',['OnUserStatsAndAchievementsRetrieveFailure',['../classgalaxy_1_1api_1_1IUserStatsAndAchievementsRetrieveListener.html#a39b89de2cb647c042d3e146e4886e0d7',1,'galaxy::api::IUserStatsAndAchievementsRetrieveListener']]], - ['onuserstatsandachievementsretrievesuccess',['OnUserStatsAndAchievementsRetrieveSuccess',['../classgalaxy_1_1api_1_1IUserStatsAndAchievementsRetrieveListener.html#a7971fc05ee5ca58b53ed691be56ffae0',1,'galaxy::api::IUserStatsAndAchievementsRetrieveListener']]], - ['onuserstatsandachievementsstorefailure',['OnUserStatsAndAchievementsStoreFailure',['../classgalaxy_1_1api_1_1IStatsAndAchievementsStoreListener.html#a24285d1f5582f92213e68ad3ac97f061',1,'galaxy::api::IStatsAndAchievementsStoreListener']]], - ['onuserstatsandachievementsstoresuccess',['OnUserStatsAndAchievementsStoreSuccess',['../classgalaxy_1_1api_1_1IStatsAndAchievementsStoreListener.html#a63c77ca57cee4a6f564158ec1c03f7f1',1,'galaxy::api::IStatsAndAchievementsStoreListener']]], - ['onusertimeplayedretrievefailure',['OnUserTimePlayedRetrieveFailure',['../classgalaxy_1_1api_1_1IUserTimePlayedRetrieveListener.html#a946872ff0706541dfc2a70a498f87f48',1,'galaxy::api::IUserTimePlayedRetrieveListener']]], - ['onusertimeplayedretrievesuccess',['OnUserTimePlayedRetrieveSuccess',['../classgalaxy_1_1api_1_1IUserTimePlayedRetrieveListener.html#a78acf90057c9434615627a869f6a002a',1,'galaxy::api::IUserTimePlayedRetrieveListener']]], - ['openconnection',['OpenConnection',['../classgalaxy_1_1api_1_1ICustomNetworking.html#a85c8f3169a7be9507154f325c3564b1e',1,'galaxy::api::ICustomNetworking']]], - ['operational_5fstate_5fchange',['OPERATIONAL_STATE_CHANGE',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325aca0df0259978a48310bd08d22cb144ce',1,'galaxy::api']]], - ['operational_5fstate_5flogged_5fon',['OPERATIONAL_STATE_LOGGED_ON',['../classgalaxy_1_1api_1_1IOperationalStateChangeListener.html#ae5205e56c5331a5b85e3dd2a5f14e0faa18d05370294c6b322124488caa892ac1',1,'galaxy::api::IOperationalStateChangeListener']]], - ['operational_5fstate_5fsigned_5fin',['OPERATIONAL_STATE_SIGNED_IN',['../classgalaxy_1_1api_1_1IOperationalStateChangeListener.html#ae5205e56c5331a5b85e3dd2a5f14e0faa94463a70f6647a95037fb5a34c21df55',1,'galaxy::api::IOperationalStateChangeListener']]], - ['operationalstate',['OperationalState',['../classgalaxy_1_1api_1_1IOperationalStateChangeListener.html#ae5205e56c5331a5b85e3dd2a5f14e0fa',1,'galaxy::api::IOperationalStateChangeListener']]], - ['operator_21_3d',['operator!=',['../classgalaxy_1_1api_1_1GalaxyID.html#ae23bb7b697d7845bd447cf6d13cfde34',1,'galaxy::api::GalaxyID']]], - ['operator_3c',['operator<',['../classgalaxy_1_1api_1_1GalaxyID.html#a38d3a3738e624bd4cfd961863c541f37',1,'galaxy::api::GalaxyID']]], - ['operator_3d',['operator=',['../classgalaxy_1_1api_1_1GalaxyID.html#ac35243cc4381cf28ea2eb75c8e04d458',1,'galaxy::api::GalaxyID']]], - ['operator_3d_3d',['operator==',['../classgalaxy_1_1api_1_1GalaxyID.html#a708c1fa6b537417d7e2597dc89291be7',1,'galaxy::api::GalaxyID']]], - ['other_5fsession_5fstart',['OTHER_SESSION_START',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a38475d66217b64b92a4b3e25e77fa48c',1,'galaxy::api']]], - ['overlay_5finitialization_5fstate_5fchange',['OVERLAY_INITIALIZATION_STATE_CHANGE',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325abe9b0298ab57ec2c240abd1ca9c3e2e5',1,'galaxy::api']]], - ['overlay_5fstate_5fdisabled',['OVERLAY_STATE_DISABLED',['../group__api.html#ggabf15786f4b4ac5669318db70b02fb389aacda732d1c553bd699b73a456dd09d47',1,'galaxy::api']]], - ['overlay_5fstate_5ffailed_5fto_5finitialize',['OVERLAY_STATE_FAILED_TO_INITIALIZE',['../group__api.html#ggabf15786f4b4ac5669318db70b02fb389a8aaa65e5907b045a0644b904da2a0ace',1,'galaxy::api']]], - ['overlay_5fstate_5finitialized',['OVERLAY_STATE_INITIALIZED',['../group__api.html#ggabf15786f4b4ac5669318db70b02fb389acc422dc8bb238adf24c1d7320bcf7357',1,'galaxy::api']]], - ['overlay_5fstate_5fnot_5fsupported',['OVERLAY_STATE_NOT_SUPPORTED',['../group__api.html#ggabf15786f4b4ac5669318db70b02fb389ae6f285af1806e5507c004203218086bc',1,'galaxy::api']]], - ['overlay_5fstate_5fundefined',['OVERLAY_STATE_UNDEFINED',['../group__api.html#ggabf15786f4b4ac5669318db70b02fb389ad1e22a5175b838cabdf7b80186114403',1,'galaxy::api']]], - ['overlay_5fvisibility_5fchange',['OVERLAY_VISIBILITY_CHANGE',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a59c448707c0e8e973b8ed190629959ad',1,'galaxy::api']]], - ['overlaystate',['OverlayState',['../group__api.html#gabf15786f4b4ac5669318db70b02fb389',1,'galaxy::api']]] -]; diff --git a/vendors/galaxy/Docs/search/all_e.html b/vendors/galaxy/Docs/search/all_e.html deleted file mode 100644 index f9a056dcd..000000000 --- a/vendors/galaxy/Docs/search/all_e.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/all_e.js b/vendors/galaxy/Docs/search/all_e.js deleted file mode 100644 index 936de0856..000000000 --- a/vendors/galaxy/Docs/search/all_e.js +++ /dev/null @@ -1,29 +0,0 @@ -var searchData= -[ - ['p2p_5fsend_5freliable',['P2P_SEND_RELIABLE',['../group__api.html#ggac2b75cd8111214499aef51563ae89f9aa29b17108439f84ca97abd881a695fb06',1,'galaxy::api']]], - ['p2p_5fsend_5freliable_5fimmediate',['P2P_SEND_RELIABLE_IMMEDIATE',['../group__api.html#ggac2b75cd8111214499aef51563ae89f9aa87221170828c607ce35486e4da3144bc',1,'galaxy::api']]], - ['p2p_5fsend_5funreliable',['P2P_SEND_UNRELIABLE',['../group__api.html#ggac2b75cd8111214499aef51563ae89f9aaa8b3226f86393bf9a7ac17031c36643c',1,'galaxy::api']]], - ['p2p_5fsend_5funreliable_5fimmediate',['P2P_SEND_UNRELIABLE_IMMEDIATE',['../group__api.html#ggac2b75cd8111214499aef51563ae89f9aa294f30830907dfadaeac2cbb7966c884',1,'galaxy::api']]], - ['p2psendtype',['P2PSendType',['../group__api.html#gac2b75cd8111214499aef51563ae89f9a',1,'galaxy::api']]], - ['peekdata',['PeekData',['../classgalaxy_1_1api_1_1ICustomNetworking.html#a7844d3bfec3c589baf36c2be96b9daa3',1,'galaxy::api::ICustomNetworking']]], - ['peekp2ppacket',['PeekP2PPacket',['../classgalaxy_1_1api_1_1INetworking.html#ae17ea8db06874f4f48d72aa747e843b8',1,'galaxy::api::INetworking']]], - ['peer',['Peer',['../group__Peer.html',1,'']]], - ['persona_5fchange_5favatar',['PERSONA_CHANGE_AVATAR',['../classgalaxy_1_1api_1_1IPersonaDataChangedListener.html#a895bc6c37e8cba72dba5136f2bfa2c2da4e4f10aa284754bc26a15d44e163cf78',1,'galaxy::api::IPersonaDataChangedListener']]], - ['persona_5fchange_5favatar_5fdownloaded_5fimage_5fany',['PERSONA_CHANGE_AVATAR_DOWNLOADED_IMAGE_ANY',['../classgalaxy_1_1api_1_1IPersonaDataChangedListener.html#a895bc6c37e8cba72dba5136f2bfa2c2dab965c14b0100cb51ca5347d520adc934',1,'galaxy::api::IPersonaDataChangedListener']]], - ['persona_5fchange_5favatar_5fdownloaded_5fimage_5flarge',['PERSONA_CHANGE_AVATAR_DOWNLOADED_IMAGE_LARGE',['../classgalaxy_1_1api_1_1IPersonaDataChangedListener.html#a895bc6c37e8cba72dba5136f2bfa2c2daac3b48fe851d2d69a46bcf15fd4ba27c',1,'galaxy::api::IPersonaDataChangedListener']]], - ['persona_5fchange_5favatar_5fdownloaded_5fimage_5fmedium',['PERSONA_CHANGE_AVATAR_DOWNLOADED_IMAGE_MEDIUM',['../classgalaxy_1_1api_1_1IPersonaDataChangedListener.html#a895bc6c37e8cba72dba5136f2bfa2c2dab26c3430bcd4093891fa1f5277fe691d',1,'galaxy::api::IPersonaDataChangedListener']]], - ['persona_5fchange_5favatar_5fdownloaded_5fimage_5fsmall',['PERSONA_CHANGE_AVATAR_DOWNLOADED_IMAGE_SMALL',['../classgalaxy_1_1api_1_1IPersonaDataChangedListener.html#a895bc6c37e8cba72dba5136f2bfa2c2dadbb246999072276f12e9a0a6abc17d15',1,'galaxy::api::IPersonaDataChangedListener']]], - ['persona_5fchange_5fname',['PERSONA_CHANGE_NAME',['../classgalaxy_1_1api_1_1IPersonaDataChangedListener.html#a895bc6c37e8cba72dba5136f2bfa2c2dad4270d6ae3f97bb91e11d64b12fb77c2',1,'galaxy::api::IPersonaDataChangedListener']]], - ['persona_5fchange_5fnone',['PERSONA_CHANGE_NONE',['../classgalaxy_1_1api_1_1IPersonaDataChangedListener.html#a895bc6c37e8cba72dba5136f2bfa2c2daf328d5471b051ab3f1a93012e3f4a22e',1,'galaxy::api::IPersonaDataChangedListener']]], - ['persona_5fdata_5fchanged',['PERSONA_DATA_CHANGED',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325ac7bd820abf43d2123cdff4bfbabc6f7b',1,'galaxy::api']]], - ['persona_5fstate_5foffline',['PERSONA_STATE_OFFLINE',['../group__api.html#gga608f6267eb31cafa281d634bc45ef356a77d5dff40751392f545c34823c5f77d1',1,'galaxy::api']]], - ['persona_5fstate_5fonline',['PERSONA_STATE_ONLINE',['../group__api.html#gga608f6267eb31cafa281d634bc45ef356a8d560591609f716efa688497cd9def5b',1,'galaxy::api']]], - ['personastate',['PersonaState',['../group__api.html#ga608f6267eb31cafa281d634bc45ef356',1,'galaxy::api']]], - ['personastatechange',['PersonaStateChange',['../classgalaxy_1_1api_1_1IPersonaDataChangedListener.html#a895bc6c37e8cba72dba5136f2bfa2c2d',1,'galaxy::api::IPersonaDataChangedListener']]], - ['popdata',['PopData',['../classgalaxy_1_1api_1_1ICustomNetworking.html#a23f7d6971b5c550d0821368705e4bfd6',1,'galaxy::api::ICustomNetworking']]], - ['popp2ppacket',['PopP2PPacket',['../classgalaxy_1_1api_1_1INetworking.html#aa7fbf9ee962869cdcdd6d356b1804dc2',1,'galaxy::api::INetworking']]], - ['port',['port',['../structgalaxy_1_1api_1_1InitOptions.html#a8e0798404bf2cf5dabb84c5ba9a4f236',1,'galaxy::api::InitOptions']]], - ['processdata',['ProcessData',['../group__Peer.html#ga1e437567d7fb43c9845809b22c567ca7',1,'galaxy::api']]], - ['processgameserverdata',['ProcessGameServerData',['../group__GameServer.html#gacd909ec5a3dd8571d26efa1ad6484548',1,'galaxy::api']]], - ['productid',['ProductID',['../group__api.html#ga198e4cda00bc65d234ae7cac252eed60',1,'galaxy::api']]] -]; diff --git a/vendors/galaxy/Docs/search/all_f.html b/vendors/galaxy/Docs/search/all_f.html deleted file mode 100644 index f6997fa5f..000000000 --- a/vendors/galaxy/Docs/search/all_f.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/all_f.js b/vendors/galaxy/Docs/search/all_f.js deleted file mode 100644 index d81659689..000000000 --- a/vendors/galaxy/Docs/search/all_f.js +++ /dev/null @@ -1,32 +0,0 @@ -var searchData= -[ - ['readdata',['ReadData',['../classgalaxy_1_1api_1_1ICustomNetworking.html#a55f27654455fd746bebb5f60def2fa40',1,'galaxy::api::ICustomNetworking']]], - ['readp2ppacket',['ReadP2PPacket',['../classgalaxy_1_1api_1_1INetworking.html#a1c902bc6fbdf52a79a396c642f43bb22',1,'galaxy::api::INetworking']]], - ['register',['Register',['../classgalaxy_1_1api_1_1IListenerRegistrar.html#a9672d896a93300ab681718d6a5c8f529',1,'galaxy::api::IListenerRegistrar']]], - ['registerfornotification',['RegisterForNotification',['../classgalaxy_1_1api_1_1IUtils.html#a1177ae0fc1a5f7f92bd00896a98d3951',1,'galaxy::api::IUtils']]], - ['reportinvalidaccesstoken',['ReportInvalidAccessToken',['../classgalaxy_1_1api_1_1IUser.html#a5aa752b87cc2ff029709ad9321518e0b',1,'galaxy::api::IUser']]], - ['requestchatroommessages',['RequestChatRoomMessages',['../classgalaxy_1_1api_1_1IChat.html#acad827245bab28f694508420c6363a1f',1,'galaxy::api::IChat']]], - ['requestchatroomwithuser',['RequestChatRoomWithUser',['../classgalaxy_1_1api_1_1IChat.html#a1c71546d2f33533cb9f24a9d29764b60',1,'galaxy::api::IChat']]], - ['requestencryptedappticket',['RequestEncryptedAppTicket',['../classgalaxy_1_1api_1_1IUser.html#a29f307e31066fc39b93802e363ea2064',1,'galaxy::api::IUser']]], - ['requestfriendinvitationlist',['RequestFriendInvitationList',['../classgalaxy_1_1api_1_1IFriends.html#aa07f371ce5b0ac7d5ccf33cf7d8f64ed',1,'galaxy::api::IFriends']]], - ['requestfriendlist',['RequestFriendList',['../classgalaxy_1_1api_1_1IFriends.html#aa648d323f3f798bbadd745bea13fc3b5',1,'galaxy::api::IFriends']]], - ['requestleaderboardentriesarounduser',['RequestLeaderboardEntriesAroundUser',['../classgalaxy_1_1api_1_1IStats.html#a1215ca0927c038ed5380d23d1825d92d',1,'galaxy::api::IStats']]], - ['requestleaderboardentriesforusers',['RequestLeaderboardEntriesForUsers',['../classgalaxy_1_1api_1_1IStats.html#ac06a171edf21bb4b2b1b73db0d3ba994',1,'galaxy::api::IStats']]], - ['requestleaderboardentriesglobal',['RequestLeaderboardEntriesGlobal',['../classgalaxy_1_1api_1_1IStats.html#a8001acf6133977206aae970b04e82433',1,'galaxy::api::IStats']]], - ['requestleaderboards',['RequestLeaderboards',['../classgalaxy_1_1api_1_1IStats.html#a7290943ee81882d006239f103d523a1d',1,'galaxy::api::IStats']]], - ['requestlobbydata',['RequestLobbyData',['../classgalaxy_1_1api_1_1IMatchmaking.html#a26d24d194a26e7596ee00b7866c8f244',1,'galaxy::api::IMatchmaking']]], - ['requestlobbylist',['RequestLobbyList',['../classgalaxy_1_1api_1_1IMatchmaking.html#a3968e89f7989f0271c795bde7f894cd5',1,'galaxy::api::IMatchmaking']]], - ['requestnattypedetection',['RequestNatTypeDetection',['../classgalaxy_1_1api_1_1INetworking.html#a51aacf39969e92ca4acff9dd240cff0e',1,'galaxy::api::INetworking']]], - ['requestrichpresence',['RequestRichPresence',['../classgalaxy_1_1api_1_1IFriends.html#a5a3458c1a79eb77463a60278ef7a0b5d',1,'galaxy::api::IFriends']]], - ['requestsentfriendinvitationlist',['RequestSentFriendInvitationList',['../classgalaxy_1_1api_1_1IFriends.html#a0523aacfc83c27deaf54c0ec9e574816',1,'galaxy::api::IFriends']]], - ['requestuserdata',['RequestUserData',['../classgalaxy_1_1api_1_1IUser.html#a8e77956d509453d67c5febf8ff1d483d',1,'galaxy::api::IUser']]], - ['requestuserinformation',['RequestUserInformation',['../classgalaxy_1_1api_1_1IFriends.html#a4692fc9d422740da258c351a2b709526',1,'galaxy::api::IFriends']]], - ['requestuserstatsandachievements',['RequestUserStatsAndAchievements',['../classgalaxy_1_1api_1_1IStats.html#a38f5c146772f06dfd58c21ca599d7c25',1,'galaxy::api::IStats']]], - ['requestusertimeplayed',['RequestUserTimePlayed',['../classgalaxy_1_1api_1_1IStats.html#a1e3d7b1ea57ea4f65d08b9c47c52af27',1,'galaxy::api::IStats']]], - ['resetstatsandachievements',['ResetStatsAndAchievements',['../classgalaxy_1_1api_1_1IStats.html#a90d371596d2210a5889fc20dc708dc39',1,'galaxy::api::IStats']]], - ['resetvisitid',['ResetVisitID',['../classgalaxy_1_1api_1_1ITelemetry.html#a2b73bb788af5434e7bba31c899e999be',1,'galaxy::api::ITelemetry']]], - ['respondtofriendinvitation',['RespondToFriendInvitation',['../classgalaxy_1_1api_1_1IFriends.html#a1cf1b3f618b06aaf3b00864d854b3fc6',1,'galaxy::api::IFriends']]], - ['rich_5fpresence_5fchange_5flistener',['RICH_PRESENCE_CHANGE_LISTENER',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a361625a6cac0741a13d082bd6aa2101a',1,'galaxy::api']]], - ['rich_5fpresence_5flistener',['RICH_PRESENCE_LISTENER',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a5ee4a49360fbeee9a9386c03e0adff83',1,'galaxy::api']]], - ['rich_5fpresence_5fretrieve_5flistener',['RICH_PRESENCE_RETRIEVE_LISTENER',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325ab72196badaba734e27acb04eb78c2c78',1,'galaxy::api']]] -]; diff --git a/vendors/galaxy/Docs/search/classes_0.html b/vendors/galaxy/Docs/search/classes_0.html deleted file mode 100644 index b3c6ec6af..000000000 --- a/vendors/galaxy/Docs/search/classes_0.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/classes_0.js b/vendors/galaxy/Docs/search/classes_0.js deleted file mode 100644 index 3131ded1f..000000000 --- a/vendors/galaxy/Docs/search/classes_0.js +++ /dev/null @@ -1,65 +0,0 @@ -var searchData= -[ - ['galaxyallocator',['GalaxyAllocator',['../structgalaxy_1_1api_1_1GalaxyAllocator.html',1,'galaxy::api']]], - ['galaxyid',['GalaxyID',['../classgalaxy_1_1api_1_1GalaxyID.html',1,'galaxy::api']]], - ['galaxytypeawarelistener',['GalaxyTypeAwareListener',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20access_5ftoken_5fchange_20_3e',['GalaxyTypeAwareListener< ACCESS_TOKEN_CHANGE >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20achievement_5fchange_20_3e',['GalaxyTypeAwareListener< ACHIEVEMENT_CHANGE >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20auth_20_3e',['GalaxyTypeAwareListener< AUTH >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20chat_5froom_5fmessage_5fsend_5flistener_20_3e',['GalaxyTypeAwareListener< CHAT_ROOM_MESSAGE_SEND_LISTENER >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20chat_5froom_5fmessages_5flistener_20_3e',['GalaxyTypeAwareListener< CHAT_ROOM_MESSAGES_LISTENER >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20chat_5froom_5fmessages_5fretrieve_5flistener_20_3e',['GalaxyTypeAwareListener< CHAT_ROOM_MESSAGES_RETRIEVE_LISTENER >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20chat_5froom_5fwith_5fuser_5fretrieve_5flistener_20_3e',['GalaxyTypeAwareListener< CHAT_ROOM_WITH_USER_RETRIEVE_LISTENER >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20custom_5fnetworking_5fconnection_5fclose_20_3e',['GalaxyTypeAwareListener< CUSTOM_NETWORKING_CONNECTION_CLOSE >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20custom_5fnetworking_5fconnection_5fdata_20_3e',['GalaxyTypeAwareListener< CUSTOM_NETWORKING_CONNECTION_DATA >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20custom_5fnetworking_5fconnection_5fopen_20_3e',['GalaxyTypeAwareListener< CUSTOM_NETWORKING_CONNECTION_OPEN >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20encrypted_5fapp_5fticket_5fretrieve_20_3e',['GalaxyTypeAwareListener< ENCRYPTED_APP_TICKET_RETRIEVE >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20file_5fshare_20_3e',['GalaxyTypeAwareListener< FILE_SHARE >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20friend_5fadd_5flistener_20_3e',['GalaxyTypeAwareListener< FRIEND_ADD_LISTENER >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20friend_5fdelete_5flistener_20_3e',['GalaxyTypeAwareListener< FRIEND_DELETE_LISTENER >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20friend_5finvitation_5flist_5fretrieve_5flistener_20_3e',['GalaxyTypeAwareListener< FRIEND_INVITATION_LIST_RETRIEVE_LISTENER >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20friend_5finvitation_5flistener_20_3e',['GalaxyTypeAwareListener< FRIEND_INVITATION_LISTENER >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20friend_5finvitation_5frespond_5fto_5flistener_20_3e',['GalaxyTypeAwareListener< FRIEND_INVITATION_RESPOND_TO_LISTENER >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20friend_5finvitation_5fsend_5flistener_20_3e',['GalaxyTypeAwareListener< FRIEND_INVITATION_SEND_LISTENER >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20friend_5flist_5fretrieve_20_3e',['GalaxyTypeAwareListener< FRIEND_LIST_RETRIEVE >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20game_5finvitation_5freceived_5flistener_20_3e',['GalaxyTypeAwareListener< GAME_INVITATION_RECEIVED_LISTENER >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20game_5fjoin_5frequested_5flistener_20_3e',['GalaxyTypeAwareListener< GAME_JOIN_REQUESTED_LISTENER >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20gog_5fservices_5fconnection_5fstate_5flistener_20_3e',['GalaxyTypeAwareListener< GOG_SERVICES_CONNECTION_STATE_LISTENER >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20invitation_5fsend_20_3e',['GalaxyTypeAwareListener< INVITATION_SEND >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20leaderboard_5fentries_5fretrieve_20_3e',['GalaxyTypeAwareListener< LEADERBOARD_ENTRIES_RETRIEVE >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20leaderboard_5fretrieve_20_3e',['GalaxyTypeAwareListener< LEADERBOARD_RETRIEVE >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20leaderboard_5fscore_5fupdate_5flistener_20_3e',['GalaxyTypeAwareListener< LEADERBOARD_SCORE_UPDATE_LISTENER >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20leaderboards_5fretrieve_20_3e',['GalaxyTypeAwareListener< LEADERBOARDS_RETRIEVE >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20lobby_5fcreated_20_3e',['GalaxyTypeAwareListener< LOBBY_CREATED >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20lobby_5fdata_20_3e',['GalaxyTypeAwareListener< LOBBY_DATA >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20lobby_5fdata_5fretrieve_20_3e',['GalaxyTypeAwareListener< LOBBY_DATA_RETRIEVE >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20lobby_5fdata_5fupdate_5flistener_20_3e',['GalaxyTypeAwareListener< LOBBY_DATA_UPDATE_LISTENER >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20lobby_5fentered_20_3e',['GalaxyTypeAwareListener< LOBBY_ENTERED >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20lobby_5fleft_20_3e',['GalaxyTypeAwareListener< LOBBY_LEFT >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20lobby_5flist_20_3e',['GalaxyTypeAwareListener< LOBBY_LIST >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20lobby_5fmember_5fdata_5fupdate_5flistener_20_3e',['GalaxyTypeAwareListener< LOBBY_MEMBER_DATA_UPDATE_LISTENER >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20lobby_5fmember_5fstate_20_3e',['GalaxyTypeAwareListener< LOBBY_MEMBER_STATE >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20lobby_5fmessage_20_3e',['GalaxyTypeAwareListener< LOBBY_MESSAGE >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20lobby_5fowner_5fchange_20_3e',['GalaxyTypeAwareListener< LOBBY_OWNER_CHANGE >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20nat_5ftype_5fdetection_20_3e',['GalaxyTypeAwareListener< NAT_TYPE_DETECTION >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20networking_20_3e',['GalaxyTypeAwareListener< NETWORKING >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20notification_5flistener_20_3e',['GalaxyTypeAwareListener< NOTIFICATION_LISTENER >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20operational_5fstate_5fchange_20_3e',['GalaxyTypeAwareListener< OPERATIONAL_STATE_CHANGE >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20other_5fsession_5fstart_20_3e',['GalaxyTypeAwareListener< OTHER_SESSION_START >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20overlay_5finitialization_5fstate_5fchange_20_3e',['GalaxyTypeAwareListener< OVERLAY_INITIALIZATION_STATE_CHANGE >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20overlay_5fvisibility_5fchange_20_3e',['GalaxyTypeAwareListener< OVERLAY_VISIBILITY_CHANGE >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20persona_5fdata_5fchanged_20_3e',['GalaxyTypeAwareListener< PERSONA_DATA_CHANGED >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20rich_5fpresence_5fchange_5flistener_20_3e',['GalaxyTypeAwareListener< RICH_PRESENCE_CHANGE_LISTENER >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20rich_5fpresence_5flistener_20_3e',['GalaxyTypeAwareListener< RICH_PRESENCE_LISTENER >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20rich_5fpresence_5fretrieve_5flistener_20_3e',['GalaxyTypeAwareListener< RICH_PRESENCE_RETRIEVE_LISTENER >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20sent_5ffriend_5finvitation_5flist_5fretrieve_5flistener_20_3e',['GalaxyTypeAwareListener< SENT_FRIEND_INVITATION_LIST_RETRIEVE_LISTENER >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20shared_5ffile_5fdownload_20_3e',['GalaxyTypeAwareListener< SHARED_FILE_DOWNLOAD >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20specific_5fuser_5fdata_20_3e',['GalaxyTypeAwareListener< SPECIFIC_USER_DATA >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20stats_5fand_5fachievements_5fstore_20_3e',['GalaxyTypeAwareListener< STATS_AND_ACHIEVEMENTS_STORE >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20telemetry_5fevent_5fsend_5flistener_20_3e',['GalaxyTypeAwareListener< TELEMETRY_EVENT_SEND_LISTENER >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20user_5fdata_20_3e',['GalaxyTypeAwareListener< USER_DATA >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20user_5ffind_5flistener_20_3e',['GalaxyTypeAwareListener< USER_FIND_LISTENER >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20user_5finformation_5fretrieve_5flistener_20_3e',['GalaxyTypeAwareListener< USER_INFORMATION_RETRIEVE_LISTENER >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20user_5fstats_5fand_5fachievements_5fretrieve_20_3e',['GalaxyTypeAwareListener< USER_STATS_AND_ACHIEVEMENTS_RETRIEVE >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]], - ['galaxytypeawarelistener_3c_20user_5ftime_5fplayed_5fretrieve_20_3e',['GalaxyTypeAwareListener< USER_TIME_PLAYED_RETRIEVE >',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html',1,'galaxy::api']]] -]; diff --git a/vendors/galaxy/Docs/search/classes_1.html b/vendors/galaxy/Docs/search/classes_1.html deleted file mode 100644 index b744c4d15..000000000 --- a/vendors/galaxy/Docs/search/classes_1.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/classes_1.js b/vendors/galaxy/Docs/search/classes_1.js deleted file mode 100644 index 640a5e867..000000000 --- a/vendors/galaxy/Docs/search/classes_1.js +++ /dev/null @@ -1,84 +0,0 @@ -var searchData= -[ - ['iaccesstokenlistener',['IAccessTokenListener',['../classgalaxy_1_1api_1_1IAccessTokenListener.html',1,'galaxy::api']]], - ['iachievementchangelistener',['IAchievementChangeListener',['../classgalaxy_1_1api_1_1IAchievementChangeListener.html',1,'galaxy::api']]], - ['iapps',['IApps',['../classgalaxy_1_1api_1_1IApps.html',1,'galaxy::api']]], - ['iauthlistener',['IAuthListener',['../classgalaxy_1_1api_1_1IAuthListener.html',1,'galaxy::api']]], - ['ichat',['IChat',['../classgalaxy_1_1api_1_1IChat.html',1,'galaxy::api']]], - ['ichatroommessagesendlistener',['IChatRoomMessageSendListener',['../classgalaxy_1_1api_1_1IChatRoomMessageSendListener.html',1,'galaxy::api']]], - ['ichatroommessageslistener',['IChatRoomMessagesListener',['../classgalaxy_1_1api_1_1IChatRoomMessagesListener.html',1,'galaxy::api']]], - ['ichatroommessagesretrievelistener',['IChatRoomMessagesRetrieveListener',['../classgalaxy_1_1api_1_1IChatRoomMessagesRetrieveListener.html',1,'galaxy::api']]], - ['ichatroomwithuserretrievelistener',['IChatRoomWithUserRetrieveListener',['../classgalaxy_1_1api_1_1IChatRoomWithUserRetrieveListener.html',1,'galaxy::api']]], - ['iconnectioncloselistener',['IConnectionCloseListener',['../classgalaxy_1_1api_1_1IConnectionCloseListener.html',1,'galaxy::api']]], - ['iconnectiondatalistener',['IConnectionDataListener',['../classgalaxy_1_1api_1_1IConnectionDataListener.html',1,'galaxy::api']]], - ['iconnectionopenlistener',['IConnectionOpenListener',['../classgalaxy_1_1api_1_1IConnectionOpenListener.html',1,'galaxy::api']]], - ['icustomnetworking',['ICustomNetworking',['../classgalaxy_1_1api_1_1ICustomNetworking.html',1,'galaxy::api']]], - ['iencryptedappticketlistener',['IEncryptedAppTicketListener',['../classgalaxy_1_1api_1_1IEncryptedAppTicketListener.html',1,'galaxy::api']]], - ['ierror',['IError',['../classgalaxy_1_1api_1_1IError.html',1,'galaxy::api']]], - ['ifilesharelistener',['IFileShareListener',['../classgalaxy_1_1api_1_1IFileShareListener.html',1,'galaxy::api']]], - ['ifriendaddlistener',['IFriendAddListener',['../classgalaxy_1_1api_1_1IFriendAddListener.html',1,'galaxy::api']]], - ['ifrienddeletelistener',['IFriendDeleteListener',['../classgalaxy_1_1api_1_1IFriendDeleteListener.html',1,'galaxy::api']]], - ['ifriendinvitationlistener',['IFriendInvitationListener',['../classgalaxy_1_1api_1_1IFriendInvitationListener.html',1,'galaxy::api']]], - ['ifriendinvitationlistretrievelistener',['IFriendInvitationListRetrieveListener',['../classgalaxy_1_1api_1_1IFriendInvitationListRetrieveListener.html',1,'galaxy::api']]], - ['ifriendinvitationrespondtolistener',['IFriendInvitationRespondToListener',['../classgalaxy_1_1api_1_1IFriendInvitationRespondToListener.html',1,'galaxy::api']]], - ['ifriendinvitationsendlistener',['IFriendInvitationSendListener',['../classgalaxy_1_1api_1_1IFriendInvitationSendListener.html',1,'galaxy::api']]], - ['ifriendlistlistener',['IFriendListListener',['../classgalaxy_1_1api_1_1IFriendListListener.html',1,'galaxy::api']]], - ['ifriends',['IFriends',['../classgalaxy_1_1api_1_1IFriends.html',1,'galaxy::api']]], - ['igalaxylistener',['IGalaxyListener',['../classgalaxy_1_1api_1_1IGalaxyListener.html',1,'galaxy::api']]], - ['igalaxythread',['IGalaxyThread',['../classgalaxy_1_1api_1_1IGalaxyThread.html',1,'galaxy::api']]], - ['igalaxythreadfactory',['IGalaxyThreadFactory',['../classgalaxy_1_1api_1_1IGalaxyThreadFactory.html',1,'galaxy::api']]], - ['igameinvitationreceivedlistener',['IGameInvitationReceivedListener',['../classgalaxy_1_1api_1_1IGameInvitationReceivedListener.html',1,'galaxy::api']]], - ['igamejoinrequestedlistener',['IGameJoinRequestedListener',['../classgalaxy_1_1api_1_1IGameJoinRequestedListener.html',1,'galaxy::api']]], - ['igogservicesconnectionstatelistener',['IGogServicesConnectionStateListener',['../classgalaxy_1_1api_1_1IGogServicesConnectionStateListener.html',1,'galaxy::api']]], - ['iinvalidargumenterror',['IInvalidArgumentError',['../classgalaxy_1_1api_1_1IInvalidArgumentError.html',1,'galaxy::api']]], - ['iinvalidstateerror',['IInvalidStateError',['../classgalaxy_1_1api_1_1IInvalidStateError.html',1,'galaxy::api']]], - ['ileaderboardentriesretrievelistener',['ILeaderboardEntriesRetrieveListener',['../classgalaxy_1_1api_1_1ILeaderboardEntriesRetrieveListener.html',1,'galaxy::api']]], - ['ileaderboardretrievelistener',['ILeaderboardRetrieveListener',['../classgalaxy_1_1api_1_1ILeaderboardRetrieveListener.html',1,'galaxy::api']]], - ['ileaderboardscoreupdatelistener',['ILeaderboardScoreUpdateListener',['../classgalaxy_1_1api_1_1ILeaderboardScoreUpdateListener.html',1,'galaxy::api']]], - ['ileaderboardsretrievelistener',['ILeaderboardsRetrieveListener',['../classgalaxy_1_1api_1_1ILeaderboardsRetrieveListener.html',1,'galaxy::api']]], - ['ilistenerregistrar',['IListenerRegistrar',['../classgalaxy_1_1api_1_1IListenerRegistrar.html',1,'galaxy::api']]], - ['ilobbycreatedlistener',['ILobbyCreatedListener',['../classgalaxy_1_1api_1_1ILobbyCreatedListener.html',1,'galaxy::api']]], - ['ilobbydatalistener',['ILobbyDataListener',['../classgalaxy_1_1api_1_1ILobbyDataListener.html',1,'galaxy::api']]], - ['ilobbydataretrievelistener',['ILobbyDataRetrieveListener',['../classgalaxy_1_1api_1_1ILobbyDataRetrieveListener.html',1,'galaxy::api']]], - ['ilobbydataupdatelistener',['ILobbyDataUpdateListener',['../classgalaxy_1_1api_1_1ILobbyDataUpdateListener.html',1,'galaxy::api']]], - ['ilobbyenteredlistener',['ILobbyEnteredListener',['../classgalaxy_1_1api_1_1ILobbyEnteredListener.html',1,'galaxy::api']]], - ['ilobbyleftlistener',['ILobbyLeftListener',['../classgalaxy_1_1api_1_1ILobbyLeftListener.html',1,'galaxy::api']]], - ['ilobbylistlistener',['ILobbyListListener',['../classgalaxy_1_1api_1_1ILobbyListListener.html',1,'galaxy::api']]], - ['ilobbymemberdataupdatelistener',['ILobbyMemberDataUpdateListener',['../classgalaxy_1_1api_1_1ILobbyMemberDataUpdateListener.html',1,'galaxy::api']]], - ['ilobbymemberstatelistener',['ILobbyMemberStateListener',['../classgalaxy_1_1api_1_1ILobbyMemberStateListener.html',1,'galaxy::api']]], - ['ilobbymessagelistener',['ILobbyMessageListener',['../classgalaxy_1_1api_1_1ILobbyMessageListener.html',1,'galaxy::api']]], - ['ilobbyownerchangelistener',['ILobbyOwnerChangeListener',['../classgalaxy_1_1api_1_1ILobbyOwnerChangeListener.html',1,'galaxy::api']]], - ['ilogger',['ILogger',['../classgalaxy_1_1api_1_1ILogger.html',1,'galaxy::api']]], - ['imatchmaking',['IMatchmaking',['../classgalaxy_1_1api_1_1IMatchmaking.html',1,'galaxy::api']]], - ['inattypedetectionlistener',['INatTypeDetectionListener',['../classgalaxy_1_1api_1_1INatTypeDetectionListener.html',1,'galaxy::api']]], - ['inetworking',['INetworking',['../classgalaxy_1_1api_1_1INetworking.html',1,'galaxy::api']]], - ['inetworkinglistener',['INetworkingListener',['../classgalaxy_1_1api_1_1INetworkingListener.html',1,'galaxy::api']]], - ['initoptions',['InitOptions',['../structgalaxy_1_1api_1_1InitOptions.html',1,'galaxy::api']]], - ['inotificationlistener',['INotificationListener',['../classgalaxy_1_1api_1_1INotificationListener.html',1,'galaxy::api']]], - ['ioperationalstatechangelistener',['IOperationalStateChangeListener',['../classgalaxy_1_1api_1_1IOperationalStateChangeListener.html',1,'galaxy::api']]], - ['iothersessionstartlistener',['IOtherSessionStartListener',['../classgalaxy_1_1api_1_1IOtherSessionStartListener.html',1,'galaxy::api']]], - ['ioverlayinitializationstatechangelistener',['IOverlayInitializationStateChangeListener',['../classgalaxy_1_1api_1_1IOverlayInitializationStateChangeListener.html',1,'galaxy::api']]], - ['ioverlayvisibilitychangelistener',['IOverlayVisibilityChangeListener',['../classgalaxy_1_1api_1_1IOverlayVisibilityChangeListener.html',1,'galaxy::api']]], - ['ipersonadatachangedlistener',['IPersonaDataChangedListener',['../classgalaxy_1_1api_1_1IPersonaDataChangedListener.html',1,'galaxy::api']]], - ['irichpresencechangelistener',['IRichPresenceChangeListener',['../classgalaxy_1_1api_1_1IRichPresenceChangeListener.html',1,'galaxy::api']]], - ['irichpresencelistener',['IRichPresenceListener',['../classgalaxy_1_1api_1_1IRichPresenceListener.html',1,'galaxy::api']]], - ['irichpresenceretrievelistener',['IRichPresenceRetrieveListener',['../classgalaxy_1_1api_1_1IRichPresenceRetrieveListener.html',1,'galaxy::api']]], - ['iruntimeerror',['IRuntimeError',['../classgalaxy_1_1api_1_1IRuntimeError.html',1,'galaxy::api']]], - ['isendinvitationlistener',['ISendInvitationListener',['../classgalaxy_1_1api_1_1ISendInvitationListener.html',1,'galaxy::api']]], - ['isentfriendinvitationlistretrievelistener',['ISentFriendInvitationListRetrieveListener',['../classgalaxy_1_1api_1_1ISentFriendInvitationListRetrieveListener.html',1,'galaxy::api']]], - ['isharedfiledownloadlistener',['ISharedFileDownloadListener',['../classgalaxy_1_1api_1_1ISharedFileDownloadListener.html',1,'galaxy::api']]], - ['ispecificuserdatalistener',['ISpecificUserDataListener',['../classgalaxy_1_1api_1_1ISpecificUserDataListener.html',1,'galaxy::api']]], - ['istats',['IStats',['../classgalaxy_1_1api_1_1IStats.html',1,'galaxy::api']]], - ['istatsandachievementsstorelistener',['IStatsAndAchievementsStoreListener',['../classgalaxy_1_1api_1_1IStatsAndAchievementsStoreListener.html',1,'galaxy::api']]], - ['istorage',['IStorage',['../classgalaxy_1_1api_1_1IStorage.html',1,'galaxy::api']]], - ['itelemetry',['ITelemetry',['../classgalaxy_1_1api_1_1ITelemetry.html',1,'galaxy::api']]], - ['itelemetryeventsendlistener',['ITelemetryEventSendListener',['../classgalaxy_1_1api_1_1ITelemetryEventSendListener.html',1,'galaxy::api']]], - ['iunauthorizedaccesserror',['IUnauthorizedAccessError',['../classgalaxy_1_1api_1_1IUnauthorizedAccessError.html',1,'galaxy::api']]], - ['iuser',['IUser',['../classgalaxy_1_1api_1_1IUser.html',1,'galaxy::api']]], - ['iuserdatalistener',['IUserDataListener',['../classgalaxy_1_1api_1_1IUserDataListener.html',1,'galaxy::api']]], - ['iuserfindlistener',['IUserFindListener',['../classgalaxy_1_1api_1_1IUserFindListener.html',1,'galaxy::api']]], - ['iuserinformationretrievelistener',['IUserInformationRetrieveListener',['../classgalaxy_1_1api_1_1IUserInformationRetrieveListener.html',1,'galaxy::api']]], - ['iuserstatsandachievementsretrievelistener',['IUserStatsAndAchievementsRetrieveListener',['../classgalaxy_1_1api_1_1IUserStatsAndAchievementsRetrieveListener.html',1,'galaxy::api']]], - ['iusertimeplayedretrievelistener',['IUserTimePlayedRetrieveListener',['../classgalaxy_1_1api_1_1IUserTimePlayedRetrieveListener.html',1,'galaxy::api']]], - ['iutils',['IUtils',['../classgalaxy_1_1api_1_1IUtils.html',1,'galaxy::api']]] -]; diff --git a/vendors/galaxy/Docs/search/classes_2.html b/vendors/galaxy/Docs/search/classes_2.html deleted file mode 100644 index 7878acb4f..000000000 --- a/vendors/galaxy/Docs/search/classes_2.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/classes_2.js b/vendors/galaxy/Docs/search/classes_2.js deleted file mode 100644 index 9908b7b80..000000000 --- a/vendors/galaxy/Docs/search/classes_2.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['selfregisteringlistener',['SelfRegisteringListener',['../classgalaxy_1_1api_1_1SelfRegisteringListener.html',1,'galaxy::api']]] -]; diff --git a/vendors/galaxy/Docs/search/close.png b/vendors/galaxy/Docs/search/close.png deleted file mode 100644 index 9342d3dfe..000000000 Binary files a/vendors/galaxy/Docs/search/close.png and /dev/null differ diff --git a/vendors/galaxy/Docs/search/enums_0.html b/vendors/galaxy/Docs/search/enums_0.html deleted file mode 100644 index 7040a9c5d..000000000 --- a/vendors/galaxy/Docs/search/enums_0.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/enums_0.js b/vendors/galaxy/Docs/search/enums_0.js deleted file mode 100644 index 116a95eb1..000000000 --- a/vendors/galaxy/Docs/search/enums_0.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['avatartype',['AvatarType',['../group__api.html#ga51ba11764e2176ad2cc364635fac294e',1,'galaxy::api']]] -]; diff --git a/vendors/galaxy/Docs/search/enums_1.html b/vendors/galaxy/Docs/search/enums_1.html deleted file mode 100644 index 0c65c0e09..000000000 --- a/vendors/galaxy/Docs/search/enums_1.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/enums_1.js b/vendors/galaxy/Docs/search/enums_1.js deleted file mode 100644 index 0036439bb..000000000 --- a/vendors/galaxy/Docs/search/enums_1.js +++ /dev/null @@ -1,6 +0,0 @@ -var searchData= -[ - ['chatmessagetype',['ChatMessageType',['../group__api.html#gad1921a6afb665af4c7e7d243e2b762e9',1,'galaxy::api']]], - ['closereason',['CloseReason',['../classgalaxy_1_1api_1_1IConnectionCloseListener.html#a2af9150cca99c965611884e1a48ff18d',1,'galaxy::api::IConnectionCloseListener']]], - ['connectiontype',['ConnectionType',['../group__api.html#gaa1f0e2efd52935fd01bfece0fbead81f',1,'galaxy::api']]] -]; diff --git a/vendors/galaxy/Docs/search/enums_2.html b/vendors/galaxy/Docs/search/enums_2.html deleted file mode 100644 index 4250446db..000000000 --- a/vendors/galaxy/Docs/search/enums_2.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/enums_2.js b/vendors/galaxy/Docs/search/enums_2.js deleted file mode 100644 index 13e4f7949..000000000 --- a/vendors/galaxy/Docs/search/enums_2.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['failurereason',['FailureReason',['../classgalaxy_1_1api_1_1IChatRoomWithUserRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6e',1,'galaxy::api::IChatRoomWithUserRetrieveListener::FailureReason()'],['../classgalaxy_1_1api_1_1IChatRoomMessageSendListener.html#a2e1fab5fc244b0783172514baec21a6e',1,'galaxy::api::IChatRoomMessageSendListener::FailureReason()'],['../classgalaxy_1_1api_1_1IChatRoomMessagesRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6e',1,'galaxy::api::IChatRoomMessagesRetrieveListener::FailureReason()'],['../classgalaxy_1_1api_1_1IConnectionOpenListener.html#a2e1fab5fc244b0783172514baec21a6e',1,'galaxy::api::IConnectionOpenListener::FailureReason()'],['../classgalaxy_1_1api_1_1IUserInformationRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6e',1,'galaxy::api::IUserInformationRetrieveListener::FailureReason()'],['../classgalaxy_1_1api_1_1IFriendListListener.html#a2e1fab5fc244b0783172514baec21a6e',1,'galaxy::api::IFriendListListener::FailureReason()'],['../classgalaxy_1_1api_1_1IFriendInvitationSendListener.html#a2e1fab5fc244b0783172514baec21a6e',1,'galaxy::api::IFriendInvitationSendListener::FailureReason()'],['../classgalaxy_1_1api_1_1IFriendInvitationListRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6e',1,'galaxy::api::IFriendInvitationListRetrieveListener::FailureReason()'],['../classgalaxy_1_1api_1_1ISentFriendInvitationListRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6e',1,'galaxy::api::ISentFriendInvitationListRetrieveListener::FailureReason()'],['../classgalaxy_1_1api_1_1IFriendInvitationRespondToListener.html#a2e1fab5fc244b0783172514baec21a6e',1,'galaxy::api::IFriendInvitationRespondToListener::FailureReason()'],['../classgalaxy_1_1api_1_1IFriendDeleteListener.html#a2e1fab5fc244b0783172514baec21a6e',1,'galaxy::api::IFriendDeleteListener::FailureReason()'],['../classgalaxy_1_1api_1_1IRichPresenceChangeListener.html#a2e1fab5fc244b0783172514baec21a6e',1,'galaxy::api::IRichPresenceChangeListener::FailureReason()'],['../classgalaxy_1_1api_1_1IRichPresenceRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6e',1,'galaxy::api::IRichPresenceRetrieveListener::FailureReason()'],['../classgalaxy_1_1api_1_1ISendInvitationListener.html#a2e1fab5fc244b0783172514baec21a6e',1,'galaxy::api::ISendInvitationListener::FailureReason()'],['../classgalaxy_1_1api_1_1IUserFindListener.html#a2e1fab5fc244b0783172514baec21a6e',1,'galaxy::api::IUserFindListener::FailureReason()'],['../classgalaxy_1_1api_1_1ILobbyDataUpdateListener.html#a2e1fab5fc244b0783172514baec21a6e',1,'galaxy::api::ILobbyDataUpdateListener::FailureReason()'],['../classgalaxy_1_1api_1_1ILobbyMemberDataUpdateListener.html#a2e1fab5fc244b0783172514baec21a6e',1,'galaxy::api::ILobbyMemberDataUpdateListener::FailureReason()'],['../classgalaxy_1_1api_1_1ILobbyDataRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6e',1,'galaxy::api::ILobbyDataRetrieveListener::FailureReason()'],['../classgalaxy_1_1api_1_1IUserStatsAndAchievementsRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6e',1,'galaxy::api::IUserStatsAndAchievementsRetrieveListener::FailureReason()'],['../classgalaxy_1_1api_1_1IStatsAndAchievementsStoreListener.html#a2e1fab5fc244b0783172514baec21a6e',1,'galaxy::api::IStatsAndAchievementsStoreListener::FailureReason()'],['../classgalaxy_1_1api_1_1ILeaderboardsRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6e',1,'galaxy::api::ILeaderboardsRetrieveListener::FailureReason()'],['../classgalaxy_1_1api_1_1ILeaderboardEntriesRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6e',1,'galaxy::api::ILeaderboardEntriesRetrieveListener::FailureReason()'],['../classgalaxy_1_1api_1_1ILeaderboardScoreUpdateListener.html#a2e1fab5fc244b0783172514baec21a6e',1,'galaxy::api::ILeaderboardScoreUpdateListener::FailureReason()'],['../classgalaxy_1_1api_1_1ILeaderboardRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6e',1,'galaxy::api::ILeaderboardRetrieveListener::FailureReason()'],['../classgalaxy_1_1api_1_1IUserTimePlayedRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6e',1,'galaxy::api::IUserTimePlayedRetrieveListener::FailureReason()'],['../classgalaxy_1_1api_1_1IFileShareListener.html#a2e1fab5fc244b0783172514baec21a6e',1,'galaxy::api::IFileShareListener::FailureReason()'],['../classgalaxy_1_1api_1_1ISharedFileDownloadListener.html#a2e1fab5fc244b0783172514baec21a6e',1,'galaxy::api::ISharedFileDownloadListener::FailureReason()'],['../classgalaxy_1_1api_1_1ITelemetryEventSendListener.html#a2e1fab5fc244b0783172514baec21a6e',1,'galaxy::api::ITelemetryEventSendListener::FailureReason()'],['../classgalaxy_1_1api_1_1IAuthListener.html#a2e1fab5fc244b0783172514baec21a6e',1,'galaxy::api::IAuthListener::FailureReason()'],['../classgalaxy_1_1api_1_1IEncryptedAppTicketListener.html#a2e1fab5fc244b0783172514baec21a6e',1,'galaxy::api::IEncryptedAppTicketListener::FailureReason()']]] -]; diff --git a/vendors/galaxy/Docs/search/enums_3.html b/vendors/galaxy/Docs/search/enums_3.html deleted file mode 100644 index b118cca0c..000000000 --- a/vendors/galaxy/Docs/search/enums_3.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/enums_3.js b/vendors/galaxy/Docs/search/enums_3.js deleted file mode 100644 index c6a4cfeac..000000000 --- a/vendors/galaxy/Docs/search/enums_3.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['gogservicesconnectionstate',['GogServicesConnectionState',['../group__api.html#ga1e44fb253de3879ddbfae2977049396e',1,'galaxy::api']]] -]; diff --git a/vendors/galaxy/Docs/search/enums_4.html b/vendors/galaxy/Docs/search/enums_4.html deleted file mode 100644 index 2795d4b14..000000000 --- a/vendors/galaxy/Docs/search/enums_4.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/enums_4.js b/vendors/galaxy/Docs/search/enums_4.js deleted file mode 100644 index 5e26b466b..000000000 --- a/vendors/galaxy/Docs/search/enums_4.js +++ /dev/null @@ -1,5 +0,0 @@ -var searchData= -[ - ['idtype',['IDType',['../classgalaxy_1_1api_1_1GalaxyID.html#aa0a690a2c08f2c4e8568b767107275a2',1,'galaxy::api::GalaxyID']]], - ['invitationdirection',['InvitationDirection',['../classgalaxy_1_1api_1_1IFriendAddListener.html#a6987312242c9bc945fadf5d2022240c7',1,'galaxy::api::IFriendAddListener']]] -]; diff --git a/vendors/galaxy/Docs/search/enums_5.html b/vendors/galaxy/Docs/search/enums_5.html deleted file mode 100644 index ab40bbd19..000000000 --- a/vendors/galaxy/Docs/search/enums_5.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/enums_5.js b/vendors/galaxy/Docs/search/enums_5.js deleted file mode 100644 index fd2ff224a..000000000 --- a/vendors/galaxy/Docs/search/enums_5.js +++ /dev/null @@ -1,14 +0,0 @@ -var searchData= -[ - ['leaderboarddisplaytype',['LeaderboardDisplayType',['../group__api.html#gab796d71880cf4101dbb210bf989ba9b8',1,'galaxy::api']]], - ['leaderboardsortmethod',['LeaderboardSortMethod',['../group__api.html#ga6f93e1660335ee7866cb354ab5f8cd90',1,'galaxy::api']]], - ['listenertype',['ListenerType',['../group__api.html#ga187ae2b146c2a18d18a60fbb66cb1325',1,'galaxy::api']]], - ['lobbycomparisontype',['LobbyComparisonType',['../group__api.html#gaaa1f784857e2accc0bb6e9ff04f6730d',1,'galaxy::api']]], - ['lobbycreateresult',['LobbyCreateResult',['../group__api.html#ga4dbcb3a90897b7a6f019fb313cef3c12',1,'galaxy::api']]], - ['lobbyenterresult',['LobbyEnterResult',['../group__api.html#ga9a697cb4c70ba145451e372d7b064336',1,'galaxy::api']]], - ['lobbyleavereason',['LobbyLeaveReason',['../classgalaxy_1_1api_1_1ILobbyLeftListener.html#a47f45bc710b2a54713190fe298784ad2',1,'galaxy::api::ILobbyLeftListener']]], - ['lobbylistresult',['LobbyListResult',['../group__api.html#gab9f7574c7dfd404052e64a6a275dcdc8',1,'galaxy::api']]], - ['lobbymemberstatechange',['LobbyMemberStateChange',['../group__api.html#ga8c5f2e74526169399ff2edcfd2d386df',1,'galaxy::api']]], - ['lobbytopologytype',['LobbyTopologyType',['../group__api.html#ga966760a0bc04579410315346c09f5297',1,'galaxy::api']]], - ['lobbytype',['LobbyType',['../group__api.html#ga311c1e3b455f317f13d825bb5d775705',1,'galaxy::api']]] -]; diff --git a/vendors/galaxy/Docs/search/enums_6.html b/vendors/galaxy/Docs/search/enums_6.html deleted file mode 100644 index f32ac3681..000000000 --- a/vendors/galaxy/Docs/search/enums_6.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/enums_6.js b/vendors/galaxy/Docs/search/enums_6.js deleted file mode 100644 index 8fd2b9031..000000000 --- a/vendors/galaxy/Docs/search/enums_6.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['nattype',['NatType',['../group__api.html#ga73736c0f7526e31ef6a35dcc0ebd34ce',1,'galaxy::api']]] -]; diff --git a/vendors/galaxy/Docs/search/enums_7.html b/vendors/galaxy/Docs/search/enums_7.html deleted file mode 100644 index 7a25d5903..000000000 --- a/vendors/galaxy/Docs/search/enums_7.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/enums_7.js b/vendors/galaxy/Docs/search/enums_7.js deleted file mode 100644 index 691b7f389..000000000 --- a/vendors/galaxy/Docs/search/enums_7.js +++ /dev/null @@ -1,5 +0,0 @@ -var searchData= -[ - ['operationalstate',['OperationalState',['../classgalaxy_1_1api_1_1IOperationalStateChangeListener.html#ae5205e56c5331a5b85e3dd2a5f14e0fa',1,'galaxy::api::IOperationalStateChangeListener']]], - ['overlaystate',['OverlayState',['../group__api.html#gabf15786f4b4ac5669318db70b02fb389',1,'galaxy::api']]] -]; diff --git a/vendors/galaxy/Docs/search/enums_8.html b/vendors/galaxy/Docs/search/enums_8.html deleted file mode 100644 index 03c3de22e..000000000 --- a/vendors/galaxy/Docs/search/enums_8.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/enums_8.js b/vendors/galaxy/Docs/search/enums_8.js deleted file mode 100644 index 0e67d6c00..000000000 --- a/vendors/galaxy/Docs/search/enums_8.js +++ /dev/null @@ -1,6 +0,0 @@ -var searchData= -[ - ['p2psendtype',['P2PSendType',['../group__api.html#gac2b75cd8111214499aef51563ae89f9a',1,'galaxy::api']]], - ['personastate',['PersonaState',['../group__api.html#ga608f6267eb31cafa281d634bc45ef356',1,'galaxy::api']]], - ['personastatechange',['PersonaStateChange',['../classgalaxy_1_1api_1_1IPersonaDataChangedListener.html#a895bc6c37e8cba72dba5136f2bfa2c2d',1,'galaxy::api::IPersonaDataChangedListener']]] -]; diff --git a/vendors/galaxy/Docs/search/enums_9.html b/vendors/galaxy/Docs/search/enums_9.html deleted file mode 100644 index 41e9d0d1f..000000000 --- a/vendors/galaxy/Docs/search/enums_9.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/enums_9.js b/vendors/galaxy/Docs/search/enums_9.js deleted file mode 100644 index 7c83c342c..000000000 --- a/vendors/galaxy/Docs/search/enums_9.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['type',['Type',['../classgalaxy_1_1api_1_1IError.html#a1d1cfd8ffb84e947f82999c682b666a7',1,'galaxy::api::IError']]] -]; diff --git a/vendors/galaxy/Docs/search/enumvalues_0.html b/vendors/galaxy/Docs/search/enumvalues_0.html deleted file mode 100644 index 78895c79b..000000000 --- a/vendors/galaxy/Docs/search/enumvalues_0.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/enumvalues_0.js b/vendors/galaxy/Docs/search/enumvalues_0.js deleted file mode 100644 index a63fb11c2..000000000 --- a/vendors/galaxy/Docs/search/enumvalues_0.js +++ /dev/null @@ -1,6 +0,0 @@ -var searchData= -[ - ['_5foverlay_5fstate_5fchange',['_OVERLAY_STATE_CHANGE',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a9036578ca8f1f8050f532dfba4abac6f',1,'galaxy::api']]], - ['_5fserver_5fnetworking',['_SERVER_NETWORKING',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325ae11a4d882c1d0cb7c39a9e0b9f6cfa59',1,'galaxy::api']]], - ['_5fstorage_5fsynchronization',['_STORAGE_SYNCHRONIZATION',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a9ef1002a95c2e0156bc151419caafa83',1,'galaxy::api']]] -]; diff --git a/vendors/galaxy/Docs/search/enumvalues_1.html b/vendors/galaxy/Docs/search/enumvalues_1.html deleted file mode 100644 index 9b02a4b38..000000000 --- a/vendors/galaxy/Docs/search/enumvalues_1.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/enumvalues_1.js b/vendors/galaxy/Docs/search/enumvalues_1.js deleted file mode 100644 index 94eaf5770..000000000 --- a/vendors/galaxy/Docs/search/enumvalues_1.js +++ /dev/null @@ -1,10 +0,0 @@ -var searchData= -[ - ['access_5ftoken_5fchange',['ACCESS_TOKEN_CHANGE',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a140f38619b5a219594bed0ce3f607d77',1,'galaxy::api']]], - ['achievement_5fchange',['ACHIEVEMENT_CHANGE',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a1cdca9604979711a1f3d65e0d6b50d88',1,'galaxy::api']]], - ['auth',['AUTH',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a8b22fbb60fcbd7a4a5e1e6ff6ee38218',1,'galaxy::api']]], - ['avatar_5ftype_5flarge',['AVATAR_TYPE_LARGE',['../group__api.html#gga51ba11764e2176ad2cc364635fac294eaff15caabaef36eb4474c64eca3adf8ef',1,'galaxy::api']]], - ['avatar_5ftype_5fmedium',['AVATAR_TYPE_MEDIUM',['../group__api.html#gga51ba11764e2176ad2cc364635fac294eaa77de76e722c9a94aa7b3be97936f070',1,'galaxy::api']]], - ['avatar_5ftype_5fnone',['AVATAR_TYPE_NONE',['../group__api.html#gga51ba11764e2176ad2cc364635fac294ea91228793d738e332f5e41ef12ba1f586',1,'galaxy::api']]], - ['avatar_5ftype_5fsmall',['AVATAR_TYPE_SMALL',['../group__api.html#gga51ba11764e2176ad2cc364635fac294eab4d1c5b4099a3d2844181e6fd02b7f44',1,'galaxy::api']]] -]; diff --git a/vendors/galaxy/Docs/search/enumvalues_2.html b/vendors/galaxy/Docs/search/enumvalues_2.html deleted file mode 100644 index 2482854d9..000000000 --- a/vendors/galaxy/Docs/search/enumvalues_2.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/enumvalues_2.js b/vendors/galaxy/Docs/search/enumvalues_2.js deleted file mode 100644 index 39d8799ba..000000000 --- a/vendors/galaxy/Docs/search/enumvalues_2.js +++ /dev/null @@ -1,17 +0,0 @@ -var searchData= -[ - ['chat_5fmessage_5ftype_5fchat_5fmessage',['CHAT_MESSAGE_TYPE_CHAT_MESSAGE',['../group__api.html#ggad1921a6afb665af4c7e7d243e2b762e9a6b08ec004a476f5ad71ba54259541c67',1,'galaxy::api']]], - ['chat_5fmessage_5ftype_5fgame_5finvitation',['CHAT_MESSAGE_TYPE_GAME_INVITATION',['../group__api.html#ggad1921a6afb665af4c7e7d243e2b762e9a569cef091eeb0adc8ab44cec802dab57',1,'galaxy::api']]], - ['chat_5fmessage_5ftype_5funknown',['CHAT_MESSAGE_TYPE_UNKNOWN',['../group__api.html#ggad1921a6afb665af4c7e7d243e2b762e9ad1f406f6b4feac6d276267b6502dcb47',1,'galaxy::api']]], - ['chat_5froom_5fmessage_5fsend_5flistener',['CHAT_ROOM_MESSAGE_SEND_LISTENER',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a12700c589db879536b4283a5912faa8f',1,'galaxy::api']]], - ['chat_5froom_5fmessages_5flistener',['CHAT_ROOM_MESSAGES_LISTENER',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a873e878d3dc00df44b36a2535b34624f',1,'galaxy::api']]], - ['chat_5froom_5fmessages_5fretrieve_5flistener',['CHAT_ROOM_MESSAGES_RETRIEVE_LISTENER',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a57a196ab47d0b16f92d31fe1aa5e905a',1,'galaxy::api']]], - ['chat_5froom_5fwith_5fuser_5fretrieve_5flistener',['CHAT_ROOM_WITH_USER_RETRIEVE_LISTENER',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a1480ce82560fd8f4a62da6b9ce3e3a38',1,'galaxy::api']]], - ['close_5freason_5fundefined',['CLOSE_REASON_UNDEFINED',['../classgalaxy_1_1api_1_1IConnectionCloseListener.html#a2af9150cca99c965611884e1a48ff18dae3c8bfc34a50df0931adc712de447dcf',1,'galaxy::api::IConnectionCloseListener']]], - ['connection_5ftype_5fdirect',['CONNECTION_TYPE_DIRECT',['../group__api.html#ggaa1f0e2efd52935fd01bfece0fbead81fa54f65564c6ebfa12f1ab53c4cef8864a',1,'galaxy::api']]], - ['connection_5ftype_5fnone',['CONNECTION_TYPE_NONE',['../group__api.html#ggaa1f0e2efd52935fd01bfece0fbead81fa808fe0871c1c5c3073ea2e11cefa9d39',1,'galaxy::api']]], - ['connection_5ftype_5fproxy',['CONNECTION_TYPE_PROXY',['../group__api.html#ggaa1f0e2efd52935fd01bfece0fbead81fa868e58fdaa4cf592dfc454798977ebc4',1,'galaxy::api']]], - ['custom_5fnetworking_5fconnection_5fclose',['CUSTOM_NETWORKING_CONNECTION_CLOSE',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325ad86f20ec9ad84b2cde53d43f84530819',1,'galaxy::api']]], - ['custom_5fnetworking_5fconnection_5fdata',['CUSTOM_NETWORKING_CONNECTION_DATA',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325ad8a8714f03b0ab8ac1f3eca36ec1eede',1,'galaxy::api']]], - ['custom_5fnetworking_5fconnection_5fopen',['CUSTOM_NETWORKING_CONNECTION_OPEN',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a4d71b1bf3846cdf037472757971f7a01',1,'galaxy::api']]] -]; diff --git a/vendors/galaxy/Docs/search/enumvalues_3.html b/vendors/galaxy/Docs/search/enumvalues_3.html deleted file mode 100644 index e6124b947..000000000 --- a/vendors/galaxy/Docs/search/enumvalues_3.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/enumvalues_3.js b/vendors/galaxy/Docs/search/enumvalues_3.js deleted file mode 100644 index 4496641cf..000000000 --- a/vendors/galaxy/Docs/search/enumvalues_3.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['deprecated_5flobby_5ftopology_5ftype_5ffcm_5fhost_5fmigration',['DEPRECATED_LOBBY_TOPOLOGY_TYPE_FCM_HOST_MIGRATION',['../group__api.html#gga966760a0bc04579410315346c09f5297ac3d6627d3673b044b0b420bc54967fac',1,'galaxy::api']]] -]; diff --git a/vendors/galaxy/Docs/search/enumvalues_4.html b/vendors/galaxy/Docs/search/enumvalues_4.html deleted file mode 100644 index 8d234cfc1..000000000 --- a/vendors/galaxy/Docs/search/enumvalues_4.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/enumvalues_4.js b/vendors/galaxy/Docs/search/enumvalues_4.js deleted file mode 100644 index 5ce46c201..000000000 --- a/vendors/galaxy/Docs/search/enumvalues_4.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['encrypted_5fapp_5fticket_5fretrieve',['ENCRYPTED_APP_TICKET_RETRIEVE',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325ae1b91722e7da1bf2b0018eea873e5258',1,'galaxy::api']]] -]; diff --git a/vendors/galaxy/Docs/search/enumvalues_5.html b/vendors/galaxy/Docs/search/enumvalues_5.html deleted file mode 100644 index d16ee24be..000000000 --- a/vendors/galaxy/Docs/search/enumvalues_5.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/enumvalues_5.js b/vendors/galaxy/Docs/search/enumvalues_5.js deleted file mode 100644 index 852f3f1ce..000000000 --- a/vendors/galaxy/Docs/search/enumvalues_5.js +++ /dev/null @@ -1,38 +0,0 @@ -var searchData= -[ - ['failure_5freason_5fclient_5fforbidden',['FAILURE_REASON_CLIENT_FORBIDDEN',['../classgalaxy_1_1api_1_1ITelemetryEventSendListener.html#a2e1fab5fc244b0783172514baec21a6ea7fba7ed642dcdbd0369695993582e872',1,'galaxy::api::ITelemetryEventSendListener']]], - ['failure_5freason_5fconnection_5ffailure',['FAILURE_REASON_CONNECTION_FAILURE',['../classgalaxy_1_1api_1_1IChatRoomWithUserRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0',1,'galaxy::api::IChatRoomWithUserRetrieveListener::FAILURE_REASON_CONNECTION_FAILURE()'],['../classgalaxy_1_1api_1_1IChatRoomMessageSendListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0',1,'galaxy::api::IChatRoomMessageSendListener::FAILURE_REASON_CONNECTION_FAILURE()'],['../classgalaxy_1_1api_1_1IChatRoomMessagesRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0',1,'galaxy::api::IChatRoomMessagesRetrieveListener::FAILURE_REASON_CONNECTION_FAILURE()'],['../classgalaxy_1_1api_1_1IConnectionOpenListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0',1,'galaxy::api::IConnectionOpenListener::FAILURE_REASON_CONNECTION_FAILURE()'],['../classgalaxy_1_1api_1_1IUserInformationRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0',1,'galaxy::api::IUserInformationRetrieveListener::FAILURE_REASON_CONNECTION_FAILURE()'],['../classgalaxy_1_1api_1_1IFriendListListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0',1,'galaxy::api::IFriendListListener::FAILURE_REASON_CONNECTION_FAILURE()'],['../classgalaxy_1_1api_1_1IFriendInvitationSendListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0',1,'galaxy::api::IFriendInvitationSendListener::FAILURE_REASON_CONNECTION_FAILURE()'],['../classgalaxy_1_1api_1_1IFriendInvitationListRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0',1,'galaxy::api::IFriendInvitationListRetrieveListener::FAILURE_REASON_CONNECTION_FAILURE()'],['../classgalaxy_1_1api_1_1ISentFriendInvitationListRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0',1,'galaxy::api::ISentFriendInvitationListRetrieveListener::FAILURE_REASON_CONNECTION_FAILURE()'],['../classgalaxy_1_1api_1_1IFriendInvitationRespondToListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0',1,'galaxy::api::IFriendInvitationRespondToListener::FAILURE_REASON_CONNECTION_FAILURE()'],['../classgalaxy_1_1api_1_1IFriendDeleteListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0',1,'galaxy::api::IFriendDeleteListener::FAILURE_REASON_CONNECTION_FAILURE()'],['../classgalaxy_1_1api_1_1IRichPresenceChangeListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0',1,'galaxy::api::IRichPresenceChangeListener::FAILURE_REASON_CONNECTION_FAILURE()'],['../classgalaxy_1_1api_1_1IRichPresenceRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0',1,'galaxy::api::IRichPresenceRetrieveListener::FAILURE_REASON_CONNECTION_FAILURE()'],['../classgalaxy_1_1api_1_1ISendInvitationListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0',1,'galaxy::api::ISendInvitationListener::FAILURE_REASON_CONNECTION_FAILURE()'],['../classgalaxy_1_1api_1_1IUserFindListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0',1,'galaxy::api::IUserFindListener::FAILURE_REASON_CONNECTION_FAILURE()'],['../classgalaxy_1_1api_1_1ILobbyDataUpdateListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0',1,'galaxy::api::ILobbyDataUpdateListener::FAILURE_REASON_CONNECTION_FAILURE()'],['../classgalaxy_1_1api_1_1ILobbyMemberDataUpdateListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0',1,'galaxy::api::ILobbyMemberDataUpdateListener::FAILURE_REASON_CONNECTION_FAILURE()'],['../classgalaxy_1_1api_1_1ILobbyDataRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0',1,'galaxy::api::ILobbyDataRetrieveListener::FAILURE_REASON_CONNECTION_FAILURE()'],['../classgalaxy_1_1api_1_1IUserStatsAndAchievementsRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0',1,'galaxy::api::IUserStatsAndAchievementsRetrieveListener::FAILURE_REASON_CONNECTION_FAILURE()'],['../classgalaxy_1_1api_1_1IStatsAndAchievementsStoreListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0',1,'galaxy::api::IStatsAndAchievementsStoreListener::FAILURE_REASON_CONNECTION_FAILURE()'],['../classgalaxy_1_1api_1_1ILeaderboardsRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0',1,'galaxy::api::ILeaderboardsRetrieveListener::FAILURE_REASON_CONNECTION_FAILURE()'],['../classgalaxy_1_1api_1_1ILeaderboardEntriesRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0',1,'galaxy::api::ILeaderboardEntriesRetrieveListener::FAILURE_REASON_CONNECTION_FAILURE()'],['../classgalaxy_1_1api_1_1ILeaderboardScoreUpdateListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0',1,'galaxy::api::ILeaderboardScoreUpdateListener::FAILURE_REASON_CONNECTION_FAILURE()'],['../classgalaxy_1_1api_1_1ILeaderboardRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0',1,'galaxy::api::ILeaderboardRetrieveListener::FAILURE_REASON_CONNECTION_FAILURE()'],['../classgalaxy_1_1api_1_1IUserTimePlayedRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0',1,'galaxy::api::IUserTimePlayedRetrieveListener::FAILURE_REASON_CONNECTION_FAILURE()'],['../classgalaxy_1_1api_1_1IFileShareListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0',1,'galaxy::api::IFileShareListener::FAILURE_REASON_CONNECTION_FAILURE()'],['../classgalaxy_1_1api_1_1ISharedFileDownloadListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0',1,'galaxy::api::ISharedFileDownloadListener::FAILURE_REASON_CONNECTION_FAILURE()'],['../classgalaxy_1_1api_1_1ITelemetryEventSendListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0',1,'galaxy::api::ITelemetryEventSendListener::FAILURE_REASON_CONNECTION_FAILURE()'],['../classgalaxy_1_1api_1_1IAuthListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0',1,'galaxy::api::IAuthListener::FAILURE_REASON_CONNECTION_FAILURE()'],['../classgalaxy_1_1api_1_1IEncryptedAppTicketListener.html#a2e1fab5fc244b0783172514baec21a6eacefd5a23a9bceac5f2d766f341a614b0',1,'galaxy::api::IEncryptedAppTicketListener::FAILURE_REASON_CONNECTION_FAILURE()']]], - ['failure_5freason_5fevent_5fsampled_5fout',['FAILURE_REASON_EVENT_SAMPLED_OUT',['../classgalaxy_1_1api_1_1ITelemetryEventSendListener.html#a2e1fab5fc244b0783172514baec21a6ea3d2c601e0008f0c4ecc929feeaa4f58a',1,'galaxy::api::ITelemetryEventSendListener']]], - ['failure_5freason_5fexternal_5fservice_5ffailure',['FAILURE_REASON_EXTERNAL_SERVICE_FAILURE',['../classgalaxy_1_1api_1_1IAuthListener.html#a2e1fab5fc244b0783172514baec21a6eab7145a99bbd4fa9b92e8d85150f8106f',1,'galaxy::api::IAuthListener']]], - ['failure_5freason_5fforbidden',['FAILURE_REASON_FORBIDDEN',['../classgalaxy_1_1api_1_1IChatRoomWithUserRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6ea1ddabde3adccfb118865118a875d071d',1,'galaxy::api::IChatRoomWithUserRetrieveListener::FAILURE_REASON_FORBIDDEN()'],['../classgalaxy_1_1api_1_1IChatRoomMessageSendListener.html#a2e1fab5fc244b0783172514baec21a6ea1ddabde3adccfb118865118a875d071d',1,'galaxy::api::IChatRoomMessageSendListener::FAILURE_REASON_FORBIDDEN()'],['../classgalaxy_1_1api_1_1IChatRoomMessagesRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6ea1ddabde3adccfb118865118a875d071d',1,'galaxy::api::IChatRoomMessagesRetrieveListener::FAILURE_REASON_FORBIDDEN()']]], - ['failure_5freason_5ffriend_5finvitation_5fdoes_5fnot_5fexist',['FAILURE_REASON_FRIEND_INVITATION_DOES_NOT_EXIST',['../classgalaxy_1_1api_1_1IFriendInvitationRespondToListener.html#a2e1fab5fc244b0783172514baec21a6eac6d034b89542b28cae96b846e2a92792',1,'galaxy::api::IFriendInvitationRespondToListener']]], - ['failure_5freason_5fgalaxy_5fnot_5finitialized',['FAILURE_REASON_GALAXY_NOT_INITIALIZED',['../classgalaxy_1_1api_1_1IAuthListener.html#a2e1fab5fc244b0783172514baec21a6eafb1301b46bbbb368826e2596af8aec24',1,'galaxy::api::IAuthListener']]], - ['failure_5freason_5fgalaxy_5fservice_5fnot_5favailable',['FAILURE_REASON_GALAXY_SERVICE_NOT_AVAILABLE',['../classgalaxy_1_1api_1_1IAuthListener.html#a2e1fab5fc244b0783172514baec21a6ea1240b0ce8b7f84b6d27510970c06776d',1,'galaxy::api::IAuthListener']]], - ['failure_5freason_5fgalaxy_5fservice_5fnot_5fsigned_5fin',['FAILURE_REASON_GALAXY_SERVICE_NOT_SIGNED_IN',['../classgalaxy_1_1api_1_1IAuthListener.html#a2e1fab5fc244b0783172514baec21a6ea27ab7c15c949b5bdac9a72372d48a4e4',1,'galaxy::api::IAuthListener']]], - ['failure_5freason_5finvalid_5fcredentials',['FAILURE_REASON_INVALID_CREDENTIALS',['../classgalaxy_1_1api_1_1IAuthListener.html#a2e1fab5fc244b0783172514baec21a6eab52a5b434ff81e2589c99889ace15fad',1,'galaxy::api::IAuthListener']]], - ['failure_5freason_5finvalid_5fdata',['FAILURE_REASON_INVALID_DATA',['../classgalaxy_1_1api_1_1ITelemetryEventSendListener.html#a2e1fab5fc244b0783172514baec21a6eace58a894eb8fe9f9a3e97f630475ca3a',1,'galaxy::api::ITelemetryEventSendListener']]], - ['failure_5freason_5flobby_5fdoes_5fnot_5fexist',['FAILURE_REASON_LOBBY_DOES_NOT_EXIST',['../classgalaxy_1_1api_1_1ILobbyDataUpdateListener.html#a2e1fab5fc244b0783172514baec21a6ea6e9ef4e4fbd09f5734790f71e9d6e97c',1,'galaxy::api::ILobbyDataUpdateListener::FAILURE_REASON_LOBBY_DOES_NOT_EXIST()'],['../classgalaxy_1_1api_1_1ILobbyMemberDataUpdateListener.html#a2e1fab5fc244b0783172514baec21a6ea6e9ef4e4fbd09f5734790f71e9d6e97c',1,'galaxy::api::ILobbyMemberDataUpdateListener::FAILURE_REASON_LOBBY_DOES_NOT_EXIST()'],['../classgalaxy_1_1api_1_1ILobbyDataRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6ea6e9ef4e4fbd09f5734790f71e9d6e97c',1,'galaxy::api::ILobbyDataRetrieveListener::FAILURE_REASON_LOBBY_DOES_NOT_EXIST()']]], - ['failure_5freason_5fno_5fimprovement',['FAILURE_REASON_NO_IMPROVEMENT',['../classgalaxy_1_1api_1_1ILeaderboardScoreUpdateListener.html#a2e1fab5fc244b0783172514baec21a6eaceb48ff7593713d35ec069494e299f19',1,'galaxy::api::ILeaderboardScoreUpdateListener']]], - ['failure_5freason_5fno_5flicense',['FAILURE_REASON_NO_LICENSE',['../classgalaxy_1_1api_1_1IAuthListener.html#a2e1fab5fc244b0783172514baec21a6eaf5553255a42a2b50bba4890a2bda4fd6',1,'galaxy::api::IAuthListener']]], - ['failure_5freason_5fno_5fsampling_5fclass_5fin_5fconfig',['FAILURE_REASON_NO_SAMPLING_CLASS_IN_CONFIG',['../classgalaxy_1_1api_1_1ITelemetryEventSendListener.html#a2e1fab5fc244b0783172514baec21a6ea86ff39a7adf0a5c2eef68436db4eb9cc',1,'galaxy::api::ITelemetryEventSendListener']]], - ['failure_5freason_5fnot_5ffound',['FAILURE_REASON_NOT_FOUND',['../classgalaxy_1_1api_1_1ILeaderboardEntriesRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6ea1757345b21c8d539d78e69d1266a8854',1,'galaxy::api::ILeaderboardEntriesRetrieveListener']]], - ['failure_5freason_5freceiver_5fblocked',['FAILURE_REASON_RECEIVER_BLOCKED',['../classgalaxy_1_1api_1_1ISendInvitationListener.html#a2e1fab5fc244b0783172514baec21a6ea4afc4feb156c1277318d40ef8d43f8bf',1,'galaxy::api::ISendInvitationListener']]], - ['failure_5freason_5freceiver_5fdoes_5fnot_5fallow_5finviting',['FAILURE_REASON_RECEIVER_DOES_NOT_ALLOW_INVITING',['../classgalaxy_1_1api_1_1ISendInvitationListener.html#a2e1fab5fc244b0783172514baec21a6ea2d07a59b06b2000f02c8122509cdc41f',1,'galaxy::api::ISendInvitationListener']]], - ['failure_5freason_5fsampling_5fclass_5ffield_5fmissing',['FAILURE_REASON_SAMPLING_CLASS_FIELD_MISSING',['../classgalaxy_1_1api_1_1ITelemetryEventSendListener.html#a2e1fab5fc244b0783172514baec21a6eae1926d3db86e0b3d2d248dde7769755e',1,'galaxy::api::ITelemetryEventSendListener']]], - ['failure_5freason_5fsender_5fblocked',['FAILURE_REASON_SENDER_BLOCKED',['../classgalaxy_1_1api_1_1ISendInvitationListener.html#a2e1fab5fc244b0783172514baec21a6ea24759fa13b642cae2eda00c5fcfe2cfc',1,'galaxy::api::ISendInvitationListener']]], - ['failure_5freason_5fsender_5fdoes_5fnot_5fallow_5finviting',['FAILURE_REASON_SENDER_DOES_NOT_ALLOW_INVITING',['../classgalaxy_1_1api_1_1ISendInvitationListener.html#a2e1fab5fc244b0783172514baec21a6ead6c9cfbb428609b302e2e6d3ca401a5b',1,'galaxy::api::ISendInvitationListener']]], - ['failure_5freason_5funauthorized',['FAILURE_REASON_UNAUTHORIZED',['../classgalaxy_1_1api_1_1IConnectionOpenListener.html#a2e1fab5fc244b0783172514baec21a6ea1f870b0f470cb854818527e6c70764a4',1,'galaxy::api::IConnectionOpenListener']]], - ['failure_5freason_5fundefined',['FAILURE_REASON_UNDEFINED',['../classgalaxy_1_1api_1_1IChatRoomWithUserRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39',1,'galaxy::api::IChatRoomWithUserRetrieveListener::FAILURE_REASON_UNDEFINED()'],['../classgalaxy_1_1api_1_1IChatRoomMessageSendListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39',1,'galaxy::api::IChatRoomMessageSendListener::FAILURE_REASON_UNDEFINED()'],['../classgalaxy_1_1api_1_1IChatRoomMessagesRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39',1,'galaxy::api::IChatRoomMessagesRetrieveListener::FAILURE_REASON_UNDEFINED()'],['../classgalaxy_1_1api_1_1IConnectionOpenListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39',1,'galaxy::api::IConnectionOpenListener::FAILURE_REASON_UNDEFINED()'],['../classgalaxy_1_1api_1_1IUserInformationRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39',1,'galaxy::api::IUserInformationRetrieveListener::FAILURE_REASON_UNDEFINED()'],['../classgalaxy_1_1api_1_1IFriendListListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39',1,'galaxy::api::IFriendListListener::FAILURE_REASON_UNDEFINED()'],['../classgalaxy_1_1api_1_1IFriendInvitationSendListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39',1,'galaxy::api::IFriendInvitationSendListener::FAILURE_REASON_UNDEFINED()'],['../classgalaxy_1_1api_1_1IFriendInvitationListRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39',1,'galaxy::api::IFriendInvitationListRetrieveListener::FAILURE_REASON_UNDEFINED()'],['../classgalaxy_1_1api_1_1ISentFriendInvitationListRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39',1,'galaxy::api::ISentFriendInvitationListRetrieveListener::FAILURE_REASON_UNDEFINED()'],['../classgalaxy_1_1api_1_1IFriendInvitationRespondToListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39',1,'galaxy::api::IFriendInvitationRespondToListener::FAILURE_REASON_UNDEFINED()'],['../classgalaxy_1_1api_1_1IFriendDeleteListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39',1,'galaxy::api::IFriendDeleteListener::FAILURE_REASON_UNDEFINED()'],['../classgalaxy_1_1api_1_1IRichPresenceChangeListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39',1,'galaxy::api::IRichPresenceChangeListener::FAILURE_REASON_UNDEFINED()'],['../classgalaxy_1_1api_1_1IRichPresenceRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39',1,'galaxy::api::IRichPresenceRetrieveListener::FAILURE_REASON_UNDEFINED()'],['../classgalaxy_1_1api_1_1ISendInvitationListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39',1,'galaxy::api::ISendInvitationListener::FAILURE_REASON_UNDEFINED()'],['../classgalaxy_1_1api_1_1IUserFindListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39',1,'galaxy::api::IUserFindListener::FAILURE_REASON_UNDEFINED()'],['../classgalaxy_1_1api_1_1ILobbyDataUpdateListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39',1,'galaxy::api::ILobbyDataUpdateListener::FAILURE_REASON_UNDEFINED()'],['../classgalaxy_1_1api_1_1ILobbyMemberDataUpdateListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39',1,'galaxy::api::ILobbyMemberDataUpdateListener::FAILURE_REASON_UNDEFINED()'],['../classgalaxy_1_1api_1_1ILobbyDataRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39',1,'galaxy::api::ILobbyDataRetrieveListener::FAILURE_REASON_UNDEFINED()'],['../classgalaxy_1_1api_1_1IUserStatsAndAchievementsRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39',1,'galaxy::api::IUserStatsAndAchievementsRetrieveListener::FAILURE_REASON_UNDEFINED()'],['../classgalaxy_1_1api_1_1IStatsAndAchievementsStoreListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39',1,'galaxy::api::IStatsAndAchievementsStoreListener::FAILURE_REASON_UNDEFINED()'],['../classgalaxy_1_1api_1_1ILeaderboardsRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39',1,'galaxy::api::ILeaderboardsRetrieveListener::FAILURE_REASON_UNDEFINED()'],['../classgalaxy_1_1api_1_1ILeaderboardEntriesRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39',1,'galaxy::api::ILeaderboardEntriesRetrieveListener::FAILURE_REASON_UNDEFINED()'],['../classgalaxy_1_1api_1_1ILeaderboardScoreUpdateListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39',1,'galaxy::api::ILeaderboardScoreUpdateListener::FAILURE_REASON_UNDEFINED()'],['../classgalaxy_1_1api_1_1ILeaderboardRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39',1,'galaxy::api::ILeaderboardRetrieveListener::FAILURE_REASON_UNDEFINED()'],['../classgalaxy_1_1api_1_1IUserTimePlayedRetrieveListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39',1,'galaxy::api::IUserTimePlayedRetrieveListener::FAILURE_REASON_UNDEFINED()'],['../classgalaxy_1_1api_1_1IFileShareListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39',1,'galaxy::api::IFileShareListener::FAILURE_REASON_UNDEFINED()'],['../classgalaxy_1_1api_1_1ISharedFileDownloadListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39',1,'galaxy::api::ISharedFileDownloadListener::FAILURE_REASON_UNDEFINED()'],['../classgalaxy_1_1api_1_1ITelemetryEventSendListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39',1,'galaxy::api::ITelemetryEventSendListener::FAILURE_REASON_UNDEFINED()'],['../classgalaxy_1_1api_1_1IAuthListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39',1,'galaxy::api::IAuthListener::FAILURE_REASON_UNDEFINED()'],['../classgalaxy_1_1api_1_1IEncryptedAppTicketListener.html#a2e1fab5fc244b0783172514baec21a6eaa74f64df27a0caa4d95e71bf14bb5d39',1,'galaxy::api::IEncryptedAppTicketListener::FAILURE_REASON_UNDEFINED()']]], - ['failure_5freason_5fuser_5falready_5ffriend',['FAILURE_REASON_USER_ALREADY_FRIEND',['../classgalaxy_1_1api_1_1IFriendInvitationSendListener.html#a2e1fab5fc244b0783172514baec21a6ea81d35666717e441e4a6c79a7fe7b62eb',1,'galaxy::api::IFriendInvitationSendListener::FAILURE_REASON_USER_ALREADY_FRIEND()'],['../classgalaxy_1_1api_1_1IFriendInvitationRespondToListener.html#a2e1fab5fc244b0783172514baec21a6ea81d35666717e441e4a6c79a7fe7b62eb',1,'galaxy::api::IFriendInvitationRespondToListener::FAILURE_REASON_USER_ALREADY_FRIEND()']]], - ['failure_5freason_5fuser_5falready_5finvited',['FAILURE_REASON_USER_ALREADY_INVITED',['../classgalaxy_1_1api_1_1IFriendInvitationSendListener.html#a2e1fab5fc244b0783172514baec21a6ea1e4fcee207327fc8bd9f1224ef08035f',1,'galaxy::api::IFriendInvitationSendListener']]], - ['failure_5freason_5fuser_5fdoes_5fnot_5fexist',['FAILURE_REASON_USER_DOES_NOT_EXIST',['../classgalaxy_1_1api_1_1IFriendInvitationSendListener.html#a2e1fab5fc244b0783172514baec21a6eaa7fdbf5fd0f8fb915cd270eaf4dee431',1,'galaxy::api::IFriendInvitationSendListener::FAILURE_REASON_USER_DOES_NOT_EXIST()'],['../classgalaxy_1_1api_1_1IFriendInvitationRespondToListener.html#a2e1fab5fc244b0783172514baec21a6eaa7fdbf5fd0f8fb915cd270eaf4dee431',1,'galaxy::api::IFriendInvitationRespondToListener::FAILURE_REASON_USER_DOES_NOT_EXIST()'],['../classgalaxy_1_1api_1_1ISendInvitationListener.html#a2e1fab5fc244b0783172514baec21a6eaa7fdbf5fd0f8fb915cd270eaf4dee431',1,'galaxy::api::ISendInvitationListener::FAILURE_REASON_USER_DOES_NOT_EXIST()']]], - ['failure_5freason_5fuser_5fnot_5ffound',['FAILURE_REASON_USER_NOT_FOUND',['../classgalaxy_1_1api_1_1IUserFindListener.html#a2e1fab5fc244b0783172514baec21a6eaa3872a391409543312c44443abd5df02',1,'galaxy::api::IUserFindListener']]], - ['file_5fshare',['FILE_SHARE',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325ab548e05dec73185c51357ce89e32540b',1,'galaxy::api']]], - ['friend_5fadd_5flistener',['FRIEND_ADD_LISTENER',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a9d114ff52d63ce2d091f265089d2093c',1,'galaxy::api']]], - ['friend_5fdelete_5flistener',['FRIEND_DELETE_LISTENER',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325ac4e0c9466447897ecea72d44fbfe9ce3',1,'galaxy::api']]], - ['friend_5finvitation_5flist_5fretrieve_5flistener',['FRIEND_INVITATION_LIST_RETRIEVE_LISTENER',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325acf9249464a9b14ddfe4deb86fd383718',1,'galaxy::api']]], - ['friend_5finvitation_5flistener',['FRIEND_INVITATION_LISTENER',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a5a3d72d3b844e13e5d62cf064d056992',1,'galaxy::api']]], - ['friend_5finvitation_5frespond_5fto_5flistener',['FRIEND_INVITATION_RESPOND_TO_LISTENER',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325aeda03f2a3a56e74628529e5eb5531ba7',1,'galaxy::api']]], - ['friend_5finvitation_5fsend_5flistener',['FRIEND_INVITATION_SEND_LISTENER',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a1feb0b8df63e25370e9ecc716761d0ec',1,'galaxy::api']]], - ['friend_5flist_5fretrieve',['FRIEND_LIST_RETRIEVE',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a21da77db9d7caf59cd2853a9d9f10e06',1,'galaxy::api']]] -]; diff --git a/vendors/galaxy/Docs/search/enumvalues_6.html b/vendors/galaxy/Docs/search/enumvalues_6.html deleted file mode 100644 index c39f08658..000000000 --- a/vendors/galaxy/Docs/search/enumvalues_6.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/enumvalues_6.js b/vendors/galaxy/Docs/search/enumvalues_6.js deleted file mode 100644 index ff330f36c..000000000 --- a/vendors/galaxy/Docs/search/enumvalues_6.js +++ /dev/null @@ -1,10 +0,0 @@ -var searchData= -[ - ['game_5finvitation_5freceived_5flistener',['GAME_INVITATION_RECEIVED_LISTENER',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a5fffa6c24763d7583b9534afa24524fe',1,'galaxy::api']]], - ['game_5fjoin_5frequested_5flistener',['GAME_JOIN_REQUESTED_LISTENER',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325ac4207f87ebbafefd3f72814ada7a1f78',1,'galaxy::api']]], - ['gog_5fservices_5fconnection_5fstate_5fauth_5flost',['GOG_SERVICES_CONNECTION_STATE_AUTH_LOST',['../group__api.html#gga1e44fb253de3879ddbfae2977049396eafa96e7887ac0c246bc641ab6fa8cd170',1,'galaxy::api']]], - ['gog_5fservices_5fconnection_5fstate_5fconnected',['GOG_SERVICES_CONNECTION_STATE_CONNECTED',['../group__api.html#gga1e44fb253de3879ddbfae2977049396ea262ea69c2235d138d2a0289d5b7221da',1,'galaxy::api']]], - ['gog_5fservices_5fconnection_5fstate_5fdisconnected',['GOG_SERVICES_CONNECTION_STATE_DISCONNECTED',['../group__api.html#gga1e44fb253de3879ddbfae2977049396ea10e527cfe5f8f40242fe2c8779e0fcd3',1,'galaxy::api']]], - ['gog_5fservices_5fconnection_5fstate_5flistener',['GOG_SERVICES_CONNECTION_STATE_LISTENER',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a7aeb4604c9a6dd5d0bf61dc8a43978f0',1,'galaxy::api']]], - ['gog_5fservices_5fconnection_5fstate_5fundefined',['GOG_SERVICES_CONNECTION_STATE_UNDEFINED',['../group__api.html#gga1e44fb253de3879ddbfae2977049396eaa7e2464ade2105871d4bf3377949b7a3',1,'galaxy::api']]] -]; diff --git a/vendors/galaxy/Docs/search/enumvalues_7.html b/vendors/galaxy/Docs/search/enumvalues_7.html deleted file mode 100644 index f75419fec..000000000 --- a/vendors/galaxy/Docs/search/enumvalues_7.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/enumvalues_7.js b/vendors/galaxy/Docs/search/enumvalues_7.js deleted file mode 100644 index 2cb5cdede..000000000 --- a/vendors/galaxy/Docs/search/enumvalues_7.js +++ /dev/null @@ -1,6 +0,0 @@ -var searchData= -[ - ['invitation_5fdirection_5fincoming',['INVITATION_DIRECTION_INCOMING',['../classgalaxy_1_1api_1_1IFriendAddListener.html#a6987312242c9bc945fadf5d2022240c7a27cfeefdda57343cdbcbfca03c58cd91',1,'galaxy::api::IFriendAddListener']]], - ['invitation_5fdirection_5foutgoing',['INVITATION_DIRECTION_OUTGOING',['../classgalaxy_1_1api_1_1IFriendAddListener.html#a6987312242c9bc945fadf5d2022240c7a801280a11440b55d67618746c3c4038c',1,'galaxy::api::IFriendAddListener']]], - ['invitation_5fsend',['INVITATION_SEND',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325aad9c8117c9c6011003e6128d17a80083',1,'galaxy::api']]] -]; diff --git a/vendors/galaxy/Docs/search/enumvalues_8.html b/vendors/galaxy/Docs/search/enumvalues_8.html deleted file mode 100644 index 96b5b73e7..000000000 --- a/vendors/galaxy/Docs/search/enumvalues_8.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/enumvalues_8.js b/vendors/galaxy/Docs/search/enumvalues_8.js deleted file mode 100644 index 4cc30d9b1..000000000 --- a/vendors/galaxy/Docs/search/enumvalues_8.js +++ /dev/null @@ -1,60 +0,0 @@ -var searchData= -[ - ['leaderboard_5fdisplay_5ftype_5fnone',['LEADERBOARD_DISPLAY_TYPE_NONE',['../group__api.html#ggab796d71880cf4101dbb210bf989ba9b8acf3e4c70e50968117fc9df97876e57fa',1,'galaxy::api']]], - ['leaderboard_5fdisplay_5ftype_5fnumber',['LEADERBOARD_DISPLAY_TYPE_NUMBER',['../group__api.html#ggab796d71880cf4101dbb210bf989ba9b8a411b8879f4ef91afb5307621a2a41efe',1,'galaxy::api']]], - ['leaderboard_5fdisplay_5ftype_5ftime_5fmilliseconds',['LEADERBOARD_DISPLAY_TYPE_TIME_MILLISECONDS',['../group__api.html#ggab796d71880cf4101dbb210bf989ba9b8adc0b1d18956e22e98935a8c341b24d78',1,'galaxy::api']]], - ['leaderboard_5fdisplay_5ftype_5ftime_5fseconds',['LEADERBOARD_DISPLAY_TYPE_TIME_SECONDS',['../group__api.html#ggab796d71880cf4101dbb210bf989ba9b8a6fde1620af398c1ad1de2c35d764aa6a',1,'galaxy::api']]], - ['leaderboard_5fentries_5fretrieve',['LEADERBOARD_ENTRIES_RETRIEVE',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a5d6bf6ca50e1a386b070149ea65b4481',1,'galaxy::api']]], - ['leaderboard_5fretrieve',['LEADERBOARD_RETRIEVE',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a983abedbfba5255913b547b11219c5be',1,'galaxy::api']]], - ['leaderboard_5fscore_5fupdate_5flistener',['LEADERBOARD_SCORE_UPDATE_LISTENER',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a00741befc273de8d805f72124cf992d2',1,'galaxy::api']]], - ['leaderboard_5fsort_5fmethod_5fascending',['LEADERBOARD_SORT_METHOD_ASCENDING',['../group__api.html#gga6f93e1660335ee7866cb354ab5f8cd90aa0d841ca8ac0568098b7955f7375b2b4',1,'galaxy::api']]], - ['leaderboard_5fsort_5fmethod_5fdescending',['LEADERBOARD_SORT_METHOD_DESCENDING',['../group__api.html#gga6f93e1660335ee7866cb354ab5f8cd90a8c28fa9480d452129a289a7c61115322',1,'galaxy::api']]], - ['leaderboard_5fsort_5fmethod_5fnone',['LEADERBOARD_SORT_METHOD_NONE',['../group__api.html#gga6f93e1660335ee7866cb354ab5f8cd90a3bc5085e90a842f574d928063e6c0d77',1,'galaxy::api']]], - ['leaderboards_5fretrieve',['LEADERBOARDS_RETRIEVE',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325afefaa48dc75f328fe84a6e08b84c48a6',1,'galaxy::api']]], - ['listener_5ftype_5fbegin',['LISTENER_TYPE_BEGIN',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a2550722395b71677daa582a5b9c81475',1,'galaxy::api']]], - ['listener_5ftype_5fend',['LISTENER_TYPE_END',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a27c65d867aa81d580b8f6b6835e17ee6',1,'galaxy::api']]], - ['lobby_5fcomparison_5ftype_5fequal',['LOBBY_COMPARISON_TYPE_EQUAL',['../group__api.html#ggaaa1f784857e2accc0bb6e9ff04f6730da480f87abf8713dc5e0db8edc91a82b08',1,'galaxy::api']]], - ['lobby_5fcomparison_5ftype_5fgreater',['LOBBY_COMPARISON_TYPE_GREATER',['../group__api.html#ggaaa1f784857e2accc0bb6e9ff04f6730da150cfb626a3aac85a979ed2049878989',1,'galaxy::api']]], - ['lobby_5fcomparison_5ftype_5fgreater_5for_5fequal',['LOBBY_COMPARISON_TYPE_GREATER_OR_EQUAL',['../group__api.html#ggaaa1f784857e2accc0bb6e9ff04f6730daa3371a1534252ee455c86f1cd1cfe59a',1,'galaxy::api']]], - ['lobby_5fcomparison_5ftype_5flower',['LOBBY_COMPARISON_TYPE_LOWER',['../group__api.html#ggaaa1f784857e2accc0bb6e9ff04f6730da11916e40d4813a04f2209aef2b0eb8a7',1,'galaxy::api']]], - ['lobby_5fcomparison_5ftype_5flower_5for_5fequal',['LOBBY_COMPARISON_TYPE_LOWER_OR_EQUAL',['../group__api.html#ggaaa1f784857e2accc0bb6e9ff04f6730daa8ee60d541753ef47e3cd7fc4b0ab688',1,'galaxy::api']]], - ['lobby_5fcomparison_5ftype_5fnot_5fequal',['LOBBY_COMPARISON_TYPE_NOT_EQUAL',['../group__api.html#ggaaa1f784857e2accc0bb6e9ff04f6730dadf5dc535e169ab9a847b084577cd9d63',1,'galaxy::api']]], - ['lobby_5fcreate_5fresult_5fconnection_5ffailure',['LOBBY_CREATE_RESULT_CONNECTION_FAILURE',['../group__api.html#gga4dbcb3a90897b7a6f019fb313cef3c12a0a74f32f1d22ad6c632822737d5fee00',1,'galaxy::api']]], - ['lobby_5fcreate_5fresult_5ferror',['LOBBY_CREATE_RESULT_ERROR',['../group__api.html#gga4dbcb3a90897b7a6f019fb313cef3c12a2305d918f65d5a59636c3c6dd38c74ca',1,'galaxy::api']]], - ['lobby_5fcreate_5fresult_5fsuccess',['LOBBY_CREATE_RESULT_SUCCESS',['../group__api.html#gga4dbcb3a90897b7a6f019fb313cef3c12ae34b05b10da4c91b3c768ea284987bda',1,'galaxy::api']]], - ['lobby_5fcreated',['LOBBY_CREATED',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a72b400c0cb9db505acdf2d141bcb2e80',1,'galaxy::api']]], - ['lobby_5fdata',['LOBBY_DATA',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a753c6fa3b59b26d70414aba9627c4de3',1,'galaxy::api']]], - ['lobby_5fdata_5fretrieve',['LOBBY_DATA_RETRIEVE',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a1cc0ee94dc2d746b9561dbd2c7d38cb3',1,'galaxy::api']]], - ['lobby_5fenter_5fresult_5fconnection_5ffailure',['LOBBY_ENTER_RESULT_CONNECTION_FAILURE',['../group__api.html#gga9a697cb4c70ba145451e372d7b064336a4b12fe91734c91f8b9ce7af7968fc3d4',1,'galaxy::api']]], - ['lobby_5fenter_5fresult_5ferror',['LOBBY_ENTER_RESULT_ERROR',['../group__api.html#gga9a697cb4c70ba145451e372d7b064336af4eab26f860d54c0de9271a144dcd900',1,'galaxy::api']]], - ['lobby_5fenter_5fresult_5flobby_5fdoes_5fnot_5fexist',['LOBBY_ENTER_RESULT_LOBBY_DOES_NOT_EXIST',['../group__api.html#gga9a697cb4c70ba145451e372d7b064336a185be0fbec90a6d7d1ce4fb4be63ef89',1,'galaxy::api']]], - ['lobby_5fenter_5fresult_5flobby_5fis_5ffull',['LOBBY_ENTER_RESULT_LOBBY_IS_FULL',['../group__api.html#gga9a697cb4c70ba145451e372d7b064336a98a29aa953dfbb0b716da9243c20f44f',1,'galaxy::api']]], - ['lobby_5fenter_5fresult_5fsuccess',['LOBBY_ENTER_RESULT_SUCCESS',['../group__api.html#gga9a697cb4c70ba145451e372d7b064336a76b563ecea3fd53da962dd4616190b65',1,'galaxy::api']]], - ['lobby_5fentered',['LOBBY_ENTERED',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a4a2114245474500da2ab887ddf173c9a',1,'galaxy::api']]], - ['lobby_5fleave_5freason_5fconnection_5flost',['LOBBY_LEAVE_REASON_CONNECTION_LOST',['../classgalaxy_1_1api_1_1ILobbyLeftListener.html#a47f45bc710b2a54713190fe298784ad2a4a16b2972e1ab9c0ff5056e1fdc54db2',1,'galaxy::api::ILobbyLeftListener']]], - ['lobby_5fleave_5freason_5flobby_5fclosed',['LOBBY_LEAVE_REASON_LOBBY_CLOSED',['../classgalaxy_1_1api_1_1ILobbyLeftListener.html#a47f45bc710b2a54713190fe298784ad2ae4bc91d153942bdfe568aae8379c0747',1,'galaxy::api::ILobbyLeftListener']]], - ['lobby_5fleave_5freason_5fundefined',['LOBBY_LEAVE_REASON_UNDEFINED',['../classgalaxy_1_1api_1_1ILobbyLeftListener.html#a47f45bc710b2a54713190fe298784ad2a6070b2697b7c0e6f2646ca763b256513',1,'galaxy::api::ILobbyLeftListener']]], - ['lobby_5fleave_5freason_5fuser_5fleft',['LOBBY_LEAVE_REASON_USER_LEFT',['../classgalaxy_1_1api_1_1ILobbyLeftListener.html#a47f45bc710b2a54713190fe298784ad2adb3c59b9e3d120fa6aba361e8d67d1c1',1,'galaxy::api::ILobbyLeftListener']]], - ['lobby_5fleft',['LOBBY_LEFT',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a27105c2e9a00c8d321918ebe8ce1c166',1,'galaxy::api']]], - ['lobby_5flist',['LOBBY_LIST',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a961649662a019865d4dd71363a4281dc',1,'galaxy::api']]], - ['lobby_5flist_5fresult_5fconnection_5ffailure',['LOBBY_LIST_RESULT_CONNECTION_FAILURE',['../group__api.html#ggab9f7574c7dfd404052e64a6a275dcdc8a9909d1df224ecb0b3c759301fb547121',1,'galaxy::api']]], - ['lobby_5flist_5fresult_5ferror',['LOBBY_LIST_RESULT_ERROR',['../group__api.html#ggab9f7574c7dfd404052e64a6a275dcdc8ae306c3d06307c00594cac179340388c6',1,'galaxy::api']]], - ['lobby_5flist_5fresult_5fsuccess',['LOBBY_LIST_RESULT_SUCCESS',['../group__api.html#ggab9f7574c7dfd404052e64a6a275dcdc8ae6fbd40817254a84ce3311ceb0ccf9a5',1,'galaxy::api']]], - ['lobby_5fmember_5fdata_5fupdate_5flistener',['LOBBY_MEMBER_DATA_UPDATE_LISTENER',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325ad6aa2cb0b9595bf4ccabbf5cd737ac9b',1,'galaxy::api']]], - ['lobby_5fmember_5fstate',['LOBBY_MEMBER_STATE',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325aa53647cf33f944bbe7f8055b34c7d4f0',1,'galaxy::api']]], - ['lobby_5fmember_5fstate_5fchanged_5fbanned',['LOBBY_MEMBER_STATE_CHANGED_BANNED',['../group__api.html#gga8c5f2e74526169399ff2edcfd2d386dfa465cf5af6a4c53c3d6df74e7613996d5',1,'galaxy::api']]], - ['lobby_5fmember_5fstate_5fchanged_5fdisconnected',['LOBBY_MEMBER_STATE_CHANGED_DISCONNECTED',['../group__api.html#gga8c5f2e74526169399ff2edcfd2d386dfa0780ded5ee628fcb6a05420844fca0d0',1,'galaxy::api']]], - ['lobby_5fmember_5fstate_5fchanged_5fentered',['LOBBY_MEMBER_STATE_CHANGED_ENTERED',['../group__api.html#gga8c5f2e74526169399ff2edcfd2d386dfad3bd316a9abdfef0fab174bcabea6736',1,'galaxy::api']]], - ['lobby_5fmember_5fstate_5fchanged_5fkicked',['LOBBY_MEMBER_STATE_CHANGED_KICKED',['../group__api.html#gga8c5f2e74526169399ff2edcfd2d386dfa0e2f95876ec6b48e87c69c9724eb31ea',1,'galaxy::api']]], - ['lobby_5fmember_5fstate_5fchanged_5fleft',['LOBBY_MEMBER_STATE_CHANGED_LEFT',['../group__api.html#gga8c5f2e74526169399ff2edcfd2d386dfa1e1a5fc4eea4d7b53d3386e6ff9fb8a7',1,'galaxy::api']]], - ['lobby_5fmessage',['LOBBY_MESSAGE',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a7facde2105ca77872d8e8fe396066cee',1,'galaxy::api']]], - ['lobby_5fowner_5fchange',['LOBBY_OWNER_CHANGE',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a925a790bff1b18803f5bed2b92736842',1,'galaxy::api']]], - ['lobby_5ftopology_5ftype_5fconnectionless',['LOBBY_TOPOLOGY_TYPE_CONNECTIONLESS',['../group__api.html#gga966760a0bc04579410315346c09f5297a97062606a19ce304cb08b37dd1fb230c',1,'galaxy::api']]], - ['lobby_5ftopology_5ftype_5ffcm',['LOBBY_TOPOLOGY_TYPE_FCM',['../group__api.html#gga966760a0bc04579410315346c09f5297aec97c7470d63b1411fc44d804d86e5ad',1,'galaxy::api']]], - ['lobby_5ftopology_5ftype_5ffcm_5fownership_5ftransition',['LOBBY_TOPOLOGY_TYPE_FCM_OWNERSHIP_TRANSITION',['../group__api.html#gga966760a0bc04579410315346c09f5297a4e7ccb46c6f6fbf4155a3e8af28640cc',1,'galaxy::api']]], - ['lobby_5ftopology_5ftype_5fstar',['LOBBY_TOPOLOGY_TYPE_STAR',['../group__api.html#gga966760a0bc04579410315346c09f5297a744cb713d95b58f8720a2cfd4a11054a',1,'galaxy::api']]], - ['lobby_5ftype_5ffriends_5fonly',['LOBBY_TYPE_FRIENDS_ONLY',['../group__api.html#gga311c1e3b455f317f13d825bb5d775705a37a763eba2d28b1cc1fbaaa601c30d1b',1,'galaxy::api']]], - ['lobby_5ftype_5finvisible_5fto_5ffriends',['LOBBY_TYPE_INVISIBLE_TO_FRIENDS',['../group__api.html#gga311c1e3b455f317f13d825bb5d775705a4f8f12169bc568a74d268f8edba1acdd',1,'galaxy::api']]], - ['lobby_5ftype_5fprivate',['LOBBY_TYPE_PRIVATE',['../group__api.html#gga311c1e3b455f317f13d825bb5d775705ad1a563a0cc0384bbe5c57f4681ef1c19',1,'galaxy::api']]], - ['lobby_5ftype_5fpublic',['LOBBY_TYPE_PUBLIC',['../group__api.html#gga311c1e3b455f317f13d825bb5d775705a62ed4def75b04f5d9bec9ddff877d2b6',1,'galaxy::api']]] -]; diff --git a/vendors/galaxy/Docs/search/enumvalues_9.html b/vendors/galaxy/Docs/search/enumvalues_9.html deleted file mode 100644 index 2e532f48f..000000000 --- a/vendors/galaxy/Docs/search/enumvalues_9.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/enumvalues_9.js b/vendors/galaxy/Docs/search/enumvalues_9.js deleted file mode 100644 index d5457141a..000000000 --- a/vendors/galaxy/Docs/search/enumvalues_9.js +++ /dev/null @@ -1,12 +0,0 @@ -var searchData= -[ - ['nat_5ftype_5faddress_5frestricted',['NAT_TYPE_ADDRESS_RESTRICTED',['../group__api.html#gga73736c0f7526e31ef6a35dcc0ebd34cea47df308fc95edc5df5c3a6c600d56487',1,'galaxy::api']]], - ['nat_5ftype_5fdetection',['NAT_TYPE_DETECTION',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a614fb2383e33ca93e4e368295ae865f2',1,'galaxy::api']]], - ['nat_5ftype_5ffull_5fcone',['NAT_TYPE_FULL_CONE',['../group__api.html#gga73736c0f7526e31ef6a35dcc0ebd34ceabc4ec3321c82e31fbaaee67fa02ea47a',1,'galaxy::api']]], - ['nat_5ftype_5fnone',['NAT_TYPE_NONE',['../group__api.html#gga73736c0f7526e31ef6a35dcc0ebd34ceaa9e1944a7565512e00f6fa448a495508',1,'galaxy::api']]], - ['nat_5ftype_5fport_5frestricted',['NAT_TYPE_PORT_RESTRICTED',['../group__api.html#gga73736c0f7526e31ef6a35dcc0ebd34cea1d64ea9bbd365fc005390552d6f7d851',1,'galaxy::api']]], - ['nat_5ftype_5fsymmetric',['NAT_TYPE_SYMMETRIC',['../group__api.html#gga73736c0f7526e31ef6a35dcc0ebd34cea21fb563e9e76b1098f809c927b3bb80b',1,'galaxy::api']]], - ['nat_5ftype_5funknown',['NAT_TYPE_UNKNOWN',['../group__api.html#gga73736c0f7526e31ef6a35dcc0ebd34ceae0916dd80e1a9d76db5979c5700ebaeb',1,'galaxy::api']]], - ['networking',['NETWORKING',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a649576b72b8563d824386a69916c2563',1,'galaxy::api']]], - ['notification_5flistener',['NOTIFICATION_LISTENER',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325acf5bdce9fa3fee58610918c7e9bbd3a8',1,'galaxy::api']]] -]; diff --git a/vendors/galaxy/Docs/search/enumvalues_a.html b/vendors/galaxy/Docs/search/enumvalues_a.html deleted file mode 100644 index 848615891..000000000 --- a/vendors/galaxy/Docs/search/enumvalues_a.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/enumvalues_a.js b/vendors/galaxy/Docs/search/enumvalues_a.js deleted file mode 100644 index 86a4b051f..000000000 --- a/vendors/galaxy/Docs/search/enumvalues_a.js +++ /dev/null @@ -1,14 +0,0 @@ -var searchData= -[ - ['operational_5fstate_5fchange',['OPERATIONAL_STATE_CHANGE',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325aca0df0259978a48310bd08d22cb144ce',1,'galaxy::api']]], - ['operational_5fstate_5flogged_5fon',['OPERATIONAL_STATE_LOGGED_ON',['../classgalaxy_1_1api_1_1IOperationalStateChangeListener.html#ae5205e56c5331a5b85e3dd2a5f14e0faa18d05370294c6b322124488caa892ac1',1,'galaxy::api::IOperationalStateChangeListener']]], - ['operational_5fstate_5fsigned_5fin',['OPERATIONAL_STATE_SIGNED_IN',['../classgalaxy_1_1api_1_1IOperationalStateChangeListener.html#ae5205e56c5331a5b85e3dd2a5f14e0faa94463a70f6647a95037fb5a34c21df55',1,'galaxy::api::IOperationalStateChangeListener']]], - ['other_5fsession_5fstart',['OTHER_SESSION_START',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a38475d66217b64b92a4b3e25e77fa48c',1,'galaxy::api']]], - ['overlay_5finitialization_5fstate_5fchange',['OVERLAY_INITIALIZATION_STATE_CHANGE',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325abe9b0298ab57ec2c240abd1ca9c3e2e5',1,'galaxy::api']]], - ['overlay_5fstate_5fdisabled',['OVERLAY_STATE_DISABLED',['../group__api.html#ggabf15786f4b4ac5669318db70b02fb389aacda732d1c553bd699b73a456dd09d47',1,'galaxy::api']]], - ['overlay_5fstate_5ffailed_5fto_5finitialize',['OVERLAY_STATE_FAILED_TO_INITIALIZE',['../group__api.html#ggabf15786f4b4ac5669318db70b02fb389a8aaa65e5907b045a0644b904da2a0ace',1,'galaxy::api']]], - ['overlay_5fstate_5finitialized',['OVERLAY_STATE_INITIALIZED',['../group__api.html#ggabf15786f4b4ac5669318db70b02fb389acc422dc8bb238adf24c1d7320bcf7357',1,'galaxy::api']]], - ['overlay_5fstate_5fnot_5fsupported',['OVERLAY_STATE_NOT_SUPPORTED',['../group__api.html#ggabf15786f4b4ac5669318db70b02fb389ae6f285af1806e5507c004203218086bc',1,'galaxy::api']]], - ['overlay_5fstate_5fundefined',['OVERLAY_STATE_UNDEFINED',['../group__api.html#ggabf15786f4b4ac5669318db70b02fb389ad1e22a5175b838cabdf7b80186114403',1,'galaxy::api']]], - ['overlay_5fvisibility_5fchange',['OVERLAY_VISIBILITY_CHANGE',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a59c448707c0e8e973b8ed190629959ad',1,'galaxy::api']]] -]; diff --git a/vendors/galaxy/Docs/search/enumvalues_b.html b/vendors/galaxy/Docs/search/enumvalues_b.html deleted file mode 100644 index 3ac456a6e..000000000 --- a/vendors/galaxy/Docs/search/enumvalues_b.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/enumvalues_b.js b/vendors/galaxy/Docs/search/enumvalues_b.js deleted file mode 100644 index 291a0ec3f..000000000 --- a/vendors/galaxy/Docs/search/enumvalues_b.js +++ /dev/null @@ -1,17 +0,0 @@ -var searchData= -[ - ['p2p_5fsend_5freliable',['P2P_SEND_RELIABLE',['../group__api.html#ggac2b75cd8111214499aef51563ae89f9aa29b17108439f84ca97abd881a695fb06',1,'galaxy::api']]], - ['p2p_5fsend_5freliable_5fimmediate',['P2P_SEND_RELIABLE_IMMEDIATE',['../group__api.html#ggac2b75cd8111214499aef51563ae89f9aa87221170828c607ce35486e4da3144bc',1,'galaxy::api']]], - ['p2p_5fsend_5funreliable',['P2P_SEND_UNRELIABLE',['../group__api.html#ggac2b75cd8111214499aef51563ae89f9aaa8b3226f86393bf9a7ac17031c36643c',1,'galaxy::api']]], - ['p2p_5fsend_5funreliable_5fimmediate',['P2P_SEND_UNRELIABLE_IMMEDIATE',['../group__api.html#ggac2b75cd8111214499aef51563ae89f9aa294f30830907dfadaeac2cbb7966c884',1,'galaxy::api']]], - ['persona_5fchange_5favatar',['PERSONA_CHANGE_AVATAR',['../classgalaxy_1_1api_1_1IPersonaDataChangedListener.html#a895bc6c37e8cba72dba5136f2bfa2c2da4e4f10aa284754bc26a15d44e163cf78',1,'galaxy::api::IPersonaDataChangedListener']]], - ['persona_5fchange_5favatar_5fdownloaded_5fimage_5fany',['PERSONA_CHANGE_AVATAR_DOWNLOADED_IMAGE_ANY',['../classgalaxy_1_1api_1_1IPersonaDataChangedListener.html#a895bc6c37e8cba72dba5136f2bfa2c2dab965c14b0100cb51ca5347d520adc934',1,'galaxy::api::IPersonaDataChangedListener']]], - ['persona_5fchange_5favatar_5fdownloaded_5fimage_5flarge',['PERSONA_CHANGE_AVATAR_DOWNLOADED_IMAGE_LARGE',['../classgalaxy_1_1api_1_1IPersonaDataChangedListener.html#a895bc6c37e8cba72dba5136f2bfa2c2daac3b48fe851d2d69a46bcf15fd4ba27c',1,'galaxy::api::IPersonaDataChangedListener']]], - ['persona_5fchange_5favatar_5fdownloaded_5fimage_5fmedium',['PERSONA_CHANGE_AVATAR_DOWNLOADED_IMAGE_MEDIUM',['../classgalaxy_1_1api_1_1IPersonaDataChangedListener.html#a895bc6c37e8cba72dba5136f2bfa2c2dab26c3430bcd4093891fa1f5277fe691d',1,'galaxy::api::IPersonaDataChangedListener']]], - ['persona_5fchange_5favatar_5fdownloaded_5fimage_5fsmall',['PERSONA_CHANGE_AVATAR_DOWNLOADED_IMAGE_SMALL',['../classgalaxy_1_1api_1_1IPersonaDataChangedListener.html#a895bc6c37e8cba72dba5136f2bfa2c2dadbb246999072276f12e9a0a6abc17d15',1,'galaxy::api::IPersonaDataChangedListener']]], - ['persona_5fchange_5fname',['PERSONA_CHANGE_NAME',['../classgalaxy_1_1api_1_1IPersonaDataChangedListener.html#a895bc6c37e8cba72dba5136f2bfa2c2dad4270d6ae3f97bb91e11d64b12fb77c2',1,'galaxy::api::IPersonaDataChangedListener']]], - ['persona_5fchange_5fnone',['PERSONA_CHANGE_NONE',['../classgalaxy_1_1api_1_1IPersonaDataChangedListener.html#a895bc6c37e8cba72dba5136f2bfa2c2daf328d5471b051ab3f1a93012e3f4a22e',1,'galaxy::api::IPersonaDataChangedListener']]], - ['persona_5fdata_5fchanged',['PERSONA_DATA_CHANGED',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325ac7bd820abf43d2123cdff4bfbabc6f7b',1,'galaxy::api']]], - ['persona_5fstate_5foffline',['PERSONA_STATE_OFFLINE',['../group__api.html#gga608f6267eb31cafa281d634bc45ef356a77d5dff40751392f545c34823c5f77d1',1,'galaxy::api']]], - ['persona_5fstate_5fonline',['PERSONA_STATE_ONLINE',['../group__api.html#gga608f6267eb31cafa281d634bc45ef356a8d560591609f716efa688497cd9def5b',1,'galaxy::api']]] -]; diff --git a/vendors/galaxy/Docs/search/enumvalues_c.html b/vendors/galaxy/Docs/search/enumvalues_c.html deleted file mode 100644 index 0f7974533..000000000 --- a/vendors/galaxy/Docs/search/enumvalues_c.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/enumvalues_c.js b/vendors/galaxy/Docs/search/enumvalues_c.js deleted file mode 100644 index d82cc060e..000000000 --- a/vendors/galaxy/Docs/search/enumvalues_c.js +++ /dev/null @@ -1,6 +0,0 @@ -var searchData= -[ - ['rich_5fpresence_5fchange_5flistener',['RICH_PRESENCE_CHANGE_LISTENER',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a361625a6cac0741a13d082bd6aa2101a',1,'galaxy::api']]], - ['rich_5fpresence_5flistener',['RICH_PRESENCE_LISTENER',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a5ee4a49360fbeee9a9386c03e0adff83',1,'galaxy::api']]], - ['rich_5fpresence_5fretrieve_5flistener',['RICH_PRESENCE_RETRIEVE_LISTENER',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325ab72196badaba734e27acb04eb78c2c78',1,'galaxy::api']]] -]; diff --git a/vendors/galaxy/Docs/search/enumvalues_d.html b/vendors/galaxy/Docs/search/enumvalues_d.html deleted file mode 100644 index ea3e08f02..000000000 --- a/vendors/galaxy/Docs/search/enumvalues_d.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/enumvalues_d.js b/vendors/galaxy/Docs/search/enumvalues_d.js deleted file mode 100644 index 69d6ade8b..000000000 --- a/vendors/galaxy/Docs/search/enumvalues_d.js +++ /dev/null @@ -1,7 +0,0 @@ -var searchData= -[ - ['sent_5ffriend_5finvitation_5flist_5fretrieve_5flistener',['SENT_FRIEND_INVITATION_LIST_RETRIEVE_LISTENER',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a35e645d702087e697dd2ad385c6e0499',1,'galaxy::api']]], - ['shared_5ffile_5fdownload',['SHARED_FILE_DOWNLOAD',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a5c727004e7704c79d985dc2ea1e3b219',1,'galaxy::api']]], - ['specific_5fuser_5fdata',['SPECIFIC_USER_DATA',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325abb91289964fd00dcda77ffbecffcbf0d',1,'galaxy::api']]], - ['stats_5fand_5fachievements_5fstore',['STATS_AND_ACHIEVEMENTS_STORE',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325ae8b38cb47d52f0f5e4a34ebe6fd85cf2',1,'galaxy::api']]] -]; diff --git a/vendors/galaxy/Docs/search/enumvalues_e.html b/vendors/galaxy/Docs/search/enumvalues_e.html deleted file mode 100644 index fcadce69e..000000000 --- a/vendors/galaxy/Docs/search/enumvalues_e.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/enumvalues_e.js b/vendors/galaxy/Docs/search/enumvalues_e.js deleted file mode 100644 index 16b446f56..000000000 --- a/vendors/galaxy/Docs/search/enumvalues_e.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['telemetry_5fevent_5fsend_5flistener',['TELEMETRY_EVENT_SEND_LISTENER',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325ab3ab76e1a23f449ed52c2f411d97941a',1,'galaxy::api']]] -]; diff --git a/vendors/galaxy/Docs/search/enumvalues_f.html b/vendors/galaxy/Docs/search/enumvalues_f.html deleted file mode 100644 index 73c9882c1..000000000 --- a/vendors/galaxy/Docs/search/enumvalues_f.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/enumvalues_f.js b/vendors/galaxy/Docs/search/enumvalues_f.js deleted file mode 100644 index a13a1dd2d..000000000 --- a/vendors/galaxy/Docs/search/enumvalues_f.js +++ /dev/null @@ -1,8 +0,0 @@ -var searchData= -[ - ['user_5fdata',['USER_DATA',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325ac4dcfccaa8f91257de6b916546d214ae',1,'galaxy::api']]], - ['user_5ffind_5flistener',['USER_FIND_LISTENER',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a4c062f52b68d1d424a5079891f7c1d36',1,'galaxy::api']]], - ['user_5finformation_5fretrieve_5flistener',['USER_INFORMATION_RETRIEVE_LISTENER',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325aa1a67cebe36541c17c7e35322e77d6a9',1,'galaxy::api']]], - ['user_5fstats_5fand_5fachievements_5fretrieve',['USER_STATS_AND_ACHIEVEMENTS_RETRIEVE',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a81a36542e8d6bd75d289199a7bf182a1',1,'galaxy::api']]], - ['user_5ftime_5fplayed_5fretrieve',['USER_TIME_PLAYED_RETRIEVE',['../group__api.html#gga187ae2b146c2a18d18a60fbb66cb1325a4ebce3e1d104d7c3fb7c54415bb076e2',1,'galaxy::api']]] -]; diff --git a/vendors/galaxy/Docs/search/files_0.html b/vendors/galaxy/Docs/search/files_0.html deleted file mode 100644 index 40cd45543..000000000 --- a/vendors/galaxy/Docs/search/files_0.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/files_0.js b/vendors/galaxy/Docs/search/files_0.js deleted file mode 100644 index e2b29b4f9..000000000 --- a/vendors/galaxy/Docs/search/files_0.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['errors_2eh',['Errors.h',['../Errors_8h.html',1,'']]] -]; diff --git a/vendors/galaxy/Docs/search/files_1.html b/vendors/galaxy/Docs/search/files_1.html deleted file mode 100644 index 646d1f4cc..000000000 --- a/vendors/galaxy/Docs/search/files_1.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/files_1.js b/vendors/galaxy/Docs/search/files_1.js deleted file mode 100644 index 429b05e60..000000000 --- a/vendors/galaxy/Docs/search/files_1.js +++ /dev/null @@ -1,8 +0,0 @@ -var searchData= -[ - ['galaxyallocator_2eh',['GalaxyAllocator.h',['../GalaxyAllocator_8h.html',1,'']]], - ['galaxyapi_2eh',['GalaxyApi.h',['../GalaxyApi_8h.html',1,'']]], - ['galaxyexport_2eh',['GalaxyExport.h',['../GalaxyExport_8h.html',1,'']]], - ['galaxygameserverapi_2eh',['GalaxyGameServerApi.h',['../GalaxyGameServerApi_8h.html',1,'']]], - ['galaxyid_2eh',['GalaxyID.h',['../GalaxyID_8h.html',1,'']]] -]; diff --git a/vendors/galaxy/Docs/search/files_2.html b/vendors/galaxy/Docs/search/files_2.html deleted file mode 100644 index 9e47a77a2..000000000 --- a/vendors/galaxy/Docs/search/files_2.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/files_2.js b/vendors/galaxy/Docs/search/files_2.js deleted file mode 100644 index 91dcf9679..000000000 --- a/vendors/galaxy/Docs/search/files_2.js +++ /dev/null @@ -1,17 +0,0 @@ -var searchData= -[ - ['iapps_2eh',['IApps.h',['../IApps_8h.html',1,'']]], - ['ichat_2eh',['IChat.h',['../IChat_8h.html',1,'']]], - ['icustomnetworking_2eh',['ICustomNetworking.h',['../ICustomNetworking_8h.html',1,'']]], - ['ifriends_2eh',['IFriends.h',['../IFriends_8h.html',1,'']]], - ['ilistenerregistrar_2eh',['IListenerRegistrar.h',['../IListenerRegistrar_8h.html',1,'']]], - ['ilogger_2eh',['ILogger.h',['../ILogger_8h.html',1,'']]], - ['imatchmaking_2eh',['IMatchmaking.h',['../IMatchmaking_8h.html',1,'']]], - ['inetworking_2eh',['INetworking.h',['../INetworking_8h.html',1,'']]], - ['initoptions_2eh',['InitOptions.h',['../InitOptions_8h.html',1,'']]], - ['istats_2eh',['IStats.h',['../IStats_8h.html',1,'']]], - ['istorage_2eh',['IStorage.h',['../IStorage_8h.html',1,'']]], - ['itelemetry_2eh',['ITelemetry.h',['../ITelemetry_8h.html',1,'']]], - ['iuser_2eh',['IUser.h',['../IUser_8h.html',1,'']]], - ['iutils_2eh',['IUtils.h',['../IUtils_8h.html',1,'']]] -]; diff --git a/vendors/galaxy/Docs/search/functions_0.html b/vendors/galaxy/Docs/search/functions_0.html deleted file mode 100644 index bc73761f5..000000000 --- a/vendors/galaxy/Docs/search/functions_0.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/functions_0.js b/vendors/galaxy/Docs/search/functions_0.js deleted file mode 100644 index d47491b7b..000000000 --- a/vendors/galaxy/Docs/search/functions_0.js +++ /dev/null @@ -1,14 +0,0 @@ -var searchData= -[ - ['addarrayparam',['AddArrayParam',['../classgalaxy_1_1api_1_1ITelemetry.html#a07994689bf6a549ae654698dd9c25a0b',1,'galaxy::api::ITelemetry']]], - ['addboolparam',['AddBoolParam',['../classgalaxy_1_1api_1_1ITelemetry.html#a6e9402df9141078a493f01285a61dae5',1,'galaxy::api::ITelemetry']]], - ['addfloatparam',['AddFloatParam',['../classgalaxy_1_1api_1_1ITelemetry.html#a836a98e4ffc28abd853c6bf24227c4f1',1,'galaxy::api::ITelemetry']]], - ['addintparam',['AddIntParam',['../classgalaxy_1_1api_1_1ITelemetry.html#a9bd9baaba76b0b075ae024c94859e244',1,'galaxy::api::ITelemetry']]], - ['addobjectparam',['AddObjectParam',['../classgalaxy_1_1api_1_1ITelemetry.html#a68b7108e87039bf36432c51c01c3879c',1,'galaxy::api::ITelemetry']]], - ['addrequestlobbylistnearvaluefilter',['AddRequestLobbyListNearValueFilter',['../classgalaxy_1_1api_1_1IMatchmaking.html#af8fd83c5ee487eca6862e2b8f5d3fc73',1,'galaxy::api::IMatchmaking']]], - ['addrequestlobbylistnumericalfilter',['AddRequestLobbyListNumericalFilter',['../classgalaxy_1_1api_1_1IMatchmaking.html#a3fd3d34a2cccaf9bfe237418ab368329',1,'galaxy::api::IMatchmaking']]], - ['addrequestlobbylistresultcountfilter',['AddRequestLobbyListResultCountFilter',['../classgalaxy_1_1api_1_1IMatchmaking.html#ad8b19c6d5c86194b90c01c1d14ba3ef7',1,'galaxy::api::IMatchmaking']]], - ['addrequestlobbyliststringfilter',['AddRequestLobbyListStringFilter',['../classgalaxy_1_1api_1_1IMatchmaking.html#a04440a136415d4c6f5272c9cca52b56e',1,'galaxy::api::IMatchmaking']]], - ['addstringparam',['AddStringParam',['../classgalaxy_1_1api_1_1ITelemetry.html#adf201bc466f23d5d1c97075d8ac54251',1,'galaxy::api::ITelemetry']]], - ['apps',['Apps',['../group__Peer.html#ga50e879fbb5841e146b85e5ec419b3041',1,'galaxy::api']]] -]; diff --git a/vendors/galaxy/Docs/search/functions_1.html b/vendors/galaxy/Docs/search/functions_1.html deleted file mode 100644 index bfcf880be..000000000 --- a/vendors/galaxy/Docs/search/functions_1.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/functions_1.js b/vendors/galaxy/Docs/search/functions_1.js deleted file mode 100644 index f12352ed5..000000000 --- a/vendors/galaxy/Docs/search/functions_1.js +++ /dev/null @@ -1,11 +0,0 @@ -var searchData= -[ - ['chat',['Chat',['../group__Peer.html#ga6e9cbdfb79b685a75bc2312ef19e2079',1,'galaxy::api']]], - ['clearachievement',['ClearAchievement',['../classgalaxy_1_1api_1_1IStats.html#adef56fea6b98328144d7c61b69233b68',1,'galaxy::api::IStats']]], - ['clearparams',['ClearParams',['../classgalaxy_1_1api_1_1ITelemetry.html#aec117a240e2a5d255834044301ef9269',1,'galaxy::api::ITelemetry']]], - ['clearrichpresence',['ClearRichPresence',['../classgalaxy_1_1api_1_1IFriends.html#ac4b3d7eb07d7d866e70c0770cc65ec3a',1,'galaxy::api::IFriends']]], - ['closeconnection',['CloseConnection',['../classgalaxy_1_1api_1_1ICustomNetworking.html#a6bbb32acab4c10b8c17fa007b2693543',1,'galaxy::api::ICustomNetworking']]], - ['closeparam',['CloseParam',['../classgalaxy_1_1api_1_1ITelemetry.html#a0f87fdc31f540ce3816520fc0d17eb23',1,'galaxy::api::ITelemetry']]], - ['createlobby',['CreateLobby',['../classgalaxy_1_1api_1_1IMatchmaking.html#a092de26b8b91e450552a12494dce4644',1,'galaxy::api::IMatchmaking']]], - ['customnetworking',['CustomNetworking',['../group__Peer.html#gaa7632d0a4bcbae1fb58b1837cb82ddda',1,'galaxy::api']]] -]; diff --git a/vendors/galaxy/Docs/search/functions_10.html b/vendors/galaxy/Docs/search/functions_10.html deleted file mode 100644 index d69badf9e..000000000 --- a/vendors/galaxy/Docs/search/functions_10.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/functions_10.js b/vendors/galaxy/Docs/search/functions_10.js deleted file mode 100644 index 3f0e6a824..000000000 --- a/vendors/galaxy/Docs/search/functions_10.js +++ /dev/null @@ -1,7 +0,0 @@ -var searchData= -[ - ['unregister',['Unregister',['../classgalaxy_1_1api_1_1IListenerRegistrar.html#a12efe4237c46626606669fc2f22113bb',1,'galaxy::api::IListenerRegistrar']]], - ['updateavgratestat',['UpdateAvgRateStat',['../classgalaxy_1_1api_1_1IStats.html#ac3b5485e260faea00926df1354a38ccc',1,'galaxy::api::IStats']]], - ['user',['User',['../group__Peer.html#gae38960649548d817130298258e0c461a',1,'galaxy::api']]], - ['utils',['Utils',['../group__Peer.html#ga07f13c08529578f0e4aacde7bab29b10',1,'galaxy::api']]] -]; diff --git a/vendors/galaxy/Docs/search/functions_11.html b/vendors/galaxy/Docs/search/functions_11.html deleted file mode 100644 index 2c143588e..000000000 --- a/vendors/galaxy/Docs/search/functions_11.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/functions_11.js b/vendors/galaxy/Docs/search/functions_11.js deleted file mode 100644 index de5517100..000000000 --- a/vendors/galaxy/Docs/search/functions_11.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['warning',['Warning',['../classgalaxy_1_1api_1_1ILogger.html#ad8294a3f478bb0e03f96f9bee6976920',1,'galaxy::api::ILogger']]] -]; diff --git a/vendors/galaxy/Docs/search/functions_12.html b/vendors/galaxy/Docs/search/functions_12.html deleted file mode 100644 index 3235f8dcd..000000000 --- a/vendors/galaxy/Docs/search/functions_12.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/functions_12.js b/vendors/galaxy/Docs/search/functions_12.js deleted file mode 100644 index d176bd466..000000000 --- a/vendors/galaxy/Docs/search/functions_12.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['_7eselfregisteringlistener',['~SelfRegisteringListener',['../classgalaxy_1_1api_1_1SelfRegisteringListener.html#a84fc934a5cac7d63e6355e8b51800c5b',1,'galaxy::api::SelfRegisteringListener']]] -]; diff --git a/vendors/galaxy/Docs/search/functions_2.html b/vendors/galaxy/Docs/search/functions_2.html deleted file mode 100644 index 2b44474ed..000000000 --- a/vendors/galaxy/Docs/search/functions_2.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/functions_2.js b/vendors/galaxy/Docs/search/functions_2.js deleted file mode 100644 index 1a527bbe7..000000000 --- a/vendors/galaxy/Docs/search/functions_2.js +++ /dev/null @@ -1,12 +0,0 @@ -var searchData= -[ - ['debug',['Debug',['../classgalaxy_1_1api_1_1ILogger.html#a2576db3f8fc28842d624c02175af2eb8',1,'galaxy::api::ILogger']]], - ['deletefriend',['DeleteFriend',['../classgalaxy_1_1api_1_1IFriends.html#aabd02b47cc7208c8696fa1c04419dec7',1,'galaxy::api::IFriends']]], - ['deletelobbydata',['DeleteLobbyData',['../classgalaxy_1_1api_1_1IMatchmaking.html#a4f413410b728855d1d1a9e400d3ac259',1,'galaxy::api::IMatchmaking']]], - ['deletelobbymemberdata',['DeleteLobbyMemberData',['../classgalaxy_1_1api_1_1IMatchmaking.html#ab43f4d563799e071ba889c36b8db81ce',1,'galaxy::api::IMatchmaking']]], - ['deleterichpresence',['DeleteRichPresence',['../classgalaxy_1_1api_1_1IFriends.html#a9ca5e270bac21300630ae985c9ef690d',1,'galaxy::api::IFriends']]], - ['deleteuserdata',['DeleteUserData',['../classgalaxy_1_1api_1_1IUser.html#ae95f75ecda7702c02f13801994f09e20',1,'galaxy::api::IUser']]], - ['detach',['Detach',['../classgalaxy_1_1api_1_1IGalaxyThread.html#a4c7d7ba0157a1d4f0544968ff700691a',1,'galaxy::api::IGalaxyThread']]], - ['disableoverlaypopups',['DisableOverlayPopups',['../classgalaxy_1_1api_1_1IUtils.html#ada0a725829e0677427402b45af8e446a',1,'galaxy::api::IUtils']]], - ['downloadsharedfile',['DownloadSharedFile',['../classgalaxy_1_1api_1_1IStorage.html#aabdcf590bfdd6365e82aba4f1f332005',1,'galaxy::api::IStorage']]] -]; diff --git a/vendors/galaxy/Docs/search/functions_3.html b/vendors/galaxy/Docs/search/functions_3.html deleted file mode 100644 index 3dca36715..000000000 --- a/vendors/galaxy/Docs/search/functions_3.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/functions_3.js b/vendors/galaxy/Docs/search/functions_3.js deleted file mode 100644 index f5d318df8..000000000 --- a/vendors/galaxy/Docs/search/functions_3.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['error',['Error',['../classgalaxy_1_1api_1_1ILogger.html#a8019dc6a7edbf285ab91d6b058b93d42',1,'galaxy::api::ILogger']]] -]; diff --git a/vendors/galaxy/Docs/search/functions_4.html b/vendors/galaxy/Docs/search/functions_4.html deleted file mode 100644 index e713f2867..000000000 --- a/vendors/galaxy/Docs/search/functions_4.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/functions_4.js b/vendors/galaxy/Docs/search/functions_4.js deleted file mode 100644 index 1d31ab885..000000000 --- a/vendors/galaxy/Docs/search/functions_4.js +++ /dev/null @@ -1,14 +0,0 @@ -var searchData= -[ - ['fatal',['Fatal',['../classgalaxy_1_1api_1_1ILogger.html#a9f845ab48be230fa39be75c73ad5c8ec',1,'galaxy::api::ILogger']]], - ['filedelete',['FileDelete',['../classgalaxy_1_1api_1_1IStorage.html#a51d41b83fca88ea99f4efbf8eb821759',1,'galaxy::api::IStorage']]], - ['fileexists',['FileExists',['../classgalaxy_1_1api_1_1IStorage.html#a3e0e304228ce32f9adf541cebf9c5056',1,'galaxy::api::IStorage']]], - ['fileread',['FileRead',['../classgalaxy_1_1api_1_1IStorage.html#acf76533ce14ff9dd852d06e311447ef9',1,'galaxy::api::IStorage']]], - ['fileshare',['FileShare',['../classgalaxy_1_1api_1_1IStorage.html#a10cfbb334ff48fcb8c9f891adc45ca1d',1,'galaxy::api::IStorage']]], - ['filewrite',['FileWrite',['../classgalaxy_1_1api_1_1IStorage.html#a1c3179a4741b7e84fe2626a696e9b4df',1,'galaxy::api::IStorage']]], - ['findleaderboard',['FindLeaderboard',['../classgalaxy_1_1api_1_1IStats.html#ace79a09f5cc55acdc502b9251cdb0898',1,'galaxy::api::IStats']]], - ['findorcreateleaderboard',['FindOrCreateLeaderboard',['../classgalaxy_1_1api_1_1IStats.html#a1854172caa8de815218a0c44e2d04d8c',1,'galaxy::api::IStats']]], - ['finduser',['FindUser',['../classgalaxy_1_1api_1_1IFriends.html#af56e4546f048ca3a6467fc03f5ec2448',1,'galaxy::api::IFriends']]], - ['friends',['Friends',['../group__Peer.html#ga27e073630c24a0ed20def15bdaf1aa52',1,'galaxy::api']]], - ['fromrealid',['FromRealID',['../classgalaxy_1_1api_1_1GalaxyID.html#a0a8140979b8e84844babea160999f17e',1,'galaxy::api::GalaxyID']]] -]; diff --git a/vendors/galaxy/Docs/search/functions_5.html b/vendors/galaxy/Docs/search/functions_5.html deleted file mode 100644 index cfe6b17d9..000000000 --- a/vendors/galaxy/Docs/search/functions_5.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/functions_5.js b/vendors/galaxy/Docs/search/functions_5.js deleted file mode 100644 index 05f63114b..000000000 --- a/vendors/galaxy/Docs/search/functions_5.js +++ /dev/null @@ -1,105 +0,0 @@ -var searchData= -[ - ['galaxyallocator',['GalaxyAllocator',['../structgalaxy_1_1api_1_1GalaxyAllocator.html#a261d0d87a9bbed09c69689b3459a035a',1,'galaxy::api::GalaxyAllocator::GalaxyAllocator()'],['../structgalaxy_1_1api_1_1GalaxyAllocator.html#af385348d5da9d6d713c2708d89185895',1,'galaxy::api::GalaxyAllocator::GalaxyAllocator(GalaxyMalloc _galaxyMalloc, GalaxyRealloc _galaxyRealloc, GalaxyFree _galaxyFree)']]], - ['galaxyid',['GalaxyID',['../classgalaxy_1_1api_1_1GalaxyID.html#a2e3ebd392d5e297c13930b8faf898a1f',1,'galaxy::api::GalaxyID::GalaxyID(void)'],['../classgalaxy_1_1api_1_1GalaxyID.html#ad59408c3065d045dba74ddae05e38b2e',1,'galaxy::api::GalaxyID::GalaxyID(uint64_t _value)'],['../classgalaxy_1_1api_1_1GalaxyID.html#ad6b4fcad45c426af8fee75a65fc17ada',1,'galaxy::api::GalaxyID::GalaxyID(const GalaxyID &galaxyID)']]], - ['gameserverlistenerregistrar',['GameServerListenerRegistrar',['../group__GameServer.html#ga3e6a00bad9497d9e055f1bf6aff01c37',1,'galaxy::api']]], - ['gameserverlogger',['GameServerLogger',['../group__GameServer.html#ga9393370179cb8f2e8561ba860c0d4022',1,'galaxy::api']]], - ['gameservermatchmaking',['GameServerMatchmaking',['../group__GameServer.html#ga2a3635741b0b2a84ee3e9b5c21a576dd',1,'galaxy::api']]], - ['gameservernetworking',['GameServerNetworking',['../group__GameServer.html#ga1abe6d85bc8550b6a9faa67ab8f46a25',1,'galaxy::api']]], - ['gameservertelemetry',['GameServerTelemetry',['../group__GameServer.html#ga5051973a07fdf16670a40f8ef50e20f7',1,'galaxy::api']]], - ['gameserveruser',['GameServerUser',['../group__GameServer.html#gad4c301b492cac512564dbc296054e384',1,'galaxy::api']]], - ['gameserverutils',['GameServerUtils',['../group__GameServer.html#ga537b6c1a62c749a3146f7ab8676393bc',1,'galaxy::api']]], - ['getaccesstoken',['GetAccessToken',['../classgalaxy_1_1api_1_1IUser.html#a5a70eb6629619bd94f3e9f6bc15af10f',1,'galaxy::api::IUser']]], - ['getaccesstokencopy',['GetAccessTokenCopy',['../classgalaxy_1_1api_1_1IUser.html#a994a33a3894d2ba53bb96236addde1a0',1,'galaxy::api::IUser']]], - ['getachievement',['GetAchievement',['../classgalaxy_1_1api_1_1IStats.html#a4c38e91a161d4097215cfa0f3167ed58',1,'galaxy::api::IStats']]], - ['getachievementdescription',['GetAchievementDescription',['../classgalaxy_1_1api_1_1IStats.html#a766ea6f3667b08da01de7fdb2e16a378',1,'galaxy::api::IStats']]], - ['getachievementdescriptioncopy',['GetAchievementDescriptionCopy',['../classgalaxy_1_1api_1_1IStats.html#a2d946793c6c51957e9f8183280809503',1,'galaxy::api::IStats']]], - ['getachievementdisplayname',['GetAchievementDisplayName',['../classgalaxy_1_1api_1_1IStats.html#afc6ab1ea447fefc02a4b3fd0b3f4a630',1,'galaxy::api::IStats']]], - ['getachievementdisplaynamecopy',['GetAchievementDisplayNameCopy',['../classgalaxy_1_1api_1_1IStats.html#af31e1040a95f89b70f87e84f3ca510fb',1,'galaxy::api::IStats']]], - ['getavailabledatasize',['GetAvailableDataSize',['../classgalaxy_1_1api_1_1ICustomNetworking.html#a09529b63903ad1234480a5877e8e95dd',1,'galaxy::api::ICustomNetworking']]], - ['getchatroommembercount',['GetChatRoomMemberCount',['../classgalaxy_1_1api_1_1IChat.html#a251ddea16a64be7461e6d5de78a4ad63',1,'galaxy::api::IChat']]], - ['getchatroommemberuseridbyindex',['GetChatRoomMemberUserIDByIndex',['../classgalaxy_1_1api_1_1IChat.html#a6a8716d44283234878d810d075b2bc09',1,'galaxy::api::IChat']]], - ['getchatroommessagebyindex',['GetChatRoomMessageByIndex',['../classgalaxy_1_1api_1_1IChat.html#ae8d32143755d50f5a0738287bce697f9',1,'galaxy::api::IChat']]], - ['getchatroomunreadmessagecount',['GetChatRoomUnreadMessageCount',['../classgalaxy_1_1api_1_1IChat.html#ae29c115c1f262e6386ee76c46371b94b',1,'galaxy::api::IChat']]], - ['getconnectiontype',['GetConnectionType',['../classgalaxy_1_1api_1_1INetworking.html#ac4786da1e56445c29cafe94c29b86185',1,'galaxy::api::INetworking']]], - ['getcurrentgamelanguage',['GetCurrentGameLanguage',['../classgalaxy_1_1api_1_1IApps.html#a3f9c65577ba3ce08f9addb81245fa305',1,'galaxy::api::IApps']]], - ['getcurrentgamelanguagecopy',['GetCurrentGameLanguageCopy',['../classgalaxy_1_1api_1_1IApps.html#a1e420c689ec662327f75ef71ad5916dd',1,'galaxy::api::IApps']]], - ['getdefaultavatarcriteria',['GetDefaultAvatarCriteria',['../classgalaxy_1_1api_1_1IFriends.html#a93b549c9c37936bb2cbb4118140f5659',1,'galaxy::api::IFriends']]], - ['getdownloadedsharedfilebyindex',['GetDownloadedSharedFileByIndex',['../classgalaxy_1_1api_1_1IStorage.html#a125d232851e082fefbb19320be248f27',1,'galaxy::api::IStorage']]], - ['getdownloadedsharedfilecount',['GetDownloadedSharedFileCount',['../classgalaxy_1_1api_1_1IStorage.html#ae8d18b49e528f976f733557c54a75ef2',1,'galaxy::api::IStorage']]], - ['getencryptedappticket',['GetEncryptedAppTicket',['../classgalaxy_1_1api_1_1IUser.html#a96af6792efc260e75daebedca2cf74c6',1,'galaxy::api::IUser']]], - ['geterror',['GetError',['../group__api.html#ga11169dd939f560d09704770a1ba4612b',1,'galaxy::api']]], - ['getfilecount',['GetFileCount',['../classgalaxy_1_1api_1_1IStorage.html#a17310a285edce9efbebb58d402380ef8',1,'galaxy::api::IStorage']]], - ['getfilenamebyindex',['GetFileNameByIndex',['../classgalaxy_1_1api_1_1IStorage.html#abac455600508afd15e56cbc3b9297c2d',1,'galaxy::api::IStorage']]], - ['getfilenamecopybyindex',['GetFileNameCopyByIndex',['../classgalaxy_1_1api_1_1IStorage.html#a4b16324889bc91da876d07c822e2506a',1,'galaxy::api::IStorage']]], - ['getfilesize',['GetFileSize',['../classgalaxy_1_1api_1_1IStorage.html#aaa5db00c6af8afc0b230bd237a3bdac3',1,'galaxy::api::IStorage']]], - ['getfiletimestamp',['GetFileTimestamp',['../classgalaxy_1_1api_1_1IStorage.html#a978cf0ad929a1b92456978ec2806c9d8',1,'galaxy::api::IStorage']]], - ['getfriendavatarimageid',['GetFriendAvatarImageID',['../classgalaxy_1_1api_1_1IFriends.html#afe0b4900cac6d973562d027a4fcaa33a',1,'galaxy::api::IFriends']]], - ['getfriendavatarimagergba',['GetFriendAvatarImageRGBA',['../classgalaxy_1_1api_1_1IFriends.html#a092e51d912ad94d9c9ef2617f61c82ec',1,'galaxy::api::IFriends']]], - ['getfriendavatarurl',['GetFriendAvatarUrl',['../classgalaxy_1_1api_1_1IFriends.html#a4fe15f4be55cf030e12018134a281591',1,'galaxy::api::IFriends']]], - ['getfriendavatarurlcopy',['GetFriendAvatarUrlCopy',['../classgalaxy_1_1api_1_1IFriends.html#aac64a5c1bc9789f18763d4a29eeb172f',1,'galaxy::api::IFriends']]], - ['getfriendbyindex',['GetFriendByIndex',['../classgalaxy_1_1api_1_1IFriends.html#a07746daaec828d1d9f1e67e4ff00a02d',1,'galaxy::api::IFriends']]], - ['getfriendcount',['GetFriendCount',['../classgalaxy_1_1api_1_1IFriends.html#a8c7db81fe693c4fb8ed9bf1420393cbb',1,'galaxy::api::IFriends']]], - ['getfriendinvitationbyindex',['GetFriendInvitationByIndex',['../classgalaxy_1_1api_1_1IFriends.html#a85682fcdbf3fecf223113e718aa604bf',1,'galaxy::api::IFriends']]], - ['getfriendinvitationcount',['GetFriendInvitationCount',['../classgalaxy_1_1api_1_1IFriends.html#af98fa5e1e14d1535e3a777fa85d5ed0e',1,'galaxy::api::IFriends']]], - ['getfriendpersonaname',['GetFriendPersonaName',['../classgalaxy_1_1api_1_1IFriends.html#aae6d3e6af5bde578b04379cf324b30c5',1,'galaxy::api::IFriends']]], - ['getfriendpersonanamecopy',['GetFriendPersonaNameCopy',['../classgalaxy_1_1api_1_1IFriends.html#a136fe72f661d2dff7e01708f53e3bed6',1,'galaxy::api::IFriends']]], - ['getfriendpersonastate',['GetFriendPersonaState',['../classgalaxy_1_1api_1_1IFriends.html#a880dc8d200130ff11f8705595980d91e',1,'galaxy::api::IFriends']]], - ['getgalaxyid',['GetGalaxyID',['../classgalaxy_1_1api_1_1IUser.html#a48e11f83dfeb2816e27ac1c8882aac85',1,'galaxy::api::IUser']]], - ['getgogservicesconnectionstate',['GetGogServicesConnectionState',['../classgalaxy_1_1api_1_1IUtils.html#a756d3ca55281edea8bed3a08c2f93b6b',1,'galaxy::api::IUtils']]], - ['getidtype',['GetIDType',['../classgalaxy_1_1api_1_1GalaxyID.html#a8d0a478ff0873b4ebf57313282dcb632',1,'galaxy::api::GalaxyID']]], - ['getimagergba',['GetImageRGBA',['../classgalaxy_1_1api_1_1IUtils.html#af5ecf98db9f6e17e643f72a6397477d0',1,'galaxy::api::IUtils']]], - ['getimagesize',['GetImageSize',['../classgalaxy_1_1api_1_1IUtils.html#a507c0bbed768ce1fe0a061a73cd9cf14',1,'galaxy::api::IUtils']]], - ['getleaderboarddisplayname',['GetLeaderboardDisplayName',['../classgalaxy_1_1api_1_1IStats.html#aeb8ad13b648b02f2ad6f8afd3658e40e',1,'galaxy::api::IStats']]], - ['getleaderboarddisplaynamecopy',['GetLeaderboardDisplayNameCopy',['../classgalaxy_1_1api_1_1IStats.html#af9b3abfcc55395e59e6695a3825e3dcd',1,'galaxy::api::IStats']]], - ['getleaderboarddisplaytype',['GetLeaderboardDisplayType',['../classgalaxy_1_1api_1_1IStats.html#a6e3db56a07e5c333b0bc011e1982cd15',1,'galaxy::api::IStats']]], - ['getleaderboardentrycount',['GetLeaderboardEntryCount',['../classgalaxy_1_1api_1_1IStats.html#a7824b3508a71c3dfa1727d5720430589',1,'galaxy::api::IStats']]], - ['getleaderboardsortmethod',['GetLeaderboardSortMethod',['../classgalaxy_1_1api_1_1IStats.html#a1ab3329a34f670415ac45dbea6bc5e1d',1,'galaxy::api::IStats']]], - ['getlistenertype',['GetListenerType',['../classgalaxy_1_1api_1_1GalaxyTypeAwareListener.html#aa9f47838e0408f2717d7a15f72228f44',1,'galaxy::api::GalaxyTypeAwareListener']]], - ['getlobbybyindex',['GetLobbyByIndex',['../classgalaxy_1_1api_1_1IMatchmaking.html#aec7feb30e61e3ad6b606b23649c56cc2',1,'galaxy::api::IMatchmaking']]], - ['getlobbydata',['GetLobbyData',['../classgalaxy_1_1api_1_1IMatchmaking.html#a9f5a411d64cf35ad1ed6c87d7f5b465b',1,'galaxy::api::IMatchmaking']]], - ['getlobbydatabyindex',['GetLobbyDataByIndex',['../classgalaxy_1_1api_1_1IMatchmaking.html#a81176ccf6d66aa5b2af62695e4abb3e4',1,'galaxy::api::IMatchmaking']]], - ['getlobbydatacopy',['GetLobbyDataCopy',['../classgalaxy_1_1api_1_1IMatchmaking.html#a11e88cacb3f95d38ff5622976ef2a5fa',1,'galaxy::api::IMatchmaking']]], - ['getlobbydatacount',['GetLobbyDataCount',['../classgalaxy_1_1api_1_1IMatchmaking.html#a80ab767663908892e6d442a079dcdff9',1,'galaxy::api::IMatchmaking']]], - ['getlobbymemberbyindex',['GetLobbyMemberByIndex',['../classgalaxy_1_1api_1_1IMatchmaking.html#a7d4cc75cea4a211d399f3bd37b870ccd',1,'galaxy::api::IMatchmaking']]], - ['getlobbymemberdata',['GetLobbyMemberData',['../classgalaxy_1_1api_1_1IMatchmaking.html#acfc05eaa67dd8dbd90d3ad78af014aa2',1,'galaxy::api::IMatchmaking']]], - ['getlobbymemberdatabyindex',['GetLobbyMemberDataByIndex',['../classgalaxy_1_1api_1_1IMatchmaking.html#acc583230e2b8352f4cffc2bc91d367b7',1,'galaxy::api::IMatchmaking']]], - ['getlobbymemberdatacopy',['GetLobbyMemberDataCopy',['../classgalaxy_1_1api_1_1IMatchmaking.html#aa2f5e017878bc9b65379832cbb578af5',1,'galaxy::api::IMatchmaking']]], - ['getlobbymemberdatacount',['GetLobbyMemberDataCount',['../classgalaxy_1_1api_1_1IMatchmaking.html#ae126e8b323d66e6433fa5424aab85e22',1,'galaxy::api::IMatchmaking']]], - ['getlobbymessage',['GetLobbyMessage',['../classgalaxy_1_1api_1_1IMatchmaking.html#a372290fa1405296bae96afe7476e1147',1,'galaxy::api::IMatchmaking']]], - ['getlobbyowner',['GetLobbyOwner',['../classgalaxy_1_1api_1_1IMatchmaking.html#ab70f27b6307243a8d3054cb39efc0789',1,'galaxy::api::IMatchmaking']]], - ['getlobbytype',['GetLobbyType',['../classgalaxy_1_1api_1_1IMatchmaking.html#a70af013e7dfa5b40d44520c6f9cd41d2',1,'galaxy::api::IMatchmaking']]], - ['getmaxnumlobbymembers',['GetMaxNumLobbyMembers',['../classgalaxy_1_1api_1_1IMatchmaking.html#a8007909a1e97a3f026546481f0e06c12',1,'galaxy::api::IMatchmaking']]], - ['getmsg',['GetMsg',['../classgalaxy_1_1api_1_1IError.html#aa7dbbdecb5dfabbd4cd1407ed3858632',1,'galaxy::api::IError']]], - ['getname',['GetName',['../classgalaxy_1_1api_1_1IError.html#afcc1c3a20bd2860e0ddd21674389246f',1,'galaxy::api::IError']]], - ['getnattype',['GetNatType',['../classgalaxy_1_1api_1_1INetworking.html#aec50077fbe5a927028a1bffcb8bca52a',1,'galaxy::api::INetworking']]], - ['getnotification',['GetNotification',['../classgalaxy_1_1api_1_1IUtils.html#a4cc9ae84c1488cce3ec55134a7eb3d2d',1,'galaxy::api::IUtils']]], - ['getnumlobbymembers',['GetNumLobbyMembers',['../classgalaxy_1_1api_1_1IMatchmaking.html#a3afa0810758ebfd189ad6c871d216b4d',1,'galaxy::api::IMatchmaking']]], - ['getoverlaystate',['GetOverlayState',['../classgalaxy_1_1api_1_1IUtils.html#ace3179674f31b02b4dcd704f59c3e466',1,'galaxy::api::IUtils']]], - ['getpersonaname',['GetPersonaName',['../classgalaxy_1_1api_1_1IFriends.html#a3341601932e0f6e14874bb9312c09c1a',1,'galaxy::api::IFriends']]], - ['getpersonanamecopy',['GetPersonaNameCopy',['../classgalaxy_1_1api_1_1IFriends.html#adfe6d1abdf9dabc36bc01714cbdf98b4',1,'galaxy::api::IFriends']]], - ['getpersonastate',['GetPersonaState',['../classgalaxy_1_1api_1_1IFriends.html#abc51e9c251c4428f1dc3eb403e066876',1,'galaxy::api::IFriends']]], - ['getpingwith',['GetPingWith',['../classgalaxy_1_1api_1_1INetworking.html#a8949164f11b2f956fd0e4e1f1f8d1eb5',1,'galaxy::api::INetworking']]], - ['getrealid',['GetRealID',['../classgalaxy_1_1api_1_1GalaxyID.html#a9d568c67c6f51516c99356b501aeeeee',1,'galaxy::api::GalaxyID']]], - ['getrequestedleaderboardentry',['GetRequestedLeaderboardEntry',['../classgalaxy_1_1api_1_1IStats.html#a2a83a60778dafd8375aa7c477d9f7bff',1,'galaxy::api::IStats']]], - ['getrequestedleaderboardentrywithdetails',['GetRequestedLeaderboardEntryWithDetails',['../classgalaxy_1_1api_1_1IStats.html#ab76b8431bd7f2ef75022a54ad704dbfd',1,'galaxy::api::IStats']]], - ['getrichpresence',['GetRichPresence',['../classgalaxy_1_1api_1_1IFriends.html#af7d644d840aaeff4eacef1ea74838433',1,'galaxy::api::IFriends']]], - ['getrichpresencebyindex',['GetRichPresenceByIndex',['../classgalaxy_1_1api_1_1IFriends.html#a714a0b7a4497cc3904a970d19a03e403',1,'galaxy::api::IFriends']]], - ['getrichpresencecopy',['GetRichPresenceCopy',['../classgalaxy_1_1api_1_1IFriends.html#a661d5d43361d708d1ed3e2e57c75315f',1,'galaxy::api::IFriends']]], - ['getrichpresencecount',['GetRichPresenceCount',['../classgalaxy_1_1api_1_1IFriends.html#acdb3c067632075d4ba00ab9276981e54',1,'galaxy::api::IFriends']]], - ['getsessionid',['GetSessionID',['../classgalaxy_1_1api_1_1IUser.html#a9ebe43b1574e7f45404d58da8c9161c5',1,'galaxy::api::IUser']]], - ['getsharedfilename',['GetSharedFileName',['../classgalaxy_1_1api_1_1IStorage.html#aa5c616ea1b64b7be860dc61d3d467dd3',1,'galaxy::api::IStorage']]], - ['getsharedfilenamecopy',['GetSharedFileNameCopy',['../classgalaxy_1_1api_1_1IStorage.html#aa42aa0a57227db892066c3e948c16e38',1,'galaxy::api::IStorage']]], - ['getsharedfileowner',['GetSharedFileOwner',['../classgalaxy_1_1api_1_1IStorage.html#a96afe47cd5ed635950f15f84b5cd51d3',1,'galaxy::api::IStorage']]], - ['getsharedfilesize',['GetSharedFileSize',['../classgalaxy_1_1api_1_1IStorage.html#af389717a0a383175e17b8821b6e38f44',1,'galaxy::api::IStorage']]], - ['getstatfloat',['GetStatFloat',['../classgalaxy_1_1api_1_1IStats.html#a4949fc4f78cf0292dca401f6411fab5b',1,'galaxy::api::IStats']]], - ['getstatint',['GetStatInt',['../classgalaxy_1_1api_1_1IStats.html#a5a40b3ae1cd2d0cb0b8cf1f54bb8b759',1,'galaxy::api::IStats']]], - ['gettype',['GetType',['../classgalaxy_1_1api_1_1IError.html#adbd91f48e98ad6dc6ca4c1e0d68cf3e6',1,'galaxy::api::IError']]], - ['getuserdata',['GetUserData',['../classgalaxy_1_1api_1_1IUser.html#aa060612e4b41c726b4fdc7fd6ed69766',1,'galaxy::api::IUser']]], - ['getuserdatabyindex',['GetUserDataByIndex',['../classgalaxy_1_1api_1_1IUser.html#a2478dbe71815b3b4ce0073b439a2ea1f',1,'galaxy::api::IUser']]], - ['getuserdatacopy',['GetUserDataCopy',['../classgalaxy_1_1api_1_1IUser.html#ae829eb09d78bd00ffd1b26be91a9dc27',1,'galaxy::api::IUser']]], - ['getuserdatacount',['GetUserDataCount',['../classgalaxy_1_1api_1_1IUser.html#ab3bf3cb7fa99d937ebbccbce7490eb09',1,'galaxy::api::IUser']]], - ['getusertimeplayed',['GetUserTimePlayed',['../classgalaxy_1_1api_1_1IStats.html#abffc15f858208b1c9272334823ead905',1,'galaxy::api::IStats']]], - ['getvisitid',['GetVisitID',['../classgalaxy_1_1api_1_1ITelemetry.html#a184d85edc455e7c6742e62e3279d35e3',1,'galaxy::api::ITelemetry']]], - ['getvisitidcopy',['GetVisitIDCopy',['../classgalaxy_1_1api_1_1ITelemetry.html#afce956301c516233bbe752f29a89c420',1,'galaxy::api::ITelemetry']]] -]; diff --git a/vendors/galaxy/Docs/search/functions_6.html b/vendors/galaxy/Docs/search/functions_6.html deleted file mode 100644 index a78ec13f1..000000000 --- a/vendors/galaxy/Docs/search/functions_6.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/functions_6.js b/vendors/galaxy/Docs/search/functions_6.js deleted file mode 100644 index b0815c093..000000000 --- a/vendors/galaxy/Docs/search/functions_6.js +++ /dev/null @@ -1,20 +0,0 @@ -var searchData= -[ - ['info',['Info',['../classgalaxy_1_1api_1_1ILogger.html#a48787fd7db790bcebfcb1f881a822229',1,'galaxy::api::ILogger']]], - ['init',['Init',['../group__Peer.html#ga7d13610789657b6aebe0ba0aa542196f',1,'galaxy::api']]], - ['initgameserver',['InitGameServer',['../group__GameServer.html#ga521fad9446956ce69e3d11ca4a7fbc0e',1,'galaxy::api']]], - ['initoptions',['InitOptions',['../structgalaxy_1_1api_1_1InitOptions.html#a9eb94ef2ab0d1efc42863fccb60ec5f5',1,'galaxy::api::InitOptions']]], - ['isachievementvisible',['IsAchievementVisible',['../classgalaxy_1_1api_1_1IStats.html#aca68bad66bc4e7c9d87c9984dea052eb',1,'galaxy::api::IStats']]], - ['isachievementvisiblewhilelocked',['IsAchievementVisibleWhileLocked',['../classgalaxy_1_1api_1_1IStats.html#a23a4ce388c7a4d5f5801225081463019',1,'galaxy::api::IStats']]], - ['isdlcinstalled',['IsDlcInstalled',['../classgalaxy_1_1api_1_1IApps.html#a46fbdec6ec2e1b6d1a1625ba157d3aa2',1,'galaxy::api::IApps']]], - ['isfriend',['IsFriend',['../classgalaxy_1_1api_1_1IFriends.html#a559f639ae99def14b9ce220464806693',1,'galaxy::api::IFriends']]], - ['isfriendavatarimagergbaavailable',['IsFriendAvatarImageRGBAAvailable',['../classgalaxy_1_1api_1_1IFriends.html#aa448e4ca7b496850b24a6c7b430cd78b',1,'galaxy::api::IFriends']]], - ['islobbyjoinable',['IsLobbyJoinable',['../classgalaxy_1_1api_1_1IMatchmaking.html#a85ad3a098cc95e8e6adeef88712cdc77',1,'galaxy::api::IMatchmaking']]], - ['isloggedon',['IsLoggedOn',['../classgalaxy_1_1api_1_1IUser.html#a3e373012e77fd2baf915062d9e0c05b3',1,'galaxy::api::IUser']]], - ['isoverlayvisible',['IsOverlayVisible',['../classgalaxy_1_1api_1_1IUtils.html#a0cbd418520fe9b68d5cfd4decd02494f',1,'galaxy::api::IUtils']]], - ['isp2ppacketavailable',['IsP2PPacketAvailable',['../classgalaxy_1_1api_1_1INetworking.html#aebff94c689ad6ad987b24f430a456677',1,'galaxy::api::INetworking']]], - ['isuserdataavailable',['IsUserDataAvailable',['../classgalaxy_1_1api_1_1IUser.html#a6cc743c75fe68939408055c980f9cce0',1,'galaxy::api::IUser']]], - ['isuserinformationavailable',['IsUserInformationAvailable',['../classgalaxy_1_1api_1_1IFriends.html#a0fc2d00c82e5ea7d62b45508f9c66a82',1,'galaxy::api::IFriends']]], - ['isuserinthesamegame',['IsUserInTheSameGame',['../classgalaxy_1_1api_1_1IFriends.html#a71854226dc4df803e73710e9d4231b69',1,'galaxy::api::IFriends']]], - ['isvalid',['IsValid',['../classgalaxy_1_1api_1_1GalaxyID.html#ac532c4b500b1a85ea22217f2c65a70ed',1,'galaxy::api::GalaxyID']]] -]; diff --git a/vendors/galaxy/Docs/search/functions_7.html b/vendors/galaxy/Docs/search/functions_7.html deleted file mode 100644 index 7842361ff..000000000 --- a/vendors/galaxy/Docs/search/functions_7.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/functions_7.js b/vendors/galaxy/Docs/search/functions_7.js deleted file mode 100644 index f5bb0fa24..000000000 --- a/vendors/galaxy/Docs/search/functions_7.js +++ /dev/null @@ -1,6 +0,0 @@ -var searchData= -[ - ['join',['Join',['../classgalaxy_1_1api_1_1IGalaxyThread.html#af91a5eba595a7f7a9742ea592066e255',1,'galaxy::api::IGalaxyThread']]], - ['joinable',['Joinable',['../classgalaxy_1_1api_1_1IGalaxyThread.html#aa3a0e8c6e6de907af75ff3f379f39245',1,'galaxy::api::IGalaxyThread']]], - ['joinlobby',['JoinLobby',['../classgalaxy_1_1api_1_1IMatchmaking.html#a809b3d5508a63bd183bcd72682ce7113',1,'galaxy::api::IMatchmaking']]] -]; diff --git a/vendors/galaxy/Docs/search/functions_8.html b/vendors/galaxy/Docs/search/functions_8.html deleted file mode 100644 index 48feafe56..000000000 --- a/vendors/galaxy/Docs/search/functions_8.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/functions_8.js b/vendors/galaxy/Docs/search/functions_8.js deleted file mode 100644 index 7ffeed82a..000000000 --- a/vendors/galaxy/Docs/search/functions_8.js +++ /dev/null @@ -1,6 +0,0 @@ -var searchData= -[ - ['leavelobby',['LeaveLobby',['../classgalaxy_1_1api_1_1IMatchmaking.html#a96dfce0b1e35fdc46f61eadaa9639f49',1,'galaxy::api::IMatchmaking']]], - ['listenerregistrar',['ListenerRegistrar',['../group__Peer.html#ga1f7ee19b74d0fd9db6703b2c35df7bf5',1,'galaxy::api']]], - ['logger',['Logger',['../group__Peer.html#gaa1c9d39dfa5f8635983a7a2448cb0c39',1,'galaxy::api']]] -]; diff --git a/vendors/galaxy/Docs/search/functions_9.html b/vendors/galaxy/Docs/search/functions_9.html deleted file mode 100644 index 0f05a8ba4..000000000 --- a/vendors/galaxy/Docs/search/functions_9.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/functions_9.js b/vendors/galaxy/Docs/search/functions_9.js deleted file mode 100644 index 1c3787118..000000000 --- a/vendors/galaxy/Docs/search/functions_9.js +++ /dev/null @@ -1,5 +0,0 @@ -var searchData= -[ - ['markchatroomasread',['MarkChatRoomAsRead',['../classgalaxy_1_1api_1_1IChat.html#a1b8ef66f124412d9fef6e8c4b1ee86c3',1,'galaxy::api::IChat']]], - ['matchmaking',['Matchmaking',['../group__Peer.html#ga4d96db1436295a3104a435b3afd4eeb8',1,'galaxy::api']]] -]; diff --git a/vendors/galaxy/Docs/search/functions_a.html b/vendors/galaxy/Docs/search/functions_a.html deleted file mode 100644 index 03faad22f..000000000 --- a/vendors/galaxy/Docs/search/functions_a.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/functions_a.js b/vendors/galaxy/Docs/search/functions_a.js deleted file mode 100644 index 9315cef1d..000000000 --- a/vendors/galaxy/Docs/search/functions_a.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['networking',['Networking',['../group__Peer.html#ga269daf0c541ae9d76f6a27f293804677',1,'galaxy::api']]] -]; diff --git a/vendors/galaxy/Docs/search/functions_b.html b/vendors/galaxy/Docs/search/functions_b.html deleted file mode 100644 index c690013ae..000000000 --- a/vendors/galaxy/Docs/search/functions_b.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/functions_b.js b/vendors/galaxy/Docs/search/functions_b.js deleted file mode 100644 index a2e831b49..000000000 --- a/vendors/galaxy/Docs/search/functions_b.js +++ /dev/null @@ -1,99 +0,0 @@ -var searchData= -[ - ['onaccesstokenchanged',['OnAccessTokenChanged',['../classgalaxy_1_1api_1_1IAccessTokenListener.html#a258ebfd3ebadc9d18d13a737bfb1331c',1,'galaxy::api::IAccessTokenListener']]], - ['onachievementunlocked',['OnAchievementUnlocked',['../classgalaxy_1_1api_1_1IAchievementChangeListener.html#a0c2290aab40bc3d2306ce41d813e89f3',1,'galaxy::api::IAchievementChangeListener']]], - ['onauthfailure',['OnAuthFailure',['../classgalaxy_1_1api_1_1IAuthListener.html#ae6242dab20e1267e8bb4c5b4d9570300',1,'galaxy::api::IAuthListener']]], - ['onauthlost',['OnAuthLost',['../classgalaxy_1_1api_1_1IAuthListener.html#a1597f5b07b7e050f0cb7f62a2dae8840',1,'galaxy::api::IAuthListener']]], - ['onauthsuccess',['OnAuthSuccess',['../classgalaxy_1_1api_1_1IAuthListener.html#aa824226d05ff7e738df8e8bef62dbf69',1,'galaxy::api::IAuthListener']]], - ['onchatroommessagesendfailure',['OnChatRoomMessageSendFailure',['../classgalaxy_1_1api_1_1IChatRoomMessageSendListener.html#aa15ca54f88deb44ef1f9a49b9f248fef',1,'galaxy::api::IChatRoomMessageSendListener']]], - ['onchatroommessagesendsuccess',['OnChatRoomMessageSendSuccess',['../classgalaxy_1_1api_1_1IChatRoomMessageSendListener.html#a36c02be9c4ab7ad034ffaec9a5b0aa2d',1,'galaxy::api::IChatRoomMessageSendListener']]], - ['onchatroommessagesreceived',['OnChatRoomMessagesReceived',['../classgalaxy_1_1api_1_1IChatRoomMessagesListener.html#ab440a4f2f41c573c8debdf71de088c2a',1,'galaxy::api::IChatRoomMessagesListener']]], - ['onchatroommessagesretrievefailure',['OnChatRoomMessagesRetrieveFailure',['../classgalaxy_1_1api_1_1IChatRoomMessagesRetrieveListener.html#aefab5e0dcefd17a05adf8fe7a169895d',1,'galaxy::api::IChatRoomMessagesRetrieveListener']]], - ['onchatroommessagesretrievesuccess',['OnChatRoomMessagesRetrieveSuccess',['../classgalaxy_1_1api_1_1IChatRoomMessagesRetrieveListener.html#af640da6293b7d509ae0539db4c7aa95a',1,'galaxy::api::IChatRoomMessagesRetrieveListener']]], - ['onchatroomwithuserretrievefailure',['OnChatRoomWithUserRetrieveFailure',['../classgalaxy_1_1api_1_1IChatRoomWithUserRetrieveListener.html#a7f114d18a0c6b5a27a5b649218a3f36f',1,'galaxy::api::IChatRoomWithUserRetrieveListener']]], - ['onchatroomwithuserretrievesuccess',['OnChatRoomWithUserRetrieveSuccess',['../classgalaxy_1_1api_1_1IChatRoomWithUserRetrieveListener.html#a1a3812efce6f7e1edf0bcd2193be5f75',1,'galaxy::api::IChatRoomWithUserRetrieveListener']]], - ['onconnectionclosed',['OnConnectionClosed',['../classgalaxy_1_1api_1_1IConnectionCloseListener.html#ac2bc29b679a80d734971b77b8219aa5c',1,'galaxy::api::IConnectionCloseListener']]], - ['onconnectiondatareceived',['OnConnectionDataReceived',['../classgalaxy_1_1api_1_1IConnectionDataListener.html#a03f05f225fd487bd7d4c5c10264ea34d',1,'galaxy::api::IConnectionDataListener']]], - ['onconnectionopenfailure',['OnConnectionOpenFailure',['../classgalaxy_1_1api_1_1IConnectionOpenListener.html#a9e154ee98e393e5fe2c4739716d5f3e6',1,'galaxy::api::IConnectionOpenListener']]], - ['onconnectionopensuccess',['OnConnectionOpenSuccess',['../classgalaxy_1_1api_1_1IConnectionOpenListener.html#afe1cff9894d6fa491cbc100b3bdab922',1,'galaxy::api::IConnectionOpenListener']]], - ['onconnectionstatechange',['OnConnectionStateChange',['../classgalaxy_1_1api_1_1IGogServicesConnectionStateListener.html#a0a20d3b673832ba33903454988a4aca6',1,'galaxy::api::IGogServicesConnectionStateListener']]], - ['onencryptedappticketretrievefailure',['OnEncryptedAppTicketRetrieveFailure',['../classgalaxy_1_1api_1_1IEncryptedAppTicketListener.html#a65b3470fbeeeb0853458a0536743c020',1,'galaxy::api::IEncryptedAppTicketListener']]], - ['onencryptedappticketretrievesuccess',['OnEncryptedAppTicketRetrieveSuccess',['../classgalaxy_1_1api_1_1IEncryptedAppTicketListener.html#ae5ad1ca3940e9df9ebc21e25799aa084',1,'galaxy::api::IEncryptedAppTicketListener']]], - ['onfilesharefailure',['OnFileShareFailure',['../classgalaxy_1_1api_1_1IFileShareListener.html#ae68d17965f0db712dff94593c576ec9a',1,'galaxy::api::IFileShareListener']]], - ['onfilesharesuccess',['OnFileShareSuccess',['../classgalaxy_1_1api_1_1IFileShareListener.html#a585daa98f29e962d1d5bf0a4c4bd703e',1,'galaxy::api::IFileShareListener']]], - ['onfriendadded',['OnFriendAdded',['../classgalaxy_1_1api_1_1IFriendAddListener.html#a47269a1024a80623d82da55e0671fa7c',1,'galaxy::api::IFriendAddListener']]], - ['onfrienddeletefailure',['OnFriendDeleteFailure',['../classgalaxy_1_1api_1_1IFriendDeleteListener.html#a108fcc5e38fdf6945deaebbbc3798b49',1,'galaxy::api::IFriendDeleteListener']]], - ['onfrienddeletesuccess',['OnFriendDeleteSuccess',['../classgalaxy_1_1api_1_1IFriendDeleteListener.html#aab24fda85971eed336a55f76c303bad8',1,'galaxy::api::IFriendDeleteListener']]], - ['onfriendinvitationlistretrievefailure',['OnFriendInvitationListRetrieveFailure',['../classgalaxy_1_1api_1_1IFriendInvitationListRetrieveListener.html#a6fe6a31ce22c07e8b676725eccce0cb6',1,'galaxy::api::IFriendInvitationListRetrieveListener']]], - ['onfriendinvitationlistretrievesuccess',['OnFriendInvitationListRetrieveSuccess',['../classgalaxy_1_1api_1_1IFriendInvitationListRetrieveListener.html#a4e0794a45d176a2ad3d650a06015d410',1,'galaxy::api::IFriendInvitationListRetrieveListener']]], - ['onfriendinvitationreceived',['OnFriendInvitationReceived',['../classgalaxy_1_1api_1_1IFriendInvitationListener.html#aaf8be938710a65ccb816602aeadc082e',1,'galaxy::api::IFriendInvitationListener']]], - ['onfriendinvitationrespondtofailure',['OnFriendInvitationRespondToFailure',['../classgalaxy_1_1api_1_1IFriendInvitationRespondToListener.html#a7665287c51fd5638dae67df42a1d6bcc',1,'galaxy::api::IFriendInvitationRespondToListener']]], - ['onfriendinvitationrespondtosuccess',['OnFriendInvitationRespondToSuccess',['../classgalaxy_1_1api_1_1IFriendInvitationRespondToListener.html#acad7057a5310ccf0547dccbf1ac9fdd9',1,'galaxy::api::IFriendInvitationRespondToListener']]], - ['onfriendinvitationsendfailure',['OnFriendInvitationSendFailure',['../classgalaxy_1_1api_1_1IFriendInvitationSendListener.html#a672651b7eeaa004bfb8545ce17ff329d',1,'galaxy::api::IFriendInvitationSendListener']]], - ['onfriendinvitationsendsuccess',['OnFriendInvitationSendSuccess',['../classgalaxy_1_1api_1_1IFriendInvitationSendListener.html#ad7226c49931d0db1aea6e8c6797bc78c',1,'galaxy::api::IFriendInvitationSendListener']]], - ['onfriendlistretrievefailure',['OnFriendListRetrieveFailure',['../classgalaxy_1_1api_1_1IFriendListListener.html#a9cbe96cfeea72a677589b645b4431b17',1,'galaxy::api::IFriendListListener']]], - ['onfriendlistretrievesuccess',['OnFriendListRetrieveSuccess',['../classgalaxy_1_1api_1_1IFriendListListener.html#a8b9472f2304e62a9b419c779e8e6a2f6',1,'galaxy::api::IFriendListListener']]], - ['ongameinvitationreceived',['OnGameInvitationReceived',['../classgalaxy_1_1api_1_1IGameInvitationReceivedListener.html#a673c42fb998da553ec8397bd230a809a',1,'galaxy::api::IGameInvitationReceivedListener']]], - ['ongamejoinrequested',['OnGameJoinRequested',['../classgalaxy_1_1api_1_1IGameJoinRequestedListener.html#a78819865eeb26db1e3d53d53f78c5cf3',1,'galaxy::api::IGameJoinRequestedListener']]], - ['oninvitationsendfailure',['OnInvitationSendFailure',['../classgalaxy_1_1api_1_1ISendInvitationListener.html#a81583609c907c7fd1a341ad56c852fe5',1,'galaxy::api::ISendInvitationListener']]], - ['oninvitationsendsuccess',['OnInvitationSendSuccess',['../classgalaxy_1_1api_1_1ISendInvitationListener.html#ab4497ece9b9aba93c62aee0adf770215',1,'galaxy::api::ISendInvitationListener']]], - ['onleaderboardentriesretrievefailure',['OnLeaderboardEntriesRetrieveFailure',['../classgalaxy_1_1api_1_1ILeaderboardEntriesRetrieveListener.html#aa69003540d3702d8d93016b76df931f2',1,'galaxy::api::ILeaderboardEntriesRetrieveListener']]], - ['onleaderboardentriesretrievesuccess',['OnLeaderboardEntriesRetrieveSuccess',['../classgalaxy_1_1api_1_1ILeaderboardEntriesRetrieveListener.html#ac31bd6c12ee1c2b2ea4b7a38c8ebd593',1,'galaxy::api::ILeaderboardEntriesRetrieveListener']]], - ['onleaderboardretrievefailure',['OnLeaderboardRetrieveFailure',['../classgalaxy_1_1api_1_1ILeaderboardRetrieveListener.html#af7fa4c2ef5d3b9d1b77718a05e9cbdda',1,'galaxy::api::ILeaderboardRetrieveListener']]], - ['onleaderboardretrievesuccess',['OnLeaderboardRetrieveSuccess',['../classgalaxy_1_1api_1_1ILeaderboardRetrieveListener.html#a565a53daee664b5104c29cbb37a3f1b8',1,'galaxy::api::ILeaderboardRetrieveListener']]], - ['onleaderboardscoreupdatefailure',['OnLeaderboardScoreUpdateFailure',['../classgalaxy_1_1api_1_1ILeaderboardScoreUpdateListener.html#adeb4ae48a27254492eb93b9319bc5cb7',1,'galaxy::api::ILeaderboardScoreUpdateListener']]], - ['onleaderboardscoreupdatesuccess',['OnLeaderboardScoreUpdateSuccess',['../classgalaxy_1_1api_1_1ILeaderboardScoreUpdateListener.html#aa1f80d6a174a445c2ae14e1cd5a01214',1,'galaxy::api::ILeaderboardScoreUpdateListener']]], - ['onleaderboardsretrievefailure',['OnLeaderboardsRetrieveFailure',['../classgalaxy_1_1api_1_1ILeaderboardsRetrieveListener.html#a38cc600b366e5f0ae784167ab3eccb03',1,'galaxy::api::ILeaderboardsRetrieveListener']]], - ['onleaderboardsretrievesuccess',['OnLeaderboardsRetrieveSuccess',['../classgalaxy_1_1api_1_1ILeaderboardsRetrieveListener.html#a9527b6016861117afe441116221c4668',1,'galaxy::api::ILeaderboardsRetrieveListener']]], - ['onlobbycreated',['OnLobbyCreated',['../classgalaxy_1_1api_1_1ILobbyCreatedListener.html#a47fc589a8aeded491c5e7afcf9641d1f',1,'galaxy::api::ILobbyCreatedListener']]], - ['onlobbydataretrievefailure',['OnLobbyDataRetrieveFailure',['../classgalaxy_1_1api_1_1ILobbyDataRetrieveListener.html#af8d58a649d3b6f61e2e4cb0644c849a4',1,'galaxy::api::ILobbyDataRetrieveListener']]], - ['onlobbydataretrievesuccess',['OnLobbyDataRetrieveSuccess',['../classgalaxy_1_1api_1_1ILobbyDataRetrieveListener.html#af7e26db1c50ccf070b2378a5b78cda7c',1,'galaxy::api::ILobbyDataRetrieveListener']]], - ['onlobbydataupdated',['OnLobbyDataUpdated',['../classgalaxy_1_1api_1_1ILobbyDataListener.html#a1dc57c5cd1fca408a3752cd0c2bbbebc',1,'galaxy::api::ILobbyDataListener']]], - ['onlobbydataupdatefailure',['OnLobbyDataUpdateFailure',['../classgalaxy_1_1api_1_1ILobbyDataUpdateListener.html#a149a668522af870cb1ed061e848ca209',1,'galaxy::api::ILobbyDataUpdateListener']]], - ['onlobbydataupdatesuccess',['OnLobbyDataUpdateSuccess',['../classgalaxy_1_1api_1_1ILobbyDataUpdateListener.html#a29f949881d51c39627d2063ce03647a1',1,'galaxy::api::ILobbyDataUpdateListener']]], - ['onlobbyentered',['OnLobbyEntered',['../classgalaxy_1_1api_1_1ILobbyEnteredListener.html#a6031d49f0d56094761deac38ca7a8460',1,'galaxy::api::ILobbyEnteredListener']]], - ['onlobbyleft',['OnLobbyLeft',['../classgalaxy_1_1api_1_1ILobbyLeftListener.html#a9bad9ee60861636ee6e710f44910d450',1,'galaxy::api::ILobbyLeftListener']]], - ['onlobbylist',['OnLobbyList',['../classgalaxy_1_1api_1_1ILobbyListListener.html#a95e2555359b52d867ca6e2338cbcafcf',1,'galaxy::api::ILobbyListListener']]], - ['onlobbymemberdataupdatefailure',['OnLobbyMemberDataUpdateFailure',['../classgalaxy_1_1api_1_1ILobbyMemberDataUpdateListener.html#ae0cb87451b2602ed7a41ecceb308df96',1,'galaxy::api::ILobbyMemberDataUpdateListener']]], - ['onlobbymemberdataupdatesuccess',['OnLobbyMemberDataUpdateSuccess',['../classgalaxy_1_1api_1_1ILobbyMemberDataUpdateListener.html#abdf4b48e9f7c421f8ae044cf07338d23',1,'galaxy::api::ILobbyMemberDataUpdateListener']]], - ['onlobbymemberstatechanged',['OnLobbyMemberStateChanged',['../classgalaxy_1_1api_1_1ILobbyMemberStateListener.html#a6800dd47f89e3c03e230bd31fa87023e',1,'galaxy::api::ILobbyMemberStateListener']]], - ['onlobbymessagereceived',['OnLobbyMessageReceived',['../classgalaxy_1_1api_1_1ILobbyMessageListener.html#aa31d9ad7d79a3ab5e0b9b18cdb16976a',1,'galaxy::api::ILobbyMessageListener']]], - ['onlobbyownerchanged',['OnLobbyOwnerChanged',['../classgalaxy_1_1api_1_1ILobbyOwnerChangeListener.html#a7a9300e96fb1276b47c486181abedec8',1,'galaxy::api::ILobbyOwnerChangeListener']]], - ['onnattypedetectionfailure',['OnNatTypeDetectionFailure',['../classgalaxy_1_1api_1_1INatTypeDetectionListener.html#af40081fd5f73a291b0ff0f83037f1de8',1,'galaxy::api::INatTypeDetectionListener']]], - ['onnattypedetectionsuccess',['OnNatTypeDetectionSuccess',['../classgalaxy_1_1api_1_1INatTypeDetectionListener.html#abc8873bccaa5e9aaa69295fca4821efc',1,'galaxy::api::INatTypeDetectionListener']]], - ['onnotificationreceived',['OnNotificationReceived',['../classgalaxy_1_1api_1_1INotificationListener.html#a4983ed497c6db643f26854c14d318ab8',1,'galaxy::api::INotificationListener']]], - ['onoperationalstatechanged',['OnOperationalStateChanged',['../classgalaxy_1_1api_1_1IOperationalStateChangeListener.html#a7de944d408b2386e77a7081638caef96',1,'galaxy::api::IOperationalStateChangeListener']]], - ['onothersessionstarted',['OnOtherSessionStarted',['../classgalaxy_1_1api_1_1IOtherSessionStartListener.html#ac52e188f08e67d25609ef61f2d3d10c7',1,'galaxy::api::IOtherSessionStartListener']]], - ['onoverlaystatechanged',['OnOverlayStateChanged',['../classgalaxy_1_1api_1_1IOverlayInitializationStateChangeListener.html#af55f5b8e0b10dde7869226c0fbd63b35',1,'galaxy::api::IOverlayInitializationStateChangeListener']]], - ['onoverlayvisibilitychanged',['OnOverlayVisibilityChanged',['../classgalaxy_1_1api_1_1IOverlayVisibilityChangeListener.html#a139110a3ff4c92f1d63cac39b433d504',1,'galaxy::api::IOverlayVisibilityChangeListener']]], - ['onp2ppacketavailable',['OnP2PPacketAvailable',['../classgalaxy_1_1api_1_1INetworkingListener.html#afa7df957063fe159e005566be01b0886',1,'galaxy::api::INetworkingListener']]], - ['onpersonadatachanged',['OnPersonaDataChanged',['../classgalaxy_1_1api_1_1IPersonaDataChangedListener.html#a3d13d371bbedd3f600590c187a13ea28',1,'galaxy::api::IPersonaDataChangedListener']]], - ['onrichpresencechangefailure',['OnRichPresenceChangeFailure',['../classgalaxy_1_1api_1_1IRichPresenceChangeListener.html#a2467a872892d3a50dd00347d1f30bc7b',1,'galaxy::api::IRichPresenceChangeListener']]], - ['onrichpresencechangesuccess',['OnRichPresenceChangeSuccess',['../classgalaxy_1_1api_1_1IRichPresenceChangeListener.html#aa3636f8d79edd9e32e388b1ef6402005',1,'galaxy::api::IRichPresenceChangeListener']]], - ['onrichpresenceretrievefailure',['OnRichPresenceRetrieveFailure',['../classgalaxy_1_1api_1_1IRichPresenceRetrieveListener.html#a6fe9f78c1cb04a87327791203143304b',1,'galaxy::api::IRichPresenceRetrieveListener']]], - ['onrichpresenceretrievesuccess',['OnRichPresenceRetrieveSuccess',['../classgalaxy_1_1api_1_1IRichPresenceRetrieveListener.html#ac494c03a72aa7ef80392ed30104caa11',1,'galaxy::api::IRichPresenceRetrieveListener']]], - ['onrichpresenceupdated',['OnRichPresenceUpdated',['../classgalaxy_1_1api_1_1IRichPresenceListener.html#aa9874ac50140dbb608026b72172ac31c',1,'galaxy::api::IRichPresenceListener']]], - ['onsentfriendinvitationlistretrievefailure',['OnSentFriendInvitationListRetrieveFailure',['../classgalaxy_1_1api_1_1ISentFriendInvitationListRetrieveListener.html#a35d5c1f02fd7cfae43cdae41554e2f74',1,'galaxy::api::ISentFriendInvitationListRetrieveListener']]], - ['onsentfriendinvitationlistretrievesuccess',['OnSentFriendInvitationListRetrieveSuccess',['../classgalaxy_1_1api_1_1ISentFriendInvitationListRetrieveListener.html#aa6ba4aaafe84d611b1f43068f815f491',1,'galaxy::api::ISentFriendInvitationListRetrieveListener']]], - ['onsharedfiledownloadfailure',['OnSharedFileDownloadFailure',['../classgalaxy_1_1api_1_1ISharedFileDownloadListener.html#a9308c8f0719c03ee3025aed3f51ede4d',1,'galaxy::api::ISharedFileDownloadListener']]], - ['onsharedfiledownloadsuccess',['OnSharedFileDownloadSuccess',['../classgalaxy_1_1api_1_1ISharedFileDownloadListener.html#a6ab1bf95a27bb9437f2eb3daff36f98d',1,'galaxy::api::ISharedFileDownloadListener']]], - ['onspecificuserdataupdated',['OnSpecificUserDataUpdated',['../classgalaxy_1_1api_1_1ISpecificUserDataListener.html#a79a7b06373b8ffc7f55ab2d7d1a4391a',1,'galaxy::api::ISpecificUserDataListener']]], - ['ontelemetryeventsendfailure',['OnTelemetryEventSendFailure',['../classgalaxy_1_1api_1_1ITelemetryEventSendListener.html#a80164ea4f31e6591804882fff7309ce7',1,'galaxy::api::ITelemetryEventSendListener']]], - ['ontelemetryeventsendsuccess',['OnTelemetryEventSendSuccess',['../classgalaxy_1_1api_1_1ITelemetryEventSendListener.html#a2458f75178736f5720312a0a8177bdb8',1,'galaxy::api::ITelemetryEventSendListener']]], - ['onuserdataupdated',['OnUserDataUpdated',['../classgalaxy_1_1api_1_1IUserDataListener.html#a9fd33f7239422f3603de82dace2a3d10',1,'galaxy::api::IUserDataListener']]], - ['onuserfindfailure',['OnUserFindFailure',['../classgalaxy_1_1api_1_1IUserFindListener.html#a7a0b27d51b23a712dcb55963e5b294e9',1,'galaxy::api::IUserFindListener']]], - ['onuserfindsuccess',['OnUserFindSuccess',['../classgalaxy_1_1api_1_1IUserFindListener.html#ab37abd921a121ffdea4b8c53e020fc91',1,'galaxy::api::IUserFindListener']]], - ['onuserinformationretrievefailure',['OnUserInformationRetrieveFailure',['../classgalaxy_1_1api_1_1IUserInformationRetrieveListener.html#a0164a19a563d9a87d714cff106530dff',1,'galaxy::api::IUserInformationRetrieveListener']]], - ['onuserinformationretrievesuccess',['OnUserInformationRetrieveSuccess',['../classgalaxy_1_1api_1_1IUserInformationRetrieveListener.html#a90e616a4dd50befabe6681a707af3854',1,'galaxy::api::IUserInformationRetrieveListener']]], - ['onuserstatsandachievementsretrievefailure',['OnUserStatsAndAchievementsRetrieveFailure',['../classgalaxy_1_1api_1_1IUserStatsAndAchievementsRetrieveListener.html#a39b89de2cb647c042d3e146e4886e0d7',1,'galaxy::api::IUserStatsAndAchievementsRetrieveListener']]], - ['onuserstatsandachievementsretrievesuccess',['OnUserStatsAndAchievementsRetrieveSuccess',['../classgalaxy_1_1api_1_1IUserStatsAndAchievementsRetrieveListener.html#a7971fc05ee5ca58b53ed691be56ffae0',1,'galaxy::api::IUserStatsAndAchievementsRetrieveListener']]], - ['onuserstatsandachievementsstorefailure',['OnUserStatsAndAchievementsStoreFailure',['../classgalaxy_1_1api_1_1IStatsAndAchievementsStoreListener.html#a24285d1f5582f92213e68ad3ac97f061',1,'galaxy::api::IStatsAndAchievementsStoreListener']]], - ['onuserstatsandachievementsstoresuccess',['OnUserStatsAndAchievementsStoreSuccess',['../classgalaxy_1_1api_1_1IStatsAndAchievementsStoreListener.html#a63c77ca57cee4a6f564158ec1c03f7f1',1,'galaxy::api::IStatsAndAchievementsStoreListener']]], - ['onusertimeplayedretrievefailure',['OnUserTimePlayedRetrieveFailure',['../classgalaxy_1_1api_1_1IUserTimePlayedRetrieveListener.html#a946872ff0706541dfc2a70a498f87f48',1,'galaxy::api::IUserTimePlayedRetrieveListener']]], - ['onusertimeplayedretrievesuccess',['OnUserTimePlayedRetrieveSuccess',['../classgalaxy_1_1api_1_1IUserTimePlayedRetrieveListener.html#a78acf90057c9434615627a869f6a002a',1,'galaxy::api::IUserTimePlayedRetrieveListener']]], - ['openconnection',['OpenConnection',['../classgalaxy_1_1api_1_1ICustomNetworking.html#a85c8f3169a7be9507154f325c3564b1e',1,'galaxy::api::ICustomNetworking']]], - ['operator_21_3d',['operator!=',['../classgalaxy_1_1api_1_1GalaxyID.html#ae23bb7b697d7845bd447cf6d13cfde34',1,'galaxy::api::GalaxyID']]], - ['operator_3c',['operator<',['../classgalaxy_1_1api_1_1GalaxyID.html#a38d3a3738e624bd4cfd961863c541f37',1,'galaxy::api::GalaxyID']]], - ['operator_3d',['operator=',['../classgalaxy_1_1api_1_1GalaxyID.html#ac35243cc4381cf28ea2eb75c8e04d458',1,'galaxy::api::GalaxyID']]], - ['operator_3d_3d',['operator==',['../classgalaxy_1_1api_1_1GalaxyID.html#a708c1fa6b537417d7e2597dc89291be7',1,'galaxy::api::GalaxyID']]] -]; diff --git a/vendors/galaxy/Docs/search/functions_c.html b/vendors/galaxy/Docs/search/functions_c.html deleted file mode 100644 index 3b2976a04..000000000 --- a/vendors/galaxy/Docs/search/functions_c.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/functions_c.js b/vendors/galaxy/Docs/search/functions_c.js deleted file mode 100644 index 5b82d9f96..000000000 --- a/vendors/galaxy/Docs/search/functions_c.js +++ /dev/null @@ -1,9 +0,0 @@ -var searchData= -[ - ['peekdata',['PeekData',['../classgalaxy_1_1api_1_1ICustomNetworking.html#a7844d3bfec3c589baf36c2be96b9daa3',1,'galaxy::api::ICustomNetworking']]], - ['peekp2ppacket',['PeekP2PPacket',['../classgalaxy_1_1api_1_1INetworking.html#ae17ea8db06874f4f48d72aa747e843b8',1,'galaxy::api::INetworking']]], - ['popdata',['PopData',['../classgalaxy_1_1api_1_1ICustomNetworking.html#a23f7d6971b5c550d0821368705e4bfd6',1,'galaxy::api::ICustomNetworking']]], - ['popp2ppacket',['PopP2PPacket',['../classgalaxy_1_1api_1_1INetworking.html#aa7fbf9ee962869cdcdd6d356b1804dc2',1,'galaxy::api::INetworking']]], - ['processdata',['ProcessData',['../group__Peer.html#ga1e437567d7fb43c9845809b22c567ca7',1,'galaxy::api']]], - ['processgameserverdata',['ProcessGameServerData',['../group__GameServer.html#gacd909ec5a3dd8571d26efa1ad6484548',1,'galaxy::api']]] -]; diff --git a/vendors/galaxy/Docs/search/functions_d.html b/vendors/galaxy/Docs/search/functions_d.html deleted file mode 100644 index 0c542463f..000000000 --- a/vendors/galaxy/Docs/search/functions_d.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/functions_d.js b/vendors/galaxy/Docs/search/functions_d.js deleted file mode 100644 index 8c4584260..000000000 --- a/vendors/galaxy/Docs/search/functions_d.js +++ /dev/null @@ -1,29 +0,0 @@ -var searchData= -[ - ['readdata',['ReadData',['../classgalaxy_1_1api_1_1ICustomNetworking.html#a55f27654455fd746bebb5f60def2fa40',1,'galaxy::api::ICustomNetworking']]], - ['readp2ppacket',['ReadP2PPacket',['../classgalaxy_1_1api_1_1INetworking.html#a1c902bc6fbdf52a79a396c642f43bb22',1,'galaxy::api::INetworking']]], - ['register',['Register',['../classgalaxy_1_1api_1_1IListenerRegistrar.html#a9672d896a93300ab681718d6a5c8f529',1,'galaxy::api::IListenerRegistrar']]], - ['registerfornotification',['RegisterForNotification',['../classgalaxy_1_1api_1_1IUtils.html#a1177ae0fc1a5f7f92bd00896a98d3951',1,'galaxy::api::IUtils']]], - ['reportinvalidaccesstoken',['ReportInvalidAccessToken',['../classgalaxy_1_1api_1_1IUser.html#a5aa752b87cc2ff029709ad9321518e0b',1,'galaxy::api::IUser']]], - ['requestchatroommessages',['RequestChatRoomMessages',['../classgalaxy_1_1api_1_1IChat.html#acad827245bab28f694508420c6363a1f',1,'galaxy::api::IChat']]], - ['requestchatroomwithuser',['RequestChatRoomWithUser',['../classgalaxy_1_1api_1_1IChat.html#a1c71546d2f33533cb9f24a9d29764b60',1,'galaxy::api::IChat']]], - ['requestencryptedappticket',['RequestEncryptedAppTicket',['../classgalaxy_1_1api_1_1IUser.html#a29f307e31066fc39b93802e363ea2064',1,'galaxy::api::IUser']]], - ['requestfriendinvitationlist',['RequestFriendInvitationList',['../classgalaxy_1_1api_1_1IFriends.html#aa07f371ce5b0ac7d5ccf33cf7d8f64ed',1,'galaxy::api::IFriends']]], - ['requestfriendlist',['RequestFriendList',['../classgalaxy_1_1api_1_1IFriends.html#aa648d323f3f798bbadd745bea13fc3b5',1,'galaxy::api::IFriends']]], - ['requestleaderboardentriesarounduser',['RequestLeaderboardEntriesAroundUser',['../classgalaxy_1_1api_1_1IStats.html#a1215ca0927c038ed5380d23d1825d92d',1,'galaxy::api::IStats']]], - ['requestleaderboardentriesforusers',['RequestLeaderboardEntriesForUsers',['../classgalaxy_1_1api_1_1IStats.html#ac06a171edf21bb4b2b1b73db0d3ba994',1,'galaxy::api::IStats']]], - ['requestleaderboardentriesglobal',['RequestLeaderboardEntriesGlobal',['../classgalaxy_1_1api_1_1IStats.html#a8001acf6133977206aae970b04e82433',1,'galaxy::api::IStats']]], - ['requestleaderboards',['RequestLeaderboards',['../classgalaxy_1_1api_1_1IStats.html#a7290943ee81882d006239f103d523a1d',1,'galaxy::api::IStats']]], - ['requestlobbydata',['RequestLobbyData',['../classgalaxy_1_1api_1_1IMatchmaking.html#a26d24d194a26e7596ee00b7866c8f244',1,'galaxy::api::IMatchmaking']]], - ['requestlobbylist',['RequestLobbyList',['../classgalaxy_1_1api_1_1IMatchmaking.html#a3968e89f7989f0271c795bde7f894cd5',1,'galaxy::api::IMatchmaking']]], - ['requestnattypedetection',['RequestNatTypeDetection',['../classgalaxy_1_1api_1_1INetworking.html#a51aacf39969e92ca4acff9dd240cff0e',1,'galaxy::api::INetworking']]], - ['requestrichpresence',['RequestRichPresence',['../classgalaxy_1_1api_1_1IFriends.html#a5a3458c1a79eb77463a60278ef7a0b5d',1,'galaxy::api::IFriends']]], - ['requestsentfriendinvitationlist',['RequestSentFriendInvitationList',['../classgalaxy_1_1api_1_1IFriends.html#a0523aacfc83c27deaf54c0ec9e574816',1,'galaxy::api::IFriends']]], - ['requestuserdata',['RequestUserData',['../classgalaxy_1_1api_1_1IUser.html#a8e77956d509453d67c5febf8ff1d483d',1,'galaxy::api::IUser']]], - ['requestuserinformation',['RequestUserInformation',['../classgalaxy_1_1api_1_1IFriends.html#a4692fc9d422740da258c351a2b709526',1,'galaxy::api::IFriends']]], - ['requestuserstatsandachievements',['RequestUserStatsAndAchievements',['../classgalaxy_1_1api_1_1IStats.html#a38f5c146772f06dfd58c21ca599d7c25',1,'galaxy::api::IStats']]], - ['requestusertimeplayed',['RequestUserTimePlayed',['../classgalaxy_1_1api_1_1IStats.html#a1e3d7b1ea57ea4f65d08b9c47c52af27',1,'galaxy::api::IStats']]], - ['resetstatsandachievements',['ResetStatsAndAchievements',['../classgalaxy_1_1api_1_1IStats.html#a90d371596d2210a5889fc20dc708dc39',1,'galaxy::api::IStats']]], - ['resetvisitid',['ResetVisitID',['../classgalaxy_1_1api_1_1ITelemetry.html#a2b73bb788af5434e7bba31c899e999be',1,'galaxy::api::ITelemetry']]], - ['respondtofriendinvitation',['RespondToFriendInvitation',['../classgalaxy_1_1api_1_1IFriends.html#a1cf1b3f618b06aaf3b00864d854b3fc6',1,'galaxy::api::IFriends']]] -]; diff --git a/vendors/galaxy/Docs/search/functions_e.html b/vendors/galaxy/Docs/search/functions_e.html deleted file mode 100644 index c1bd8701e..000000000 --- a/vendors/galaxy/Docs/search/functions_e.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/functions_e.js b/vendors/galaxy/Docs/search/functions_e.js deleted file mode 100644 index 7d094e951..000000000 --- a/vendors/galaxy/Docs/search/functions_e.js +++ /dev/null @@ -1,51 +0,0 @@ -var searchData= -[ - ['selfregisteringlistener',['SelfRegisteringListener',['../classgalaxy_1_1api_1_1SelfRegisteringListener.html#a13cb637c90dbe6d25749d600e467cba8',1,'galaxy::api::SelfRegisteringListener']]], - ['sendanonymoustelemetryevent',['SendAnonymousTelemetryEvent',['../classgalaxy_1_1api_1_1ITelemetry.html#ae70ab04b9a5df7039bf76b6b9124d30a',1,'galaxy::api::ITelemetry']]], - ['sendchatroommessage',['SendChatRoomMessage',['../classgalaxy_1_1api_1_1IChat.html#a11cff02f62369b026fd7802bdeb9aca1',1,'galaxy::api::IChat']]], - ['senddata',['SendData',['../classgalaxy_1_1api_1_1ICustomNetworking.html#a8ec3a0a8840e94790d3f9e2f45097f98',1,'galaxy::api::ICustomNetworking']]], - ['sendfriendinvitation',['SendFriendInvitation',['../classgalaxy_1_1api_1_1IFriends.html#ac84396e28dc5a3c8d665f705ace6218e',1,'galaxy::api::IFriends']]], - ['sendinvitation',['SendInvitation',['../classgalaxy_1_1api_1_1IFriends.html#aefdc41edcd24ebbf88bfb25520a47397',1,'galaxy::api::IFriends']]], - ['sendlobbymessage',['SendLobbyMessage',['../classgalaxy_1_1api_1_1IMatchmaking.html#a61228fc0b2683c365e3993b251814ac5',1,'galaxy::api::IMatchmaking']]], - ['sendp2ppacket',['SendP2PPacket',['../classgalaxy_1_1api_1_1INetworking.html#a1fa6f25d0cbd7337ffacea9ffc9032ad',1,'galaxy::api::INetworking']]], - ['sendtelemetryevent',['SendTelemetryEvent',['../classgalaxy_1_1api_1_1ITelemetry.html#a902944123196aad4dd33ab6ffa4f33f2',1,'galaxy::api::ITelemetry']]], - ['setachievement',['SetAchievement',['../classgalaxy_1_1api_1_1IStats.html#aa5f8d8f187ae0870b3a6cb7dd5ab60e5',1,'galaxy::api::IStats']]], - ['setdefaultavatarcriteria',['SetDefaultAvatarCriteria',['../classgalaxy_1_1api_1_1IFriends.html#ae9172d7880741f6dc87f9f02ff018574',1,'galaxy::api::IFriends']]], - ['setleaderboardscore',['SetLeaderboardScore',['../classgalaxy_1_1api_1_1IStats.html#a95d5043fc61c941d882f0773225ace35',1,'galaxy::api::IStats']]], - ['setleaderboardscorewithdetails',['SetLeaderboardScoreWithDetails',['../classgalaxy_1_1api_1_1IStats.html#a089a1c895fce4fe49a3be6b341edc15c',1,'galaxy::api::IStats']]], - ['setlobbydata',['SetLobbyData',['../classgalaxy_1_1api_1_1IMatchmaking.html#a665683ee5377f48f6a10e57be41d35bd',1,'galaxy::api::IMatchmaking']]], - ['setlobbyjoinable',['SetLobbyJoinable',['../classgalaxy_1_1api_1_1IMatchmaking.html#a1b2e04c42a169da9deb5969704b67a85',1,'galaxy::api::IMatchmaking']]], - ['setlobbymemberdata',['SetLobbyMemberData',['../classgalaxy_1_1api_1_1IMatchmaking.html#a6e261274b1b12773851ca54be7a3ac04',1,'galaxy::api::IMatchmaking']]], - ['setlobbytype',['SetLobbyType',['../classgalaxy_1_1api_1_1IMatchmaking.html#ab7e0c34b0df5814515506dcbfcb894c0',1,'galaxy::api::IMatchmaking']]], - ['setmaxnumlobbymembers',['SetMaxNumLobbyMembers',['../classgalaxy_1_1api_1_1IMatchmaking.html#acbb790062f8185019e409918a8029a7c',1,'galaxy::api::IMatchmaking']]], - ['setrichpresence',['SetRichPresence',['../classgalaxy_1_1api_1_1IFriends.html#a73b14bf3df9d70a74eba89d5553a8241',1,'galaxy::api::IFriends']]], - ['setsamplingclass',['SetSamplingClass',['../classgalaxy_1_1api_1_1ITelemetry.html#a53682759c6c71cc3e46df486de95bd3a',1,'galaxy::api::ITelemetry']]], - ['setstatfloat',['SetStatFloat',['../classgalaxy_1_1api_1_1IStats.html#ab6e6c0a170b7ffcab82f1718df355814',1,'galaxy::api::IStats']]], - ['setstatint',['SetStatInt',['../classgalaxy_1_1api_1_1IStats.html#adefd43488e071c40dc508d38284a1074',1,'galaxy::api::IStats']]], - ['setuserdata',['SetUserData',['../classgalaxy_1_1api_1_1IUser.html#a2bee861638ff3887ace51f36827e2af0',1,'galaxy::api::IUser']]], - ['sharedfileclose',['SharedFileClose',['../classgalaxy_1_1api_1_1IStorage.html#a3f52b2af09c33a746891606b574d4526',1,'galaxy::api::IStorage']]], - ['sharedfileread',['SharedFileRead',['../classgalaxy_1_1api_1_1IStorage.html#af4bbf0a1c95571c56b0eca0e5c3e9089',1,'galaxy::api::IStorage']]], - ['showoverlayinvitedialog',['ShowOverlayInviteDialog',['../classgalaxy_1_1api_1_1IFriends.html#ae589d534ed8846319e3a4d2f72d3c51a',1,'galaxy::api::IFriends']]], - ['showoverlaywithwebpage',['ShowOverlayWithWebPage',['../classgalaxy_1_1api_1_1IUtils.html#a3619b5a04785779086816b94fad7302c',1,'galaxy::api::IUtils']]], - ['shutdown',['Shutdown',['../group__Peer.html#ga07e40f3563405d786ecd0c6501a14baf',1,'galaxy::api']]], - ['shutdowngameserver',['ShutdownGameServer',['../group__GameServer.html#ga6da0a2c22f694061d1814cdf521379fe',1,'galaxy::api']]], - ['signedin',['SignedIn',['../classgalaxy_1_1api_1_1IUser.html#aa6c13795a19e7dae09674048394fc650',1,'galaxy::api::IUser']]], - ['signinanonymous',['SignInAnonymous',['../classgalaxy_1_1api_1_1IUser.html#a9d4af026704c4c221d9202e2d555e2f1',1,'galaxy::api::IUser']]], - ['signinanonymoustelemetry',['SignInAnonymousTelemetry',['../classgalaxy_1_1api_1_1IUser.html#a69c13e10cbdea771abdf9b7154d0370a',1,'galaxy::api::IUser']]], - ['signincredentials',['SignInCredentials',['../classgalaxy_1_1api_1_1IUser.html#ab278e47229adeb5251f43e6b06b830a9',1,'galaxy::api::IUser']]], - ['signinepic',['SignInEpic',['../classgalaxy_1_1api_1_1IUser.html#aebcb56b167a8c6ee21790b45ca3517ce',1,'galaxy::api::IUser']]], - ['signingalaxy',['SignInGalaxy',['../classgalaxy_1_1api_1_1IUser.html#a65e86ddce496e67c3d7c1cc5ed4f3939',1,'galaxy::api::IUser']]], - ['signinlauncher',['SignInLauncher',['../classgalaxy_1_1api_1_1IUser.html#ae0b6e789027809d9d4e455bc8dc0db7c',1,'galaxy::api::IUser']]], - ['signinps4',['SignInPS4',['../classgalaxy_1_1api_1_1IUser.html#a820d822d8e344fdecf8870cc644c7742',1,'galaxy::api::IUser']]], - ['signinserverkey',['SignInServerKey',['../classgalaxy_1_1api_1_1IUser.html#a66320de49b3c2f6b547f7fa3904c9c91',1,'galaxy::api::IUser']]], - ['signinsteam',['SignInSteam',['../classgalaxy_1_1api_1_1IUser.html#a7b0ceddf3546891964e8449a554b4f86',1,'galaxy::api::IUser']]], - ['signintoken',['SignInToken',['../classgalaxy_1_1api_1_1IUser.html#a20521b3ff4c1ba163cb915c92babf877',1,'galaxy::api::IUser']]], - ['signinuwp',['SignInUWP',['../classgalaxy_1_1api_1_1IUser.html#aaf3956f1f34fbf085b153341fef3b830',1,'galaxy::api::IUser']]], - ['signinxb1',['SignInXB1',['../classgalaxy_1_1api_1_1IUser.html#a4d4843b5d3fb3376f793720df512194e',1,'galaxy::api::IUser']]], - ['signinxblive',['SignInXBLive',['../classgalaxy_1_1api_1_1IUser.html#a6a6521c240ea01adfdc5dd00086c1a29',1,'galaxy::api::IUser']]], - ['signout',['SignOut',['../classgalaxy_1_1api_1_1IUser.html#a0201a4995e361382d2afeb876787bd0f',1,'galaxy::api::IUser']]], - ['spawnthread',['SpawnThread',['../classgalaxy_1_1api_1_1IGalaxyThreadFactory.html#ab423aff7bbfec9321c0f753e7013a7a9',1,'galaxy::api::IGalaxyThreadFactory']]], - ['stats',['Stats',['../group__Peer.html#ga5c02ab593c2ea0b88eaa320f85b0dc2f',1,'galaxy::api']]], - ['storage',['Storage',['../group__Peer.html#ga1332e023e6736114f1c1ee8553155185',1,'galaxy::api']]], - ['storestatsandachievements',['StoreStatsAndAchievements',['../classgalaxy_1_1api_1_1IStats.html#a0e7f8f26b1825f6ccfb4dc26482b97ee',1,'galaxy::api::IStats']]] -]; diff --git a/vendors/galaxy/Docs/search/functions_f.html b/vendors/galaxy/Docs/search/functions_f.html deleted file mode 100644 index 38b6e817c..000000000 --- a/vendors/galaxy/Docs/search/functions_f.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/functions_f.js b/vendors/galaxy/Docs/search/functions_f.js deleted file mode 100644 index b4ddcfcec..000000000 --- a/vendors/galaxy/Docs/search/functions_f.js +++ /dev/null @@ -1,6 +0,0 @@ -var searchData= -[ - ['telemetry',['Telemetry',['../group__Peer.html#ga4b69eca19751e086638ca6038d76d331',1,'galaxy::api']]], - ['touint64',['ToUint64',['../classgalaxy_1_1api_1_1GalaxyID.html#ae5c045e6a51c05bdc45693259e80de6e',1,'galaxy::api::GalaxyID']]], - ['trace',['Trace',['../classgalaxy_1_1api_1_1ILogger.html#a2f884acd20718a6751ec1840c7fc0c3f',1,'galaxy::api::ILogger']]] -]; diff --git a/vendors/galaxy/Docs/search/groups_0.html b/vendors/galaxy/Docs/search/groups_0.html deleted file mode 100644 index 194bb7bcb..000000000 --- a/vendors/galaxy/Docs/search/groups_0.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/groups_0.js b/vendors/galaxy/Docs/search/groups_0.js deleted file mode 100644 index 4ad7f7b77..000000000 --- a/vendors/galaxy/Docs/search/groups_0.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['api',['Api',['../group__api.html',1,'']]] -]; diff --git a/vendors/galaxy/Docs/search/groups_1.html b/vendors/galaxy/Docs/search/groups_1.html deleted file mode 100644 index ed9b5c61e..000000000 --- a/vendors/galaxy/Docs/search/groups_1.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/groups_1.js b/vendors/galaxy/Docs/search/groups_1.js deleted file mode 100644 index d7e578758..000000000 --- a/vendors/galaxy/Docs/search/groups_1.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['gameserver',['GameServer',['../group__GameServer.html',1,'']]] -]; diff --git a/vendors/galaxy/Docs/search/groups_2.html b/vendors/galaxy/Docs/search/groups_2.html deleted file mode 100644 index 17d4e06ab..000000000 --- a/vendors/galaxy/Docs/search/groups_2.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/groups_2.js b/vendors/galaxy/Docs/search/groups_2.js deleted file mode 100644 index 995a22096..000000000 --- a/vendors/galaxy/Docs/search/groups_2.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['peer',['Peer',['../group__Peer.html',1,'']]] -]; diff --git a/vendors/galaxy/Docs/search/mag_sel.png b/vendors/galaxy/Docs/search/mag_sel.png deleted file mode 100644 index 39c0ed52a..000000000 Binary files a/vendors/galaxy/Docs/search/mag_sel.png and /dev/null differ diff --git a/vendors/galaxy/Docs/search/nomatches.html b/vendors/galaxy/Docs/search/nomatches.html deleted file mode 100644 index 437732089..000000000 --- a/vendors/galaxy/Docs/search/nomatches.html +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - -
-
No Matches
-
- - diff --git a/vendors/galaxy/Docs/search/pages_0.html b/vendors/galaxy/Docs/search/pages_0.html deleted file mode 100644 index 3d06b0521..000000000 --- a/vendors/galaxy/Docs/search/pages_0.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/pages_0.js b/vendors/galaxy/Docs/search/pages_0.js deleted file mode 100644 index 038da5410..000000000 --- a/vendors/galaxy/Docs/search/pages_0.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['deprecated_20list',['Deprecated List',['../deprecated.html',1,'']]] -]; diff --git a/vendors/galaxy/Docs/search/pages_1.html b/vendors/galaxy/Docs/search/pages_1.html deleted file mode 100644 index 06f1e40f0..000000000 --- a/vendors/galaxy/Docs/search/pages_1.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/pages_1.js b/vendors/galaxy/Docs/search/pages_1.js deleted file mode 100644 index 7cf787919..000000000 --- a/vendors/galaxy/Docs/search/pages_1.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['introduction',['Introduction',['../index.html',1,'']]] -]; diff --git a/vendors/galaxy/Docs/search/search.css b/vendors/galaxy/Docs/search/search.css deleted file mode 100644 index b907ac3b1..000000000 --- a/vendors/galaxy/Docs/search/search.css +++ /dev/null @@ -1,271 +0,0 @@ -/*---------------- Search Box */ - -#FSearchBox { - float: left; -} - -#MSearchBox { - white-space : nowrap; - float: none; - margin-top: 8px; - right: 0px; - width: 170px; - height: 24px; - z-index: 102; -} - -#MSearchBox .left -{ - display:block; - position:absolute; - left:10px; - width:20px; - height:19px; - background:url('search_l.png') no-repeat; - background-position:right; -} - -#MSearchSelect { - display:block; - position:absolute; - width:20px; - height:19px; -} - -.left #MSearchSelect { - left:4px; -} - -.right #MSearchSelect { - right:5px; -} - -#MSearchField { - display:block; - position:absolute; - height:19px; - background:url('search_m.png') repeat-x; - border:none; - width:115px; - margin-left:20px; - padding-left:4px; - color: #909090; - outline: none; - font: 9pt Arial, Verdana, sans-serif; - -webkit-border-radius: 0px; -} - -#FSearchBox #MSearchField { - margin-left:15px; -} - -#MSearchBox .right { - display:block; - position:absolute; - right:10px; - top:8px; - width:20px; - height:19px; - background:url('search_r.png') no-repeat; - background-position:left; -} - -#MSearchClose { - display: none; - position: absolute; - top: 4px; - background : none; - border: none; - margin: 0px 4px 0px 0px; - padding: 0px 0px; - outline: none; -} - -.left #MSearchClose { - left: 6px; -} - -.right #MSearchClose { - right: 2px; -} - -.MSearchBoxActive #MSearchField { - color: #000000; -} - -/*---------------- Search filter selection */ - -#MSearchSelectWindow { - display: none; - position: absolute; - left: 0; top: 0; - border: 1px solid #37BB20; - background-color: #F1FCEF; - z-index: 10001; - padding-top: 4px; - padding-bottom: 4px; - -moz-border-radius: 4px; - -webkit-border-top-left-radius: 4px; - -webkit-border-top-right-radius: 4px; - -webkit-border-bottom-left-radius: 4px; - -webkit-border-bottom-right-radius: 4px; - -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); -} - -.SelectItem { - font: 8pt Arial, Verdana, sans-serif; - padding-left: 2px; - padding-right: 12px; - border: 0px; -} - -span.SelectionMark { - margin-right: 4px; - font-family: monospace; - outline-style: none; - text-decoration: none; -} - -a.SelectItem { - display: block; - outline-style: none; - color: #000000; - text-decoration: none; - padding-left: 6px; - padding-right: 12px; -} - -a.SelectItem:focus, -a.SelectItem:active { - color: #000000; - outline-style: none; - text-decoration: none; -} - -a.SelectItem:hover { - color: #FFFFFF; - background-color: #103509; - outline-style: none; - text-decoration: none; - cursor: pointer; - display: block; -} - -/*---------------- Search results window */ - -iframe#MSearchResults { - width: 60ex; - height: 15em; -} - -#MSearchResultsWindow { - display: none; - position: absolute; - left: 0; top: 0; - border: 1px solid #000; - background-color: #D7F7D2; - z-index:10000; -} - -/* ----------------------------------- */ - - -#SRIndex { - clear:both; - padding-bottom: 15px; -} - -.SREntry { - font-size: 10pt; - padding-left: 1ex; -} - -.SRPage .SREntry { - font-size: 8pt; - padding: 1px 5px; -} - -body.SRPage { - margin: 5px 2px; -} - -.SRChildren { - padding-left: 3ex; padding-bottom: .5em -} - -.SRPage .SRChildren { - display: none; -} - -.SRSymbol { - font-weight: bold; - color: #13400B; - font-family: Arial, Verdana, sans-serif; - text-decoration: none; - outline: none; -} - -a.SRScope { - display: block; - color: #13400B; - font-family: Arial, Verdana, sans-serif; - text-decoration: none; - outline: none; -} - -a.SRSymbol:focus, a.SRSymbol:active, -a.SRScope:focus, a.SRScope:active { - text-decoration: underline; -} - -span.SRScope { - padding-left: 4px; -} - -.SRPage .SRStatus { - padding: 2px 5px; - font-size: 8pt; - font-style: italic; -} - -.SRResult { - display: none; -} - -DIV.searchresults { - margin-left: 10px; - margin-right: 10px; -} - -/*---------------- External search page results */ - -.searchresult { - background-color: #DCF8D7; -} - -.pages b { - color: white; - padding: 5px 5px 3px 5px; - background-image: url("../tab_a.png"); - background-repeat: repeat-x; - text-shadow: 0 1px 1px #000000; -} - -.pages { - line-height: 17px; - margin-left: 4px; - text-decoration: none; -} - -.hl { - font-weight: bold; -} - -#searchresults { - margin-bottom: 20px; -} - -.searchpages { - margin-top: 10px; -} - diff --git a/vendors/galaxy/Docs/search/search.js b/vendors/galaxy/Docs/search/search.js deleted file mode 100644 index a554ab9cb..000000000 --- a/vendors/galaxy/Docs/search/search.js +++ /dev/null @@ -1,814 +0,0 @@ -/* - @licstart The following is the entire license notice for the - JavaScript code in this file. - - Copyright (C) 1997-2017 by Dimitri van Heesch - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - - @licend The above is the entire license notice - for the JavaScript code in this file - */ -function convertToId(search) -{ - var result = ''; - for (i=0;i do a search - { - this.Search(); - } - } - - this.OnSearchSelectKey = function(evt) - { - var e = (evt) ? evt : window.event; // for IE - if (e.keyCode==40 && this.searchIndex0) // Up - { - this.searchIndex--; - this.OnSelectItem(this.searchIndex); - } - else if (e.keyCode==13 || e.keyCode==27) - { - this.OnSelectItem(this.searchIndex); - this.CloseSelectionWindow(); - this.DOMSearchField().focus(); - } - return false; - } - - // --------- Actions - - // Closes the results window. - this.CloseResultsWindow = function() - { - this.DOMPopupSearchResultsWindow().style.display = 'none'; - this.DOMSearchClose().style.display = 'none'; - this.Activate(false); - } - - this.CloseSelectionWindow = function() - { - this.DOMSearchSelectWindow().style.display = 'none'; - } - - // Performs a search. - this.Search = function() - { - this.keyTimeout = 0; - - // strip leading whitespace - var searchValue = this.DOMSearchField().value.replace(/^ +/, ""); - - var code = searchValue.toLowerCase().charCodeAt(0); - var idxChar = searchValue.substr(0, 1).toLowerCase(); - if ( 0xD800 <= code && code <= 0xDBFF && searchValue > 1) // surrogate pair - { - idxChar = searchValue.substr(0, 2); - } - - var resultsPage; - var resultsPageWithSearch; - var hasResultsPage; - - var idx = indexSectionsWithContent[this.searchIndex].indexOf(idxChar); - if (idx!=-1) - { - var hexCode=idx.toString(16); - resultsPage = this.resultsPath + '/' + indexSectionNames[this.searchIndex] + '_' + hexCode + '.html'; - resultsPageWithSearch = resultsPage+'?'+escape(searchValue); - hasResultsPage = true; - } - else // nothing available for this search term - { - resultsPage = this.resultsPath + '/nomatches.html'; - resultsPageWithSearch = resultsPage; - hasResultsPage = false; - } - - window.frames.MSearchResults.location = resultsPageWithSearch; - var domPopupSearchResultsWindow = this.DOMPopupSearchResultsWindow(); - - if (domPopupSearchResultsWindow.style.display!='block') - { - var domSearchBox = this.DOMSearchBox(); - this.DOMSearchClose().style.display = 'inline'; - if (this.insideFrame) - { - var domPopupSearchResults = this.DOMPopupSearchResults(); - domPopupSearchResultsWindow.style.position = 'relative'; - domPopupSearchResultsWindow.style.display = 'block'; - var width = document.body.clientWidth - 8; // the -8 is for IE :-( - domPopupSearchResultsWindow.style.width = width + 'px'; - domPopupSearchResults.style.width = width + 'px'; - } - else - { - var domPopupSearchResults = this.DOMPopupSearchResults(); - var left = getXPos(domSearchBox) + 150; // domSearchBox.offsetWidth; - var top = getYPos(domSearchBox) + 20; // domSearchBox.offsetHeight + 1; - domPopupSearchResultsWindow.style.display = 'block'; - left -= domPopupSearchResults.offsetWidth; - domPopupSearchResultsWindow.style.top = top + 'px'; - domPopupSearchResultsWindow.style.left = left + 'px'; - } - } - - this.lastSearchValue = searchValue; - this.lastResultsPage = resultsPage; - } - - // -------- Activation Functions - - // Activates or deactivates the search panel, resetting things to - // their default values if necessary. - this.Activate = function(isActive) - { - if (isActive || // open it - this.DOMPopupSearchResultsWindow().style.display == 'block' - ) - { - this.DOMSearchBox().className = 'MSearchBoxActive'; - - var searchField = this.DOMSearchField(); - - if (searchField.value == this.searchLabel) // clear "Search" term upon entry - { - searchField.value = ''; - this.searchActive = true; - } - } - else if (!isActive) // directly remove the panel - { - this.DOMSearchBox().className = 'MSearchBoxInactive'; - this.DOMSearchField().value = this.searchLabel; - this.searchActive = false; - this.lastSearchValue = '' - this.lastResultsPage = ''; - } - } -} - -// ----------------------------------------------------------------------- - -// The class that handles everything on the search results page. -function SearchResults(name) -{ - // The number of matches from the last run of . - this.lastMatchCount = 0; - this.lastKey = 0; - this.repeatOn = false; - - // Toggles the visibility of the passed element ID. - this.FindChildElement = function(id) - { - var parentElement = document.getElementById(id); - var element = parentElement.firstChild; - - while (element && element!=parentElement) - { - if (element.nodeName == 'DIV' && element.className == 'SRChildren') - { - return element; - } - - if (element.nodeName == 'DIV' && element.hasChildNodes()) - { - element = element.firstChild; - } - else if (element.nextSibling) - { - element = element.nextSibling; - } - else - { - do - { - element = element.parentNode; - } - while (element && element!=parentElement && !element.nextSibling); - - if (element && element!=parentElement) - { - element = element.nextSibling; - } - } - } - } - - this.Toggle = function(id) - { - var element = this.FindChildElement(id); - if (element) - { - if (element.style.display == 'block') - { - element.style.display = 'none'; - } - else - { - element.style.display = 'block'; - } - } - } - - // Searches for the passed string. If there is no parameter, - // it takes it from the URL query. - // - // Always returns true, since other documents may try to call it - // and that may or may not be possible. - this.Search = function(search) - { - if (!search) // get search word from URL - { - search = window.location.search; - search = search.substring(1); // Remove the leading '?' - search = unescape(search); - } - - search = search.replace(/^ +/, ""); // strip leading spaces - search = search.replace(/ +$/, ""); // strip trailing spaces - search = search.toLowerCase(); - search = convertToId(search); - - var resultRows = document.getElementsByTagName("div"); - var matches = 0; - - var i = 0; - while (i < resultRows.length) - { - var row = resultRows.item(i); - if (row.className == "SRResult") - { - var rowMatchName = row.id.toLowerCase(); - rowMatchName = rowMatchName.replace(/^sr\d*_/, ''); // strip 'sr123_' - - if (search.length<=rowMatchName.length && - rowMatchName.substr(0, search.length)==search) - { - row.style.display = 'block'; - matches++; - } - else - { - row.style.display = 'none'; - } - } - i++; - } - document.getElementById("Searching").style.display='none'; - if (matches == 0) // no results - { - document.getElementById("NoMatches").style.display='block'; - } - else // at least one result - { - document.getElementById("NoMatches").style.display='none'; - } - this.lastMatchCount = matches; - return true; - } - - // return the first item with index index or higher that is visible - this.NavNext = function(index) - { - var focusItem; - while (1) - { - var focusName = 'Item'+index; - focusItem = document.getElementById(focusName); - if (focusItem && focusItem.parentNode.parentNode.style.display=='block') - { - break; - } - else if (!focusItem) // last element - { - break; - } - focusItem=null; - index++; - } - return focusItem; - } - - this.NavPrev = function(index) - { - var focusItem; - while (1) - { - var focusName = 'Item'+index; - focusItem = document.getElementById(focusName); - if (focusItem && focusItem.parentNode.parentNode.style.display=='block') - { - break; - } - else if (!focusItem) // last element - { - break; - } - focusItem=null; - index--; - } - return focusItem; - } - - this.ProcessKeys = function(e) - { - if (e.type == "keydown") - { - this.repeatOn = false; - this.lastKey = e.keyCode; - } - else if (e.type == "keypress") - { - if (!this.repeatOn) - { - if (this.lastKey) this.repeatOn = true; - return false; // ignore first keypress after keydown - } - } - else if (e.type == "keyup") - { - this.lastKey = 0; - this.repeatOn = false; - } - return this.lastKey!=0; - } - - this.Nav = function(evt,itemIndex) - { - var e = (evt) ? evt : window.event; // for IE - if (e.keyCode==13) return true; - if (!this.ProcessKeys(e)) return false; - - if (this.lastKey==38) // Up - { - var newIndex = itemIndex-1; - var focusItem = this.NavPrev(newIndex); - if (focusItem) - { - var child = this.FindChildElement(focusItem.parentNode.parentNode.id); - if (child && child.style.display == 'block') // children visible - { - var n=0; - var tmpElem; - while (1) // search for last child - { - tmpElem = document.getElementById('Item'+newIndex+'_c'+n); - if (tmpElem) - { - focusItem = tmpElem; - } - else // found it! - { - break; - } - n++; - } - } - } - if (focusItem) - { - focusItem.focus(); - } - else // return focus to search field - { - parent.document.getElementById("MSearchField").focus(); - } - } - else if (this.lastKey==40) // Down - { - var newIndex = itemIndex+1; - var focusItem; - var item = document.getElementById('Item'+itemIndex); - var elem = this.FindChildElement(item.parentNode.parentNode.id); - if (elem && elem.style.display == 'block') // children visible - { - focusItem = document.getElementById('Item'+itemIndex+'_c0'); - } - if (!focusItem) focusItem = this.NavNext(newIndex); - if (focusItem) focusItem.focus(); - } - else if (this.lastKey==39) // Right - { - var item = document.getElementById('Item'+itemIndex); - var elem = this.FindChildElement(item.parentNode.parentNode.id); - if (elem) elem.style.display = 'block'; - } - else if (this.lastKey==37) // Left - { - var item = document.getElementById('Item'+itemIndex); - var elem = this.FindChildElement(item.parentNode.parentNode.id); - if (elem) elem.style.display = 'none'; - } - else if (this.lastKey==27) // Escape - { - parent.searchBox.CloseResultsWindow(); - parent.document.getElementById("MSearchField").focus(); - } - else if (this.lastKey==13) // Enter - { - return true; - } - return false; - } - - this.NavChild = function(evt,itemIndex,childIndex) - { - var e = (evt) ? evt : window.event; // for IE - if (e.keyCode==13) return true; - if (!this.ProcessKeys(e)) return false; - - if (this.lastKey==38) // Up - { - if (childIndex>0) - { - var newIndex = childIndex-1; - document.getElementById('Item'+itemIndex+'_c'+newIndex).focus(); - } - else // already at first child, jump to parent - { - document.getElementById('Item'+itemIndex).focus(); - } - } - else if (this.lastKey==40) // Down - { - var newIndex = childIndex+1; - var elem = document.getElementById('Item'+itemIndex+'_c'+newIndex); - if (!elem) // last child, jump to parent next parent - { - elem = this.NavNext(itemIndex+1); - } - if (elem) - { - elem.focus(); - } - } - else if (this.lastKey==27) // Escape - { - parent.searchBox.CloseResultsWindow(); - parent.document.getElementById("MSearchField").focus(); - } - else if (this.lastKey==13) // Enter - { - return true; - } - return false; - } -} - -function setKeyActions(elem,action) -{ - elem.setAttribute('onkeydown',action); - elem.setAttribute('onkeypress',action); - elem.setAttribute('onkeyup',action); -} - -function setClassAttr(elem,attr) -{ - elem.setAttribute('class',attr); - elem.setAttribute('className',attr); -} - -function createResults() -{ - var results = document.getElementById("SRResults"); - for (var e=0; e - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/typedefs_0.js b/vendors/galaxy/Docs/search/typedefs_0.js deleted file mode 100644 index ec342cd20..000000000 --- a/vendors/galaxy/Docs/search/typedefs_0.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['avatarcriteria',['AvatarCriteria',['../group__api.html#ga0b4e285695fff5cdad470ce7fd65d232',1,'galaxy::api']]] -]; diff --git a/vendors/galaxy/Docs/search/typedefs_1.html b/vendors/galaxy/Docs/search/typedefs_1.html deleted file mode 100644 index c8a026857..000000000 --- a/vendors/galaxy/Docs/search/typedefs_1.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/typedefs_1.js b/vendors/galaxy/Docs/search/typedefs_1.js deleted file mode 100644 index a16ac0efa..000000000 --- a/vendors/galaxy/Docs/search/typedefs_1.js +++ /dev/null @@ -1,6 +0,0 @@ -var searchData= -[ - ['chatmessageid',['ChatMessageID',['../group__api.html#ga42d3784b96327d589928dd3b443fb6a1',1,'galaxy::api']]], - ['chatroomid',['ChatRoomID',['../group__api.html#ga8f62afb8807584e4588df6ae21eb8811',1,'galaxy::api']]], - ['connectionid',['ConnectionID',['../group__api.html#ga4e2490f675d3a2b8ae3d250fcd32bc0d',1,'galaxy::api']]] -]; diff --git a/vendors/galaxy/Docs/search/typedefs_2.html b/vendors/galaxy/Docs/search/typedefs_2.html deleted file mode 100644 index 86a91955e..000000000 --- a/vendors/galaxy/Docs/search/typedefs_2.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/typedefs_2.js b/vendors/galaxy/Docs/search/typedefs_2.js deleted file mode 100644 index 9cc088600..000000000 --- a/vendors/galaxy/Docs/search/typedefs_2.js +++ /dev/null @@ -1,81 +0,0 @@ -var searchData= -[ - ['galaxyfree',['GalaxyFree',['../group__api.html#ga088429be4e622eaf0e7b66bbde64fbf6',1,'galaxy::api']]], - ['galaxymalloc',['GalaxyMalloc',['../group__api.html#ga75ffb9cb99a62cae423601071be95b4b',1,'galaxy::api']]], - ['galaxyrealloc',['GalaxyRealloc',['../group__api.html#ga243f15d68e0aad3b5311b5829e90f2eb',1,'galaxy::api']]], - ['gameserverglobalaccesstokenlistener',['GameServerGlobalAccessTokenListener',['../group__api.html#ga01aaf9ef2650abfdd465535a669cc783',1,'galaxy::api']]], - ['gameserverglobalauthlistener',['GameServerGlobalAuthListener',['../group__api.html#gaf49ff046f73b164653f2f22fb3048472',1,'galaxy::api']]], - ['gameserverglobalencryptedappticketlistener',['GameServerGlobalEncryptedAppTicketListener',['../group__api.html#ga4b2e686d5a9fee3836dee6b8d182dfb0',1,'galaxy::api']]], - ['gameserverglobalgogservicesconnectionstatelistener',['GameServerGlobalGogServicesConnectionStateListener',['../group__api.html#ga157e0d815e8d562e3d999389cd49e657',1,'galaxy::api']]], - ['gameservergloballobbycreatedlistener',['GameServerGlobalLobbyCreatedListener',['../group__api.html#ga0f6bf49d1748a7791b5a87519fa7b7c8',1,'galaxy::api']]], - ['gameservergloballobbydatalistener',['GameServerGlobalLobbyDataListener',['../group__api.html#gaa7caf10d762cbd20ec9139adbfc3f3ab',1,'galaxy::api']]], - ['gameservergloballobbydataretrievelistener',['GameServerGlobalLobbyDataRetrieveListener',['../group__api.html#gaf42369e75e2b43cb3624d60cc48e57b0',1,'galaxy::api']]], - ['gameservergloballobbyenteredlistener',['GameServerGlobalLobbyEnteredListener',['../group__api.html#gadd05c4e9e647cd10e676b9b851fd4c75',1,'galaxy::api']]], - ['gameservergloballobbyleftlistener',['GameServerGlobalLobbyLeftListener',['../group__api.html#ga199d848a79dc8efd80c739a502e7d351',1,'galaxy::api']]], - ['gameservergloballobbymemberstatelistener',['GameServerGlobalLobbyMemberStateListener',['../group__api.html#ga1be8a6e7cb86254f908536bf08636763',1,'galaxy::api']]], - ['gameservergloballobbymessagelistener',['GameServerGlobalLobbyMessageListener',['../group__api.html#ga76f4c1bda68bbaf347d35d3c57847e7f',1,'galaxy::api']]], - ['gameserverglobalnattypedetectionlistener',['GameServerGlobalNatTypeDetectionListener',['../group__api.html#ga250338bd8feda7d9af166f0a09e65af7',1,'galaxy::api']]], - ['gameserverglobalnetworkinglistener',['GameServerGlobalNetworkingListener',['../group__api.html#ga273ad4080b9e5857779cd1be0a2d61e8',1,'galaxy::api']]], - ['gameserverglobaloperationalstatechangelistener',['GameServerGlobalOperationalStateChangeListener',['../group__api.html#ga08d028797c5fb53d3a1502e87435ee05',1,'galaxy::api']]], - ['gameserverglobalothersessionstartlistener',['GameServerGlobalOtherSessionStartListener',['../group__api.html#ga8b71e4a7ee79182fdae702378031449a',1,'galaxy::api']]], - ['gameserverglobalspecificuserdatalistener',['GameServerGlobalSpecificUserDataListener',['../group__api.html#gad751c2fa631b3d5a603394385f8242d6',1,'galaxy::api']]], - ['gameserverglobaltelemetryeventsendlistener',['GameServerGlobalTelemetryEventSendListener',['../group__api.html#ga7053fa90aae170eb1da2bc3c25aa22ff',1,'galaxy::api']]], - ['gameserverglobaluserdatalistener',['GameServerGlobalUserDataListener',['../group__api.html#ga72ea028bd25aa7f256121866792ceb8e',1,'galaxy::api']]], - ['globalaccesstokenlistener',['GlobalAccessTokenListener',['../group__api.html#ga804f3e20630181e42c1b580d2f410142',1,'galaxy::api']]], - ['globalachievementchangelistener',['GlobalAchievementChangeListener',['../group__api.html#gaf98d38634b82abe976c60e73ff680aa4',1,'galaxy::api']]], - ['globalauthlistener',['GlobalAuthListener',['../group__api.html#ga6430b7cce9464716b54205500f0b4346',1,'galaxy::api']]], - ['globalchatroommessagesendlistener',['GlobalChatRoomMessageSendListener',['../group__api.html#ga1caa22fa58bf71920aa98b74c3d120b2',1,'galaxy::api']]], - ['globalchatroommessageslistener',['GlobalChatRoomMessagesListener',['../group__api.html#gab22757c7b50857f421db7d59be1ae210',1,'galaxy::api']]], - ['globalchatroommessagesretrievelistener',['GlobalChatRoomMessagesRetrieveListener',['../group__api.html#ga25b363fb856af48d0a3cbff918e46375',1,'galaxy::api']]], - ['globalchatroomwithuserretrievelistener',['GlobalChatRoomWithUserRetrieveListener',['../group__api.html#gaad3a25903efbfe5fc99d0057981f76fd',1,'galaxy::api']]], - ['globalconnectioncloselistener',['GlobalConnectionCloseListener',['../group__api.html#ga229f437bc05b09019dd5410bf3906c15',1,'galaxy::api']]], - ['globalconnectiondatalistener',['GlobalConnectionDataListener',['../group__api.html#ga6d91c24045928db57e5178b22f97f51c',1,'galaxy::api']]], - ['globalconnectionopenlistener',['GlobalConnectionOpenListener',['../group__api.html#ga6b3ac9dcf60c437a72f42083dd41c69d',1,'galaxy::api']]], - ['globalencryptedappticketlistener',['GlobalEncryptedAppTicketListener',['../group__api.html#gaa8de3ff05620ac2c86fdab97e98a8cac',1,'galaxy::api']]], - ['globalfilesharelistener',['GlobalFileShareListener',['../group__api.html#gaac61eec576910c28aa27ff52f75871af',1,'galaxy::api']]], - ['globalfriendaddlistener',['GlobalFriendAddListener',['../group__api.html#ga1d833290a4ae392fabc7b87ca6d49b7e',1,'galaxy::api']]], - ['globalfrienddeletelistener',['GlobalFriendDeleteListener',['../group__api.html#ga7718927f50b205a80397e521448d2a36',1,'galaxy::api']]], - ['globalfriendinvitationlistener',['GlobalFriendInvitationListener',['../group__api.html#ga89ff60f1104ad4f2157a6d85503899bd',1,'galaxy::api']]], - ['globalfriendinvitationlistretrievelistener',['GlobalFriendInvitationListRetrieveListener',['../group__api.html#ga3b2231cc3ab28023cfc5a9b382c3dc8b',1,'galaxy::api']]], - ['globalfriendinvitationrespondtolistener',['GlobalFriendInvitationRespondToListener',['../group__api.html#ga9d1949990154592b751ce7eac0f879cc',1,'galaxy::api']]], - ['globalfriendinvitationsendlistener',['GlobalFriendInvitationSendListener',['../group__api.html#ga7a0908d19dd99ad941762285d8203b23',1,'galaxy::api']]], - ['globalfriendlistlistener',['GlobalFriendListListener',['../group__api.html#ga3c47abf20e566dc0cd0b8bcbc3bc386d',1,'galaxy::api']]], - ['globalgameinvitationreceivedlistener',['GlobalGameInvitationReceivedListener',['../group__api.html#ga041cd7c0c92d31f5fc67e1154e2f8de7',1,'galaxy::api']]], - ['globalgamejoinrequestedlistener',['GlobalGameJoinRequestedListener',['../group__api.html#gadab0159681deec55f64fa6d1df5d543c',1,'galaxy::api']]], - ['globalgogservicesconnectionstatelistener',['GlobalGogServicesConnectionStateListener',['../group__api.html#gad92afb23db92d9bc7fc97750e72caeb3',1,'galaxy::api']]], - ['globalleaderboardentriesretrievelistener',['GlobalLeaderboardEntriesRetrieveListener',['../group__api.html#ga7938b00f2b55ed766eb74ffe312bbffc',1,'galaxy::api']]], - ['globalleaderboardretrievelistener',['GlobalLeaderboardRetrieveListener',['../group__api.html#ga69a3dd7dd052794687fe963bb170a718',1,'galaxy::api']]], - ['globalleaderboardscoreupdatelistener',['GlobalLeaderboardScoreUpdateListener',['../group__api.html#ga5cc3302c7fac6138177fb5c7f81698c1',1,'galaxy::api']]], - ['globalleaderboardsretrievelistener',['GlobalLeaderboardsRetrieveListener',['../group__api.html#ga4589cbd5c6f72cd32d8ca1be3727c40e',1,'galaxy::api']]], - ['globallobbycreatedlistener',['GlobalLobbyCreatedListener',['../group__api.html#ga4a51265e52d8427a7a76c51c1ebd9984',1,'galaxy::api']]], - ['globallobbydatalistener',['GlobalLobbyDataListener',['../group__api.html#ga7b73cba535d27e5565e8eef4cec81144',1,'galaxy::api']]], - ['globallobbydataretrievelistener',['GlobalLobbyDataRetrieveListener',['../group__api.html#gad58cbac5a60b30fd0545dafdbc56ea8a',1,'galaxy::api']]], - ['globallobbyenteredlistener',['GlobalLobbyEnteredListener',['../group__api.html#gabf2ad3c27e8349fa3662a935c7893f8c',1,'galaxy::api']]], - ['globallobbyleftlistener',['GlobalLobbyLeftListener',['../group__api.html#ga819326fece7e765b59e2b548c97bbe5f',1,'galaxy::api']]], - ['globallobbylistlistener',['GlobalLobbyListListener',['../group__api.html#ga9ee3592412bb8a71f5d710f936ca4621',1,'galaxy::api']]], - ['globallobbymemberstatelistener',['GlobalLobbyMemberStateListener',['../group__api.html#ga2d41f6b1f6dd12b3dc757db188c8db0a',1,'galaxy::api']]], - ['globallobbymessagelistener',['GlobalLobbyMessageListener',['../group__api.html#ga659c9fd389b34e22c3517ab892d435c3',1,'galaxy::api']]], - ['globallobbyownerchangelistener',['GlobalLobbyOwnerChangeListener',['../group__api.html#ga46b29610b1e1cf9ba11ae8567d117587',1,'galaxy::api']]], - ['globalnattypedetectionlistener',['GlobalNatTypeDetectionListener',['../group__api.html#ga3b22c934de78c8c169632470b4f23492',1,'galaxy::api']]], - ['globalnetworkinglistener',['GlobalNetworkingListener',['../group__api.html#ga5a806b459fd86ecf340e3f258e38fe18',1,'galaxy::api']]], - ['globalnotificationlistener',['GlobalNotificationListener',['../group__api.html#ga823b6a3df996506fbcd25d97e0f143bd',1,'galaxy::api']]], - ['globaloperationalstatechangelistener',['GlobalOperationalStateChangeListener',['../group__api.html#ga74c9ed60c6a4304258873b891a0a2936',1,'galaxy::api']]], - ['globalothersessionstartlistener',['GlobalOtherSessionStartListener',['../group__api.html#ga13be6be40f64ce7797afb935f2110804',1,'galaxy::api']]], - ['globaloverlayinitializationstatechangelistener',['GlobalOverlayInitializationStateChangeListener',['../group__api.html#gafaa46fe6610b3a7e54237fb340f11cb6',1,'galaxy::api']]], - ['globaloverlayvisibilitychangelistener',['GlobalOverlayVisibilityChangeListener',['../group__api.html#gad0cd8d98601fdb1205c416fbb7b2b31f',1,'galaxy::api']]], - ['globalpersonadatachangedlistener',['GlobalPersonaDataChangedListener',['../group__api.html#gad9c8e014e3ae811c6bd56b7c5b3704f6',1,'galaxy::api']]], - ['globalrichpresencechangelistener',['GlobalRichPresenceChangeListener',['../group__api.html#ga76d003ff80cd39b871a45886762ee2b0',1,'galaxy::api']]], - ['globalrichpresencelistener',['GlobalRichPresenceListener',['../group__api.html#gaed6410df8d42c1f0de2696e5726fb286',1,'galaxy::api']]], - ['globalrichpresenceretrievelistener',['GlobalRichPresenceRetrieveListener',['../group__api.html#gae3a957dca3c9de0984f77cb2cb82dbed',1,'galaxy::api']]], - ['globalsendinvitationlistener',['GlobalSendInvitationListener',['../group__api.html#ga1e06a9d38e42bdfd72b78b4f72460604',1,'galaxy::api']]], - ['globalsentfriendinvitationlistretrievelistener',['GlobalSentFriendInvitationListRetrieveListener',['../group__api.html#ga32fa1f7ffccbe5e990ce550040ddc96c',1,'galaxy::api']]], - ['globalsharedfiledownloadlistener',['GlobalSharedFileDownloadListener',['../group__api.html#ga50ce8adee98df4b6d72e1ff4b1a93b0d',1,'galaxy::api']]], - ['globalspecificuserdatalistener',['GlobalSpecificUserDataListener',['../group__api.html#ga31328bf0404b71ad2c2b0d2dd19a0b34',1,'galaxy::api']]], - ['globalstatsandachievementsstorelistener',['GlobalStatsAndAchievementsStoreListener',['../group__api.html#ga9b1ef7633d163287db3aa62ab78e3753',1,'galaxy::api']]], - ['globaltelemetryeventsendlistener',['GlobalTelemetryEventSendListener',['../group__api.html#ga8883450aaa7948285bd84a78aadea902',1,'galaxy::api']]], - ['globaluserdatalistener',['GlobalUserDataListener',['../group__api.html#ga3f4bbe02db1d395310b2ff6a5b4680df',1,'galaxy::api']]], - ['globaluserfindlistener',['GlobalUserFindListener',['../group__api.html#ga83310c5c4a6629c16919c694db327526',1,'galaxy::api']]], - ['globaluserinformationretrievelistener',['GlobalUserInformationRetrieveListener',['../group__api.html#ga3feb79b21f28d5d678f51c47c168adc6',1,'galaxy::api']]], - ['globaluserstatsandachievementsretrievelistener',['GlobalUserStatsAndAchievementsRetrieveListener',['../group__api.html#gac3cf027a203549ba1f6113fbb93c6c07',1,'galaxy::api']]], - ['globalusertimeplayedretrievelistener',['GlobalUserTimePlayedRetrieveListener',['../group__api.html#gae0423734fc66c07bccc6a200c7d9f650',1,'galaxy::api']]] -]; diff --git a/vendors/galaxy/Docs/search/typedefs_3.html b/vendors/galaxy/Docs/search/typedefs_3.html deleted file mode 100644 index 2f8138845..000000000 --- a/vendors/galaxy/Docs/search/typedefs_3.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/typedefs_3.js b/vendors/galaxy/Docs/search/typedefs_3.js deleted file mode 100644 index e25146a82..000000000 --- a/vendors/galaxy/Docs/search/typedefs_3.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['notificationid',['NotificationID',['../group__api.html#gab06789e8ae20a20699a59585801d5861',1,'galaxy::api']]] -]; diff --git a/vendors/galaxy/Docs/search/typedefs_4.html b/vendors/galaxy/Docs/search/typedefs_4.html deleted file mode 100644 index ac1372ac9..000000000 --- a/vendors/galaxy/Docs/search/typedefs_4.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/typedefs_4.js b/vendors/galaxy/Docs/search/typedefs_4.js deleted file mode 100644 index 8f186f78e..000000000 --- a/vendors/galaxy/Docs/search/typedefs_4.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['productid',['ProductID',['../group__api.html#ga198e4cda00bc65d234ae7cac252eed60',1,'galaxy::api']]] -]; diff --git a/vendors/galaxy/Docs/search/typedefs_5.html b/vendors/galaxy/Docs/search/typedefs_5.html deleted file mode 100644 index 77b3890cd..000000000 --- a/vendors/galaxy/Docs/search/typedefs_5.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/typedefs_5.js b/vendors/galaxy/Docs/search/typedefs_5.js deleted file mode 100644 index 558d0c596..000000000 --- a/vendors/galaxy/Docs/search/typedefs_5.js +++ /dev/null @@ -1,5 +0,0 @@ -var searchData= -[ - ['sessionid',['SessionID',['../group__api.html#ga9960a6aea752c9935ff46ffbcee98ad5',1,'galaxy::api']]], - ['sharedfileid',['SharedFileID',['../group__api.html#ga34a0c4ac76186b86e6c596d38a0e2042',1,'galaxy::api']]] -]; diff --git a/vendors/galaxy/Docs/search/typedefs_6.html b/vendors/galaxy/Docs/search/typedefs_6.html deleted file mode 100644 index 978358fce..000000000 --- a/vendors/galaxy/Docs/search/typedefs_6.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/typedefs_6.js b/vendors/galaxy/Docs/search/typedefs_6.js deleted file mode 100644 index 66eb6ed3f..000000000 --- a/vendors/galaxy/Docs/search/typedefs_6.js +++ /dev/null @@ -1,5 +0,0 @@ -var searchData= -[ - ['threadentryfunction',['ThreadEntryFunction',['../group__api.html#ga14fc3e506d7327003940dbf3a8c4bcfe',1,'galaxy::api']]], - ['threadentryparam',['ThreadEntryParam',['../group__api.html#ga37cc1c803781672631d7ac1bc06f4bb2',1,'galaxy::api']]] -]; diff --git a/vendors/galaxy/Docs/search/variables_0.html b/vendors/galaxy/Docs/search/variables_0.html deleted file mode 100644 index 12104bcb5..000000000 --- a/vendors/galaxy/Docs/search/variables_0.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/variables_0.js b/vendors/galaxy/Docs/search/variables_0.js deleted file mode 100644 index c34e42e26..000000000 --- a/vendors/galaxy/Docs/search/variables_0.js +++ /dev/null @@ -1,6 +0,0 @@ -var searchData= -[ - ['clientid',['clientID',['../structgalaxy_1_1api_1_1InitOptions.html#a8f49f435adc17c7e890b923379247887',1,'galaxy::api::InitOptions']]], - ['clientsecret',['clientSecret',['../structgalaxy_1_1api_1_1InitOptions.html#a80dad9ee175657a8fa58f56e60469f4e',1,'galaxy::api::InitOptions']]], - ['configfilepath',['configFilePath',['../structgalaxy_1_1api_1_1InitOptions.html#ad7e306ad4d8cfef5a438cc0863e169d7',1,'galaxy::api::InitOptions']]] -]; diff --git a/vendors/galaxy/Docs/search/variables_1.html b/vendors/galaxy/Docs/search/variables_1.html deleted file mode 100644 index b784017a1..000000000 --- a/vendors/galaxy/Docs/search/variables_1.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/variables_1.js b/vendors/galaxy/Docs/search/variables_1.js deleted file mode 100644 index eaa2d40fc..000000000 --- a/vendors/galaxy/Docs/search/variables_1.js +++ /dev/null @@ -1,8 +0,0 @@ -var searchData= -[ - ['galaxyallocator',['galaxyAllocator',['../structgalaxy_1_1api_1_1InitOptions.html#a62f785f7596efd24dba4929a2084c790',1,'galaxy::api::InitOptions']]], - ['galaxyfree',['galaxyFree',['../structgalaxy_1_1api_1_1GalaxyAllocator.html#afc8835346a535e504ca52948d543a98c',1,'galaxy::api::GalaxyAllocator']]], - ['galaxymalloc',['galaxyMalloc',['../structgalaxy_1_1api_1_1GalaxyAllocator.html#a752fba92fb1fc16dcb26097dff9539d4',1,'galaxy::api::GalaxyAllocator']]], - ['galaxyrealloc',['galaxyRealloc',['../structgalaxy_1_1api_1_1GalaxyAllocator.html#aacd5e4595cffe8c5ad6ec599a7015e3e',1,'galaxy::api::GalaxyAllocator']]], - ['galaxythreadfactory',['galaxyThreadFactory',['../structgalaxy_1_1api_1_1InitOptions.html#aa8130027e13b1e6b9bd5047cde1612b1',1,'galaxy::api::InitOptions']]] -]; diff --git a/vendors/galaxy/Docs/search/variables_2.html b/vendors/galaxy/Docs/search/variables_2.html deleted file mode 100644 index 0cb98d305..000000000 --- a/vendors/galaxy/Docs/search/variables_2.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/variables_2.js b/vendors/galaxy/Docs/search/variables_2.js deleted file mode 100644 index d8232bf8a..000000000 --- a/vendors/galaxy/Docs/search/variables_2.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['host',['host',['../structgalaxy_1_1api_1_1InitOptions.html#ae032e164f1daa754d6fbb79d59723931',1,'galaxy::api::InitOptions']]] -]; diff --git a/vendors/galaxy/Docs/search/variables_3.html b/vendors/galaxy/Docs/search/variables_3.html deleted file mode 100644 index 1e83bf5a9..000000000 --- a/vendors/galaxy/Docs/search/variables_3.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/variables_3.js b/vendors/galaxy/Docs/search/variables_3.js deleted file mode 100644 index 082075a0a..000000000 --- a/vendors/galaxy/Docs/search/variables_3.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['port',['port',['../structgalaxy_1_1api_1_1InitOptions.html#a8e0798404bf2cf5dabb84c5ba9a4f236',1,'galaxy::api::InitOptions']]] -]; diff --git a/vendors/galaxy/Docs/search/variables_4.html b/vendors/galaxy/Docs/search/variables_4.html deleted file mode 100644 index 39883bd60..000000000 --- a/vendors/galaxy/Docs/search/variables_4.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/variables_4.js b/vendors/galaxy/Docs/search/variables_4.js deleted file mode 100644 index f21c0ff93..000000000 --- a/vendors/galaxy/Docs/search/variables_4.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['storagepath',['storagePath',['../structgalaxy_1_1api_1_1InitOptions.html#a519bf06473052bd150ef238ddccdcde9',1,'galaxy::api::InitOptions']]] -]; diff --git a/vendors/galaxy/Docs/search/variables_5.html b/vendors/galaxy/Docs/search/variables_5.html deleted file mode 100644 index f25879c02..000000000 --- a/vendors/galaxy/Docs/search/variables_5.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/vendors/galaxy/Docs/search/variables_5.js b/vendors/galaxy/Docs/search/variables_5.js deleted file mode 100644 index 5b469046e..000000000 --- a/vendors/galaxy/Docs/search/variables_5.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['unassigned_5fvalue',['UNASSIGNED_VALUE',['../classgalaxy_1_1api_1_1GalaxyID.html#a815f95d3facae427efd380d2b86723fd',1,'galaxy::api::GalaxyID']]] -]; diff --git a/vendors/galaxy/Docs/splitbar.png b/vendors/galaxy/Docs/splitbar.png deleted file mode 100644 index c691a74af..000000000 Binary files a/vendors/galaxy/Docs/splitbar.png and /dev/null differ diff --git a/vendors/galaxy/Docs/stdint_8h_source.html b/vendors/galaxy/Docs/stdint_8h_source.html deleted file mode 100644 index 27801c1d7..000000000 --- a/vendors/galaxy/Docs/stdint_8h_source.html +++ /dev/null @@ -1,104 +0,0 @@ - - - - - - - -GOG Galaxy: stdint.h Source File - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
stdint.h
-
-
-
1 // ISO C9x compliant stdint.h for Microsoft Visual Studio
2 // Based on ISO/IEC 9899:TC2 Committee draft (May 6, 2005) WG14/N1124
3 //
4 // Copyright (c) 2006-2013 Alexander Chemeris
5 //
6 // Redistribution and use in source and binary forms, with or without
7 // modification, are permitted provided that the following conditions are met:
8 //
9 // 1. Redistributions of source code must retain the above copyright notice,
10 // this list of conditions and the following disclaimer.
11 //
12 // 2. Redistributions in binary form must reproduce the above copyright
13 // notice, this list of conditions and the following disclaimer in the
14 // documentation and/or other materials provided with the distribution.
15 //
16 // 3. Neither the name of the product nor the names of its contributors may
17 // be used to endorse or promote products derived from this software
18 // without specific prior written permission.
19 //
20 // THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
21 // WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
22 // MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
23 // EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
24 // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
25 // PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
26 // OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
27 // WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
28 // OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
29 // ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 //
32 
33 #ifndef _MSC_STDINT_H_ // [
34 #define _MSC_STDINT_H_
35 
36 #if !defined _MSC_VER || _MSC_VER >= 1600 // [
37 #include <stdint.h>
38 #else // ] _MSC_VER >= 1600 [
39 
40 #if _MSC_VER > 1000
41 #pragma once
42 #endif
43 
44 #include <limits.h>
45 
46 // For Visual Studio 6 in C++ mode and for many Visual Studio versions when
47 // compiling for ARM we should wrap <wchar.h> include with 'extern "C++" {}'
48 // or compiler give many errors like this:
49 // error C2733: second C linkage of overloaded function 'wmemchr' not allowed
50 #ifdef __cplusplus
51 extern "C" {
52 #endif
53 # include <wchar.h>
54 #ifdef __cplusplus
55 }
56 #endif
57 
58 // Define _W64 macros to mark types changing their size, like intptr_t.
59 #ifndef _W64
60 # if !defined(__midl) && (defined(_X86_) || defined(_M_IX86)) && _MSC_VER >= 1300
61 # define _W64 __w64
62 # else
63 # define _W64
64 # endif
65 #endif
66 
67 
68 // 7.18.1 Integer types
69 
70 // 7.18.1.1 Exact-width integer types
71 
72 // Visual Studio 6 and Embedded Visual C++ 4 doesn't
73 // realize that, e.g. char has the same size as __int8
74 // so we give up on __intX for them.
75 #if (_MSC_VER < 1300)
76  typedef signed char int8_t;
77  typedef signed short int16_t;
78  typedef signed int int32_t;
79  typedef unsigned char uint8_t;
80  typedef unsigned short uint16_t;
81  typedef unsigned int uint32_t;
82 #else
83  typedef signed __int8 int8_t;
84  typedef signed __int16 int16_t;
85  typedef signed __int32 int32_t;
86  typedef unsigned __int8 uint8_t;
87  typedef unsigned __int16 uint16_t;
88  typedef unsigned __int32 uint32_t;
89 #endif
90 typedef signed __int64 int64_t;
91 typedef unsigned __int64 uint64_t;
92 
93 
94 // 7.18.1.2 Minimum-width integer types
95 typedef int8_t int_least8_t;
96 typedef int16_t int_least16_t;
97 typedef int32_t int_least32_t;
98 typedef int64_t int_least64_t;
99 typedef uint8_t uint_least8_t;
100 typedef uint16_t uint_least16_t;
101 typedef uint32_t uint_least32_t;
102 typedef uint64_t uint_least64_t;
103 
104 // 7.18.1.3 Fastest minimum-width integer types
105 typedef int8_t int_fast8_t;
106 typedef int16_t int_fast16_t;
107 typedef int32_t int_fast32_t;
108 typedef int64_t int_fast64_t;
109 typedef uint8_t uint_fast8_t;
110 typedef uint16_t uint_fast16_t;
111 typedef uint32_t uint_fast32_t;
112 typedef uint64_t uint_fast64_t;
113 
114 // 7.18.1.4 Integer types capable of holding object pointers
115 #ifdef _WIN64 // [
116  typedef signed __int64 intptr_t;
117  typedef unsigned __int64 uintptr_t;
118 #else // _WIN64 ][
119  typedef _W64 signed int intptr_t;
120  typedef _W64 unsigned int uintptr_t;
121 #endif // _WIN64 ]
122 
123 // 7.18.1.5 Greatest-width integer types
124 typedef int64_t intmax_t;
125 typedef uint64_t uintmax_t;
126 
127 
128 // 7.18.2 Limits of specified-width integer types
129 
130 #if !defined(__cplusplus) || defined(__STDC_LIMIT_MACROS) // [ See footnote 220 at page 257 and footnote 221 at page 259
131 
132 // 7.18.2.1 Limits of exact-width integer types
133 #define INT8_MIN ((int8_t)_I8_MIN)
134 #define INT8_MAX _I8_MAX
135 #define INT16_MIN ((int16_t)_I16_MIN)
136 #define INT16_MAX _I16_MAX
137 #define INT32_MIN ((int32_t)_I32_MIN)
138 #define INT32_MAX _I32_MAX
139 #define INT64_MIN ((int64_t)_I64_MIN)
140 #define INT64_MAX _I64_MAX
141 #define UINT8_MAX _UI8_MAX
142 #define UINT16_MAX _UI16_MAX
143 #define UINT32_MAX _UI32_MAX
144 #define UINT64_MAX _UI64_MAX
145 
146 // 7.18.2.2 Limits of minimum-width integer types
147 #define INT_LEAST8_MIN INT8_MIN
148 #define INT_LEAST8_MAX INT8_MAX
149 #define INT_LEAST16_MIN INT16_MIN
150 #define INT_LEAST16_MAX INT16_MAX
151 #define INT_LEAST32_MIN INT32_MIN
152 #define INT_LEAST32_MAX INT32_MAX
153 #define INT_LEAST64_MIN INT64_MIN
154 #define INT_LEAST64_MAX INT64_MAX
155 #define UINT_LEAST8_MAX UINT8_MAX
156 #define UINT_LEAST16_MAX UINT16_MAX
157 #define UINT_LEAST32_MAX UINT32_MAX
158 #define UINT_LEAST64_MAX UINT64_MAX
159 
160 // 7.18.2.3 Limits of fastest minimum-width integer types
161 #define INT_FAST8_MIN INT8_MIN
162 #define INT_FAST8_MAX INT8_MAX
163 #define INT_FAST16_MIN INT16_MIN
164 #define INT_FAST16_MAX INT16_MAX
165 #define INT_FAST32_MIN INT32_MIN
166 #define INT_FAST32_MAX INT32_MAX
167 #define INT_FAST64_MIN INT64_MIN
168 #define INT_FAST64_MAX INT64_MAX
169 #define UINT_FAST8_MAX UINT8_MAX
170 #define UINT_FAST16_MAX UINT16_MAX
171 #define UINT_FAST32_MAX UINT32_MAX
172 #define UINT_FAST64_MAX UINT64_MAX
173 
174 // 7.18.2.4 Limits of integer types capable of holding object pointers
175 #ifdef _WIN64 // [
176 # define INTPTR_MIN INT64_MIN
177 # define INTPTR_MAX INT64_MAX
178 # define UINTPTR_MAX UINT64_MAX
179 #else // _WIN64 ][
180 # define INTPTR_MIN INT32_MIN
181 # define INTPTR_MAX INT32_MAX
182 # define UINTPTR_MAX UINT32_MAX
183 #endif // _WIN64 ]
184 
185 // 7.18.2.5 Limits of greatest-width integer types
186 #define INTMAX_MIN INT64_MIN
187 #define INTMAX_MAX INT64_MAX
188 #define UINTMAX_MAX UINT64_MAX
189 
190 // 7.18.3 Limits of other integer types
191 
192 #ifdef _WIN64 // [
193 # define PTRDIFF_MIN _I64_MIN
194 # define PTRDIFF_MAX _I64_MAX
195 #else // _WIN64 ][
196 # define PTRDIFF_MIN _I32_MIN
197 # define PTRDIFF_MAX _I32_MAX
198 #endif // _WIN64 ]
199 
200 #define SIG_ATOMIC_MIN INT_MIN
201 #define SIG_ATOMIC_MAX INT_MAX
202 
203 #ifndef SIZE_MAX // [
204 # ifdef _WIN64 // [
205 # define SIZE_MAX _UI64_MAX
206 # else // _WIN64 ][
207 # define SIZE_MAX _UI32_MAX
208 # endif // _WIN64 ]
209 #endif // SIZE_MAX ]
210 
211 // WCHAR_MIN and WCHAR_MAX are also defined in <wchar.h>
212 #ifndef WCHAR_MIN // [
213 # define WCHAR_MIN 0
214 #endif // WCHAR_MIN ]
215 #ifndef WCHAR_MAX // [
216 # define WCHAR_MAX _UI16_MAX
217 #endif // WCHAR_MAX ]
218 
219 #define WINT_MIN 0
220 #define WINT_MAX _UI16_MAX
221 
222 #endif // __STDC_LIMIT_MACROS ]
223 
224 
225 // 7.18.4 Limits of other integer types
226 
227 #if !defined(__cplusplus) || defined(__STDC_CONSTANT_MACROS) // [ See footnote 224 at page 260
228 
229 // 7.18.4.1 Macros for minimum-width integer constants
230 
231 #define INT8_C(val) val##i8
232 #define INT16_C(val) val##i16
233 #define INT32_C(val) val##i32
234 #define INT64_C(val) val##i64
235 
236 #define UINT8_C(val) val##ui8
237 #define UINT16_C(val) val##ui16
238 #define UINT32_C(val) val##ui32
239 #define UINT64_C(val) val##ui64
240 
241 // 7.18.4.2 Macros for greatest-width integer constants
242 // These #ifndef's are needed to prevent collisions with <boost/cstdint.hpp>.
243 // Check out Issue 9 for the details.
244 #ifndef INTMAX_C // [
245 # define INTMAX_C INT64_C
246 #endif // INTMAX_C ]
247 #ifndef UINTMAX_C // [
248 # define UINTMAX_C UINT64_C
249 #endif // UINTMAX_C ]
250 
251 #endif // __STDC_CONSTANT_MACROS ]
252 
253 #endif // _MSC_VER >= 1600 ]
254 
255 #endif // _MSC_STDINT_H_ ]
-
- - - - diff --git a/vendors/galaxy/Docs/structgalaxy_1_1api_1_1GalaxyAllocator-members.html b/vendors/galaxy/Docs/structgalaxy_1_1api_1_1GalaxyAllocator-members.html deleted file mode 100644 index a3e0039d8..000000000 --- a/vendors/galaxy/Docs/structgalaxy_1_1api_1_1GalaxyAllocator-members.html +++ /dev/null @@ -1,111 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
GalaxyAllocator Member List
-
-
- -

This is the complete list of members for GalaxyAllocator, including all inherited members.

- - - - - - -
GalaxyAllocator()GalaxyAllocatorinline
GalaxyAllocator(GalaxyMalloc _galaxyMalloc, GalaxyRealloc _galaxyRealloc, GalaxyFree _galaxyFree)GalaxyAllocatorinline
galaxyFreeGalaxyAllocator
galaxyMallocGalaxyAllocator
galaxyReallocGalaxyAllocator
-
- - - - diff --git a/vendors/galaxy/Docs/structgalaxy_1_1api_1_1GalaxyAllocator.html b/vendors/galaxy/Docs/structgalaxy_1_1api_1_1GalaxyAllocator.html deleted file mode 100644 index f33049da8..000000000 --- a/vendors/galaxy/Docs/structgalaxy_1_1api_1_1GalaxyAllocator.html +++ /dev/null @@ -1,194 +0,0 @@ - - - - - - - -GOG Galaxy: GalaxyAllocator Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
GalaxyAllocator Struct Reference
-
-
- -

Custom memory allocator for GOG Galaxy SDK. - More...

- -

#include <GalaxyAllocator.h>

- - - - - - - - -

-Public Member Functions

GalaxyAllocator ()
 GalaxyAllocator default constructor.
 
 GalaxyAllocator (GalaxyMalloc _galaxyMalloc, GalaxyRealloc _galaxyRealloc, GalaxyFree _galaxyFree)
 GalaxyAllocator constructor. More...
 
- - - - - - - - - - -

-Public Attributes

-GalaxyMalloc galaxyMalloc
 Allocation function.
 
-GalaxyRealloc galaxyRealloc
 Reallocation function.
 
-GalaxyFree galaxyFree
 Free function.
 
-

Detailed Description

-

Custom memory allocator for GOG Galaxy SDK.

-

Constructor & Destructor Documentation

- -

◆ GalaxyAllocator()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
GalaxyAllocator (GalaxyMalloc _galaxyMalloc,
GalaxyRealloc _galaxyRealloc,
GalaxyFree _galaxyFree 
)
-
-inline
-
- -

GalaxyAllocator constructor.

-
Parameters
- - - - -
[in]_galaxyMallocAllocation function.
[in]_galaxyReallocReallocation function.
[in]_galaxyFreeFree function.
-
-
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/structgalaxy_1_1api_1_1GalaxyAllocator.js b/vendors/galaxy/Docs/structgalaxy_1_1api_1_1GalaxyAllocator.js deleted file mode 100644 index b9884e121..000000000 --- a/vendors/galaxy/Docs/structgalaxy_1_1api_1_1GalaxyAllocator.js +++ /dev/null @@ -1,8 +0,0 @@ -var structgalaxy_1_1api_1_1GalaxyAllocator = -[ - [ "GalaxyAllocator", "structgalaxy_1_1api_1_1GalaxyAllocator.html#a261d0d87a9bbed09c69689b3459a035a", null ], - [ "GalaxyAllocator", "structgalaxy_1_1api_1_1GalaxyAllocator.html#af385348d5da9d6d713c2708d89185895", null ], - [ "galaxyFree", "structgalaxy_1_1api_1_1GalaxyAllocator.html#afc8835346a535e504ca52948d543a98c", null ], - [ "galaxyMalloc", "structgalaxy_1_1api_1_1GalaxyAllocator.html#a752fba92fb1fc16dcb26097dff9539d4", null ], - [ "galaxyRealloc", "structgalaxy_1_1api_1_1GalaxyAllocator.html#aacd5e4595cffe8c5ad6ec599a7015e3e", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/structgalaxy_1_1api_1_1InitOptions-members.html b/vendors/galaxy/Docs/structgalaxy_1_1api_1_1InitOptions-members.html deleted file mode 100644 index 37d956e47..000000000 --- a/vendors/galaxy/Docs/structgalaxy_1_1api_1_1InitOptions-members.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - - - -GOG Galaxy: Member List - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
InitOptions Member List
-
-
- -

This is the complete list of members for InitOptions, including all inherited members.

- - - - - - - - - - -
clientIDInitOptions
clientSecretInitOptions
configFilePathInitOptions
galaxyAllocatorInitOptions
galaxyThreadFactoryInitOptions
hostInitOptions
InitOptions(const char *_clientID, const char *_clientSecret, const char *_configFilePath=".", GalaxyAllocator *_galaxyAllocator=NULL, const char *_storagePath=NULL, const char *_host=NULL, uint16_t _port=0, IGalaxyThreadFactory *_galaxyThreadFactory=NULL)InitOptionsinline
portInitOptions
storagePathInitOptions
-
- - - - diff --git a/vendors/galaxy/Docs/structgalaxy_1_1api_1_1InitOptions.html b/vendors/galaxy/Docs/structgalaxy_1_1api_1_1InitOptions.html deleted file mode 100644 index c5054dede..000000000 --- a/vendors/galaxy/Docs/structgalaxy_1_1api_1_1InitOptions.html +++ /dev/null @@ -1,246 +0,0 @@ - - - - - - - -GOG Galaxy: InitOptions Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
GOG Galaxy -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
InitOptions Struct Reference
-
-
- -

The group of options used for Init configuration. - More...

- -

#include <InitOptions.h>

- - - - - -

-Public Member Functions

 InitOptions (const char *_clientID, const char *_clientSecret, const char *_configFilePath=".", GalaxyAllocator *_galaxyAllocator=NULL, const char *_storagePath=NULL, const char *_host=NULL, uint16_t _port=0, IGalaxyThreadFactory *_galaxyThreadFactory=NULL)
 InitOptions constructor. More...
 
- - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Attributes

-const char * clientID
 The ID of the client.
 
-const char * clientSecret
 The secret of the client.
 
-const char * configFilePath
 The path to folder which contains configuration files.
 
-const char * storagePath
 The path to folder for storing internal SDK data. Used only on Android devices.
 
-GalaxyAllocatorgalaxyAllocator
 The custom memory allocator used by GOG Galaxy SDK.
 
-IGalaxyThreadFactorygalaxyThreadFactory
 The custom thread factory used by GOG Galaxy SDK to spawn internal threads.
 
-const char * host
 The local IP address this peer would bind to.
 
-uint16_t port
 The local port used to communicate with GOG Galaxy Multiplayer server and other players.
 
-

Detailed Description

-

The group of options used for Init configuration.

-

Constructor & Destructor Documentation

- -

◆ InitOptions()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
InitOptions (const char * _clientID,
const char * _clientSecret,
const char * _configFilePath = ".",
GalaxyAllocator_galaxyAllocator = NULL,
const char * _storagePath = NULL,
const char * _host = NULL,
uint16_t _port = 0,
IGalaxyThreadFactory_galaxyThreadFactory = NULL 
)
-
-inline
-
- -

InitOptions constructor.

-
Remarks
On Android device Galaxy SDK needs a directory for internal storage (to keep a copy of system CA certificates). It should be an existing directory within the application file storage.
-
Parameters
- - - - - - - - - -
[in]_clientIDThe ID of the client.
[in]_clientSecretThe secret of the client.
[in]_configFilePathThe path to folder which contains configuration files.
[in]_galaxyAllocatorThe custom memory allocator. The same instance has to be passed to both Galaxy Peer and Game Server.
[in]_storagePathPath to a directory that can be used for storing internal SDK data. Used only on Android devices. See remarks for more information.
[in]_hostThe local IP address this peer would bind to.
[in]_portThe local port used to communicate with GOG Galaxy Multiplayer server and other players.
[in]_galaxyThreadFactoryThe custom thread factory used by GOG Galaxy SDK to spawn internal threads.
-
-
- -
-
-
-
- - - - diff --git a/vendors/galaxy/Docs/structgalaxy_1_1api_1_1InitOptions.js b/vendors/galaxy/Docs/structgalaxy_1_1api_1_1InitOptions.js deleted file mode 100644 index 6c1c50c47..000000000 --- a/vendors/galaxy/Docs/structgalaxy_1_1api_1_1InitOptions.js +++ /dev/null @@ -1,12 +0,0 @@ -var structgalaxy_1_1api_1_1InitOptions = -[ - [ "InitOptions", "structgalaxy_1_1api_1_1InitOptions.html#a9eb94ef2ab0d1efc42863fccb60ec5f5", null ], - [ "clientID", "structgalaxy_1_1api_1_1InitOptions.html#a8f49f435adc17c7e890b923379247887", null ], - [ "clientSecret", "structgalaxy_1_1api_1_1InitOptions.html#a80dad9ee175657a8fa58f56e60469f4e", null ], - [ "configFilePath", "structgalaxy_1_1api_1_1InitOptions.html#ad7e306ad4d8cfef5a438cc0863e169d7", null ], - [ "galaxyAllocator", "structgalaxy_1_1api_1_1InitOptions.html#a62f785f7596efd24dba4929a2084c790", null ], - [ "galaxyThreadFactory", "structgalaxy_1_1api_1_1InitOptions.html#aa8130027e13b1e6b9bd5047cde1612b1", null ], - [ "host", "structgalaxy_1_1api_1_1InitOptions.html#ae032e164f1daa754d6fbb79d59723931", null ], - [ "port", "structgalaxy_1_1api_1_1InitOptions.html#a8e0798404bf2cf5dabb84c5ba9a4f236", null ], - [ "storagePath", "structgalaxy_1_1api_1_1InitOptions.html#a519bf06473052bd150ef238ddccdcde9", null ] -]; \ No newline at end of file diff --git a/vendors/galaxy/Docs/sync_off.png b/vendors/galaxy/Docs/sync_off.png deleted file mode 100644 index bb2c275ca..000000000 Binary files a/vendors/galaxy/Docs/sync_off.png and /dev/null differ diff --git a/vendors/galaxy/Docs/sync_on.png b/vendors/galaxy/Docs/sync_on.png deleted file mode 100644 index ea64335c7..000000000 Binary files a/vendors/galaxy/Docs/sync_on.png and /dev/null differ diff --git a/vendors/galaxy/Docs/tab_a.png b/vendors/galaxy/Docs/tab_a.png deleted file mode 100644 index 95ec2bf05..000000000 Binary files a/vendors/galaxy/Docs/tab_a.png and /dev/null differ diff --git a/vendors/galaxy/Docs/tab_b.png b/vendors/galaxy/Docs/tab_b.png deleted file mode 100644 index cf6ba6c24..000000000 Binary files a/vendors/galaxy/Docs/tab_b.png and /dev/null differ diff --git a/vendors/galaxy/Docs/tab_h.png b/vendors/galaxy/Docs/tab_h.png deleted file mode 100644 index 68e0a85d1..000000000 Binary files a/vendors/galaxy/Docs/tab_h.png and /dev/null differ diff --git a/vendors/galaxy/Docs/tab_s.png b/vendors/galaxy/Docs/tab_s.png deleted file mode 100644 index 56b8f434e..000000000 Binary files a/vendors/galaxy/Docs/tab_s.png and /dev/null differ diff --git a/vendors/galaxy/Docs/tabs.css b/vendors/galaxy/Docs/tabs.css deleted file mode 100644 index 8ea7d5496..000000000 --- a/vendors/galaxy/Docs/tabs.css +++ /dev/null @@ -1 +0,0 @@ -.sm{position:relative;z-index:9999}.sm,.sm ul,.sm li{display:block;list-style:none;margin:0;padding:0;line-height:normal;direction:ltr;text-align:left;-webkit-tap-highlight-color:rgba(0,0,0,0)}.sm-rtl,.sm-rtl ul,.sm-rtl li{direction:rtl;text-align:right}.sm>li>h1,.sm>li>h2,.sm>li>h3,.sm>li>h4,.sm>li>h5,.sm>li>h6{margin:0;padding:0}.sm ul{display:none}.sm li,.sm a{position:relative}.sm a{display:block}.sm a.disabled{cursor:not-allowed}.sm:after{content:"\00a0";display:block;height:0;font:0/0 serif;clear:both;visibility:hidden;overflow:hidden}.sm,.sm *,.sm *:before,.sm *:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.sm-dox{background-image:url("tab_b.png")}.sm-dox a,.sm-dox a:focus,.sm-dox a:hover,.sm-dox a:active{padding:0 12px;padding-right:43px;font-family:"Lucida Grande","Geneva","Helvetica",Arial,sans-serif;font-size:13px;font-weight:bold;line-height:36px;text-decoration:none;text-shadow:0 1px 1px rgba(255,255,255,0.9);color:#283a5d;outline:0}.sm-dox a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:white;text-shadow:0 1px 1px black}.sm-dox a.current{color:#d23600}.sm-dox a.disabled{color:#bbb}.sm-dox a span.sub-arrow{position:absolute;top:50%;margin-top:-14px;left:auto;right:3px;width:28px;height:28px;overflow:hidden;font:bold 12px/28px monospace !important;text-align:center;text-shadow:none;background:rgba(255,255,255,0.5);-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.sm-dox a.highlighted span.sub-arrow:before{display:block;content:'-'}.sm-dox>li:first-child>a,.sm-dox>li:first-child>:not(ul) a{-moz-border-radius:5px 5px 0 0;-webkit-border-radius:5px;border-radius:5px 5px 0 0}.sm-dox>li:last-child>a,.sm-dox>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul{-moz-border-radius:0 0 5px 5px;-webkit-border-radius:0;border-radius:0 0 5px 5px}.sm-dox>li:last-child>a.highlighted,.sm-dox>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted{-moz-border-radius:0;-webkit-border-radius:0;border-radius:0}.sm-dox ul{background:rgba(162,162,162,0.1)}.sm-dox ul a,.sm-dox ul a:focus,.sm-dox ul a:hover,.sm-dox ul a:active{font-size:12px;border-left:8px solid transparent;line-height:36px;text-shadow:none;background-color:white;background-image:none}.sm-dox ul a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:white;text-shadow:0 1px 1px black}.sm-dox ul ul a,.sm-dox ul ul a:hover,.sm-dox ul ul a:focus,.sm-dox ul ul a:active{border-left:16px solid transparent}.sm-dox ul ul ul a,.sm-dox ul ul ul a:hover,.sm-dox ul ul ul a:focus,.sm-dox ul ul ul a:active{border-left:24px solid transparent}.sm-dox ul ul ul ul a,.sm-dox ul ul ul ul a:hover,.sm-dox ul ul ul ul a:focus,.sm-dox ul ul ul ul a:active{border-left:32px solid transparent}.sm-dox ul ul ul ul ul a,.sm-dox ul ul ul ul ul a:hover,.sm-dox ul ul ul ul ul a:focus,.sm-dox ul ul ul ul ul a:active{border-left:40px solid transparent}@media(min-width:768px){.sm-dox ul{position:absolute;width:12em}.sm-dox li{float:left}.sm-dox.sm-rtl li{float:right}.sm-dox ul li,.sm-dox.sm-rtl ul li,.sm-dox.sm-vertical li{float:none}.sm-dox a{white-space:nowrap}.sm-dox ul a,.sm-dox.sm-vertical a{white-space:normal}.sm-dox .sm-nowrap>li>a,.sm-dox .sm-nowrap>li>:not(ul) a{white-space:nowrap}.sm-dox{padding:0 10px;background-image:url("tab_b.png");line-height:36px}.sm-dox a span.sub-arrow{top:50%;margin-top:-2px;right:12px;width:0;height:0;border-width:4px;border-style:solid dashed dashed dashed;border-color:#283a5d transparent transparent transparent;background:transparent;-moz-border-radius:0;-webkit-border-radius:0;border-radius:0}.sm-dox a,.sm-dox a:focus,.sm-dox a:active,.sm-dox a:hover,.sm-dox a.highlighted{padding:0 12px;background-image:url("tab_s.png");background-repeat:no-repeat;background-position:right;-moz-border-radius:0 !important;-webkit-border-radius:0;border-radius:0 !important}.sm-dox a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:white;text-shadow:0 1px 1px black}.sm-dox a:hover span.sub-arrow{border-color:white transparent transparent transparent}.sm-dox a.has-submenu{padding-right:24px}.sm-dox li{border-top:0}.sm-dox>li>ul:before,.sm-dox>li>ul:after{content:'';position:absolute;top:-18px;left:30px;width:0;height:0;overflow:hidden;border-width:9px;border-style:dashed dashed solid dashed;border-color:transparent transparent #bbb transparent}.sm-dox>li>ul:after{top:-16px;left:31px;border-width:8px;border-color:transparent transparent #fff transparent}.sm-dox ul{border:1px solid #bbb;padding:5px 0;background:#fff;-moz-border-radius:5px !important;-webkit-border-radius:5px;border-radius:5px !important;-moz-box-shadow:0 5px 9px rgba(0,0,0,0.2);-webkit-box-shadow:0 5px 9px rgba(0,0,0,0.2);box-shadow:0 5px 9px rgba(0,0,0,0.2)}.sm-dox ul a span.sub-arrow{right:8px;top:50%;margin-top:-5px;border-width:5px;border-color:transparent transparent transparent #555;border-style:dashed dashed dashed solid}.sm-dox ul a,.sm-dox ul a:hover,.sm-dox ul a:focus,.sm-dox ul a:active,.sm-dox ul a.highlighted{color:#555;background-image:none;border:0 !important;color:#555;background-image:none}.sm-dox ul a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:white;text-shadow:0 1px 1px black}.sm-dox ul a:hover span.sub-arrow{border-color:transparent transparent transparent white}.sm-dox span.scroll-up,.sm-dox span.scroll-down{position:absolute;display:none;visibility:hidden;overflow:hidden;background:#fff;height:36px}.sm-dox span.scroll-up:hover,.sm-dox span.scroll-down:hover{background:#eee}.sm-dox span.scroll-up:hover span.scroll-up-arrow,.sm-dox span.scroll-up:hover span.scroll-down-arrow{border-color:transparent transparent #d23600 transparent}.sm-dox span.scroll-down:hover span.scroll-down-arrow{border-color:#d23600 transparent transparent transparent}.sm-dox span.scroll-up-arrow,.sm-dox span.scroll-down-arrow{position:absolute;top:0;left:50%;margin-left:-6px;width:0;height:0;overflow:hidden;border-width:6px;border-style:dashed dashed solid dashed;border-color:transparent transparent #555 transparent}.sm-dox span.scroll-down-arrow{top:8px;border-style:solid dashed dashed dashed;border-color:#555 transparent transparent transparent}.sm-dox.sm-rtl a.has-submenu{padding-right:12px;padding-left:24px}.sm-dox.sm-rtl a span.sub-arrow{right:auto;left:12px}.sm-dox.sm-rtl.sm-vertical a.has-submenu{padding:10px 20px}.sm-dox.sm-rtl.sm-vertical a span.sub-arrow{right:auto;left:8px;border-style:dashed solid dashed dashed;border-color:transparent #555 transparent transparent}.sm-dox.sm-rtl>li>ul:before{left:auto;right:30px}.sm-dox.sm-rtl>li>ul:after{left:auto;right:31px}.sm-dox.sm-rtl ul a.has-submenu{padding:10px 20px !important}.sm-dox.sm-rtl ul a span.sub-arrow{right:auto;left:8px;border-style:dashed solid dashed dashed;border-color:transparent #555 transparent transparent}.sm-dox.sm-vertical{padding:10px 0;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.sm-dox.sm-vertical a{padding:10px 20px}.sm-dox.sm-vertical a:hover,.sm-dox.sm-vertical a:focus,.sm-dox.sm-vertical a:active,.sm-dox.sm-vertical a.highlighted{background:#fff}.sm-dox.sm-vertical a.disabled{background-image:url("tab_b.png")}.sm-dox.sm-vertical a span.sub-arrow{right:8px;top:50%;margin-top:-5px;border-width:5px;border-style:dashed dashed dashed solid;border-color:transparent transparent transparent #555}.sm-dox.sm-vertical>li>ul:before,.sm-dox.sm-vertical>li>ul:after{display:none}.sm-dox.sm-vertical ul a{padding:10px 20px}.sm-dox.sm-vertical ul a:hover,.sm-dox.sm-vertical ul a:focus,.sm-dox.sm-vertical ul a:active,.sm-dox.sm-vertical ul a.highlighted{background:#eee}.sm-dox.sm-vertical ul a.disabled{background:#fff}} \ No newline at end of file diff --git a/vendors/galaxy/Documentation.html b/vendors/galaxy/Documentation.html deleted file mode 100644 index f3830f957..000000000 --- a/vendors/galaxy/Documentation.html +++ /dev/null @@ -1,9 +0,0 @@ - - - - Redirecting... - - - Redirecting to Docs/index.html... - - diff --git a/vendors/galaxy/Include/galaxy/Errors.h b/vendors/galaxy/Include/galaxy/Errors.h deleted file mode 100644 index 0bb0c8271..000000000 --- a/vendors/galaxy/Include/galaxy/Errors.h +++ /dev/null @@ -1,105 +0,0 @@ -#ifndef GALAXY_ERRORS_H -#define GALAXY_ERRORS_H - -/** - * @file - * Contains classes representing exceptions. - */ - -#include "GalaxyExport.h" - -namespace galaxy -{ - namespace api - { - /** - * @addtogroup api - * @{ - */ - - /** - * Base interface for exceptions. - */ - class IError - { - public: - - virtual ~IError() - { - } - - /** - * Returns the name of the error. - * - * @return The name of the error. - */ - virtual const char* GetName() const = 0; - - /** - * Returns the error message. - * - * @return The error message. - */ - virtual const char* GetMsg() const = 0; - - /** - * Type of error. - */ - enum Type - { - UNAUTHORIZED_ACCESS, - INVALID_ARGUMENT, - INVALID_STATE, - RUNTIME_ERROR - }; - - /** - * Returns the type of the error. - * - * @return The type of the error. - */ - virtual Type GetType() const = 0; - }; - - /** - * The exception thrown when calling Galaxy interfaces while - * the user is not signed in and thus not authorized for any interaction. - */ - class IUnauthorizedAccessError : public IError - { - }; - - /** - * The exception thrown to report that a method was called with an invalid argument. - */ - class IInvalidArgumentError : public IError - { - }; - - /** - * The exception thrown to report that a method was called while the callee is in - * an invalid state, i.e. should not have been called the way it was at that time. - */ - class IInvalidStateError : public IError - { - }; - - /** - * The exception thrown to report errors that can only be detected during runtime. - */ - class IRuntimeError : public IError - { - }; - - /** - * Retrieves error connected with the last API call on the local thread. - * - * @return Either the last API call error or NULL if there was no error. - */ - GALAXY_DLL_EXPORT const IError* GALAXY_CALLTYPE GetError(); - - /** @} */ - } -} - -#endif diff --git a/vendors/galaxy/Include/galaxy/GalaxyAllocator.h b/vendors/galaxy/Include/galaxy/GalaxyAllocator.h deleted file mode 100644 index cd6d1cecb..000000000 --- a/vendors/galaxy/Include/galaxy/GalaxyAllocator.h +++ /dev/null @@ -1,83 +0,0 @@ -#ifndef GALAXY_I_ALLOCATOR_H -#define GALAXY_I_ALLOCATOR_H - -/** - * @file - * Contains definition of custom memory allocator. - */ - -#include "stdint.h" -#include - -namespace galaxy -{ - namespace api - { - /** - * @addtogroup api - * @{ - */ - - /** - * Allocate function. - * - * @param [in] size Requested size of allocation. - * @param [in] typeName String which identifies the type of allocation. - * @return Pointer to memory block or NULL if it goes out of memory. - */ - typedef void* (*GalaxyMalloc)(uint32_t size, const char* typeName); - - /** - * Reallocate function. - * - * @param [in] ptr Pointer to the memory block to be reallocated. - * @param [in] newSize New, requested size of allocation. - * @param [in] typeName String which identifies the type of allocation. - * @return Pointer to memory block or NULL if it goes out of memory. - */ - typedef void* (*GalaxyRealloc)(void* ptr, uint32_t newSize, const char* typeName); - - /** - * Free function. - * - * @param [in] ptr Pointer to memory block requested to be freed. - */ - typedef void (*GalaxyFree)(void* ptr); - - /** - * Custom memory allocator for GOG Galaxy SDK. - */ - struct GalaxyAllocator - { - /** - * GalaxyAllocator default constructor. - */ - GalaxyAllocator() - : galaxyMalloc(NULL) - , galaxyRealloc(NULL) - , galaxyFree(NULL) - {} - - /** - * GalaxyAllocator constructor. - * - * @param [in] _galaxyMalloc Allocation function. - * @param [in] _galaxyRealloc Reallocation function. - * @param [in] _galaxyFree Free function. - */ - GalaxyAllocator(GalaxyMalloc _galaxyMalloc, GalaxyRealloc _galaxyRealloc, GalaxyFree _galaxyFree) - : galaxyMalloc(_galaxyMalloc) - , galaxyRealloc(_galaxyRealloc) - , galaxyFree(_galaxyFree) - {} - - GalaxyMalloc galaxyMalloc; ///< Allocation function. - GalaxyRealloc galaxyRealloc; ///< Reallocation function. - GalaxyFree galaxyFree; ///< Free function. - }; - - /** @} */ - } -} - -#endif \ No newline at end of file diff --git a/vendors/galaxy/Include/galaxy/GalaxyApi.h b/vendors/galaxy/Include/galaxy/GalaxyApi.h deleted file mode 100644 index 1f5aca7ca..000000000 --- a/vendors/galaxy/Include/galaxy/GalaxyApi.h +++ /dev/null @@ -1,458 +0,0 @@ -#ifndef GALAXY_API_H -#define GALAXY_API_H - -/** - * @file - * Includes all other files that are needed to work with the Galaxy library. - */ - -#include "GalaxyExport.h" -#include "InitOptions.h" -#include "IUser.h" -#include "IFriends.h" -#include "IChat.h" -#include "IMatchmaking.h" -#include "INetworking.h" -#include "IStats.h" -#include "IUtils.h" -#include "IApps.h" -#include "IStorage.h" -#include "ICustomNetworking.h" -#include "ILogger.h" -#include "ITelemetry.h" -#include "Errors.h" - -#include - -namespace galaxy -{ - namespace api - { - /** - * @addtogroup api - * @{ - */ - - /** - * - * @mainpage Introduction - * - * @tableofcontents - * - * @section getting-started Getting started - * - * Developing a game with Galaxy needs to start from linking your application - * to the following libraries: - * * Galaxy.lib or Galaxy64.lib on Windows - * * libGalaxy64.dylib on MacOSX - * - * All libraries are loaded dynamically, so they have to be placed in the same - * folder as your executable. - * - * @section client-credentials Client credentials - * - * In order to use the Galaxy API, you should request special client credentials - * from GOG.com for each game you develop. You will be provided with a pair of - * Client ID and Client Secret that are to be used when calling Init(). - * - * Client credentials identify your game within Galaxy. Only Galaxy Peers that - * use the same Client ID can interact with each other. - * - * @section overview Overview - * - * The Galaxy API is divided into multiple header files. You can either include - * only the header files with the data structures and interfaces you need, or - * simply include the file called GalaxyApi.h that includes all the other files. - * - * You can control your Galaxy Peer through interfaces for specific feature sets, - * e.g. IUser, IMatchmaking, INetworking, IFriends, IListenerRegistrar, ILogger. - * They can be accessed with global functions called User(), - * Matchmaking(), Networking(), ListenerRegistrar(), etc. - * - * For every frame you should call ProcessData() to process input - * and output streams. - * - * @section errors Error handling - * - * Error occured on call to Galaxy API can be obtain by calling GetError(), - * which returns NULL if there was no error. Every call to an API method resets - * last stored error, therefore you should check for errors after each call. - * - * Global function ThrowIfGalaxyError() can translate errors to C++ exceptions. - * It calls GetError() and throws appropriate exception if there was an error - * during the last API call. - * - * @section listeners Listeners - * - * Since many method calls are asynchronous, there is a mechanism for receiving - * responses within a callback that is based on implementing special interfaces - * called listeners that derive from the IGalaxyListener interface. - * - * There is two kind of listeners: - * - Global listeners will receive notifications about all events of a specific type. - * Global listeners need to be registered in the IListenerRegistrar in order to - * receive a notification via a callback when an event has occurred. For convenience, - * there is a basic implementation for each listener that registers and unregisters - * automatically. - * - Specific listeners will receive only notifications related to a specific - * function call. Subsequent function calls with the same specific listeners passed - * to a function will result in same listener be notified multiple times. - * Specific listeners are automatically registered when passed to a function - * and unregistered right after an event occurs. They might be unregistered at anytime. - * - * All listeners are called during the phase of processing data, i.e. during the - * call to ProcessData(). - * - * @section authentication Authentication - * - * You need to authenticate the Galaxy Peer by signing in the user. To do that, - * you need to get an instance of IUser interface and call one of - * IUser::SignIn...() methods, depending of your platform. - * - * As with any other asynchronous call, you will get the information about - * the result of your request via a dedicated listener. For that to happen, - * you already need to call ProcessData() in a loop as mentioned earlier. - * - * In case of limited availability of Galaxy backend services it might happen - * that the user gets signed in within local Galaxy Service, yet still does not - * manage to log on to Galaxy backend services. In that case the Galaxy Peer - * offers only some of its functionality. - * - * Having successfully signed in the user, you may want to check that the user - * is logged on to Galaxy backend services by calling IUser::IsLoggedOn(). - * - * Information about being signed in or signed out, as well as information - * about being logged on or logged off, determine the operational state - * of Galaxy Peer and both come to the IOperationalStateChangeListener. - * - * @section matchmaking Matchmaking - * - * To play a match with other users, the users needs to join them in a so called - * lobby. The user can either join an existing lobby or create one. All this is - * done with the IMatchmaking interface. - * - * Typically you will set appropriate filters by calling e.g. - * IMatchmaking::AddRequestLobbyListStringFilter() or - * IMatchmaking::AddRequestLobbyListNumericalFilter(), then retrieve the list - * of available lobbies by calling IMatchmaking::RequestLobbyList(), and - * than make the user join one of the lobbies by calling - * IMatchmaking::JoinLobby(). Alternatively the user might want to create - * a lobby, in which case you will need to call - * IMatchmaking::CreateLobby(). - * - * @section lobbies Lobbies - * - * Users need to stay present in the lobby for the whole match, until it ends. - * - * When the user is the owner of a lobby, its Galaxy Peer needs to act as the - * game host. - * - * @subsection lobbies-messaging Messaging - * - * You can broadcast messages to all Galaxy Peers in the lobby by calling - * IMatchmaking::SendLobbyMessage(). Each recipient should be registered - * for notifications about incoming messages with dedicated listener, and on the - * occurrence of such notification call IMatchmaking::GetLobbyMessage(). - * - * @section networking P2P networking - * - * You can communicate with other Galaxy Peers that are in the same lobby using - * the INetworking interface. This way of communication is meant to be - * used for sending data that is directed to certain Galaxy Peers, especially - * for sending large amount of date in case of audio and video communication. - * Use it also for sending any other game data that is not crucial, yet needs to - * be delivered quickly. - * - * @subsection networking-sending Sending P2P packets - * - * To send a P2P packet call INetworking::SendP2PPacket(). - * - * You can send packets to specific users by explicitly providing their IDs, or - * implicitly to the lobby owner (game host) by providing the ID of the lobby as - * the recipient. - * - * @subsection networking-receiving Receiving P2P packets - * - * To receive the packets that come to your Galaxy Peer get the instance - * of INetworking by calling GetNetworking(). - * - * @section game-server Game Server - * - * The Game Server API allows for creating a lightweight dedicated servers, - * that does not require Galaxy Client installed. - * - * For the detailed description of the Game Server interfaces refer to the @ref GameServer. - * - * @section statistics Statistics, achievements and leaderboards - * - * The Galaxy API allows you to store information about statistic counters - * and unlocked achievements using the IStats interface. - * - * You can retrieve statistics and achievements of the user who is currently - * signed in, or other user that he interacts with, by calling - * IStats::RequestUserStatsAndAchievements(). - * - * Having retrieved statistics and achievement of your user, you can both read - * and update them. After making edits to statistics and achievements you will - * need to store them by calling IStats::StoreStatsAndAchievements(). - * - * You can retrieve leaderboards by calling IStats::RequestLeaderboards(). - * - * Having retrieved leaderboard definitions you can change user's score by using - * IStats::SetLeaderboardScore() and retrieve leaderboard entries with scores and - * ranks of competing users by calling IStats::RequestLeaderboardEntriesGlobal(), - * IStats::RequestLeaderboardEntriesAroundUser(), or IStats::RequestLeaderboardEntriesForUsers(). - * - * @section friends Friends - * - * The Galaxy API allows you to download the list of your friends by calling - * IFriends::RequestFriendList(). - * - * Having retrieved the friend list you can browse it by calling IFriends::GetFriendCount() - * and IFriends::GetFriendByIndex(). - * - * The Galaxy API allows you to browse information about other users. - * - * You can retrieve information about a specific user by calling IFriends::RequestUserInformation(). - * - * Having retrieved other user information you can read it by calling - * IFriends::GetFriendPersonaName() and IFriends::GetFriendAvatarUrl(). - * - * Some operations, e.g. entering a lobby or requesting for the friend list, automatically retrieve - * information about lobby members or friends accordingly. - * - * @subsection invites Inviting friends - * - * The Galaxy API allows you to invite your friends to play together by calling IFriends::ShowOverlayInviteDialog(). - * This require the connectionString which will allow other users to join your game. - - * Typically the connectionString looks like "-connect-lobby-". - - * After the invitation receiver gets the notification, he can click the JOIN button, which - * will fire IGameJoinRequestedListener with connectionString, or will start the game with - * connectionString as a parameter. - * - * @subsection rich-presence RichPresence - * - * The Galaxy API allows you to set the RichPresence "status" and "connect" keys. - * "status" key will be visible to your friends inside the Galaxy Client chat and friend list. - * "connect" key will be visible to your friends as a JOIN button, which works exactly the same way - * as like the player would receive the game invitation. - * - * @section chat Chat - * - * The Galaxy API allows to embed the GOG Galaxy chat, available for the GOG users on the - * [website](https://www.gog.com/account/chat), in the GOG Galaxy Client and in the in-game overlay, - * directly into the game. - * - * @subsection chat-room Chat room - * - * A chat room with a user can be created explicitly by calling IChat::RequestChatRoomWithUser(), - * or implicitly by new messages incoming to the IChatRoomMessagesListener::OnChatRoomMessagesReceived() - * callback listener. - * In this chat room, you can get the number of unread messages, by calling IChat::GetChatRoomUnreadMessageCount(), - * or iterate over chat room participants by calling IChat::GetChatRoomMemberUserIDByIndex(), - * up to the IChat::GetChatRoomMemberCount() participants. - * - * @subsection chat-history Chat history - * - * If you need to retrieve the chat room history, call IChat::RequestChatRoomMessages() method. - * By omitting the optional parameter \p referenceMessageID, only the latest messages will be retrieved. - * Retrieved messages will be available in the IChatRoomMessagesListener::OnChatRoomMessagesReceived() call, - * during which they can be read by calling IChat::GetChatRoomMessageByIndex(). - * Once all messages has been processed and rendered to the user, they can be marked as read - * by calling the IChat::MarkChatRoomAsRead() method. - * - * @subsection chat-messaging Sending and receiving chat messages - * - * Sending messages is possible only to the existing (see above) chat rooms by calling IChat::SendChatRoomMessage(). - * Every participant of a chat room will receive messages coming to the IChatRoomMessagesListener::OnChatRoomMessagesReceived() callback method. - * - * @section storage Storage - * - * The Galaxy API allows you to store files in Galaxy's backend services. The files are automatically synchronized - * by the Galaxy Client application. - - * @subsection automatic-cloud-saves-syncing Automatic Cloud Saves syncing - * - * The easiest way to add Cloud Saves functionality to your game is to use the Automatic Cloud Saves syncing mechanism. - * In this solution GOG Galaxy only needs to know the path, where the save games are stored and will handle sync between - * the local folder and cloud storage automatically. The sync is performed before the game is launched, after the game quits, - * after the installation and before the uninstallation. - * To enable Automatic Cloud Saves syncing contact your Product Manager. - * - * @subsection cloud-storage-direct-access Cloud Storage direct access - * - * If your game requires more complex managing of local and remote files or you don't want to interact with the file system - * directly you can use the IStorage interface. It provides the abstraction over the file system (read/write/delete files and the metadata). - * You can also share the files created this way with other gog users. - * The folder will be synchronized automatically like mentioned in the previous section. - * - * @section dlc-discovery DLC discovery - * - * There is an easy way of checking if a DLC has been installed by calling - * IApps::IsDlcInstalled() with the Product ID of the particular DLC. - * This feature does not require the user to be online, or Galaxy Client - * to be installed, or even Galaxy API to be fully initialized, however - * you still need to call Init() first. - * - * @section language Game language - * - * There is an easy way of retrieving game or DLC language by calling - * IApps::GetCurrentGameLanguage() with the Product ID of the game - * (0 can be used to retrieve base game language) or particular DLC. - * This feature does not require the user to be online, or Galaxy Client - * to be installed, or even Galaxy API to be fully initialized, however - * you still need to call Init() first. - * - * @section thread-safety Thread-safety - * - * The Galaxy API is thread-safe in general, however there are some methods that return pointers and therefore - * cannot be used in multi-threaded environments. In order to address the issue the similar methods of names with - * a suffix of "Copy" were introduced, e.g. compare IFriends::GetPersonaName() and IFriends::GetPersonaNameCopy(). - */ - - /** @} */ - - /** - * @addtogroup api - * @{ - */ - - /** - * @addtogroup Peer - * @{ - */ - - /** - * Initializes the Galaxy Peer with specified credentials. - * - * @remark When you do not need the Galaxy Peer anymore, you should call - * Shutdown() in order to deactivate it and free its resources. - * - * @remark This method can succeed partially, in which case it leaves - * Galaxy Peer partially functional, hence even in case of an error, be - * sure to call Shutdown() when you do not need the Galaxy Peer anymore. - * See the documentation of specific interfaces on how they behave. - * - * @param [in] initOptions The group of the init options. - */ - GALAXY_DLL_EXPORT void GALAXY_CALLTYPE Init(const InitOptions& initOptions); - - /** - * Shuts down the Galaxy Peer. - * - * The Galaxy Peer is deactivated and brought to the state it had when it - * was created and before it was initialized. - * - * @pre Delete all self-registering listeners before calling Shutdown(). - */ - GALAXY_DLL_EXPORT void GALAXY_CALLTYPE Shutdown(); - - /** - * Returns an instance of IUser. - * - * @return An instance of IUser. - */ - GALAXY_DLL_EXPORT IUser* GALAXY_CALLTYPE User(); - - /** - * Returns an instance of IFriends. - * - * @return An instance of IFriends. - */ - GALAXY_DLL_EXPORT IFriends* GALAXY_CALLTYPE Friends(); - - /** - * Returns an instance of IChat. - * - * @return An instance of IChat. - */ - GALAXY_DLL_EXPORT IChat* GALAXY_CALLTYPE Chat(); - - /** - * Returns an instance of IMatchmaking. - * - * @return An instance of IMatchmaking. - */ - GALAXY_DLL_EXPORT IMatchmaking* GALAXY_CALLTYPE Matchmaking(); - - /** - * Returns an instance of INetworking that allows to communicate - * as a regular lobby member. - * - * @return An instance of INetworking. - */ - GALAXY_DLL_EXPORT INetworking* GALAXY_CALLTYPE Networking(); - - /** - * Returns an instance of IStats. - * - * @return An instance of IStats. - */ - GALAXY_DLL_EXPORT IStats* GALAXY_CALLTYPE Stats(); - - /** - * Returns an instance of IUtils. - * - * @return An instance of IUtils. - */ - GALAXY_DLL_EXPORT IUtils* GALAXY_CALLTYPE Utils(); - - /** - * Returns an instance of IApps. - * - * @return An instance of IApps. - */ - GALAXY_DLL_EXPORT IApps* GALAXY_CALLTYPE Apps(); - - /** - * Returns an instance of IStorage. - * - * @return An instance of IStorage. - */ - GALAXY_DLL_EXPORT IStorage* GALAXY_CALLTYPE Storage(); - - /** - * Returns an instance of ICustomNetworking. - * - * @return An instance of ICustomNetworking. - */ - GALAXY_DLL_EXPORT ICustomNetworking* GALAXY_CALLTYPE CustomNetworking(); - - /** - * Returns an instance of ILogger. - * - * @return An instance of ILogger. - */ - GALAXY_DLL_EXPORT ILogger* GALAXY_CALLTYPE Logger(); - - /** - * Returns an instance of ITelemetry. - * - * @return An instance of ITelemetry. - */ - GALAXY_DLL_EXPORT ITelemetry* GALAXY_CALLTYPE Telemetry(); - - /** - * Makes the Galaxy Peer process its input and output streams. - * - * During the phase of processing data, Galaxy Peer recognizes specific - * events and casts notifications for callback listeners immediately. - * - * This method should be called in a loop, preferably every frame, - * so that Galaxy is able to process input and output streams. - * - * @remark When this method is not called, any asynchronous calls to Galaxy API - * cannot be processed and any listeners will not be properly called. - */ - GALAXY_DLL_EXPORT void GALAXY_CALLTYPE ProcessData(); - - /** @} */ - - /** @} */ - - } -} - -#endif diff --git a/vendors/galaxy/Include/galaxy/GalaxyExceptionHelper.h b/vendors/galaxy/Include/galaxy/GalaxyExceptionHelper.h deleted file mode 100644 index 5f1c5f378..000000000 --- a/vendors/galaxy/Include/galaxy/GalaxyExceptionHelper.h +++ /dev/null @@ -1,52 +0,0 @@ -#ifndef GALAXY_EXCEPTION_HELPER_H -#define GALAXY_EXCEPTION_HELPER_H - -#include "Errors.h" -#include - -namespace galaxy -{ - namespace api - { - namespace details - { - -#define GALAXY_EXCEPTION_HELPER_ERROR_CLASS(Exception, ExceptionInterface, ErrorType) \ -class Exception : public ExceptionInterface \ -{\ -public: \ - explicit Exception(const IError* exception) : message(exception->GetMsg()) {}\ - const char* GetName() const override { return #ExceptionInterface; } \ - const char* GetMsg() const override { return message.c_str(); } \ - api::IError::Type GetType() const override { return ErrorType; } \ -\ -private: \ - const std::string message; \ -} - - GALAXY_EXCEPTION_HELPER_ERROR_CLASS(UnauthorizedAccessError, IUnauthorizedAccessError, IError::UNAUTHORIZED_ACCESS); - GALAXY_EXCEPTION_HELPER_ERROR_CLASS(InvalidArgumentError, IInvalidArgumentError, IError::INVALID_ARGUMENT); - GALAXY_EXCEPTION_HELPER_ERROR_CLASS(InvalidStateError, IInvalidStateError, IError::INVALID_STATE); - GALAXY_EXCEPTION_HELPER_ERROR_CLASS(RuntimeError, IRuntimeError, IError::RUNTIME_ERROR); - - } - - inline void ThrowIfGalaxyError() - { - const IError* error = GetError(); - if (error) - { - switch (error->GetType()) - { - case IError::UNAUTHORIZED_ACCESS: throw details::UnauthorizedAccessError(error); - case IError::INVALID_ARGUMENT: throw details::InvalidArgumentError(error); - case IError::INVALID_STATE: throw details::InvalidStateError(error); - default: throw details::RuntimeError(error); - } - } - } - - } -} - -#endif diff --git a/vendors/galaxy/Include/galaxy/GalaxyExport.h b/vendors/galaxy/Include/galaxy/GalaxyExport.h deleted file mode 100644 index e129497e4..000000000 --- a/vendors/galaxy/Include/galaxy/GalaxyExport.h +++ /dev/null @@ -1,25 +0,0 @@ -#ifndef GALAXY_EXPORT_H -#define GALAXY_EXPORT_H - -/** - * @file - * Contains a macro used for DLL export. - */ - -#if defined(_WIN32) || defined(_XBOX_ONE) || defined(__ORBIS__) - #if defined(GALAXY_EXPORT) - #define GALAXY_DLL_EXPORT __declspec(dllexport) - #else - #define GALAXY_DLL_EXPORT __declspec(dllimport) - #endif -#else - #define GALAXY_DLL_EXPORT -#endif - -#if defined(_WIN32) && !defined(__ORBIS__) && !defined(_XBOX_ONE) - #define GALAXY_CALLTYPE __cdecl -#else - #define GALAXY_CALLTYPE -#endif - -#endif diff --git a/vendors/galaxy/Include/galaxy/GalaxyGameServerApi.h b/vendors/galaxy/Include/galaxy/GalaxyGameServerApi.h deleted file mode 100644 index bb3660253..000000000 --- a/vendors/galaxy/Include/galaxy/GalaxyGameServerApi.h +++ /dev/null @@ -1,159 +0,0 @@ -#ifndef GALAXY_GALAXY_GAME_SERVER_API_H -#define GALAXY_GALAXY_GAME_SERVER_API_H - -/** - * @file - * Contains the main interface for controlling the Galaxy Game Server. - */ - -#include "GalaxyExport.h" -#include "InitOptions.h" -#include "IUser.h" -#include "IMatchmaking.h" -#include "INetworking.h" -#include "IUtils.h" -#include "ITelemetry.h" -#include "ILogger.h" -#include "Errors.h" - -#include - -namespace galaxy -{ - namespace api - { - /** - * @addtogroup api - * @{ - */ - - /** - * - * @section game-server-overview Overview - * - * Game Server API is structured in the same way as Galaxy Peer API, - * providing global functions called GameServerUser(), GameServerMatchmaking(), - * GameServerNetworking() e.t.c. defined in GalaxyGameServerApi.h header file. - * - * Objects, methods, or combinations of parameters that are not supposed to be used - * with Game Server, such as IUser::SetUserData(), IFriends::RequestFriendList(), - * IMatchmaking::SetLobbyMemberData() cause either IInvalidStateError or IInvalidArgumentError errors. - * - * Since Game Server is a separate object, and in fact operates in a separate thread, - * separate methods are provided to control it: InitGameServer(), ProcessGameServerData(), - * and ShutdownGameServer(). - * - * @section game-server-listeners Listeners - * - * Corresponding global self-registering listeners are provided for all interfaces supported - * by the Game Server prefixed with 'GameServer': GameServerGlobalAuthListener(), - * GameServerGlobalLobbyEnteredListener() e.t.c. - * - * @section game-server-authentication Authentication - * - * Game Server is authenticated anonymously using the IUser::SignInAnonymous(). This method - * is not available for the Galaxy Peer. - * - * @section game-server-matchmaking Matchmaking and networking - * - * The Game Server is only allowed to create public non-host-migrating lobbies. - * Joining a specific lobby is not possible for the Game Server. - * - * While in a lobby, the Game Server operation on the server INetworking interface, so - * incomming packets should be handled by the IServerNetworkingListener. - */ - - /** - * @addtogroup GameServer - * @{ - */ - - /** - * Initializes the Galaxy Game Server with specified credentials. - * - * @remark When you do not need the Game Server anymore, you should call - * ShutdownGameServer() in order to deactivate it and free its resources. - * - * @remark This method can succeed partially, in which case it leaves - * Game Server partially functional, hence even in case of an error, be - * sure to call ShutdownGameServer() when you do not need the Game Server anymore. - * See the documentation of specific interfaces on how they behave. - * - * @param [in] initOptions The group of the init options. - */ - GALAXY_DLL_EXPORT void GALAXY_CALLTYPE InitGameServer(const InitOptions& initOptions); - - /** - * Shuts down the Galaxy Game Server. - * - * The Game Server is deactivated and brought to the state it had when it - * was created and before it was initialized. - * - * @pre Delete all self-registering listeners before calling ShutdownGameServer(). - */ - GALAXY_DLL_EXPORT void GALAXY_CALLTYPE ShutdownGameServer(); - - /** - * Returns an instance of IUser interface for the Game Server entity. - * - * @return An instance of IUser. - */ - GALAXY_DLL_EXPORT IUser* GALAXY_CALLTYPE GameServerUser(); - - /** - * Returns an instance of IMatchmaking interface for the Game Server entity. - * - * @return An instance of IMatchmaking. - */ - GALAXY_DLL_EXPORT IMatchmaking* GALAXY_CALLTYPE GameServerMatchmaking(); - - /** - * Returns an instance of INetworking interface for the Game Server entity - * that allows to communicate as the lobby host. - * - * @return An instance of INetworking. - */ - GALAXY_DLL_EXPORT INetworking* GALAXY_CALLTYPE GameServerNetworking(); - - /** - * Returns an instance of IUtils interface for the Game Server entity. - * - * @return An instance of IUtils. - */ - GALAXY_DLL_EXPORT IUtils* GALAXY_CALLTYPE GameServerUtils(); - - /** - * Returns an instance of ITelemetry. - * - * @return An instance of ITelemetry. - */ - GALAXY_DLL_EXPORT ITelemetry* GALAXY_CALLTYPE GameServerTelemetry(); - - /** - * Returns an instance of ILogger interface for the Game Server entity. - * - * @return An instance of ILogger. - */ - GALAXY_DLL_EXPORT ILogger* GALAXY_CALLTYPE GameServerLogger(); - - /** - * Makes the Game Server process its input and output streams. - * - * During the phase of processing data, Game Server recognizes specific - * events and casts notifications for callback listeners immediately. - * - * This method should be called in a loop, preferably every frame, - * so that Galaxy is able to process input and output streams. - * - * @remark When this method is not called, any asynchronous calls to Galaxy API - * cannot be processed and any listeners will not be properly called. - */ - GALAXY_DLL_EXPORT void GALAXY_CALLTYPE ProcessGameServerData(); - - /** @} */ - - /** @} */ - } -} - -#endif diff --git a/vendors/galaxy/Include/galaxy/GalaxyID.h b/vendors/galaxy/Include/galaxy/GalaxyID.h deleted file mode 100644 index dc6d1d25b..000000000 --- a/vendors/galaxy/Include/galaxy/GalaxyID.h +++ /dev/null @@ -1,196 +0,0 @@ -#ifndef GALAXY_GALAXY_ID_H -#define GALAXY_GALAXY_ID_H - -/** - * @file - * Contains GalaxyID, which is the class that represents the ID of an entity - * used by Galaxy Peer. - */ - -#include "stdint.h" -#include - -namespace galaxy -{ - namespace api - { - /** - * @addtogroup api - * @{ - */ - -#pragma pack( push, 1 ) - - /** - * Represents the ID of an entity used by Galaxy Peer. - * - * This can be the ID of either a lobby or a Galaxy user. - */ - class GalaxyID - { - public: - - /** - * The type of the ID. - */ - enum IDType { - ID_TYPE_UNASSIGNED, - ID_TYPE_LOBBY, - ID_TYPE_USER - }; - - /** - * The numerical value used when the instance of GalaxyID is not valid. - */ - static const uint64_t UNASSIGNED_VALUE = 0; - - /** - * Creates GalaxyID from real ID and type. - * - * @param [in] type The type of the ID. - * @param [in] value The real ID value. - * @return The GalaxyID. - */ - static GalaxyID FromRealID(IDType type, uint64_t value) - { - assert(type != ID_TYPE_UNASSIGNED); - assert(value != UNASSIGNED_VALUE); - assert(static_cast(value >> 56) == ID_TYPE_UNASSIGNED); - return GalaxyID(static_cast(type) << 56 | value); - } - - /** - * Default constructor. - * - * Creates an instance of GalaxyID that is invalid and of unknown kind. - */ - GalaxyID(void) : value(UNASSIGNED_VALUE) - { - } - - /** - * Creates an instance of GalaxyID of a specified value. - * - * @param [in] _value The numerical value of the ID. - */ - GalaxyID(uint64_t _value) : value(_value) - { - } - - /** - * Copy constructor. - * - * Creates a copy of another instance of GalaxyID. - * - * @param [in] galaxyID The instance of GalaxyID to copy from. - */ - GalaxyID(const GalaxyID& galaxyID) : value(galaxyID.value) - { - } - - /** - * The assignment operator. Makes the ID equal to another ID. - * - * @param [in] other The instance of GalaxyID to copy from. - * @return A reference to this ID. - */ - GalaxyID& operator=(const GalaxyID& other) - { - value = other.value; - return *this; - } - - /** - * The lower operator. It is supposed to be used to compare only valid - * instances of GalaxyID that are assigned to entities of the same type. - * - * @param [in] other Another instance of GalaxyID to compare to. - * @return true if this instance is lower, false otherwise. - */ - bool operator<(const GalaxyID& other) const - { - assert(IsValid() && other.IsValid()); - return value < other.value; - } - - /** - * The equality operator. Might be used to compare all sorts of GalaxyID. - * - * @param [in] other Another instance of GalaxyID to compare to. - * @return true if the instances are equal, false otherwise. - */ - bool operator==(const GalaxyID& other) const - { - return value == other.value; - } - - /** - * The inequality operator. The opposite to the equality operator. - * - * @param [in] other Another instance of GalaxyID to compare to. - * @return false if the instances are equal, true otherwise. - */ - bool operator!=(const GalaxyID& other) const - { - return !(*this == other); - } - - /** - * Checks if the ID is valid and is assigned to an entity. - * - * @return true if the ID is valid, false otherwise. - */ - bool IsValid() const - { - return value != UNASSIGNED_VALUE; - } - - /** - * Returns the numerical value of the ID. - * - * @remark The value comprises the real ID and possibly some extra flags that - * can be used e.g. for type-checking, which can be changed in the future. - * If you need the value in the same form as the one used in Galaxy web services, - * i.e. without any additional flags, use the GetRealID() method instead. - * - * @return The numerical value of the ID, valid only when the ID is valid. - */ - uint64_t ToUint64() const - { - return value; - } - - /** - * Returns the numerical value of the real ID, without any extra flags. - * - * @remark The value is of the same form as the one used in Galaxy web services. - * - * @return The numerical value of the ID, valid only when the ID is valid. - */ - uint64_t GetRealID() const - { - return value & 0xffffffffffffff; - } - - /** - * Returns the type of the ID. - * - * @return The type of the ID. - */ - IDType GetIDType() const - { - return static_cast(value >> 56); - } - - private: - - uint64_t value; ///< The numerical value of the ID. - }; - -#pragma pack( pop ) - - /** @} */ - } -} - -#endif diff --git a/vendors/galaxy/Include/galaxy/GalaxyThread.h b/vendors/galaxy/Include/galaxy/GalaxyThread.h deleted file mode 100644 index 8f14323df..000000000 --- a/vendors/galaxy/Include/galaxy/GalaxyThread.h +++ /dev/null @@ -1,82 +0,0 @@ -#ifndef GALAXY_THREAD_H -#define GALAXY_THREAD_H - -namespace galaxy -{ - namespace api - { - - /** - * @addtogroup api - * @{ - */ - - /** - * The parameter for the thread entry point. - */ - typedef void* ThreadEntryParam; - - /** - * The entry point function which shall be started in a new thread. - */ - typedef void (*ThreadEntryFunction)(ThreadEntryParam); - - /** - * The interface representing a thread object. - */ - class IGalaxyThread - { - public: - - /** - * Join the thread. - * - * Wait until IGalaxyThread execution is finished. Internal callers of this function are blocked until the function returns. - */ - virtual void Join() = 0; - - /** - * Checks if the IGalaxyThread is ready to Join(). - * - * @return true if the thread is ready to Join(). - */ - virtual bool Joinable() = 0; - - /** - * Detach the thread. - * - * Separate the thread of execution from the IGalaxyThread object, allowing execution to continue independently. - */ - virtual void Detach() = 0; - - virtual ~IGalaxyThread() {}; - }; - - /** - * Custom thread spawner for the Galaxy SDK. - */ - class IGalaxyThreadFactory - { - public: - - /** - * Spawn new internal Galaxy SDK thread. - * - * A new thread shall start from the provided ThreadEntryFunction accepting provided ThreadEntryParam. - * - * @note The very same allocator shall be used for thread objects allocations as specified in the InitOptions::galaxyAllocator. - * - * @param [in] entryPoint The wrapper for the entry point function. - * @param [in] param The parameter for the thread entry point. - * @return New thread object. - */ - virtual IGalaxyThread* SpawnThread(ThreadEntryFunction const entryPoint, ThreadEntryParam param) = 0; - - virtual ~IGalaxyThreadFactory() {}; - }; - - /** @} */ - } -} - -#endif diff --git a/vendors/galaxy/Include/galaxy/IApps.h b/vendors/galaxy/Include/galaxy/IApps.h deleted file mode 100644 index 1f79775bc..000000000 --- a/vendors/galaxy/Include/galaxy/IApps.h +++ /dev/null @@ -1,70 +0,0 @@ -#ifndef GALAXY_I_APPS_H -#define GALAXY_I_APPS_H - -/** - * @file - * Contains data structures and interfaces related to application activities. - */ - -#include "IListenerRegistrar.h" - -namespace galaxy -{ - namespace api - { - /** - * @addtogroup api - * @{ - */ - - /** - * The ID of the DLC. - */ - typedef uint64_t ProductID; - - /** - * The interface for managing application activities. - * - * @remark This interface is fully functional in any situation when - * Init() reports an error. - */ - class IApps - { - public: - - virtual ~IApps() - { - } - - /** - * Checks if specified DLC is installed. - * - * @param [in] productID The ID of the DLC to check. - * @return true if specified DLC is installed, false otherwise. - */ - virtual bool IsDlcInstalled(ProductID productID) = 0; - - /** - * Returns current game language for given product ID. - * - * @param [in] productID The ID of the game or DLC to check. - * @return current game language for given product ID. - */ - virtual const char* GetCurrentGameLanguage(ProductID productID = 0) = 0; - - /** - * Copies the current game language for given product ID to a buffer. - * - * @param [in, out] buffer The output buffer. - * @param [in] bufferLength The size of the output buffer. - * @param [in] productID The ID of the game or DLC to check. - * @return current game language for given product ID. - */ - virtual void GetCurrentGameLanguageCopy(char* buffer, uint32_t bufferLength, ProductID productID = 0) = 0; - }; - - /** @} */ - } -} - -#endif diff --git a/vendors/galaxy/Include/galaxy/IChat.h b/vendors/galaxy/Include/galaxy/IChat.h deleted file mode 100644 index b9d21c870..000000000 --- a/vendors/galaxy/Include/galaxy/IChat.h +++ /dev/null @@ -1,322 +0,0 @@ -#ifndef GALAXY_I_CHAT_H -#define GALAXY_I_CHAT_H - -/** - * @file - * Contains data structures and interfaces related to chat communication - * with other Galaxy Users. - */ - -#include "IListenerRegistrar.h" -#include "GalaxyID.h" - -namespace galaxy -{ - namespace api - { - /** - * @addtogroup api - * @{ - */ - - /** - * The ID of a chat room. - */ - typedef uint64_t ChatRoomID; - - /** - * Global ID of a chat message. - */ - typedef uint64_t ChatMessageID; - - /** - * The type of a chat message. - */ - enum ChatMessageType - { - CHAT_MESSAGE_TYPE_UNKNOWN, ///< Unknown message type. - CHAT_MESSAGE_TYPE_CHAT_MESSAGE, ///< Chat message. - CHAT_MESSAGE_TYPE_GAME_INVITATION ///< Game invitation. - }; - - /** - * Listener for the event of retrieving a chat room with a specified user. - */ - class IChatRoomWithUserRetrieveListener : public GalaxyTypeAwareListener - { - public: - - /** - * Notification for the event of retrieving a chat room with a specified user. - * - * @param [in] userID The ID of the user with whom a chat room was requested. - * @param [in] chatRoomID The ID of the retrieved chat room. - */ - virtual void OnChatRoomWithUserRetrieveSuccess(GalaxyID userID, ChatRoomID chatRoomID) = 0; - - /** - * The reason of a failure in retrieving a chat room with a specified user. - */ - enum FailureReason - { - FAILURE_REASON_UNDEFINED, ///< Unspecified error. - FAILURE_REASON_FORBIDDEN, ///< Communication with a specified user is not allowed. - FAILURE_REASON_CONNECTION_FAILURE ///< Unable to communicate with backend services. - }; - - /** - * Notification for the event of a failure in retrieving a chat room with a specified user. - * - * @param [in] userID The ID of the user with whom a chat room was requested. - * @param [in] failureReason The cause of the failure. - */ - virtual void OnChatRoomWithUserRetrieveFailure(GalaxyID userID, FailureReason failureReason) = 0; - }; - - /** - * Globally self-registering version of IChatRoomWithUserRetrieveListener. - */ - typedef SelfRegisteringListener GlobalChatRoomWithUserRetrieveListener; - - /** - * Listener for the event of sending a chat room message. - */ - class IChatRoomMessageSendListener : public GalaxyTypeAwareListener - { - public: - - /** - * Notification for the event of sending a chat room message. - * - * @param [in] chatRoomID The ID of the chat room. - * @param [in] sentMessageIndex The internal index of the sent message. - * @param [in] messageID The ID of the sent message. - * @param [in] sendTime The time at which the message was sent. - */ - virtual void OnChatRoomMessageSendSuccess(ChatRoomID chatRoomID, uint32_t sentMessageIndex, ChatMessageID messageID, uint32_t sendTime) = 0; - - /** - * The reason of a failure in sending a message to a chat room. - */ - enum FailureReason - { - FAILURE_REASON_UNDEFINED, ///< Unspecified error. - FAILURE_REASON_FORBIDDEN, ///< Sending messages to the chat room is forbidden for the user. - FAILURE_REASON_CONNECTION_FAILURE ///< Unable to communicate with backend services. - }; - - /** - * Notification for the event of a failure in sending a message to a chat room. - * - * @param [in] chatRoomID The ID of the chat room. - * @param [in] sentMessageIndex The internal index of the sent message. - * @param [in] failureReason The cause of the failure. - */ - virtual void OnChatRoomMessageSendFailure(ChatRoomID chatRoomID, uint32_t sentMessageIndex, FailureReason failureReason) = 0; - }; - - /** - * Globally self-registering version of IChatRoomMessageSendListener. - */ - typedef SelfRegisteringListener GlobalChatRoomMessageSendListener; - - /** - * Listener for the event of receiving chat room messages. - */ - class IChatRoomMessagesListener : public GalaxyTypeAwareListener - { - public: - - /** - * Notification for the event of receiving chat room messages. - * - * In order to read subsequent messages, call IChat::GetChatRoomMessageByIndex(). - * - * @remark First invocation of this notification initiates the dialog - * in the specified chat room on the receiving side. Chat room data is - * available at the time this notification comes. - * - * @param [in] chatRoomID The ID of the chat room. - * @param [in] messageCount The amount of messages received in the chat room. - * @param [in] longestMessageLenght The length of the longest message. - */ - virtual void OnChatRoomMessagesReceived(ChatRoomID chatRoomID, uint32_t messageCount, uint32_t longestMessageLenght) = 0; - }; - - /** - * Globally self-registering version of IChatRoomMessagesListener. - */ - typedef SelfRegisteringListener GlobalChatRoomMessagesListener; - - /** - * Listener for the event of retrieving chat room messages in a specified chat room. - */ - class IChatRoomMessagesRetrieveListener : public GalaxyTypeAwareListener - { - public: - - /** - * Notification for the event of retrieving chat room messages in a specified chat room. - * - * In order to read subsequent messages, call IChat::GetChatRoomMessageByIndex(). - * - * @param [in] chatRoomID The ID of the chat room. - * @param [in] messageCount The amount of messages received in the chat room. - * @param [in] longestMessageLenght The length of the longest message. - */ - virtual void OnChatRoomMessagesRetrieveSuccess(ChatRoomID chatRoomID, uint32_t messageCount, uint32_t longestMessageLenght) = 0; - - /** - * The reason of a failure in retrieving chat room messages in a specified chat room. - */ - enum FailureReason - { - FAILURE_REASON_UNDEFINED, ///< Unspecified error. - FAILURE_REASON_FORBIDDEN, ///< Retrieving messages from the chat room is forbidden for the user. - FAILURE_REASON_CONNECTION_FAILURE ///< Unable to communicate with backend services. - }; - - /** - * Notification for the event of a failure in retrieving chat room messages in a specified chat room. - * - * @param [in] chatRoomID The ID of the chat room. - * @param [in] failureReason The cause of the failure. - */ - virtual void OnChatRoomMessagesRetrieveFailure(ChatRoomID chatRoomID, FailureReason failureReason) = 0; - }; - - /** - * Globally self-registering version of IChatRoomMessagesRetrieveListener. - */ - typedef SelfRegisteringListener GlobalChatRoomMessagesRetrieveListener; - - /** - * The interface for chat communication with other Galaxy Users. - */ - class IChat - { - public: - - virtual ~IChat() - { - } - - /** - * Creates new, or retrieves already existing one-on-one chat room with a specified user. - * - * This call is asynchronous. Response comes to the IChatRoomWithUserRetrieveListener, - * provided that the chat room was created successfully, in which case chat room data - * is immediately available. - * - * @param [in] userID The ID of the interlocutor user. - * @param [in] listener The listener for specific operation. - */ - virtual void RequestChatRoomWithUser(GalaxyID userID, IChatRoomWithUserRetrieveListener* const listener = NULL) = 0; - - /** - * Retrieves historical messages in a specified chat room. - * - * This call is asynchronous. Response comes to the IChatRoomMessagesRetrieveListener. - * - * The list of retrieved messages contains a limited number of the latest messages - * that were sent prior to the one specified as the optional reference message. - * - * @pre The user must be in the specified chat room in order to retrieve the messages. - * - * @param [in] chatRoomID The ID of the chat room. - * @param [in] limit The maximum number of messages to retrieve or 0 for using default. - * @param [in] referenceMessageID The ID of the oldest of the messages that were already retrieved. - * @param [in] listener The listener for specific operation. - */ - virtual void RequestChatRoomMessages(ChatRoomID chatRoomID, uint32_t limit, ChatMessageID referenceMessageID = 0, IChatRoomMessagesRetrieveListener* const listener = NULL) = 0; - - /** - * Sends a message to a chat room. - * - * This call is asynchronous. Result of sending message comes to the - * IChatRoomMessageSendListener. If message was sent successfully, - * for all the members in the chat room there comes a notification - * to the IChatRoomMessagesListener. - * - * @remark Internal message index returned by this method should only be used - * to identify sent messages in callbacks that come to the IChatRoomMessageSendListener. - * - * @pre The user needs to be in the chat room in order to send a message to its members. - * - * @param [in] chatRoomID The ID of the chat room. - * @param [in] msg The message to send. - * @param [in] listener The listener for specific operation. - * @return Internal message index. - */ - virtual uint32_t SendChatRoomMessage(ChatRoomID chatRoomID, const char* msg, IChatRoomMessageSendListener* const listener = NULL) = 0; - - /** - * Reads an incoming chat room message by index. - * - * This call is non-blocking and operates on the messages available - * in the IChatRoomMessagesListener, thus instantly finishes. - * - * If the buffer that is supposed to take the message is too small, - * the message will be truncated to its size. The size of the longest message - * is provided in the notification about an incoming message from - * IChatRoomMessagesListener::OnChatRoomMessagesReceived(). - * - * @remark This method can be used only inside of IChatRoomMessagesListener::OnChatRoomMessagesReceived(). - * - * @param [in] index Index of the incomming message as an integer in the range of [0, number of messages). - * @param [out] messageID Global ID of the message. - * @param [out] messageType The type of the message. - * @param [out] senderID The ID of the sender of the message. - * @param [out] sendTime The time when the message was sent. - * @param [in, out] buffer The output buffer. - * @param [in] bufferLength The size of the output buffer. - * @return Actual message size in bytes. - */ - virtual uint32_t GetChatRoomMessageByIndex(uint32_t index, ChatMessageID& messageID, ChatMessageType& messageType, GalaxyID& senderID, uint32_t& sendTime, char* buffer, uint32_t bufferLength) = 0; - - /** - * Returns the number of users in a specified chat room. - * - * @param [in] chatRoomID The ID of the chat room. - * @return The number of users in the specified chat room. - */ - virtual uint32_t GetChatRoomMemberCount(ChatRoomID chatRoomID) = 0; - - /** - * Returns the GalaxyID of a user in a specified chat room. - * - * @pre The user must be in the specified chat room in order to retrieve the room members. - * - * @param [in] chatRoomID The ID of the chat room. - * @param [in] index Index as an integer in the range of [0, number of chat room members). - * @return The ID of the chat room member. - */ - virtual GalaxyID GetChatRoomMemberUserIDByIndex(ChatRoomID chatRoomID, uint32_t index) = 0; - - /** - * Returns the number of unread messages in a specified chat room. - * - * @pre The user must be in the specified chat room in order to retrieve the message count. - * - * @param [in] chatRoomID The ID of the chat room. - * @return The number of unread messages in the chat room. - */ - virtual uint32_t GetChatRoomUnreadMessageCount(ChatRoomID chatRoomID) = 0; - - /** - * Marks a specified chat room as read. - * - * Marks all the messages in the specified chat room up to the one received last as read. - * - * @remark The user should have read messages in the specified chat room in order to mark it as read. - * - * @param [in] chatRoomID The ID of the chat room. - */ - virtual void MarkChatRoomAsRead(ChatRoomID chatRoomID) = 0; - }; - - /** @} */ - } -} - -#endif diff --git a/vendors/galaxy/Include/galaxy/ICustomNetworking.h b/vendors/galaxy/Include/galaxy/ICustomNetworking.h deleted file mode 100644 index ebc45ae42..000000000 --- a/vendors/galaxy/Include/galaxy/ICustomNetworking.h +++ /dev/null @@ -1,199 +0,0 @@ -#ifndef GALAXY_I_CUSTOM_NETWORKING_H -#define GALAXY_I_CUSTOM_NETWORKING_H - -/** - * @file - * Contains data structures and interfaces related to communicating with custom endpoints. - * @warning This API is experimental and can be changed or removed in following releases. - */ - -#include "IListenerRegistrar.h" - -namespace galaxy -{ - namespace api - { - /** - * @addtogroup api - * @{ - */ - - /** - * ID of a connection. - */ - typedef uint64_t ConnectionID; - - /** - * Listener for the events related to opening a connection. - */ - class IConnectionOpenListener : public GalaxyTypeAwareListener - { - public: - - /** - * Notification for the event of a success in opening a connection. - * - * @param [in] connectionString The connection string. - * @param [in] connectionID The ID if the connection. - */ - virtual void OnConnectionOpenSuccess(const char* connectionString, ConnectionID connectionID) = 0; - - /** - * The reason of a failure in opening a connection. - */ - enum FailureReason - { - FAILURE_REASON_UNDEFINED, ///< Unspecified error. - FAILURE_REASON_CONNECTION_FAILURE, ///< Unable to communicate with backend services. - FAILURE_REASON_UNAUTHORIZED ///< Client is unauthorized. - }; - - /** - * Notification for the event of a failure in opening a connection. - * - * @param [in] connectionString The connection string. - * @param [in] failureReason The cause of the failure. - */ - virtual void OnConnectionOpenFailure(const char* connectionString, FailureReason failureReason) = 0; - }; - - /** - * Globally self-registering version of IConnectionOpenListener. - */ - typedef SelfRegisteringListener GlobalConnectionOpenListener; - - /** - * Listener for the event of closing a connection. - * - */ - class IConnectionCloseListener : public GalaxyTypeAwareListener - { - public: - - /** - * The reason of closing a connection. - */ - enum CloseReason - { - CLOSE_REASON_UNDEFINED ///< Unspecified reason. - }; - - /** - * Notification for the event of closing a connection. - * - * @param [in] connectionID The ID if the connection. - * @param [in] closeReason The reason why the connection is being closed. - */ - virtual void OnConnectionClosed(ConnectionID connectionID, CloseReason closeReason) = 0; - }; - - /** - * Globally self-registering version of IConnectionCloseListener. - */ - typedef SelfRegisteringListener GlobalConnectionCloseListener; - - /** - * Listener for the event of receiving data over the connection. - */ - class IConnectionDataListener : public GalaxyTypeAwareListener - { - public: - - /** - * Notification for the event of receiving data over the connection. - * - * @param [in] connectionID The ID if the connection. - * @param [in] dataSize The amount of new data received (in bytes). - */ - virtual void OnConnectionDataReceived(ConnectionID connectionID, uint32_t dataSize) = 0; - }; - - /** - * Globally self-registering version of IConnectionDataListener. - */ - typedef SelfRegisteringListener GlobalConnectionDataListener; - - /** - * The interface for communicating with a custom endpoint. - */ - class ICustomNetworking - { - public: - - virtual ~ICustomNetworking() - { - } - - /** - * Open a connection with a specific endpoint. - * - * This call is asynchronous. Responses come to the IConnectionOpenListener. - * - * @remark Currently only supported connection string is a WebSocket URL (e.g. ws://example.com:8000/path/to/ws). - * - * @param [in] connectionString The string which contains connection info. - * @param [in] listener The listener for specific operation. - */ - virtual void OpenConnection(const char* connectionString, IConnectionOpenListener* const listener = NULL) = 0; - - /** - * Close a connection. - * - * This call is asynchronous. Responses come to the IConnectionCloseListener. - * - * @param [in] connectionID The ID of the connection. - * @param [in] listener The listener for specific operation. - */ - virtual void CloseConnection(ConnectionID connectionID, IConnectionCloseListener* const listener = NULL) = 0; - - /** - * Send binary data over a specific connection. - * - * @param [in] connectionID The ID of the connection. - * @param [in] data The data to send. - * @param [in] dataSize The size of the data. - */ - virtual void SendData(ConnectionID connectionID, const void* data, uint32_t dataSize) = 0; - - /** - * Returns the number of bytes in a specific connection incoming buffer. - * - * @param [in] connectionID The ID of the connection. - * @return The number of bytes in the connection incomming buffer. - */ - virtual uint32_t GetAvailableDataSize(ConnectionID connectionID) = 0; - - /** - * Reads binary data received from a specific connection. - * The data that was read this way is left in the connection incomming buffer. - * - * @param [in] connectionID The ID of the connection. - * @param [in, out] dest The buffer to pass the data to. - * @param [in] dataSize The size of the data. - */ - virtual void PeekData(ConnectionID connectionID, void* dest, uint32_t dataSize) = 0; - - /** - * Reads binary data received from a specific connection. - * The data that was read this way is removed from the connection incomming buffer. - * - * @param [in] connectionID The ID of the connection. - * @param [in, out] dest The buffer to pass the data to. - * @param [in] dataSize The size of the data. - */ - virtual void ReadData(ConnectionID connectionID, void* dest, uint32_t dataSize) = 0; - - /** - * Removes a given number of bytes from a specific connection incomming buffer. - * - * @param [in] connectionID The ID of the connection. - * @param [in] dataSize The numbers of bytes to be removed from the buffer. - */ - virtual void PopData(ConnectionID connectionID, uint32_t dataSize) = 0; - }; - - /** @} */ - } -} - -#endif diff --git a/vendors/galaxy/Include/galaxy/IFriends.h b/vendors/galaxy/Include/galaxy/IFriends.h deleted file mode 100644 index 1174ca6e2..000000000 --- a/vendors/galaxy/Include/galaxy/IFriends.h +++ /dev/null @@ -1,1064 +0,0 @@ -#ifndef GALAXY_I_FRIENDS_H -#define GALAXY_I_FRIENDS_H - -/** - * @file - * Contains data structures and interfaces related to social activities. - */ - -#include "GalaxyID.h" -#include "IListenerRegistrar.h" - -namespace galaxy -{ - namespace api - { - /** - * @addtogroup api - * @{ - */ - - /** - * The type of avatar. - */ - enum AvatarType - { - AVATAR_TYPE_NONE = 0x0000, ///< No avatar type specified. - AVATAR_TYPE_SMALL = 0x0001, ///< Avatar resolution size: 32x32. - AVATAR_TYPE_MEDIUM = 0x0002, ///< Avatar resolution size: 64x64. - AVATAR_TYPE_LARGE = 0x0004 ///< Avatar resolution size: 184x184. - }; - - /** - * The bit sum of the AvatarType. - */ - typedef uint32_t AvatarCriteria; - - /** - * The state of the user - */ - enum PersonaState - { - PERSONA_STATE_OFFLINE, ///< User is not currently logged on. - PERSONA_STATE_ONLINE ///< User is logged on. - }; - - /** - * Listener for the event of changing persona data. - */ - class IPersonaDataChangedListener : public GalaxyTypeAwareListener - { - public: - - /** - * Describes what has changed about a user. - */ - enum PersonaStateChange - { - PERSONA_CHANGE_NONE = 0x0000, ///< No information has changed. - PERSONA_CHANGE_NAME = 0x0001, ///< Persona name has changed. - PERSONA_CHANGE_AVATAR = 0x0002, ///< Avatar, i.e. its URL, has changed. - PERSONA_CHANGE_AVATAR_DOWNLOADED_IMAGE_SMALL = 0x0004, ///< Small avatar image has been downloaded. - PERSONA_CHANGE_AVATAR_DOWNLOADED_IMAGE_MEDIUM = 0x0008, ///< Medium avatar image has been downloaded. - PERSONA_CHANGE_AVATAR_DOWNLOADED_IMAGE_LARGE = 0x0010, ///< Large avatar image has been downloaded. - PERSONA_CHANGE_AVATAR_DOWNLOADED_IMAGE_ANY = PERSONA_CHANGE_AVATAR_DOWNLOADED_IMAGE_SMALL | PERSONA_CHANGE_AVATAR_DOWNLOADED_IMAGE_MEDIUM | PERSONA_CHANGE_AVATAR_DOWNLOADED_IMAGE_LARGE ///< Any avatar images have been downloaded. - }; - - /** - * Notification for the event of changing persona data. - * - * @param [in] userID The ID of the user. - * @param [in] personaStateChange The bit sum of the PersonaStateChange. - */ - virtual void OnPersonaDataChanged(GalaxyID userID, uint32_t personaStateChange) = 0; - }; - - /** - * Globally self-registering version of IPersonaDataChangedListener. - */ - typedef SelfRegisteringListener GlobalPersonaDataChangedListener; - - /** - * Listener for the event of retrieving requested user's information. - */ - class IUserInformationRetrieveListener : public GalaxyTypeAwareListener - { - public: - - /** - * Notification for the event of a success in retrieving the user's information. - * - * @param [in] userID The ID of the user. - */ - virtual void OnUserInformationRetrieveSuccess(GalaxyID userID) = 0; - - /** - * The reason of a failure in retrieving the user's information. - */ - enum FailureReason - { - FAILURE_REASON_UNDEFINED, ///< Unspecified error. - FAILURE_REASON_CONNECTION_FAILURE ///< Unable to communicate with backend services. - }; - - /** - * Notification for the event of a failure in retrieving the user's information. - * - * @param [in] userID The ID of the user. - * @param [in] failureReason The cause of the failure. - */ - virtual void OnUserInformationRetrieveFailure(GalaxyID userID, FailureReason failureReason) = 0; - }; - - /** - * Globally self-registering version of IUserInformationRetrieveListener. - */ - typedef SelfRegisteringListener GlobalUserInformationRetrieveListener; - - /** - * Listener for the event of retrieving requested list of friends. - */ - class IFriendListListener : public GalaxyTypeAwareListener - { - public: - - /** - * Notification for the event of a success in retrieving the user's list of friends. - * - * In order to read subsequent friend IDs, call IFriends::GetFriendCount() and IFriends::GetFriendByIndex(). - */ - virtual void OnFriendListRetrieveSuccess() = 0; - - /** - * The reason of a failure in retrieving the user's list of friends. - */ - enum FailureReason - { - FAILURE_REASON_UNDEFINED, ///< Unspecified error. - FAILURE_REASON_CONNECTION_FAILURE ///< Unable to communicate with backend services. - }; - - /** - * Notification for the event of a failure in retrieving the user's list of friends. - * - * @param [in] failureReason The cause of the failure. - */ - virtual void OnFriendListRetrieveFailure(FailureReason failureReason) = 0; - }; - - /** - * Globally self-registering version of IFriendListListener. - */ - typedef SelfRegisteringListener GlobalFriendListListener; - - /** - * Listener for the event of sending a friend invitation. - */ - class IFriendInvitationSendListener : public GalaxyTypeAwareListener - { - public: - - /** - * Notification for the event of a success in sending a friend invitation. - * - * @param [in] userID The ID of the user to whom the invitation was being sent. - */ - virtual void OnFriendInvitationSendSuccess(GalaxyID userID) = 0; - - /** - * The reason of a failure in sending a friend invitation. - */ - enum FailureReason - { - FAILURE_REASON_UNDEFINED, ///< Unspecified error. - FAILURE_REASON_USER_DOES_NOT_EXIST, ///< User does not exist. - FAILURE_REASON_USER_ALREADY_INVITED, ///< Friend invitation already sent to the user. - FAILURE_REASON_USER_ALREADY_FRIEND, ///< User already on the friend list. - FAILURE_REASON_CONNECTION_FAILURE ///< Unable to communicate with backend services. - }; - - /** - * Notification for the event of a failure in sending a friend invitation. - * - * @param [in] userID The ID of the user to whom the invitation was being sent. - * @param [in] failureReason The cause of the failure. - */ - virtual void OnFriendInvitationSendFailure(GalaxyID userID, FailureReason failureReason) = 0; - }; - - /** - * Globally self-registering version of IFriendInvitationSendListener. - */ - typedef SelfRegisteringListener GlobalFriendInvitationSendListener; - - /** - * Listener for the event of retrieving requested list of incoming friend invitations. - */ - class IFriendInvitationListRetrieveListener : public GalaxyTypeAwareListener - { - public: - - /** - * Notification for the event of a success in retrieving the user's list of incoming friend invitations. - * - * In order to read subsequent invitation IDs, call and IFriends::GetFriendInvitationByIndex(). - */ - virtual void OnFriendInvitationListRetrieveSuccess() = 0; - - /** - * The reason of a failure in retrieving the user's list of incoming friend invitations. - */ - enum FailureReason - { - FAILURE_REASON_UNDEFINED, ///< Unspecified error. - FAILURE_REASON_CONNECTION_FAILURE ///< Unable to communicate with backend services. - }; - - /** - * Notification for the event of a failure in retrieving the user's list of incoming friend invitations. - * - * @param [in] failureReason The cause of the failure. - */ - virtual void OnFriendInvitationListRetrieveFailure(FailureReason failureReason) = 0; - - }; - - /** - * Globally self-registering version of IFriendInvitationListRetrieveListener. - */ - typedef SelfRegisteringListener GlobalFriendInvitationListRetrieveListener; - - /** - * Listener for the event of retrieving requested list of outgoing friend invitations. - */ - class ISentFriendInvitationListRetrieveListener : public GalaxyTypeAwareListener - { - public: - - /** - * Notification for the event of a success in retrieving the user's list of outgoing friend invitations. - * - * In order to read subsequent invitation IDs, call and IFriends::GetFriendInvitationByIndex(). - */ - virtual void OnSentFriendInvitationListRetrieveSuccess() = 0; - - /** - * The reason of a failure in retrieving the user's list of outgoing friend invitations. - */ - enum FailureReason - { - FAILURE_REASON_UNDEFINED, ///< Unspecified error. - FAILURE_REASON_CONNECTION_FAILURE ///< Unable to communicate with backend services. - }; - - /** - * Notification for the event of a failure in retrieving the user's list of outgoing friend invitations. - * - * @param [in] failureReason The cause of the failure. - */ - virtual void OnSentFriendInvitationListRetrieveFailure(FailureReason failureReason) = 0; - }; - - /** - * Globally self-registering version of ISentFriendInvitationListRetrieveListener. - */ - typedef SelfRegisteringListener GlobalSentFriendInvitationListRetrieveListener; - - /** - * Listener for the event of receiving a friend invitation. - */ - class IFriendInvitationListener : public GalaxyTypeAwareListener - { - public: - - /** - * Notification for the event of receiving a friend invitation. - * - * @param [in] userID The ID of the user who sent the friend invitation. - * @param [in] sendTime The time at which the friend invitation was sent. - */ - virtual void OnFriendInvitationReceived(GalaxyID userID, uint32_t sendTime) = 0; - }; - - /** - * Globally self-registering version of IFriendInvitationListener. - */ - typedef SelfRegisteringListener GlobalFriendInvitationListener; - - /** - * Listener for the event of responding to a friend invitation. - */ - class IFriendInvitationRespondToListener : public GalaxyTypeAwareListener - { - public: - - /** - * Notification for the event of a success in responding to a friend invitation. - * - * @param [in] userID The ID of the user who sent the invitation. - * @param [in] accept True when accepting the invitation, false when declining. - */ - virtual void OnFriendInvitationRespondToSuccess(GalaxyID userID, bool accept) = 0; - - /** - * The reason of a failure in responding to a friend invitation. - */ - enum FailureReason - { - FAILURE_REASON_UNDEFINED, ///< Unspecified error. - FAILURE_REASON_USER_DOES_NOT_EXIST, ///< User does not exist. - FAILURE_REASON_FRIEND_INVITATION_DOES_NOT_EXIST, ///< Friend invitation does not exist. - FAILURE_REASON_USER_ALREADY_FRIEND, ///< User already on the friend list. - FAILURE_REASON_CONNECTION_FAILURE ///< Unable to communicate with backend services. - }; - - /** - * Notification for the event of a failure in responding to a friend invitation. - * - * @param [in] userID The ID of the user who sent the invitation. - * @param [in] failureReason The cause of the failure. - */ - virtual void OnFriendInvitationRespondToFailure(GalaxyID userID, FailureReason failureReason) = 0; - }; - - /** - * Globally self-registering version of IFriendInvitationRespondToListener. - */ - typedef SelfRegisteringListener GlobalFriendInvitationRespondToListener; - - /** - * Listener for the event of a user being added to the friend list. - */ - class IFriendAddListener : public GalaxyTypeAwareListener - { - public: - - /** - * The direction of the invitation that initiated the change in the friend list. - */ - enum InvitationDirection - { - INVITATION_DIRECTION_INCOMING, ///< The user indicated in the notification was the inviter. - INVITATION_DIRECTION_OUTGOING ///< The user indicated in the notification was the invitee. - }; - - /** - * Notification for the event of a user being added to the friend list. - * - * @param [in] userID The ID of the user who has just been added to the friend list. - * @param [in] invitationDirection The direction of the invitation that determines the inviter and the invitee. - */ - virtual void OnFriendAdded(GalaxyID userID, InvitationDirection invitationDirection) = 0; - }; - - /** - * Globally self-registering version of IFriendAddListener. - */ - typedef SelfRegisteringListener GlobalFriendAddListener; - - /** - * Listener for the event of removing a user from the friend list. - */ - class IFriendDeleteListener : public GalaxyTypeAwareListener - { - public: - - /** - * Notification for the event of a success in removing a user from the friend list. - * - * @param [in] userID The ID of the user requested to be removed from the friend list. - */ - virtual void OnFriendDeleteSuccess(GalaxyID userID) = 0; - - /** - * The reason of a failure in removing a user from the friend list. - */ - enum FailureReason - { - FAILURE_REASON_UNDEFINED, ///< Unspecified error. - FAILURE_REASON_CONNECTION_FAILURE ///< Unable to communicate with backend services. - }; - - /** - * Notification for the event of a failure in removing a user from the friend list. - * - * @param [in] userID The ID of the user requested to be removed from the friend list. - * @param [in] failureReason The cause of the failure. - */ - virtual void OnFriendDeleteFailure(GalaxyID userID, FailureReason failureReason) = 0; - }; - - /** - * Globally self-registering version of IFriendDeleteListener. - */ - typedef SelfRegisteringListener GlobalFriendDeleteListener; - - /** - * Listener for the event of rich presence modification. - */ - class IRichPresenceChangeListener : public GalaxyTypeAwareListener - { - public: - - /** - * Notification for the event of successful rich presence change. - */ - virtual void OnRichPresenceChangeSuccess() = 0; - - /** - * The reason of a failure in rich presence modification. - */ - enum FailureReason - { - FAILURE_REASON_UNDEFINED, ///< Unspecified error. - FAILURE_REASON_CONNECTION_FAILURE ///< Unable to communicate with backend services. - }; - - /** - * Notification for the event of failure to modify rich presence. - * - * @param [in] failureReason The cause of the failure. - */ - virtual void OnRichPresenceChangeFailure(FailureReason failureReason) = 0; - }; - - /** - * Globally self-registering version of IRichPresenceChangeListener. - */ - typedef SelfRegisteringListener GlobalRichPresenceChangeListener; - - /** - * Listener for the event of any user rich presence update. - */ - class IRichPresenceListener : public GalaxyTypeAwareListener - { - public: - - /** - * Notification for the event of successful rich presence update. - * - * @param [in] userID The ID of the user. - */ - virtual void OnRichPresenceUpdated(GalaxyID userID) = 0; - }; - - /** - * Globally self-registering version of IRichPresenceListener. - */ - typedef SelfRegisteringListener GlobalRichPresenceListener; - - /** - * Listener for the event of retrieving requested user's rich presence. - */ - class IRichPresenceRetrieveListener : public GalaxyTypeAwareListener - { - public: - - /** - * Notification for the event of a success in retrieving the user's rich presence. - * - * @param [in] userID The ID of the user. - */ - virtual void OnRichPresenceRetrieveSuccess(GalaxyID userID) = 0; - - /** - * The reason of a failure in retrieving the user's rich presence. - */ - enum FailureReason - { - FAILURE_REASON_UNDEFINED, ///< Unspecified error. - FAILURE_REASON_CONNECTION_FAILURE ///< Unable to communicate with backend services. - }; - - /** - * Notification for the event of a failure in retrieving the user's rich presence. - * - * @param [in] userID The ID of the user. - * @param [in] failureReason The cause of the failure. - */ - virtual void OnRichPresenceRetrieveFailure(GalaxyID userID, FailureReason failureReason) = 0; - }; - - /** - * Globally self-registering version of IRichPresenceRetrieveListener. - */ - typedef SelfRegisteringListener GlobalRichPresenceRetrieveListener; - - /** - * Event of requesting a game join by user. - * - * This can be triggered by accepting a game invitation - * or by user's request to join a friend's game. - */ - class IGameJoinRequestedListener : public GalaxyTypeAwareListener - { - public: - - /** - * Notification for the event of accepting a game invitation. - * - * @param [in] userID The ID of the user who sent invitation. - * @param [in] connectionString The string which contains connection info. - */ - virtual void OnGameJoinRequested(GalaxyID userID, const char* connectionString) = 0; - }; - - /** - * Globally self-registering version of IGameJoinRequestedListener. - */ - typedef SelfRegisteringListener GlobalGameJoinRequestedListener; - - /** - * Event of receiving a game invitation. - * - * This can be triggered by receiving connection string. - */ - class IGameInvitationReceivedListener : public GalaxyTypeAwareListener - { - public: - - /** - * Notification for the event of receiving a game invitation. - * - * @param [in] userID The ID of the user who sent invitation. - * @param [in] connectionString The string which contains connection info. - */ - virtual void OnGameInvitationReceived(GalaxyID userID, const char* connectionString) = 0; - }; - - /** - * Globally self-registering version of IGameInvitationReceivedListener. - */ - typedef SelfRegisteringListener GlobalGameInvitationReceivedListener; - - /** - * Listener for the event of sending an invitation without using the overlay. - */ - class ISendInvitationListener : public GalaxyTypeAwareListener - { - public: - - /** - * Notification for the event of success in sending an invitation. - * - * @param [in] userID The ID of the user to whom the invitation was being sent. - * @param [in] connectionString The string which contains connection info. - */ - virtual void OnInvitationSendSuccess(GalaxyID userID, const char* connectionString) = 0; - - /** - * The reason of a failure in sending an invitation. - */ - enum FailureReason - { - FAILURE_REASON_UNDEFINED, ///< Unspecified error. - FAILURE_REASON_USER_DOES_NOT_EXIST, ///< Receiver does not exist. - FAILURE_REASON_RECEIVER_DOES_NOT_ALLOW_INVITING, ///< Receiver does not allow inviting - FAILURE_REASON_SENDER_DOES_NOT_ALLOW_INVITING, ///< Sender does not allow inviting - FAILURE_REASON_RECEIVER_BLOCKED, ///< Receiver blocked by sender. - FAILURE_REASON_SENDER_BLOCKED, ///< Sender blocked by receiver. Will also occur if both users blocked each other. - FAILURE_REASON_CONNECTION_FAILURE ///< Unable to communicate with backend services. - }; - - /** - * Notification for the event of a failure in sending an invitation. - * - * @param [in] userID The ID of the user to whom the invitation was being sent. - * @param [in] connectionString The string which contains connection info. - * @param [in] failureReason The cause of the failure. - */ - virtual void OnInvitationSendFailure(GalaxyID userID, const char* connectionString, FailureReason failureReason) = 0; - }; - - /** - * Globally self-registering version of ISendInvitationListener. - */ - typedef SelfRegisteringListener GlobalSendInvitationListener; - - /** - * Listener for the event of searching a user. - */ - class IUserFindListener : public GalaxyTypeAwareListener - { - public: - - /** - * Notification for the event of success in finding a user. - * - * @param [in] userSpecifier The user specifier by which user search was performed. - * @param [in] userID The ID of the found user. - */ - virtual void OnUserFindSuccess(const char* userSpecifier, GalaxyID userID) = 0; - - /** - * The reason of a failure in searching a user. - */ - enum FailureReason - { - FAILURE_REASON_UNDEFINED, ///< Unspecified error. - FAILURE_REASON_USER_NOT_FOUND, ///< Specified user was not found. - FAILURE_REASON_CONNECTION_FAILURE ///< Unable to communicate with backend services. - }; - - /** - * Notification for the event of a failure in finding a user. - * - * @param [in] userSpecifier The user specifier by which user search was performed. - * @param [in] failureReason The cause of the failure. - */ - virtual void OnUserFindFailure(const char* userSpecifier, FailureReason failureReason) = 0; - }; - - /** - * Globally self-registering version of IUserFindListener. - */ - typedef SelfRegisteringListener GlobalUserFindListener; - - /** - * The interface for managing social info and activities. - */ - class IFriends - { - public: - - virtual ~IFriends() - { - } - - /** - * Returns the default avatar criteria. - * - * @return The bit sum of default AvatarType. - */ - virtual AvatarCriteria GetDefaultAvatarCriteria() = 0; - - /** - * Sets the default avatar criteria. - * - * @remark The avatar criteria will be used for automated downloads of user information, - * as well as additional criteria in case of calling RequestUserInformation(). - * - * @param [in] defaultAvatarCriteria The bit sum of default AvatarType. - */ - virtual void SetDefaultAvatarCriteria(AvatarCriteria defaultAvatarCriteria) = 0; - - /** - * Performs a request for information about specified user. - * - * This call is asynchronous. Responses come both to the IPersonaDataChangedListener - * and to the IUserInformationRetrieveListener. - * - * @remark This call is performed automatically for friends (after requesting the list - * of friends) and fellow lobby members (after entering a lobby or getting a notification - * about some other user joining it), therefore in many cases there is no need for you - * to call it manually and all you should do is wait for the appropriate callback - * to come to the IPersonaDataChangedListener. - * - * @remark User avatar will be downloaded according to bit sum of avatarCriteria and - * defaultAvatarCriteria set by calling SetDefaultAvatarCriteria(). - * - * @param [in] userID The ID of the user. - * @param [in] avatarCriteria The bit sum of the AvatarType. - * @param [in] listener The listener for specific operation. - */ - virtual void RequestUserInformation( - GalaxyID userID, - AvatarCriteria avatarCriteria = AVATAR_TYPE_NONE, - IUserInformationRetrieveListener* const listener = NULL) = 0; - - /** - * Checks if the information of specified user is available. - * - * @pre Retrieve the information by calling RequestUserInformation(). - * - * @param [in] userID The ID of the user. - * @return true if the information of the user is available, false otherwise. - */ - virtual bool IsUserInformationAvailable(GalaxyID userID) = 0; - - /** - * Returns the user's nickname. - * - * @remark This call is not thread-safe as opposed to GetPersonaNameCopy(). - * - * @return The nickname of the user. - */ - virtual const char* GetPersonaName() = 0; - - /** - * Copies the user's nickname to a buffer. - * - * @param [in, out] buffer The output buffer. - * @param [in] bufferLength The size of the output buffer. - */ - virtual void GetPersonaNameCopy(char* buffer, uint32_t bufferLength) = 0; - - /** - * Returns the user's state. - * - * @return The state of the user. - */ - virtual PersonaState GetPersonaState() = 0; - - /** - * Returns the nickname of a specified user. - * - * @remark This call is not thread-safe as opposed to GetFriendPersonaNameCopy(). - * - * @pre You might need to retrieve the data first by calling RequestUserInformation(). - * - * @param [in] userID The ID of the user. - * @return The nickname of the user. - */ - virtual const char* GetFriendPersonaName(GalaxyID userID) = 0; - - /** - * Copies the nickname of a specified user. - * - * @pre You might need to retrieve the data first by calling RequestUserInformation(). - * - * @param [in] userID The ID of the user. - * @param [in, out] buffer The output buffer. - * @param [in] bufferLength The size of the output buffer. - */ - virtual void GetFriendPersonaNameCopy(GalaxyID userID, char* buffer, uint32_t bufferLength) = 0; - - /** - * Returns the state of a specified user. - * - * @pre You might need to retrieve the data first by calling RequestUserInformation(). - * - * @param [in] userID The ID of the user. - * @return The state of the user. - */ - virtual PersonaState GetFriendPersonaState(GalaxyID userID) = 0; - - /** - * Returns the URL of the avatar of a specified user. - * - * @remark This call is not thread-safe as opposed to GetFriendAvatarUrlCopy(). - * - * @pre You might need to retrieve the data first by calling RequestUserInformation(). - * - * @param [in] userID The ID of the user. - * @param [in] avatarType The type of avatar. - * @return The URL of the avatar. - */ - virtual const char* GetFriendAvatarUrl(GalaxyID userID, AvatarType avatarType) = 0; - - /** - * Copies URL of the avatar of a specified user. - * - * @pre You might need to retrieve the data first by calling RequestUserInformation(). - * - * @param [in] userID The ID of the user. - * @param [in] avatarType The type of avatar. - * @param [in, out] buffer The output buffer. - * @param [in] bufferLength The size of the output buffer. - */ - virtual void GetFriendAvatarUrlCopy(GalaxyID userID, AvatarType avatarType, char* buffer, uint32_t bufferLength) = 0; - - /** - * Returns the ID of the avatar of a specified user. - * - * @pre Retrieve the avatar image first by calling RequestUserInformation() - * with appropriate avatar criteria. - * - * @param [in] userID The ID of the user. - * @param [in] avatarType The type of avatar. - * @return The ID of the avatar image. - */ - virtual uint32_t GetFriendAvatarImageID(GalaxyID userID, AvatarType avatarType) = 0; - - /** - * Copies the avatar of a specified user. - * - * @pre Retrieve the avatar image first by calling RequestUserInformation() - * with appropriate avatar criteria. - * - * @pre The size of the output buffer should be 4 * height * width * sizeof(char). - * - * @param [in] userID The ID of the user. - * @param [in] avatarType The type of avatar. - * @param [in, out] buffer The output buffer. - * @param [in] bufferLength The size of the output buffer. - */ - virtual void GetFriendAvatarImageRGBA(GalaxyID userID, AvatarType avatarType, void* buffer, uint32_t bufferLength) = 0; - - /** - * Checks if a specified avatar image is available. - * - * @param [in] userID The ID of the user. - * @param [in] avatarType The type of avatar. - * @return true if the specified avatar image is available, false otherwise. - */ - virtual bool IsFriendAvatarImageRGBAAvailable(GalaxyID userID, AvatarType avatarType) = 0; - - /** - * Performs a request for the user's list of friends. - * - * This call is asynchronous. Responses come to the IFriendListListener. - * - * @param [in] listener The listener for specific operation. - */ - virtual void RequestFriendList(IFriendListListener* const listener = NULL) = 0; - - /** - * Checks if a specified user is a friend. - * - * @pre Retrieve the list of friends first by calling RequestFriendList(). - * - * @param [in] userID The ID of the user. - * @return true if the specified user is a friend, false otherwise. - */ - virtual bool IsFriend(GalaxyID userID) = 0; - - /** - * Returns the number of retrieved friends in the user's list of friends. - * - * @pre Retrieve the list of friends first by calling RequestFriendList(). - * - * @return The number of retrieved friends, or 0 if failed. - */ - virtual uint32_t GetFriendCount() = 0; - - /** - * Returns the GalaxyID for a friend. - * - * @pre Retrieve the list of friends first by calling RequestFriendList(). - * - * @param [in] index Index as an integer in the range of [0, number of friends). - * @return The GalaxyID of the friend. - */ - virtual GalaxyID GetFriendByIndex(uint32_t index) = 0; - - /** - * Sends a friend invitation. - * - * This call is asynchronous. Responses come to the IFriendInvitationSendListener. - * - * @param [in] userID The ID of the user. - * @param [in] listener The listener for specific operation. - */ - virtual void SendFriendInvitation(GalaxyID userID, IFriendInvitationSendListener* const listener = NULL) = 0; - - /** - * Performs a request for the user's list of incoming friend invitations. - * - * This call is asynchronous. Responses come to the IFriendInvitationListRetrieveListener. - * - * @param [in] listener The listener for specific operation. - */ - virtual void RequestFriendInvitationList(IFriendInvitationListRetrieveListener* const listener = NULL) = 0; - - /** - * Performs a request for the user's list of outgoing friend invitations. - * - * This call is asynchronous. Responses come to the ISentFriendInvitationListRetrieveListener. - * - * @param [in] listener The listener for specific operation. - */ - virtual void RequestSentFriendInvitationList(ISentFriendInvitationListRetrieveListener* const listener = NULL) = 0; - - /** - * Returns the number of retrieved friend invitations. - * - * @remark This function can be used only in IFriendInvitationListRetrieveListener callback. - * - * @return The number of retrieved friend invitations, or 0 if failed. - */ - virtual uint32_t GetFriendInvitationCount() = 0; - - /** - * Reads the details of the friend invitation. - * - * @remark This function can be used only in IFriendInvitationListRetrieveListener callback. - * - * @param [in] index Index as an integer in the range of [0, number of friend invitations). - * @param [out] userID The ID of the user who sent the invitation. - * @param [out] sendTime The time at which the friend invitation was sent. - */ - virtual void GetFriendInvitationByIndex(uint32_t index, GalaxyID& userID, uint32_t& sendTime) = 0; - - /** - * Responds to the friend invitation. - * - * This call is asynchronous. Responses come to the IFriendInvitationRespondToListener. - * - * @param [in] userID The ID of the user who sent the friend invitation. - * @param [in] accept True when accepting the invitation, false when declining. - * @param [in] listener The listener for specific operation. - */ - virtual void RespondToFriendInvitation(GalaxyID userID, bool accept, IFriendInvitationRespondToListener* const listener = NULL) = 0; - - /** - * Removes a user from the friend list. - * - * This call in asynchronous. Responses come to the IFriendDeleteListener. - * - * @param [in] userID The ID of the user to be removed from the friend list. - * @param [in] listener The listener for specific operation. - */ - virtual void DeleteFriend(GalaxyID userID, IFriendDeleteListener* const listener = NULL) = 0; - - /** - * Sets the variable value under a specified name. - * - * There are three keys that can be used: - * - "status" - The description visible in Galaxy Client with the limit of 3000 bytes. - * - "metadata" - The metadata that describes the status to other instances of the game with the limit of 2048 bytes. - * - "connect" - The string which contains connection info with the limit of 4095 bytes. - * It can be regarded as a passive version of IFriends::SendInvitation() because - * it allows friends that notice the rich presence to join a multiplayer game. - * - * User must be signed in through Galaxy. - * - * Passing NULL value removes the entry. - * - * This call in asynchronous. Responses come to the IRichPresenceChangeListener. - * - * @param [in] key The name of the property of the user's rich presence. - * @param [in] value The value of the property to set. - * @param [in] listener The listener for specific operation. - */ - virtual void SetRichPresence(const char* key, const char* value, IRichPresenceChangeListener* const listener = NULL) = 0; - - /** - * Removes the variable value under a specified name. - * - * If the variable doesn't exist method call has no effect. - * - * This call in asynchronous. Responses come to the IRichPresenceChangeListener. - * - * @param [in] key The name of the variable to be removed. - * @param [in] listener The listener for specific operation. - */ - virtual void DeleteRichPresence(const char* key, IRichPresenceChangeListener* const listener = NULL) = 0; - - /** - * Removes all rich presence data for the user. - * - * This call in asynchronous. Responses come to the IRichPresenceChangeListener. - * - * @param [in] listener The listener for specific operation. - */ - virtual void ClearRichPresence(IRichPresenceChangeListener* const listener = NULL) = 0; - - /** - * Performs a request for the user's rich presence. - * - * This call is asynchronous. Responses come both to the IRichPresenceListener - * and IRichPresenceRetrieveListener. - * - * @param [in] userID The ID of the user. - * @param [in] listener The listener for specific operation. - */ - virtual void RequestRichPresence(GalaxyID userID = GalaxyID(), IRichPresenceRetrieveListener* const listener = NULL) = 0; - - /** - * Returns the rich presence of a specified user. - * - * @remark This call is not thread-safe as opposed to GetRichPresenceCopy(). - * - * @pre Retrieve the rich presence first by calling RequestRichPresence(). - * - * @param [in] userID The ID of the user. - * @param [in] key The name of the property of the user's rich presence. - * @return The rich presence of the user. - */ - virtual const char* GetRichPresence(const char* key, GalaxyID userID = GalaxyID()) = 0; - - /** - * Copies the rich presence of a specified user to a buffer. - * - * @pre Retrieve the rich presence first by calling RequestRichPresence(). - * - * @param [in] key The name of the property of the user's rich presence. - * @param [in, out] buffer The output buffer. - * @param [in] bufferLength The size of the output buffer. - * @param [in] userID The ID of the user. - */ - virtual void GetRichPresenceCopy(const char* key, char* buffer, uint32_t bufferLength, GalaxyID userID = GalaxyID()) = 0; - - /** - * Returns the number of retrieved properties in user's rich presence. - * - * @param [in] userID The ID of the user. - * @return The number of retrieved keys, or 0 if failed. - */ - virtual uint32_t GetRichPresenceCount(GalaxyID userID = GalaxyID()) = 0; - - /** - * Returns a property from the rich presence storage by index. - * - * @pre Retrieve the rich presence first by calling RequestRichPresence(). - * - * @param [in] index Index as an integer in the range of [0, number of entries). - * @param [in, out] key The name of the property of the rich presence storage. - * @param [in] keyLength The length of the name of the property of the rich presence storage. - * @param [in, out] value The value of the property of the rich presence storage. - * @param [in] valueLength The length of the value of the property of the rich presence storage. - * @param [in] userID The ID of the user. - */ - virtual void GetRichPresenceByIndex(uint32_t index, char* key, uint32_t keyLength, char* value, uint32_t valueLength, GalaxyID userID = GalaxyID()) = 0; - - /** - * Shows game invitation dialog that allows to invite users to game. - * - * If invited user accepts the invitation, the connection string - * gets added to the command-line parameters for launching the game. - * If the game is already running, the connection string comes to the IGameInvitationReceivedListener, - * or to the IGameJoinRequestedListener if accepted by the user on the overlay. - * - * @pre For this call to work, the overlay needs to be initialized first. - * To check whether the overlay is initialized, call IUtils::GetOverlayState(). - * - * @param [in] connectionString The string which contains connection info with the limit of 4095 bytes. - */ - virtual void ShowOverlayInviteDialog(const char* connectionString) = 0; - - /** - * Sends a game invitation without using the overlay. - * - * This call is asynchronous. Responses come to the ISendInvitationListener. - * - * If invited user accepts the invitation, the connection string - * gets added to the command-line parameters for launching the game. - * If the game is already running, the connection string comes to the IGameInvitationReceivedListener, - * or to the IGameJoinRequestedListener if accepted by the user on the overlay. - * - * @param [in] userID The ID of the user. - * @param [in] connectionString The string which contains connection info with the limit of 4095 bytes. - * @param [in] listener The listener for specific operation. - */ - virtual void SendInvitation(GalaxyID userID, const char* connectionString, ISendInvitationListener* const listener = NULL) = 0; - - /** - * Finds a specified user. - * - * This call is asynchronous. Responses come to the IUserFindListener. - * - * Searches for the user given either a username or an email address. - * Only exact match will be returned. - * - * @param [in] userSpecifier The specifier of the user. - * @param [in] listener The listener for specific operation. - */ - virtual void FindUser(const char* userSpecifier, IUserFindListener* const listener = NULL) = 0; - - /** - * Checks if a specified user is playing the same game. - * - * @pre Retrieve the rich presence first by calling RequestRichPresence(). - * - * @param [in] userID The ID of the user. - * @return true if the specified user is playing the same game, false otherwise. - */ - virtual bool IsUserInTheSameGame(GalaxyID userID) const = 0; - }; - - /** @} */ - } -} - -#endif diff --git a/vendors/galaxy/Include/galaxy/IListenerRegistrar.h b/vendors/galaxy/Include/galaxy/IListenerRegistrar.h deleted file mode 100644 index 3116068fb..000000000 --- a/vendors/galaxy/Include/galaxy/IListenerRegistrar.h +++ /dev/null @@ -1,238 +0,0 @@ -#ifndef GALAXY_I_LISTENER_REGISTRAR_H -#define GALAXY_I_LISTENER_REGISTRAR_H - -/** - * @file - * Contains data structures and interfaces related to callback listeners. - */ - -#include "stdint.h" -#include -#include "GalaxyExport.h" - -namespace galaxy -{ - namespace api - { - /** - * @addtogroup api - * @{ - */ - - /** - * Listener type. Used when registering or unregistering instances of listeners. - * - * Specific listener interfaces are type-aware, i.e. they provide a convenience - * method that returns their type. - */ - enum ListenerType - { - LISTENER_TYPE_BEGIN, ///< Used for iterating over listener types. - LOBBY_LIST = LISTENER_TYPE_BEGIN, ///< Used by ILobbyListListener. - LOBBY_CREATED, ///< Used by ILobbyCreatedListener. - LOBBY_ENTERED, ///< Used by ILobbyEnteredListener. - LOBBY_LEFT, ///< Used by ILobbyLeftListener. - LOBBY_DATA, ///< Used by ILobbyDataListener. - LOBBY_MEMBER_STATE, ///< Used by ILobbyMemberStateListener. - LOBBY_OWNER_CHANGE, ///< Used by ILobbyOwnerChangeListener. - AUTH, ///< Used by IAuthListener. - LOBBY_MESSAGE, ///< Used by ILobbyMessageListener. - NETWORKING, ///< Used by INetworkingListener. - _SERVER_NETWORKING, ///< @deprecated Used by IServerNetworkingListener. - USER_DATA, ///< Used by IUserDataListener. - USER_STATS_AND_ACHIEVEMENTS_RETRIEVE, ///< Used by IUserStatsAndAchievementsRetrieveListener. - STATS_AND_ACHIEVEMENTS_STORE, ///< Used by IStatsAndAchievementsStoreListener. - ACHIEVEMENT_CHANGE, ///< Used by IAchievementChangeListener. - LEADERBOARDS_RETRIEVE, ///< Used by ILeaderboardsRetrieveListener. - LEADERBOARD_ENTRIES_RETRIEVE, ///< Used by ILeaderboardEntriesRetrieveListener. - LEADERBOARD_SCORE_UPDATE_LISTENER, ///< Used by ILeaderboardScoreUpdateListener. - PERSONA_DATA_CHANGED, ///< Used by IPersonaDataChangedListener. - RICH_PRESENCE_CHANGE_LISTENER, ///< Used by IRichPresenceChangeListener. - GAME_JOIN_REQUESTED_LISTENER, ///< Used by IGameJoinRequested. - OPERATIONAL_STATE_CHANGE, ///< Used by IOperationalStateChangeListener. - _OVERLAY_STATE_CHANGE, ///< @deprecated Replaced with OVERLAY_VISIBILITY_CHANGE - FRIEND_LIST_RETRIEVE, ///< Used by IFriendListListener. - ENCRYPTED_APP_TICKET_RETRIEVE, ///< Used by IEncryptedAppTicketListener. - ACCESS_TOKEN_CHANGE, ///< Used by IAccessTokenListener. - LEADERBOARD_RETRIEVE, ///< Used by ILeaderboardRetrieveListener. - SPECIFIC_USER_DATA, ///< Used by ISpecificUserDataListener. - INVITATION_SEND, ///< Used by ISendInvitationListener. - RICH_PRESENCE_LISTENER, ///< Used by IRichPresenceListener. - GAME_INVITATION_RECEIVED_LISTENER, ///< Used by IGameInvitationReceivedListener. - NOTIFICATION_LISTENER, ///< Used by INotificationListener. - LOBBY_DATA_RETRIEVE, ///< Used by ILobbyDataRetrieveListener. - USER_TIME_PLAYED_RETRIEVE, ///< Used by IUserTimePlayedRetrieveListener. - OTHER_SESSION_START, ///< Used by IOtherSessionStartListener. - _STORAGE_SYNCHRONIZATION, ///< @deprecated Synchronization is performed solely by Galaxy Client. - FILE_SHARE, ///< Used by IFileShareListener. - SHARED_FILE_DOWNLOAD, ///< Used by ISharedFileDownloadListener. - CUSTOM_NETWORKING_CONNECTION_OPEN, ///< Used by IConnectionOpenListener. - CUSTOM_NETWORKING_CONNECTION_CLOSE, ///< Used by IConnectionCloseListener. - CUSTOM_NETWORKING_CONNECTION_DATA, ///< Used by IConnectionDataListener. - OVERLAY_INITIALIZATION_STATE_CHANGE, ///< Used by IOverlayInitializationStateChangeListener. - OVERLAY_VISIBILITY_CHANGE, ///< Used by IOverlayVisibilityChangeListener. - CHAT_ROOM_WITH_USER_RETRIEVE_LISTENER, ///< Used by IChatRoomWithUserRetrieveListener. - CHAT_ROOM_MESSAGE_SEND_LISTENER, ///< Used by IChatRoomMessageSendListener. - CHAT_ROOM_MESSAGES_LISTENER, ///< Used by IChatRoomMessagesListener. - FRIEND_INVITATION_SEND_LISTENER, ///< Used by IFriendInvitationSendListener. - FRIEND_INVITATION_LIST_RETRIEVE_LISTENER, ///< Used by IFriendInvitationListRetrieveListener. - FRIEND_INVITATION_LISTENER, ///< Used by IFriendInvitationListener. - FRIEND_INVITATION_RESPOND_TO_LISTENER, ///< Used by IFriendInvitationRespondToListener. - FRIEND_ADD_LISTENER, ///< Used by IFriendAddListener. - FRIEND_DELETE_LISTENER, ///< Used by IFriendDeleteListener. - CHAT_ROOM_MESSAGES_RETRIEVE_LISTENER, ///< Used by IChatRoomMessagesRetrieveListener. - USER_FIND_LISTENER, ///< Used by IUserFindListener. - NAT_TYPE_DETECTION, ///< Used by INatTypeDetectionListener. - SENT_FRIEND_INVITATION_LIST_RETRIEVE_LISTENER, ///< Used by ISentFriendInvitationListRetrieveListener. - LOBBY_DATA_UPDATE_LISTENER, /// < Used by ILobbyDataUpdateListener. - LOBBY_MEMBER_DATA_UPDATE_LISTENER, /// < Used by ILobbyDataUpdateListener. - USER_INFORMATION_RETRIEVE_LISTENER, ///< Used by IUserInformationRetrieveListener. - RICH_PRESENCE_RETRIEVE_LISTENER, ///< Used by IRichPresenceRetrieveListener. - GOG_SERVICES_CONNECTION_STATE_LISTENER, ///< Used by IGogServicesConnectionStateListener. - TELEMETRY_EVENT_SEND_LISTENER, ///< Used by ITelemetryEventSendListener. - LISTENER_TYPE_END ///< Used for iterating over listener types. - }; - - /** - * The interface that is implemented by all specific callback listeners. - */ - class IGalaxyListener - { - public: - - virtual ~IGalaxyListener() - { - } - }; - - /** - * The class that is inherited by all specific callback listeners and provides - * a static method that returns the type of the specific listener. - */ - template class GalaxyTypeAwareListener : public IGalaxyListener - { - public: - - /** - * Returns the type of the listener. - * - * @return The type of the listener. A value of ListenerType. - */ - static ListenerType GetListenerType() - { - return type; - } - }; - - /** - * The class that enables and disables global registration of the instances of - * specific listeners. You can either use it explicitly, or implicitly by - * inheriting from a self-registering basic listener of desired type. - */ - class IListenerRegistrar - { - public: - - virtual ~IListenerRegistrar() - { - } - - /** - * Globally registers a callback listener that inherits from IGalaxyListener - * and is of any of the standard listener types specified in ListenerType. - * - * @remark Call Unregister() for all registered listeners before calling - * Shutdown(). - * - * @param [in] listenerType The type of the listener. A value of ListenerType. - * @param [in] listener The specific listener of the specified type. - */ - virtual void Register(ListenerType listenerType, IGalaxyListener* listener) = 0; - - /** - * Unregisters a listener previously globally registered with Register() - * or registered for specific action. - * - * Call Unregister() unregisters listener from all pending asynchonous calls. - * - * @param [in] listenerType The type of the listener. A value of ListenerType. - * @param [in] listener The specific listener of the specified type. - */ - virtual void Unregister(ListenerType listenerType, IGalaxyListener* listener) = 0; - }; - - /** - * @addtogroup Peer - * @{ - */ - - /** - * Returns an instance of IListenerRegistrar. - * - * @return An instance of IListenerRegistrar. - */ - GALAXY_DLL_EXPORT IListenerRegistrar* GALAXY_CALLTYPE ListenerRegistrar(); - - /** @} */ - - /** - * @addtogroup GameServer - * @{ - */ - - /** - * Returns an instance of IListenerRegistrar interface the for Game Server entity. - * - * @return An instance of IListenerRegistrar. - */ - GALAXY_DLL_EXPORT IListenerRegistrar* GALAXY_CALLTYPE GameServerListenerRegistrar(); - - /** @} */ - - /** - * The class that is inherited by the self-registering versions of all specific - * callback listeners. An instance of a listener that derives from it - * automatically globally registers itself for proper callback notifications, - * and unregisters when destroyed, which is done with IListenerRegistrar. - * - * @remark You can provide a custom IListenerRegistrar, yet that would - * not make the listener visible for Galaxy Peer. For that the listener - * needs to be registered with the IListenerRegistrar of Galaxy Peer. - * - * @param [in] _Registrar The instance of IListenerRegistrar to use - * for registering and unregistering. Defaults to the one provided by Galaxy Peer. - */ - template - class SelfRegisteringListener : public _TypeAwareListener - { - public: - - /** - * Creates an instance of SelfRegisteringListener and registers it with the - * IListenerRegistrar provided by Galaxy Peer. - * - * @remark Delete all registered listeners before calling Shutdown(). - */ - SelfRegisteringListener() - { - if (_Registrar()) - _Registrar()->Register(_TypeAwareListener::GetListenerType(), this); - } - - /** - * Destroys the instance of SelfRegisteringListener and unregisters it with - * the instance of IListenerRegistrar that was used to register the - * listener when it was created. - */ - ~SelfRegisteringListener() - { - if (_Registrar()) - _Registrar()->Unregister(_TypeAwareListener::GetListenerType(), this); - } - }; - - /** @} */ - } -} - -#endif diff --git a/vendors/galaxy/Include/galaxy/ILogger.h b/vendors/galaxy/Include/galaxy/ILogger.h deleted file mode 100644 index 9972fbba1..000000000 --- a/vendors/galaxy/Include/galaxy/ILogger.h +++ /dev/null @@ -1,82 +0,0 @@ -#ifndef GALAXY_I_LOGGER_H -#define GALAXY_I_LOGGER_H - -/** - * @file - * Contains data structures and interfaces related to logging. - */ - -namespace galaxy -{ - namespace api - { - /** - * @addtogroup api - * @{ - */ - - /** - * The interface for logging. - */ - class ILogger - { - public: - - virtual ~ILogger() - { - } - - /** - * Creates a log entry with level TRACE. - * - * @param [in] format Format string. - * @param [in] ... Parameters for the format string. - */ - virtual void Trace(const char* format, ...) = 0; - - /** - * Creates a log entry with level DEBUG. - * - * @param [in] format Format string. - * @param [in] ... Parameters for the format string. - */ - virtual void Debug(const char* format, ...) = 0; - - /** - * Creates a log entry with level INFO. - * - * @param [in] format Format string. - * @param [in] ... Parameters for the format string. - */ - virtual void Info(const char* format, ...) = 0; - - /** - * Creates a log entry with level WARNING. - * - * @param [in] format Format string. - * @param [in] ... Parameters for the format string. - */ - virtual void Warning(const char* format, ...) = 0; - - /** - * Creates a log entry with level ERROR. - * - * @param [in] format Format string. - * @param [in] ... Parameters for the format string. - */ - virtual void Error(const char* format, ...) = 0; - - /** - * Creates a log entry with level FATAL. - * - * @param [in] format Format string. - * @param [in] ... Parameters for the format string. - */ - virtual void Fatal(const char* format, ...) = 0; - }; - - /** @} */ - } -} - -#endif diff --git a/vendors/galaxy/Include/galaxy/IMatchmaking.h b/vendors/galaxy/Include/galaxy/IMatchmaking.h deleted file mode 100644 index 0a6b053ac..000000000 --- a/vendors/galaxy/Include/galaxy/IMatchmaking.h +++ /dev/null @@ -1,922 +0,0 @@ -#ifndef GALAXY_I_MATCHMAKING_H -#define GALAXY_I_MATCHMAKING_H - -/** - * @file - * Contains data structures and interfaces related to matchmaking. - */ - -#include "GalaxyID.h" -#include "IListenerRegistrar.h" - -namespace galaxy -{ - namespace api - { - /** - * @addtogroup api - * @{ - */ - - /** - * Lobby type. Used for specifying visibility of a lobby and protecting it. - */ - enum LobbyType - { - LOBBY_TYPE_PRIVATE, ///< Only invited users are able to join the lobby. - LOBBY_TYPE_FRIENDS_ONLY, ///< Visible only to friends or invitees, but not in lobby list. Forbidden for the Game Server. - LOBBY_TYPE_PUBLIC, ///< Visible for friends and in lobby list. - LOBBY_TYPE_INVISIBLE_TO_FRIENDS ///< Returned by search, but not visible to friends. Forbidden for the Game Server. - }; - - /** - * Lobby topology type. Used for specifying topology of user connections in lobby. - */ - enum LobbyTopologyType - { - DEPRECATED_LOBBY_TOPOLOGY_TYPE_FCM_HOST_MIGRATION, ///< All users are connected with each other. Disconnection of lobby owner results in choosing a new one. Deprecated: use LOBBY_TOPOLOGY_TYPE_FCM_OWNERSHIP_TRANSITION instead. - LOBBY_TOPOLOGY_TYPE_FCM, ///< All users are connected with each other. Disconnection of lobby owner results in closing the lobby. - LOBBY_TOPOLOGY_TYPE_STAR, ///< All users are connected with lobby owner. Disconnection of lobby owner results in closing the lobby. - LOBBY_TOPOLOGY_TYPE_CONNECTIONLESS, ///< All users are connected only with server. Disconnection of lobby owner results in choosing a new one. Forbidden for the Game Server. - LOBBY_TOPOLOGY_TYPE_FCM_OWNERSHIP_TRANSITION ///< All users are connected with each other. Disconnection of lobby owner results in choosing a new one. Forbidden for the Game Server. - }; - - /** - * Change of the state of a lobby member. Used in notifications. - */ - enum LobbyMemberStateChange - { - LOBBY_MEMBER_STATE_CHANGED_ENTERED = 0x0001, ///< The user joined the lobby. - LOBBY_MEMBER_STATE_CHANGED_LEFT = 0x0002, ///< The user left the lobby having announced it first. - LOBBY_MEMBER_STATE_CHANGED_DISCONNECTED = 0x0004, ///< The user disconnected without leaving the lobby first. - LOBBY_MEMBER_STATE_CHANGED_KICKED = 0x0008, ///< User was kicked from the lobby. - LOBBY_MEMBER_STATE_CHANGED_BANNED = 0x0010 ///< User was kicked and banned from the lobby. - }; - - /** - * Comparison type. Used for specifying filters that are supposed to be invoked - * to validate lobby properties when requesting for a list of matching lobbies. - */ - enum LobbyComparisonType - { - LOBBY_COMPARISON_TYPE_EQUAL, ///< The lobby should have a property of a value that is equal to the one specified. - LOBBY_COMPARISON_TYPE_NOT_EQUAL, ///< The lobby should have a property of a value that is not equal to the one specified. - LOBBY_COMPARISON_TYPE_GREATER, ///< The lobby should have a property of a value that is greater than the one specified. - LOBBY_COMPARISON_TYPE_GREATER_OR_EQUAL, ///< The lobby should have a property of a value that is greater than or equal to the one specified. - LOBBY_COMPARISON_TYPE_LOWER, ///< The lobby should have a property of a value that is lower than the one specified. - LOBBY_COMPARISON_TYPE_LOWER_OR_EQUAL ///< The lobby should have a property of a value that is lower than or equal to the one specified. - }; - - /** - * Lobby creating result. - */ - enum LobbyCreateResult - { - LOBBY_CREATE_RESULT_SUCCESS, ///< Lobby was created. - LOBBY_CREATE_RESULT_ERROR, ///< Unexpected error. - LOBBY_CREATE_RESULT_CONNECTION_FAILURE ///< Unable to communicate with backend services. - }; - - /** - * Lobby entering result. - */ - enum LobbyEnterResult - { - LOBBY_ENTER_RESULT_SUCCESS, ///< The user has entered the lobby. - LOBBY_ENTER_RESULT_LOBBY_DOES_NOT_EXIST, ///< Specified lobby does not exist. - LOBBY_ENTER_RESULT_LOBBY_IS_FULL, ///< Specified lobby is full. - LOBBY_ENTER_RESULT_ERROR, ///< Unexpected error. - LOBBY_ENTER_RESULT_CONNECTION_FAILURE ///< Unable to communicate with backend services. - }; - - /** - * Lobby listing result. - */ - enum LobbyListResult - { - LOBBY_LIST_RESULT_SUCCESS, ///< The list of lobbies retrieved successfully. - LOBBY_LIST_RESULT_ERROR, ///< Unexpected error. - LOBBY_LIST_RESULT_CONNECTION_FAILURE ///< Unable to communicate with backend services. - }; - - /** - * Listener for the event of receiving a list of lobbies. - */ - class ILobbyListListener : public GalaxyTypeAwareListener - { - public: - - /** - * Notification for the event of receiving a list of lobbies. - * - * @param [in] lobbyCount The number of matched lobbies. - * @param [in] result lobby list result. - */ - virtual void OnLobbyList(uint32_t lobbyCount, LobbyListResult result) = 0; - }; - - /** - * Globally self-registering version of ILobbyListListener. - */ - typedef SelfRegisteringListener GlobalLobbyListListener; - - /** - * Listener for the event of creating a lobby. - */ - class ILobbyCreatedListener : public GalaxyTypeAwareListener - { - public: - - /** - * Notification for the event of creating a lobby. - * - * When the lobby is successfully created it is joined and ready to use. - * Since the lobby is entered automatically, an explicit notification - * for ILobbyEnteredListener will follow immediately. - * - * @param [in] lobbyID The ID of the lobby. - * @param [in] result lobby create result. - */ - virtual void OnLobbyCreated(const GalaxyID& lobbyID, LobbyCreateResult result) = 0; - }; - - /** - * Globally self-registering version of ILobbyCreatedListener. - */ - typedef SelfRegisteringListener GlobalLobbyCreatedListener; - - /** - * Globally self-registering version of ILobbyCreatedListener for the Game Server. - */ - typedef SelfRegisteringListener GameServerGlobalLobbyCreatedListener; - - /** - * Listener for the event of entering a lobby. - */ - class ILobbyEnteredListener : public GalaxyTypeAwareListener - { - public: - - /** - * Notification for the event of entering a lobby. - * - * It is called both after joining an existing lobby and after creating one. - * - * @param [in] lobbyID The ID of the lobby. - * @param [in] result lobby enter result. - */ - virtual void OnLobbyEntered(const GalaxyID& lobbyID, LobbyEnterResult result) = 0; - }; - - /** - * Globally self-registering version of ILobbyEnteredListener. - */ - typedef SelfRegisteringListener GlobalLobbyEnteredListener; - - /** - * Globally self-registering version of ILobbyEnteredListener for the GameServer. - */ - typedef SelfRegisteringListener GameServerGlobalLobbyEnteredListener; - - /** - * Listener for the event of leaving a lobby. - */ - class ILobbyLeftListener : public GalaxyTypeAwareListener - { - public: - - /** - * The reason of leaving a lobby. - */ - enum LobbyLeaveReason - { - LOBBY_LEAVE_REASON_UNDEFINED, ///< Unspecified error. - LOBBY_LEAVE_REASON_USER_LEFT, ///< The user has left the lobby as a result of calling IMatchmaking::LeaveLobby(). - LOBBY_LEAVE_REASON_LOBBY_CLOSED, ///< The lobby has been closed (e.g. the owner has left the lobby without host migration). - LOBBY_LEAVE_REASON_CONNECTION_LOST ///< The Peer has lost the connection. - }; - - /** - * Notification for the event of leaving lobby. - * - * @param [in] lobbyID The ID of the lobby. - * @param [in] leaveReason The cause of leaving the lobby. - */ - virtual void OnLobbyLeft(const GalaxyID& lobbyID, LobbyLeaveReason leaveReason) = 0; - }; - - /** - * Globally self-registering version of ILobbyLeftListener. - */ - typedef SelfRegisteringListener GlobalLobbyLeftListener; - - /** - * Globally self-registering version of ILobbyLeftListener for the GameServer. - */ - typedef SelfRegisteringListener GameServerGlobalLobbyLeftListener; - - /** - * Listener for the event of receiving an updated version of lobby data. - */ - class ILobbyDataListener : public GalaxyTypeAwareListener - { - public: - - /** - * Notification for the event of receiving an updated version of lobby data. - * - * @param [in] lobbyID The ID of the lobby. - * @param [in] memberID The ID of the lobby member, valid only if it is a change in a lobby member data. - */ - virtual void OnLobbyDataUpdated(const GalaxyID& lobbyID, const GalaxyID& memberID) = 0; - }; - - /** - * Globally self-registering version of ILobbyDataListener. - */ - typedef SelfRegisteringListener GlobalLobbyDataListener; - - /** - * Globally self-registering version of ILobbyDataListener for the Game Server. - */ - typedef SelfRegisteringListener GameServerGlobalLobbyDataListener; - - /** - * Listener for the event of updating lobby data. - */ - class ILobbyDataUpdateListener : public GalaxyTypeAwareListener - { - public: - - /** - * Notification for the event of success in updating lobby data. - * - * @param [in] lobbyID The ID of the lobby. - */ - virtual void OnLobbyDataUpdateSuccess(const GalaxyID& lobbyID) = 0; - - /** - * The reason of a failure in updating lobby data. - */ - enum FailureReason - { - FAILURE_REASON_UNDEFINED, ///< Unspecified error. - FAILURE_REASON_LOBBY_DOES_NOT_EXIST, ///< Specified lobby does not exist. - FAILURE_REASON_CONNECTION_FAILURE ///< Unable to communicate with backend services. - }; - - /** - * Notification for the failure in updating lobby data. - * - * @param [in] lobbyID The ID of the lobby. - * @param [in] failureReason The cause of the failure. - */ - virtual void OnLobbyDataUpdateFailure(const GalaxyID& lobbyID, FailureReason failureReason) = 0; - }; - - /** - * Listener for the event of updating lobby member data. - */ - class ILobbyMemberDataUpdateListener : public GalaxyTypeAwareListener - { - public: - - /** - * Notification for the event of success in updating lobby member data. - * - * @param [in] lobbyID The ID of the lobby. - * @param [in] memberID The ID of the lobby member. - */ - virtual void OnLobbyMemberDataUpdateSuccess(const GalaxyID& lobbyID, const GalaxyID& memberID) = 0; - - /** - * The reason of a failure in updating lobby data. - */ - enum FailureReason - { - FAILURE_REASON_UNDEFINED, ///< Unspecified error. - FAILURE_REASON_LOBBY_DOES_NOT_EXIST, ///< Specified lobby does not exist. - FAILURE_REASON_CONNECTION_FAILURE ///< Unable to communicate with backend services. - }; - - /** - * Notification for the failure in updating lobby member data. - * - * @param [in] lobbyID The ID of the lobby. - * @param [in] memberID The ID of the lobby member. - * @param [in] failureReason The cause of the failure. - */ - virtual void OnLobbyMemberDataUpdateFailure(const GalaxyID& lobbyID, const GalaxyID& memberID, FailureReason failureReason) = 0; - }; - - /** - * Listener for the event of retrieving lobby data. - */ - class ILobbyDataRetrieveListener : public GalaxyTypeAwareListener - { - public: - - /** - * Notification for the event of success in retrieving lobby data. - * - * @param [in] lobbyID The ID of the lobby. - */ - virtual void OnLobbyDataRetrieveSuccess(const GalaxyID& lobbyID) = 0; - - /** - * The reason of a failure in retrieving lobby data. - */ - enum FailureReason - { - FAILURE_REASON_UNDEFINED, ///< Unspecified error. - FAILURE_REASON_LOBBY_DOES_NOT_EXIST, ///< Specified lobby does not exist. - FAILURE_REASON_CONNECTION_FAILURE ///< Unable to communicate with backend services. - }; - - /** - * Notification for the event of a failure in retrieving lobby data. - * - * @param [in] lobbyID The ID of the lobby. - * @param [in] failureReason The cause of the failure. - */ - virtual void OnLobbyDataRetrieveFailure(const GalaxyID& lobbyID, FailureReason failureReason) = 0; - }; - - /** - * Globally self-registering version of ILobbyDataRetrieveListener. - */ - typedef SelfRegisteringListener GlobalLobbyDataRetrieveListener; - - /** - * Globally self-registering version of ILobbyDataRetrieveListener for the Game Server. - */ - typedef SelfRegisteringListener GameServerGlobalLobbyDataRetrieveListener; - - /** - * Listener for the event of a change of the state of a lobby member. - */ - class ILobbyMemberStateListener : public GalaxyTypeAwareListener - { - public: - - /** - * Notification for the event of a change of the state of a lobby member. - * - * @param [in] lobbyID The ID of the lobby. - * @param [in] memberID The ID of the lobby member. - * @param [in] memberStateChange Change of the state of the lobby member. - */ - virtual void OnLobbyMemberStateChanged(const GalaxyID& lobbyID, const GalaxyID& memberID, LobbyMemberStateChange memberStateChange) = 0; - }; - - /** - * Globally self-registering version of ILobbyMemberStateListener. - */ - typedef SelfRegisteringListener GlobalLobbyMemberStateListener; - - /** - * Globally self-registering version of ILobbyMemberStateListener for the Game Server. - */ - typedef SelfRegisteringListener GameServerGlobalLobbyMemberStateListener; - - /** - * Listener for the event of changing the owner of a lobby. - * - * The event occurs when a lobby member is chosen to become the new owner - * of the lobby in place of the previous owner that apparently left the lobby, - * which should be explicitly indicated in a separate notification. - * - * @remark This listener should be implemented only if the game can handle the situation - * where the lobby owner leaves the lobby for any reason (e.g. is disconnected), - * letting the other users continue playing in the same lobby with the new owner - * knowing the state of the lobby and taking the responsibility for managing it. - */ - class ILobbyOwnerChangeListener : public GalaxyTypeAwareListener - { - public: - - /** - * Notification for the event of someone else becoming the owner of a lobby. - * - * @param [in] lobbyID The ID of the lobby. - * @param [in] newOwnerID The ID of the user who became new lobby owner. - */ - virtual void OnLobbyOwnerChanged(const GalaxyID& lobbyID, const GalaxyID& newOwnerID) = 0; - }; - - /** - * Globally self-registering version of ILobbyOwnerChangeListener. - */ - typedef SelfRegisteringListener GlobalLobbyOwnerChangeListener; - - /** - * Listener for the event of receiving a lobby message. - */ - class ILobbyMessageListener : public GalaxyTypeAwareListener - { - public: - - /** - * Notification for the event of receiving a lobby message. - * - * To read the message you need to call IMatchmaking::GetLobbyMessage(). - * - * @param [in] lobbyID The ID of the lobby. - * @param [in] senderID The ID of the sender. - * @param [in] messageID The ID of the message. - * @param [in] messageLength Length of the message. - */ - virtual void OnLobbyMessageReceived(const GalaxyID& lobbyID, const GalaxyID& senderID, uint32_t messageID, uint32_t messageLength) = 0; - }; - - /** - * Globally self-registering version of ILobbyMessageListener. - */ - typedef SelfRegisteringListener GlobalLobbyMessageListener; - - /** - * Globally self-registering version of ILobbyMessageListener for the Game Server. - */ - typedef SelfRegisteringListener GameServerGlobalLobbyMessageListener; - - /** - * The interface for managing game lobbies. - */ - class IMatchmaking - { - public: - - virtual ~IMatchmaking() - { - } - - /** - * Creates a lobby. - * - * Depending on the lobby type specified, the lobby will be visible for - * other users and joinable either for everyone or just specific users. - * - * This call is asynchronous. Responses come to the ILobbyCreatedListener, - * as well as ILobbyEnteredListener, provided that the lobby was created - * successfully, in which case the owning user enters it automatically. - * - * @param [in] lobbyType The type of the lobby. - * @param [in] maxMembers The maximum number of members allowed for the lobby with the limit of 250 members. - * @param [in] joinable Is the lobby joinable. - * @param [in] lobbyTopologyType The type of the lobby topology. - * @param [in] lobbyCreatedListener The lobby creation listener for specific operation call. - * @param [in] lobbyEnteredListener The lobby entering listener for specific operation call. - */ - virtual void CreateLobby( - LobbyType lobbyType, - uint32_t maxMembers, - bool joinable, - LobbyTopologyType lobbyTopologyType, - ILobbyCreatedListener* const lobbyCreatedListener = NULL, - ILobbyEnteredListener* const lobbyEnteredListener = NULL) = 0; - - /** - * Performs a request for a list of relevant lobbies. - * - * This call is asynchronous. When the list is received, a notification will - * come to the ILobbyListListener. The notification contains only the number - * of lobbies that were found and are available for reading. - * - * In order to read subsequent lobbies, call GetLobbyByIndex(). - * - * @remark The resulting list of lobbies is filtered according to all the - * filters that were specified prior to this call and after the previous - * request for lobby list, since filters are consumed only once and not used - * again. - * - * @remark Full lobbies are never included in the list. - * - * @param [in] allowFullLobbies Are full lobbies allowed. - * @param [in] listener The listener for specific operation call. - */ - virtual void RequestLobbyList(bool allowFullLobbies = false, ILobbyListListener* const listener = NULL) = 0; - - /** - * Sets the maximum number of lobbies to be returned next time you call RequestLobbyList(). - * - * You can add multiple filters. All filters operate on lobby properties. - * - * @remark After each call to RequestLobbyList() all filters are cleared. - * - * @param [in] limit The maximum non-zero number of lobbies to retrieve. - */ - virtual void AddRequestLobbyListResultCountFilter(uint32_t limit) = 0; - - /** - * Adds a string filter to be applied next time you call RequestLobbyList(). - * - * You can add multiple filters. All filters operate on lobby properties. - * - * @remark After each call to RequestLobbyList() all filters are cleared. - * - * @param [in] keyToMatch The key to match. - * @param [in] valueToMatch The value to match. - * @param [in] comparisonType The type of comparison. - */ - virtual void AddRequestLobbyListStringFilter(const char* keyToMatch, const char* valueToMatch, LobbyComparisonType comparisonType) = 0; - - /** - * Adds a numerical filter to be applied next time you call RequestLobbyList(). - * - * You can add multiple filters. All filters operate on lobby properties. - * - * @remark After each call to RequestLobbyList() all filters are cleared. - * - * @param [in] keyToMatch The key to match. - * @param [in] valueToMatch The value to match. - * @param [in] comparisonType The type of comparison. - */ - virtual void AddRequestLobbyListNumericalFilter(const char* keyToMatch, int32_t valueToMatch, LobbyComparisonType comparisonType) = 0; - - /** - * Adds a near value filter to be applied next time you call RequestLobbyList(). - * - * You can add multiple filters. All filters operate on lobby properties. - * - * @remark After each call to RequestLobbyList() all filters are cleared. - * - * @param [in] keyToMatch The key to match. - * @param [in] valueToBeCloseTo The value to be close to. - */ - virtual void AddRequestLobbyListNearValueFilter(const char* keyToMatch, int32_t valueToBeCloseTo) = 0; - - /** - * Returns GalaxyID of a retrieved lobby by index. - * - * Use this call to iterate over last retrieved lobbies, indexed from 0. - * - * @remark This method can be used only inside of ILobbyListListener::OnLobbyList(). - * - * @pre In order to retrieve lobbies and get their count, you need to call - * RequestLobbyList() first. - * - * @param [in] index Index as an integer in the range of [0, number of lobbies fetched). - * @return The ID of the lobby, valid only if the index is valid. - */ - virtual GalaxyID GetLobbyByIndex(uint32_t index) = 0; - - /** - * Joins a specified existing lobby. - * - * This call is asynchronous. Responses come to the ILobbyEnteredListener. - * - * For other lobby members notifications come to the ILobbyMemberStateListener. - * - * @param [in] lobbyID The ID of the lobby to join. - * @param [in] listener The listener for specific operation call. - */ - virtual void JoinLobby(GalaxyID lobbyID, ILobbyEnteredListener* const listener = NULL) = 0; - - /** - * Leaves a specified lobby. - * - * ILobbyLeftListener will be called when lobby is left. - * For other lobby members notifications come to the ILobbyMemberStateListener. - * - * Lobby data and lobby messages will not be reachable for lobby that we left. - * - * @param [in] lobbyID The ID of the lobby to leave. - * @param [in] listener The listener for specific operation call. - */ - virtual void LeaveLobby(GalaxyID lobbyID, ILobbyLeftListener* const listener = NULL) = 0; - - /** - * Sets the maximum number of users that can be in a specified lobby. - * - * @param [in] lobbyID The ID of the lobby to check. - * @param [in] maxNumLobbyMembers The maximum number of members allowed for the lobby with the limit of 250 members. - * @param [in] listener The listener for specific operation. - */ - virtual void SetMaxNumLobbyMembers(GalaxyID lobbyID, uint32_t maxNumLobbyMembers, ILobbyDataUpdateListener* const listener = NULL) = 0; - - /** - * Returns the maximum number of users that can be in a specified lobby. - * - * @pre If not currently in the lobby, retrieve the data first by calling RequestLobbyData(). - * - * @param [in] lobbyID The ID of the lobby to check. - * @return The maximum number of members allowed for the lobby. - */ - virtual uint32_t GetMaxNumLobbyMembers(GalaxyID lobbyID) = 0; - - /** - * Returns the number of users in a specified lobby. - * - * @pre If not currently in the lobby, retrieve the data first by calling RequestLobbyData(). - * - * @param [in] lobbyID The ID of the lobby to check. - * @return The number of members of the lobby. - */ - virtual uint32_t GetNumLobbyMembers(GalaxyID lobbyID) = 0; - - /** - * Returns the GalaxyID of a user in a specified lobby. - * - * @pre The user must be in the lobby in order to retrieve the lobby members. - * - * @param [in] lobbyID The ID of the lobby. - * @param [in] index Index as an integer in the range of [0, number of lobby members). - * @return The ID of the lobby member, valid only if the index is valid. - */ - virtual GalaxyID GetLobbyMemberByIndex(GalaxyID lobbyID, uint32_t index) = 0; - - /** - * Sets the type of a specified lobby. - * - * @param [in] lobbyID The ID of the lobby. - * @param [in] lobbyType The type of the lobby. - * @param [in] listener The listener for specific operation. - */ - virtual void SetLobbyType(GalaxyID lobbyID, LobbyType lobbyType, ILobbyDataUpdateListener* const listener = NULL) = 0; - - /** - * Returns the type of a specified lobby. - * - * @pre If not currently in the lobby, retrieve the data first by calling RequestLobbyData(). - * - * @param [in] lobbyID The ID of the lobby. - * @return lobbyType The type of the lobby. - */ - virtual LobbyType GetLobbyType(GalaxyID lobbyID) = 0; - - /** - * Sets if a specified lobby is joinable. - * - * @remark When a lobby is not joinable, no user can join in even if there are still - * some empty slots for lobby members. The lobby is also hidden from matchmaking. - * - * @remark Newly created lobbies are joinable by default. Close a lobby by making it - * not joinable e.g. when the game has started and no new lobby members are allowed. - * - * @param [in] lobbyID The ID of the lobby. - * @param [in] joinable Is the lobby joinable. - * @param [in] listener The listener for specific operation. - */ - virtual void SetLobbyJoinable(GalaxyID lobbyID, bool joinable, ILobbyDataUpdateListener* const listener = NULL) = 0; - - /** - * Checks if a specified lobby is joinable. - * - * @pre If not currently in the lobby, retrieve the data first by calling RequestLobbyData(). - * - * @param [in] lobbyID The ID of the lobby. - * @return If the lobby is joinable. - */ - virtual bool IsLobbyJoinable(GalaxyID lobbyID) = 0; - - /** - * Refreshes info about a specified lobby. - * - * This is needed only for the lobbies that the user is not currently in, - * since for entered lobbies any info is updated automatically. - * - * This call is asynchronous. Responses come to the ILobbyDataListener and - * ILobbyDataRetrieveListener. - * - * @param [in] lobbyID The ID of the lobby. - * @param [in] listener The listener for specific operation call. - */ - virtual void RequestLobbyData(GalaxyID lobbyID, ILobbyDataRetrieveListener* const listener = NULL) = 0; - - /** - * Returns an entry from the properties of a specified lobby. - * - * It returns an empty string if there is no such property of the lobby, or - * if the ID of the lobby is invalid. - * - * @remark This call is not thread-safe as opposed to GetLobbyDataCopy(). - * - * @pre If not currently in the lobby, retrieve the data first by calling RequestLobbyData(). - * - * @param [in] lobbyID The ID of the lobby. - * @param [in] key The name of the property of the lobby. - * @return The value of the property, or an empty string if failed. - */ - virtual const char* GetLobbyData(GalaxyID lobbyID, const char* key) = 0; - - /** - * Copies an entry from the properties of a specified lobby. - * - * It copies an empty string if there is no such property of the lobby, or - * if the ID of the lobby is invalid. - * - * @pre If not currently in the lobby, retrieve the data first by calling RequestLobbyData(). - * - * @param [in] lobbyID The ID of the lobby. - * @param [in] key The name of the property of the lobby. - * @param [in, out] buffer The output buffer. - * @param [in] bufferLength The size of the output buffer. - */ - virtual void GetLobbyDataCopy(GalaxyID lobbyID, const char* key, char* buffer, uint32_t bufferLength) = 0; - - /** - * Creates or updates an entry in the properties of a specified lobby. - * - * The properties can be used for matchmaking or broadcasting any lobby data - * (e.g. the name of the lobby) to other Galaxy Peers. - * - * The properties are assigned to the lobby and available for matchmaking. - * Each user that is a member of the lobby will receive a notification when - * the properties of the lobby are changed. The notifications come to ILobbyDataListener. - * - * Any user that joins the lobby will be able to read the data. - * - * @remark To clear a property, set it to an empty string. - * - * @pre Only the owner of the lobby can edit its properties. - * - * @param [in] lobbyID The ID of the lobby. - * @param [in] key The name of the property of the lobby with the limit of 1023 bytes. - * @param [in] value The value of the property to set with the limit of 4095 bytes. - * @param [in] listener The listener for specific operation. - */ - virtual void SetLobbyData(GalaxyID lobbyID, const char* key, const char* value, ILobbyDataUpdateListener* const listener = NULL) = 0; - - /** - * Returns the number of entries in the properties of a specified lobby. - * - * @pre If not currently in the lobby, retrieve the data first by calling - * RequestLobbyData(). - * - * @param [in] lobbyID The ID of the lobby. - * @return The number of entries, or 0 if failed. - */ - virtual uint32_t GetLobbyDataCount(GalaxyID lobbyID) = 0; - - /** - * Returns a property of a specified lobby by index. - * - * @param [in] lobbyID The ID of the lobby. - * @param [in] index Index as an integer in the range of [0, number of entries). - * @param [in, out] key The name of the property of the lobby. - * @param [in] keyLength The length of the name of the property of the lobby. - * @param [in, out] value The value of the property of the lobby. - * @param [in] valueLength The length of the value of the property of the lobby. - * @return true if succeeded, false when there is no such property. - */ - virtual bool GetLobbyDataByIndex(GalaxyID lobbyID, uint32_t index, char* key, uint32_t keyLength, char* value, uint32_t valueLength) = 0; - - /** - * Clears a property of a specified lobby by its name. - * - * This is the same as calling SetLobbyData() and providing an empty string - * as the value of the property that is to be altered. - * - * Each user that is a member of the lobby will receive a notification when - * the properties of the lobby are changed. The notifications come to ILobbyDataListener. - * - * @param [in] lobbyID The ID of the lobby. - * @param [in] key The name of the property of the lobby. - * @param [in] listener The listener for specific operation. - */ - virtual void DeleteLobbyData(GalaxyID lobbyID, const char* key, ILobbyDataUpdateListener* const listener = NULL) = 0; - - /** - * Returns an entry from the properties of a specified member - * of a specified lobby. - * - * It returns an empty string if there is no such property of the member of - * the lobby, or if any of the specified IDs are invalid (including false - * membership). - * - * @remark This call is not thread-safe as opposed to GetLobbyMemberDataCopy(). - * - * @pre If not currently in the lobby, retrieve the data first by calling RequestLobbyData(). - * - * @param [in] lobbyID The ID of the lobby. - * @param [in] memberID The ID of the lobby member. - * @param [in] key The name of the property of the lobby member. - * @return The value of the property, or an empty string if failed. - */ - virtual const char* GetLobbyMemberData(GalaxyID lobbyID, GalaxyID memberID, const char* key) = 0; - - /** - * Copies an entry from the properties of a specified member - * of a specified lobby. - * - * It copies an empty string if there is no such property of the member of - * the lobby, or if any of the specified IDs are invalid (including false - * membership). - * - * @pre If not currently in the lobby, retrieve the data first by calling RequestLobbyData(). - * - * @param [in] lobbyID The ID of the lobby. - * @param [in] memberID The ID of the lobby member. - * @param [in] key The name of the property of the lobby member. - * @param [in, out] buffer The output buffer. - * @param [in] bufferLength The size of the output buffer. - */ - virtual void GetLobbyMemberDataCopy(GalaxyID lobbyID, GalaxyID memberID, const char* key, char* buffer, uint32_t bufferLength) = 0; - - /** - * Creates or updates an entry in the user's properties (as a lobby member) - * in a specified lobby. - * - * The properties can be used for broadcasting any data as the lobby member data - * (e.g. the name of the user in the lobby) to other lobby members. - * - * The properties are assigned to the user as a lobby member in the lobby. - * Each user that is a member of the lobby will receive a notification when - * the lobby member properties are changed. The notifications come to ILobbyDataListener. - * - * Any user that joins the lobby will be able to read the data. - * - * @remark To clear a property, set it to an empty string. - * - * @param [in] lobbyID The ID of the lobby. - * @param [in] key The name of the property of the lobby member with the limit of 1023 bytes. - * @param [in] value The value of the property to set with the limit of 4095 bytes. - * @param [in] listener The listener for specific operation. - */ - virtual void SetLobbyMemberData(GalaxyID lobbyID, const char* key, const char* value, ILobbyMemberDataUpdateListener* const listener = NULL) = 0; - - /** - * Returns the number of entries in the properties of a specified member - * of a specified lobby. - * - * @pre If not currently in the lobby, retrieve the data first by calling RequestLobbyData(). - * - * @param [in] lobbyID The ID of the lobby. - * @param [in] memberID The ID of the lobby member. - * @return The number of entries, or 0 if failed. - */ - virtual uint32_t GetLobbyMemberDataCount(GalaxyID lobbyID, GalaxyID memberID) = 0; - - /** - * Returns a property of a specified lobby member by index. - * - * @param [in] lobbyID The ID of the lobby. - * @param [in] memberID The ID of the lobby member. - * @param [in] index Index as an integer in the range of [0, number of entries). - * @param [in, out] key The name of the property of the lobby member. - * @param [in] keyLength The length of the name of the property of the lobby member. - * @param [in, out] value The value of the property of the lobby member. - * @param [in] valueLength The length of the value of the property of the lobby member. - * @return true if succeeded, false when there is no such property. - */ - virtual bool GetLobbyMemberDataByIndex(GalaxyID lobbyID, GalaxyID memberID, uint32_t index, char* key, uint32_t keyLength, char* value, uint32_t valueLength) = 0; - - /** - * Clears a property of a specified lobby member by its name. - * - * This is the same as calling SetLobbyMemberData() and providing an empty - * string as the value of the property that is to be altered. - * - * Each user that is a member of the lobby will receive a notification when - * the lobby member properties are changed. The notifications come to ILobbyDataListener. - * - * @param [in] lobbyID The ID of the lobby. - * @param [in] key The name of the property of the lobby member. - * @param [in] listener The listener for specific operation. - */ - virtual void DeleteLobbyMemberData(GalaxyID lobbyID, const char* key, ILobbyMemberDataUpdateListener* const listener = NULL) = 0; - - /** - * Returns the owner of a specified lobby. - * - * @pre If not currently in the lobby, retrieve the data first by calling RequestLobbyData(). - * - * @param [in] lobbyID The ID of the lobby. - * @return The ID of the lobby member who is also its owner, valid only when called by a member. - */ - virtual GalaxyID GetLobbyOwner(GalaxyID lobbyID) = 0; - - /** - * Sends a message to all lobby members, including the sender. - * - * For all the lobby members there comes a notification to the - * ILobbyMessageListener. Since that moment it is possible to retrieve the - * message by ID using GetLobbyMessage(). - * - * @pre The user needs to be in the lobby in order to send a message to its members. - * - * @param [in] lobbyID The ID of the lobby. - * @param [in] data The data to send. - * @param [in] dataSize The length of the data. - * @return true if the message was scheduled for sending, false otherwise. - */ - virtual bool SendLobbyMessage(GalaxyID lobbyID, const void* data, uint32_t dataSize) = 0; - - /** - * Receives a specified message from one of the members of a specified lobby. - * - * @param [in] lobbyID The ID of the lobby. - * @param [in] messageID The ID of the message. - * @param [out] senderID The ID of the sender. - * @param [in, out] msg The buffer to pass the data to. - * @param [in] msgLength The size of the buffer. - * @return The number of bytes written to the buffer. - */ - virtual uint32_t GetLobbyMessage(GalaxyID lobbyID, uint32_t messageID, GalaxyID& senderID, char* msg, uint32_t msgLength) = 0; - }; - - /** @} */ - } -} - -#endif diff --git a/vendors/galaxy/Include/galaxy/INetworking.h b/vendors/galaxy/Include/galaxy/INetworking.h deleted file mode 100644 index d1bf42b95..000000000 --- a/vendors/galaxy/Include/galaxy/INetworking.h +++ /dev/null @@ -1,293 +0,0 @@ -#ifndef GALAXY_I_NETWORKING_H -#define GALAXY_I_NETWORKING_H - -/** - * @file - * Contains data structures and interfaces related to communicating with other - * Galaxy Peers. - */ - -#include "IListenerRegistrar.h" -#include "GalaxyID.h" - -namespace galaxy -{ - namespace api - { - /** - * @addtogroup api - * @{ - */ - - /** - * Listener for the events related to packets that come to the client. - */ - class INetworkingListener : public GalaxyTypeAwareListener - { - public: - - /** - * Notification for the event of receiving a packet. - * - * @param [in] msgSize The length of the message. - * @param [in] channel The number of the channel used. - */ - virtual void OnP2PPacketAvailable(uint32_t msgSize, uint8_t channel) = 0; - }; - - /** - * Globally self-registering version of INetworkingListener. - */ - typedef SelfRegisteringListener GlobalNetworkingListener; - - /** - * Globally self-registering version of INetworkingListener for the GameServer. - */ - typedef SelfRegisteringListener GameServerGlobalNetworkingListener; - - /** - * NAT types. - */ - enum NatType - { - NAT_TYPE_NONE, ///< There is no NAT at all. - NAT_TYPE_FULL_CONE, ///< Accepts any datagrams to a port that has been previously used. - NAT_TYPE_ADDRESS_RESTRICTED, ///< Accepts datagrams to a port if the datagram source IP address belongs to a system that has been sent to. - NAT_TYPE_PORT_RESTRICTED, ///< Accepts datagrams to a port if the datagram source IP address and port belongs a system that has been sent to. - NAT_TYPE_SYMMETRIC, ///< A different port is chosen for every remote destination. - NAT_TYPE_UNKNOWN ///< NAT type has not been determined. - }; - - /** - * Listener for the events related to NAT type detection. - */ - class INatTypeDetectionListener : public GalaxyTypeAwareListener - { - public: - - /** - * Notification for the event of a success in NAT type detection. - * - * @param [in] natType The NAT type. - */ - virtual void OnNatTypeDetectionSuccess(NatType natType) = 0; - - /** - * Notification for the event of a failure in NAT type detection. - */ - virtual void OnNatTypeDetectionFailure() = 0; - }; - - /** - * Globally self-registering version of INatTypeDetectionListener. - */ - typedef SelfRegisteringListener GlobalNatTypeDetectionListener; - - /** - * Globally self-registering version of INatTypeDetectionListener for the GameServer. - */ - typedef SelfRegisteringListener GameServerGlobalNatTypeDetectionListener; - - /** - * Send type used when calling INetworking::SendP2PPacket() in order to - * specify desired reliability of the data transfer for each packet that is - * being sent. - */ - enum P2PSendType - { - P2P_SEND_UNRELIABLE, ///< UDP-like packet transfer. The packet will be sent during the next call to ProcessData(). - P2P_SEND_RELIABLE, ///< TCP-like packet transfer. The packet will be sent during the next call to ProcessData(). - P2P_SEND_UNRELIABLE_IMMEDIATE, ///< UDP-like packet transfer. The packet will be sent instantly. - P2P_SEND_RELIABLE_IMMEDIATE ///< TCP-like packet transfer. The packet will be sent instantly. - }; - - /** - * Connection types. - */ - enum ConnectionType - { - CONNECTION_TYPE_NONE, ///< User is connected only with server. - CONNECTION_TYPE_DIRECT, ///< User is connected directly. - CONNECTION_TYPE_PROXY ///< User is connected through a proxy. - }; - - /** - * The interface for communicating with other Galaxy Peers. - */ - class INetworking - { - public: - - virtual ~INetworking() - { - } - - /** - * Sends a P2P packet to a specified user. - * - * It is possible to communicate only with the users within the same lobby. - * It is recommended to send 1200 bytes at most in a single packet. - * - * The channel is a routing number that allows to implement - * separate layers of communication while using the same existing connection - * in order to save some network resources. - * Since there is only a single connection between each two Galaxy Peers, - * the Galaxy Peer that is supposed to receive the packet needs to know - * which channel number to use when checking for incoming packets. - * - * In order to receive the packet on the other Galaxy Peer, call there - * ReadP2PPacket() with the same channel number. - * - * Packets addressed to a user (by providing a user ID as the GalaxyID) - * need to be received with the networking interface. - * Packets addressed to a lobby (by providing a lobby ID as the GalaxyID) - * come to the lobby owner that also acts as the game server. - * - * @param [in] galaxyID ID of the specified user to whom the packet is to be sent. - * @param [in] data The data to send. - * @param [in] dataSize The size of the data. - * @param [in] sendType The level of reliability of the operation. - * @param [in] channel The number of the channel to use. - * @return true if the packet was scheduled for sending, false otherwise. - */ - virtual bool SendP2PPacket(GalaxyID galaxyID, const void* data, uint32_t dataSize, P2PSendType sendType, uint8_t channel = 0) = 0; - - /** - * Reads an incoming packet that was sent from another Galaxy Peer - * by calling SendP2PPacket() with the same channel number. - * The packet that was read this way is left in the packet queue. - * - * If the buffer that is supposed to take the data is too small, - * the message will be truncated to its size. The size of the packet is - * provided in the notification about an incoming packet in INetworkingListener - * during which this call is intended to be performed. - * - * This call is non-blocking and operates on the awaiting packets - * that have already come to the Galaxy Peer, thus instantly finishes, - * claiming a failure if there are no packets on the specified channel yet. - * - * @remark This call works similarly to ReadP2PPacket(), yet does not remove - * the packet from the packet queue. - * - * @param [in, out] dest The buffer to pass the data to. - * @param [in] destSize The size of the buffer. - * @param [in, out] outMsgSize The size of the message. - * @param [out] outGalaxyID The ID of the user who sent the packet. - * @param [in] channel The number of the channel to use. - * @return true if succeeded, false when there are no packets. - */ - virtual bool PeekP2PPacket(void* dest, uint32_t destSize, uint32_t* outMsgSize, GalaxyID& outGalaxyID, uint8_t channel = 0) = 0; - - /** - * Checks for any incoming packets on a specified channel. - * - * @remark Do not call this method if employing INetworkingListener. - * Instead, during the notification about an incoming packet read packets - * by calling PeekP2PPacket(). - * - * @param [in, out] outMsgSize The size of the first incoming message if there is any. - * @param [in] channel The number of the channel to use. - * @return true if there are any awaiting incoming packets, false otherwise. - */ - virtual bool IsP2PPacketAvailable(uint32_t* outMsgSize, uint8_t channel = 0) = 0; - - /** - * Reads an incoming packet that was sent from another Galaxy Peer - * by calling SendP2PPacket() with the same channel number. - * The packet that was read this way is removed from the packet queue. - * - * This call is non-blocking and operates on the awaiting packets - * that have already come to the Galaxy Peer, thus instantly finishes, - * claiming a failure if there are no packets on the specified channel yet. - * - * @remark This call is equivalent to calling PeekP2PPacket(), and then - * calling PopP2PPacket(). - * - * @remark Do not call this method if employing INetworkingListener since - * the packet that the notification is related to is automatically removed - * from the packet queue right after all the related notifications are finished. - * Instead, read the incoming packet by calling PeekP2PPacket() during the notification. - * - * @pre If the buffer that is supposed to take the data is too small, - * the message will be truncated to its size. For that reason prior to - * reading a packet it is recommended to check for it by calling - * IsP2PPacketAvailable(), which also returns the packet size. - * - * @param [in, out] dest The buffer to pass the data to. - * @param [in] destSize The size of the buffer. - * @param [in, out] outMsgSize The size of the message. - * @param [out] outGalaxyID The ID of the user who sent the packet. - * @param [in] channel The number of the channel to use. - * @return true if succeeded, false when there are no packets. - */ - virtual bool ReadP2PPacket(void* dest, uint32_t destSize, uint32_t* outMsgSize, GalaxyID& outGalaxyID, uint8_t channel = 0) = 0; - - /** - * Removes the first packet from the packet queue. - * - * @remark Do not call this method if employing INetworkingListener, - * since the packet that the notification is related to is automatically - * removed from the packet queue right after all the related notifications - * are finished. - * - * @param [in] channel The number of the channel to use. - */ - virtual void PopP2PPacket(uint8_t channel = 0) = 0; - - /** - * Retrieves current ping value in milliseconds with a specified entity, i.e. - * another member of the same lobby that the current user is in, or the lobby - * itself, in which case the returned value is the ping with the lobby owner. - * For lobbies that the current user is not in, an approximate ping is returned. - * - * @pre To get an approximate ping, the lobby has to be first retrieved - * with either IMatchmaking::RequestLobbyList() or IMatchmaking::RequestLobbyData(). - * - * @param [in] galaxyID ID of the specified user or lobby to check ping with. - * @return Ping with the target entity or -1 if the target entity is not - * connected or the ping has not been determined yet. - */ - virtual int GetPingWith(GalaxyID galaxyID) = 0; - - /** - * Initiates a NAT type detection process. - * - * This call is asynchronous. Responses come to the INatTypeDetectionListener. - * - * @remark NAT type detection is performed automatically when creating - * or joining a lobby for the first time. - */ - virtual void RequestNatTypeDetection() = 0; - - /** - * Retrieves determined NAT type. - * - * @pre Initial value of NAT type is NAT_TYPE_UNKNOWN. - * - * @pre NAT type detection is performed automatically when creating - * or joining a lobby for the first time. - * - * @pre NAT type can be detected by calling RequestNatTypeDetection() - * without creating or joining a lobby. - * - * @return The determined NAT type. - */ - virtual NatType GetNatType() = 0; - - /** - * Retrieves connection type of the specified user. - * - * @remark CONNECTION_TYPE_DIRECT is returned for the current user ID. - * - * @param [in] userID ID of the specified user to check connection type. - * @return The connection type of the specified user. - */ - virtual ConnectionType GetConnectionType(GalaxyID userID) = 0; - - }; - - /** @} */ - } -} - -#endif diff --git a/vendors/galaxy/Include/galaxy/IStats.h b/vendors/galaxy/Include/galaxy/IStats.h deleted file mode 100644 index 9d3969e0f..000000000 --- a/vendors/galaxy/Include/galaxy/IStats.h +++ /dev/null @@ -1,870 +0,0 @@ -#ifndef GALAXY_I_STATS_H -#define GALAXY_I_STATS_H - -/** - * @file - * Contains data structures and interfaces related to statistics, achievements and leaderboards. - */ - -#include "IListenerRegistrar.h" -#include "GalaxyID.h" - -namespace galaxy -{ - namespace api - { - /** - * @addtogroup api - * @{ - */ - - /** - * The sort order of a leaderboard. - */ - enum LeaderboardSortMethod - { - LEADERBOARD_SORT_METHOD_NONE, ///< No sorting method specified. - LEADERBOARD_SORT_METHOD_ASCENDING, ///< Top score is lowest number. - LEADERBOARD_SORT_METHOD_DESCENDING ///< Top score is highest number. - }; - - /** - * The display type of a leaderboard. - */ - enum LeaderboardDisplayType - { - LEADERBOARD_DISPLAY_TYPE_NONE, ///< Not display type specified. - LEADERBOARD_DISPLAY_TYPE_NUMBER, ///< Simple numerical score. - LEADERBOARD_DISPLAY_TYPE_TIME_SECONDS, ///< The score represents time, in seconds. - LEADERBOARD_DISPLAY_TYPE_TIME_MILLISECONDS ///< The score represents time, in milliseconds. - }; - - /** - * Listener for the event of retrieving statistics and achievements - * of a specified user, possibly our own. - */ - class IUserStatsAndAchievementsRetrieveListener : public GalaxyTypeAwareListener - { - public: - - /** - * Notification for the event of success in retrieving statistics - * and achievements for a specified user. - * - * To read statistics call IStats::GetStatInt() or IStats::GetStatFloat(), - * depending on the type of the statistic to read. - * - * To read achievements call IStats::GetAchievement(). - * - * @param [in] userID The ID of the user. - */ - virtual void OnUserStatsAndAchievementsRetrieveSuccess(GalaxyID userID) = 0; - - /** - * The reason of a failure in retrieving statistics and achievements. - */ - enum FailureReason - { - FAILURE_REASON_UNDEFINED, ///< Unspecified error. - FAILURE_REASON_CONNECTION_FAILURE ///< Unable to communicate with backend services. - }; - - /** - * Notification for the event of a failure in retrieving statistics - * and achievements for a specified user. - * - * @param [in] userID The ID of the user. - * @param [in] failureReason The cause of the failure. - */ - virtual void OnUserStatsAndAchievementsRetrieveFailure(GalaxyID userID, FailureReason failureReason) = 0; - }; - - /** - * Globally self-registering version of IUserStatsAndAchievementsRetrieveListener. - */ - typedef SelfRegisteringListener GlobalUserStatsAndAchievementsRetrieveListener; - - /** - * Listener for the event of storing own statistics and achievements. - */ - class IStatsAndAchievementsStoreListener : public GalaxyTypeAwareListener - { - public: - - /** - * Notification for the event of success in storing statistics - * and achievements. - */ - virtual void OnUserStatsAndAchievementsStoreSuccess() = 0; - - /** - * The reason of a failure in storing statistics and achievements. - */ - enum FailureReason - { - FAILURE_REASON_UNDEFINED, ///< Unspecified error. - FAILURE_REASON_CONNECTION_FAILURE ///< Unable to communicate with backend services. - }; - - /** - * Notification for the event of a failure in storing statistics - * and achievements. - * - * @param [in] failureReason The cause of the failure. - */ - virtual void OnUserStatsAndAchievementsStoreFailure(FailureReason failureReason) = 0; - }; - - /** - * Globally self-registering version of IStatsAndAchievementsStoreListener. - */ - typedef SelfRegisteringListener GlobalStatsAndAchievementsStoreListener; - - /** - * Listener for the event of changing an achievement. - */ - class IAchievementChangeListener : public GalaxyTypeAwareListener - { - public: - - // // /** - // // * Notification for the event of changing progress in unlocking - // // * a particular achievement. - // // * - // // * @param [in] name The code name of the achievement. - // // * @param [in] currentProgress Current value of progress for the achievement. - // // * @param [in] maxProgress The maximum value of progress for the achievement. - // // */ - // // void OnAchievementProgressChanged(const char* name, uint32_t currentProgress, uint32_t maxProgress) = 0; - - /** - * Notification for the event of storing changes that result in - * unlocking a particular achievement. - * - * @param [in] name The code name of the achievement. - */ - virtual void OnAchievementUnlocked(const char* name) = 0; - }; - - /** - * Globally self-registering version of IAchievementChangeListener. - */ - typedef SelfRegisteringListener GlobalAchievementChangeListener; - - /** - * Listener for the event of retrieving definitions of leaderboards. - */ - class ILeaderboardsRetrieveListener : public GalaxyTypeAwareListener - { - public: - - /** - * Notification for the event of a success in retrieving definitions of leaderboards. - * - * In order to read metadata of retrieved leaderboards, call IStats::GetLeaderboardDisplayName(), - * IStats::GetLeaderboardSortMethod(), or IStats::GetLeaderboardDisplayType(). - * - * In order to read entries, retrieve some first by calling IStats::RequestLeaderboardEntriesGlobal(), - * IStats::RequestLeaderboardEntriesAroundUser(), or IStats::RequestLeaderboardEntriesForUsers(). - */ - virtual void OnLeaderboardsRetrieveSuccess() = 0; - - /** - * The reason of a failure in retrieving definitions of leaderboards. - */ - enum FailureReason - { - FAILURE_REASON_UNDEFINED, ///< Unspecified error. - FAILURE_REASON_CONNECTION_FAILURE ///< Unable to communicate with backend services. - }; - - /** - * Notification for the event of a failure in retrieving definitions of leaderboards. - * - * @param [in] failureReason The cause of the failure. - */ - virtual void OnLeaderboardsRetrieveFailure(FailureReason failureReason) = 0; - }; - - /** - * Globally self-registering version of a ILeaderboardsRetrieveListener. - */ - typedef SelfRegisteringListener GlobalLeaderboardsRetrieveListener; - - /** - * Listener for the event of retrieving requested entries of a leaderboard. - */ - class ILeaderboardEntriesRetrieveListener : public GalaxyTypeAwareListener - { - public: - - /** - * Notification for the event of a success in retrieving requested entries of a leaderboard. - * - * In order to read subsequent entries, call IStats::GetRequestedLeaderboardEntry(). - * - * @param [in] name The name of the leaderboard. - * @param [in] entryCount The number of entries that were retrieved. - */ - virtual void OnLeaderboardEntriesRetrieveSuccess(const char* name, uint32_t entryCount) = 0; - - /** - * The reason of a failure in retrieving requested entries of a leaderboard. - */ - enum FailureReason - { - FAILURE_REASON_UNDEFINED, ///< Unspecified error. - FAILURE_REASON_NOT_FOUND, ///< Could not find any entries for specified search criteria. - FAILURE_REASON_CONNECTION_FAILURE ///< Unable to communicate with backend services. - }; - - /** - * Notification for the event of a failure in retrieving requested entries of a leaderboard. - * - * @param [in] name The name of the leaderboard. - * @param [in] failureReason The cause of the failure. - */ - virtual void OnLeaderboardEntriesRetrieveFailure(const char* name, FailureReason failureReason) = 0; - }; - - /** - * Globally self-registering version of a ILeaderboardEntriesRetrieveListener. - */ - typedef SelfRegisteringListener GlobalLeaderboardEntriesRetrieveListener; - - /** - * Listener for the event of updating score in a leaderboard. - */ - class ILeaderboardScoreUpdateListener : public GalaxyTypeAwareListener - { - public: - - /** - * Notification for the event of a success in setting score in a leaderboard. - * - * @param [in] name The name of the leaderboard. - * @param [in] score The score after the update. - * @param [in] oldRank Previous rank, i.e. before the update; 0 if the user had no entry yet. - * @param [in] newRank Current rank, i.e. after the update. - */ - virtual void OnLeaderboardScoreUpdateSuccess(const char* name, int32_t score, uint32_t oldRank, uint32_t newRank) = 0; - - /** - * The reason of a failure in updating score in a leaderboard. - */ - enum FailureReason - { - FAILURE_REASON_UNDEFINED, ///< Unspecified error. - FAILURE_REASON_NO_IMPROVEMENT, ///< Previous score was better and the update operation was not forced. - FAILURE_REASON_CONNECTION_FAILURE ///< Unable to communicate with backend services. - }; - - /** - * The reason of a failure in updating score in a leaderboard. - * - * @param [in] name The name of the leaderboard. - * @param [in] score The score that was attempted to set. - * @param [in] failureReason The cause of the failure. - */ - virtual void OnLeaderboardScoreUpdateFailure(const char* name, int32_t score, FailureReason failureReason) = 0; - }; - - /** - * Globally self-registering version of a ILeaderboardScoreUpdateListener. - */ - typedef SelfRegisteringListener GlobalLeaderboardScoreUpdateListener; - - /** - * Listener for the event of retrieving definition of a leaderboard. - */ - class ILeaderboardRetrieveListener : public GalaxyTypeAwareListener - { - public: - - /** - * Notification for the event of a success in retrieving definition of a leaderboard. - * - * In order to read metadata of the retrieved leaderboard, call IStats::GetLeaderboardDisplayName(), - * IStats::GetLeaderboardSortMethod(), or IStats::GetLeaderboardDisplayType(). - * - * In order to read entries, retrieve some first by calling IStats::RequestLeaderboardEntriesGlobal(), - * IStats::RequestLeaderboardEntriesAroundUser(), or IStats::RequestLeaderboardEntriesForUsers(). - * - * @param [in] name The name of the leaderboard. - */ - virtual void OnLeaderboardRetrieveSuccess(const char* name) = 0; - - /** - * The reason of a failure in retrieving definition of a leaderboard. - */ - enum FailureReason - { - FAILURE_REASON_UNDEFINED, ///< Unspecified error. - FAILURE_REASON_CONNECTION_FAILURE ///< Unable to communicate with backend services. - }; - - /** - * Notification for the event of a failure in retrieving definition of a leaderboard. - * - * @param [in] name The name of the leaderboard. - * @param [in] failureReason The cause of the failure. - */ - virtual void OnLeaderboardRetrieveFailure(const char* name, FailureReason failureReason) = 0; - }; - - /** - * Globally self-registering version of a ILeaderboardRetrieveListener. - */ - typedef SelfRegisteringListener GlobalLeaderboardRetrieveListener; - - /** - * Listener for the event of retrieving user time played. - */ - class IUserTimePlayedRetrieveListener : public GalaxyTypeAwareListener - { - public: - - /** - * Notification for the event of a success in retrieving user time played. - * - * In order to read user time played, call IStats::GetUserTimePlayed(). - * - * @param [in] userID The ID of the user. - */ - virtual void OnUserTimePlayedRetrieveSuccess(GalaxyID userID) = 0; - - /** - * The reason of a failure in retrieving user time played. - */ - enum FailureReason - { - FAILURE_REASON_UNDEFINED, ///< Unspecified error. - FAILURE_REASON_CONNECTION_FAILURE ///< Unable to communicate with backend services. - }; - - /** - * Notification for the event of a failure in retrieving user time played. - * - * @param [in] userID The ID of the user. - * @param [in] failureReason The cause of the failure. - */ - virtual void OnUserTimePlayedRetrieveFailure(GalaxyID userID, FailureReason failureReason) = 0; - }; - - /** - * Globally self-registering version of a IUserTimePlayedRetrieveListener. - */ - typedef SelfRegisteringListener GlobalUserTimePlayedRetrieveListener; - - /** - * The interface for managing statistics, achievements and leaderboards. - */ - class IStats - { - public: - - virtual ~IStats() - { - } - - /** - * Performs a request for statistics and achievements of a specified user. - * - * This call is asynchronous. Responses come to the IUserStatsAndAchievementsRetrieveListener - * (for all GlobalUserStatsAndAchievementsRetrieveListener-derived and optional listener passed as argument). - * - * @param [in] userID The ID of the user. It can be omitted when requesting for own data. - * @param [in] listener The listener for specific operation. - */ - virtual void RequestUserStatsAndAchievements(GalaxyID userID = GalaxyID(), IUserStatsAndAchievementsRetrieveListener* const listener = NULL) = 0; - - /** - * Reads integer value of a statistic of a specified user. - * - * @pre Retrieve the statistics first by calling RequestUserStatsAndAchievements(). - * - * @param [in] name The code name of the statistic. - * @param [in] userID The ID of the user. It can be omitted when requesting for own data. - * @return The value of the statistic. - */ - virtual int32_t GetStatInt(const char* name, GalaxyID userID = GalaxyID()) = 0; - - /** - * Reads floating point value of a statistic of a specified user. - * - * @pre Retrieve the statistics first by calling RequestUserStatsAndAchievements(). - * - * @param [in] name The code name of the statistic. - * @param [in] userID The ID of the user. It can be omitted when requesting for own data. - * @return The value of the statistic. - */ - virtual float GetStatFloat(const char* name, GalaxyID userID = GalaxyID()) = 0; - - /** - * Updates a statistic with an integer value. - * - * @remark In order to make this and other changes persistent, call StoreStatsAndAchievements(). - * - * @pre Retrieve the statistics first by calling RequestUserStatsAndAchievements(). - * - * @param [in] name The code name of the statistic. - * @param [in] value The value of the statistic to set. - */ - virtual void SetStatInt(const char* name, int32_t value) = 0; - - /** - * Updates a statistic with a floating point value. - * - * @remark In order to make this and other changes persistent, call StoreStatsAndAchievements(). - * - * @pre Retrieve the statistics first by calling RequestUserStatsAndAchievements(). - * - * @param [in] name The code name of the statistic. - * @param [in] value The value of the statistic to set. - */ - virtual void SetStatFloat(const char* name, float value) = 0; - - /** - * Updates an average-rate statistic with a delta. - * - * @remark In order to make this and other changes persistent, call StoreStatsAndAchievements(). - * - * @pre Retrieve the statistics first by calling RequestUserStatsAndAchievements(). - * - * @param [in] name The code name of the statistic. - * @param [in] countThisSession The delta of the count. - * @param [in] sessionLength The delta of the session. - */ - virtual void UpdateAvgRateStat(const char* name, float countThisSession, double sessionLength) = 0; - - /** - * Reads the state of an achievement of a specified user. - * - * @pre Retrieve the achievements first by calling RequestUserStatsAndAchievements(). - * - * @param [in] name The code name of the achievement. - * @param [in, out] unlocked Indicates if the achievement has been unlocked. - * @param [out] unlockTime The time at which the achievement was unlocked. - * @param [in] userID The ID of the user. It can be omitted when requesting for own data. - */ - virtual void GetAchievement(const char* name, bool& unlocked, uint32_t& unlockTime, GalaxyID userID = GalaxyID()) = 0; - - /** - * Unlocks an achievement. The achievement is marked as unlocked at the time - * at which this message was called. - * - * @remark In order to make this and other changes persistent, call StoreStatsAndAchievements(). - * - * @pre Retrieve the achievements first by calling RequestUserStatsAndAchievements(). - * - * @param [in] name The code name of the achievement. - */ - virtual void SetAchievement(const char* name) = 0; - - /** - * Clears an achievement. - * - * @remark In order to make this and other changes persistent, call StoreStatsAndAchievements(). - * - * @pre Retrieve the achievements first by calling RequestUserStatsAndAchievements(). - * - * @param [in] name The code name of the achievement. - */ - virtual void ClearAchievement(const char* name) = 0; - - /** - * Persists all changes in statistics and achievements. - * - * This call is asynchronous. Responses come to the IStatsAndAchievementsStoreListener - * (for all GlobalStatsAndAchievementsStoreListener-derived and optional listener passed as argument). - * - * @remark Notifications about storing changes that result in unlocking - * achievements come to the IAchievementChangeListener. - * - * @param [in] listener The listener for specific operation. - */ - virtual void StoreStatsAndAchievements(IStatsAndAchievementsStoreListener* const listener = NULL) = 0; - - /** - * Resets all statistics and achievements. - * - * This is the same as setting statistics and achievements to their - * initial values and calling StoreStatsAndAchievements(). - * - * This call is asynchronous. Responses come to the IStatsAndAchievementsStoreListener - * (for all GlobalStatsAndAchievementsStoreListener-derived and optional listener passed as argument). - * - * @param [in] listener The listener for specific operation. - */ - virtual void ResetStatsAndAchievements(IStatsAndAchievementsStoreListener* const listener = NULL) = 0; - - /** - * Returns display name of a specified achievement. - * - * @remark This call is not thread-safe as opposed to GetAchievementDisplayNameCopy(). - * - * @pre Retrieve the achievements first by calling RequestUserStatsAndAchievements(). - * - * @param [in] name The name of the achievement. - * @return Display name of the specified achievement. - */ - virtual const char* GetAchievementDisplayName(const char* name) = 0; - - /** - * Copies display name of a specified achievement. - * - * @pre Retrieve the achievements first by calling RequestUserStatsAndAchievements(). - * - * @param [in] name The name of the achievement. - * @param [in, out] buffer The output buffer. - * @param [in] bufferLength The size of the output buffer. - */ - virtual void GetAchievementDisplayNameCopy(const char* name, char* buffer, uint32_t bufferLength) = 0; - - /** - * Returns description of a specified achievement. - * - * @remark This call is not thread-safe as opposed to GetAchievementDescriptionCopy(). - * - * @pre Retrieve the achievements first by calling RequestUserStatsAndAchievements(). - * - * @param [in] name The name of the achievement. - * @return Description of the specified achievement. - */ - virtual const char* GetAchievementDescription(const char* name) = 0; - - /** - * Copies description of a specified achievement. - * - * @pre Retrieve the achievements first by calling RequestUserStatsAndAchievements(). - * - * @param [in] name The name of the achievement. - * @param [in, out] buffer The output buffer. - * @param [in] bufferLength The size of the output buffer. - */ - virtual void GetAchievementDescriptionCopy(const char* name, char* buffer, uint32_t bufferLength) = 0; - - /** - * Returns visibility status of a specified achievement. - * - * @pre Retrieve the achievements first by calling RequestUserStatsAndAchievements(). - * - * @param [in] name The name of the achievement. - * @return If the achievement is visible. - */ - virtual bool IsAchievementVisible(const char* name) = 0; - - /** - * Returns visibility status of a specified achievement before unlocking. - * - * @pre Retrieve the achievements first by calling RequestUserStatsAndAchievements(). - * - * @param [in] name The name of the achievement. - * @return If the achievement is visible before unlocking. - */ - virtual bool IsAchievementVisibleWhileLocked(const char* name) = 0; - - /** - * Performs a request for definitions of leaderboards. - * - * This call is asynchronous. Responses come to the ILeaderboardsRetrieveListener. - * - * @param [in] listener The listener for specific operation. - */ - virtual void RequestLeaderboards(ILeaderboardsRetrieveListener* const listener = NULL) = 0; - - /** - * Returns display name of a specified leaderboard. - * - * @remark This call is not thread-safe as opposed to GetLeaderboardDisplayNameCopy(). - * - * @pre Retrieve definition of this particular leaderboard first by calling - * either FindLeaderboard() or FindOrCreateLeaderboard(), or definitions of all existing leaderboards - * by calling RequestLeaderboards(). - * - * @param [in] name The name of the leaderboard. - * @return Display name of the leaderboard. - */ - virtual const char* GetLeaderboardDisplayName(const char* name) = 0; - - /** - * Copies display name of a specified leaderboard. - * - * @pre Retrieve definition of this particular leaderboard first by calling - * either FindLeaderboard() or FindOrCreateLeaderboard(), or definitions of all existing leaderboards - * by calling RequestLeaderboards(). - * - * @param [in] name The name of the leaderboard. - * @param [in, out] buffer The output buffer. - * @param [in] bufferLength The size of the output buffer. - */ - virtual void GetLeaderboardDisplayNameCopy(const char* name, char* buffer, uint32_t bufferLength) = 0; - - /** - * Returns sort method of a specified leaderboard. - * - * @pre Retrieve definition of this particular leaderboard first by calling - * either FindLeaderboard() or FindOrCreateLeaderboard(), or definitions of all existing leaderboards - * by calling RequestLeaderboards(). - * - * @param [in] name The name of the leaderboard. - * @return Sort method of the leaderboard. - */ - virtual LeaderboardSortMethod GetLeaderboardSortMethod(const char* name) = 0; - - /** - * Returns display type of a specified leaderboard. - * - * @pre Retrieve definition of this particular leaderboard first by calling - * either FindLeaderboard() or FindOrCreateLeaderboard(), or definitions of all existing leaderboards - * by calling RequestLeaderboards(). - * - * @param [in] name The name of the leaderboard. - * @return Display type of the leaderboard. - */ - virtual LeaderboardDisplayType GetLeaderboardDisplayType(const char* name) = 0; - - /** - * Performs a request for entries of a specified leaderboard in a global scope, - * i.e. without any specific users in the scope of interest. - * - * The entries are indexed by integers in the range of [0, number of entries). - * - * This call is asynchronous. Responses come to the ILeaderboardEntriesRetrieveListener. - * - * @pre Retrieve definition of this particular leaderboard first by calling - * either FindLeaderboard() or FindOrCreateLeaderboard(), or definitions of all existing leaderboards - * by calling RequestLeaderboards(). - * - * @param [in] name The name of the leaderboard. - * @param [in] rangeStart The index position of the entry to start with. - * @param [in] rangeEnd The index position of the entry to finish with. - * @param [in] listener The listener for specific operation. - */ - virtual void RequestLeaderboardEntriesGlobal( - const char* name, - uint32_t rangeStart, - uint32_t rangeEnd, - ILeaderboardEntriesRetrieveListener* const listener = NULL) = 0; - - /** - * Performs a request for entries of a specified leaderboard for and near the specified user. - * - * The specified numbers of entries before and after the specified user are treated as hints. - * If the requested range would go beyond the set of all leaderboard entries, it is shifted - * so that it fits in the set of all leaderboard entries and preserves its size if possible. - * - * This call is asynchronous. Responses come to the ILeaderboardEntriesRetrieveListener. - * - * @remark This call will end with failure in case there is no entry for the specified user - * in the specified leaderboard. - * - * @pre Retrieve definition of this particular leaderboard first by calling - * either FindLeaderboard() or FindOrCreateLeaderboard(), or definitions of all existing leaderboards - * by calling RequestLeaderboards(). - * - * @param [in] name The name of the leaderboard. - * @param [in] countBefore The number of entries placed before the user's entry to retrieve (hint). - * @param [in] countAfter The number of entries placed after the user's entry to retrieve (hint). - * @param [in] userID The ID of the user. It can be omitted when requesting for own data. - * @param [in] listener The listener for specific operation. - */ - virtual void RequestLeaderboardEntriesAroundUser( - const char* name, - uint32_t countBefore, - uint32_t countAfter, - GalaxyID userID = GalaxyID(), - ILeaderboardEntriesRetrieveListener* const listener = NULL) = 0; - - /** - * Performs a request for entries of a specified leaderboard for specified users. - * - * This call is asynchronous. Responses come to the ILeaderboardEntriesRetrieveListener. - * - * @pre Retrieve definition of this particular leaderboard first by calling - * either FindLeaderboard() or FindOrCreateLeaderboard(), or definitions of all existing leaderboards - * by calling RequestLeaderboards(). - * - * @param [in] name The name of the leaderboard. - * @param [in] userArray An array with the list of IDs of the users in scope. - * @param [in] userArraySize The size of the array, i.e. the number of users in the specified list. - * @param [in] listener The listener for specific operation. - */ - virtual void RequestLeaderboardEntriesForUsers( - const char* name, - GalaxyID* userArray, - uint32_t userArraySize, - ILeaderboardEntriesRetrieveListener* const listener = NULL) = 0; - - /** - * Returns data from the currently processed request for leaderboard entries. - * - * Use this call to iterate over last retrieved lobby entries, indexed from 0. - * - * @remark This method can be used only inside of - * ILeaderboardEntriesRetrieveListener::OnLeaderboardEntriesRetrieveSuccess(). - * - * @pre In order to retrieve lobbies and get their count, first you need to call - * RequestLeaderboardEntriesGlobal(), RequestLeaderboardEntriesAroundUser(), - * or RequestLeaderboardEntriesForUsers(). - * - * @param [in] index Index as an integer in the range of [0, number of entries fetched). - * @param [out] rank User's rank in the leaderboard. - * @param [out] score User's score in the leaderboard. - * @param [out] userID The ID of the user. - */ - virtual void GetRequestedLeaderboardEntry(uint32_t index, uint32_t& rank, int32_t& score, GalaxyID& userID) = 0; - - /** - * Returns data with details from the currently processed request for leaderboard entries. - * - * Use this call to iterate over last retrieved lobby entries, indexed from 0. - * - * If the buffer that is supposed to take the details data is too small, - * the details will be truncated to its size. - * - * @pre In order to retrieve lobbies and get their count, first you need to call - * RequestLeaderboardEntriesGlobal(), RequestLeaderboardEntriesAroundUser(), - * or RequestLeaderboardEntriesForUsers(). - * - * @remark This method can be used only inside of - * ILeaderboardEntriesRetrieveListener::OnLeaderboardEntriesRetrieveSuccess(). - * - * @param [in] index Index as an integer in the range of [0, number of entries fetched). - * @param [out] rank User's rank in the leaderboard. - * @param [out] score User's score in the leaderboard. - * @param [in, out] details An extra, outgoing game-defined information regarding how the user got that score. - * @param [in] detailsSize The size of passed buffer of the extra game-defined information. - * @param [out] outDetailsSize The size of the extra game-defined information. - * @param [out] userID The ID of the user. - */ - virtual void GetRequestedLeaderboardEntryWithDetails( - uint32_t index, - uint32_t& rank, - int32_t& score, - void* details, - uint32_t detailsSize, - uint32_t& outDetailsSize, - GalaxyID& userID) = 0; - - /** - * Updates entry for own user in a specified leaderboard. - * - * This call is asynchronous. Responses come to the ILeaderboardScoreUpdateListener. - * - * @pre Retrieve definition of this particular leaderboard first by calling - * either FindLeaderboard() or FindOrCreateLeaderboard(), or definitions of all existing leaderboards - * by calling RequestLeaderboards(). - * - * @pre For this call to work while the user is logged off, the definition of the leaderboard - * must have been retrieved at least once while the user was logged on. - * - * @param [in] name The name of the leaderboard. - * @param [in] score The score to set. - * @param [in] forceUpdate If the update should be performed in case the score is worse than the previous score. - * @param [in] listener The listener for specific operation. - */ - virtual void SetLeaderboardScore( - const char* name, - int32_t score, - bool forceUpdate = false, - ILeaderboardScoreUpdateListener* const listener = NULL) = 0; - - /** - * Updates entry with details for own user in a specified leaderboard. - * - * This call is asynchronous. Responses come to the ILeaderboardScoreUpdateListener. - * - * @pre Retrieve definition of this particular leaderboard first by calling - * either FindLeaderboard() or FindOrCreateLeaderboard(), or definitions of all existing leaderboards - * by calling RequestLeaderboards(). - * - * @pre For this call to work while the user is logged off, the definition of the leaderboard - * must have been retrieved at least once while the user was logged on. - * - * @param [in] name The name of the leaderboard. - * @param [in] score The score to set. - * @param [in] details An extra game-defined information regarding how the user got that score with the limit of 3071 bytes. - * @param [in] detailsSize The size of buffer of the extra game-defined information. - * @param [in] forceUpdate If the update should be performed in case the score is worse than the previous score. - * @param [in] listener The listener for specific operation. - */ - virtual void SetLeaderboardScoreWithDetails( - const char* name, - int32_t score, - const void* details, - uint32_t detailsSize, - bool forceUpdate = false, - ILeaderboardScoreUpdateListener* const listener = NULL) = 0; - - /** - * Returns the leaderboard entry count for requested leaderboard. - * - * @pre In order to retrieve leaderboard entry count, first you need to call - * RequestLeaderboardEntriesGlobal(), RequestLeaderboardEntriesAroundUser(), - * or RequestLeaderboardEntriesForUsers(). - * - * @param [in] name The name of the leaderboard. - * @return The leaderboard entry count. - */ - virtual uint32_t GetLeaderboardEntryCount(const char* name) = 0; - - /** - * Performs a request for definition of a specified leaderboard. - * - * This call is asynchronous. Responses come to the ILeaderboardRetrieveListener. - * - * @param [in] name The name of the leaderboard. - * @param [in] listener The listener for specific operation. - */ - virtual void FindLeaderboard(const char* name, ILeaderboardRetrieveListener* const listener = NULL) = 0; - - /** - * Performs a request for definition of a specified leaderboard, creating it - * if there is no such leaderboard yet. - * - * This call is asynchronous. Responses come to the ILeaderboardRetrieveListener. - * - * @remark If the leaderboard of the specified name is found, this call ends - * with success no matter if the definition of the leaderboard matches - * the parameters specified in the call to this method. - * - * @param [in] name The name of the leaderboard. - * @param [in] displayName The display name of the leaderboard. - * @param [in] sortMethod The sort method of the leaderboard. - * @param [in] displayType The display method of the leaderboard. - * @param [in] listener The listener for specific operation. - */ - virtual void FindOrCreateLeaderboard( - const char* name, - const char* displayName, - const LeaderboardSortMethod& sortMethod, - const LeaderboardDisplayType& displayType, - ILeaderboardRetrieveListener* const listener = NULL) = 0; - - /** - * Performs a request for user time played. - * - * This call is asynchronous. Responses come to the IUserTimePlayedRetrieveListener. - * - * @param [in] userID The ID of the user. It can be omitted when requesting for own data. - * @param [in] listener The listener for specific operation. - */ - virtual void RequestUserTimePlayed(GalaxyID userID = GalaxyID(), IUserTimePlayedRetrieveListener* const listener = NULL) = 0; - - /** - * Reads the number of seconds played by a specified user. - * - * @pre Retrieve the statistics first by calling RequestUserTimePlayed(). - * - * @param [in] userID The ID of the user. It can be omitted when requesting for own data. - * @return The number of seconds played by the specified user. - */ - virtual uint32_t GetUserTimePlayed(GalaxyID userID = GalaxyID()) = 0; - }; - - /** @} */ - } -} - -#endif diff --git a/vendors/galaxy/Include/galaxy/IStorage.h b/vendors/galaxy/Include/galaxy/IStorage.h deleted file mode 100644 index 873882923..000000000 --- a/vendors/galaxy/Include/galaxy/IStorage.h +++ /dev/null @@ -1,298 +0,0 @@ -#ifndef GALAXY_I_STORAGE_H -#define GALAXY_I_STORAGE_H - -/** - * @file - * Contains data structures and interfaces related to storage activities. - */ - -#include "GalaxyID.h" -#include "IListenerRegistrar.h" - -namespace galaxy -{ - namespace api - { - /** - * @addtogroup api - * @{ - */ - - /** - * ID of a shared file. - */ - typedef uint64_t SharedFileID; - - /** - * Listener for the event of sharing a file. - */ - class IFileShareListener : public GalaxyTypeAwareListener - { - public: - - /** - * Notification for the event of a success in sharing a file. - * - * @param [in] fileName The name of the file in the form of a path (see the description of IStorage::FileWrite()). - * @param [in] sharedFileID The ID of the file. - */ - virtual void OnFileShareSuccess(const char* fileName, SharedFileID sharedFileID) = 0; - - /** - * The reason of a failure in sharing a file. - */ - enum FailureReason - { - FAILURE_REASON_UNDEFINED, ///< Unspecified error. - FAILURE_REASON_CONNECTION_FAILURE ///< Unable to communicate with backend services. - }; - - /** - * Notification for the event of a failure in sharing a file. - * - * @param [in] fileName The name of the file in the form of a path (see the description of IStorage::FileWrite()). - * @param [in] failureReason The cause of the failure. - */ - virtual void OnFileShareFailure(const char* fileName, FailureReason failureReason) = 0; - }; - - /** - * Globally self-registering version of IFileShareListener. - */ - typedef SelfRegisteringListener GlobalFileShareListener; - - /** - * Listener for the event of downloading a shared file. - */ - class ISharedFileDownloadListener : public GalaxyTypeAwareListener - { - public: - - /** - * Notification for the event of a success in downloading a shared file. - * - * @param [in] sharedFileID The ID of the file. - * @param [in] fileName The name of the file in the form of a path (see the description of IStorage::FileWrite()). - */ - virtual void OnSharedFileDownloadSuccess(SharedFileID sharedFileID, const char* fileName) = 0; - - /** - * The reason of a failure in downloading a shared file. - */ - enum FailureReason - { - FAILURE_REASON_UNDEFINED, ///< Unspecified error. - FAILURE_REASON_CONNECTION_FAILURE ///< Unable to communicate with backend services. - }; - - /** - * Notification for the event of a failure in downloading a shared file. - * - * @param [in] sharedFileID The ID of the file. - * @param [in] failureReason The cause of the failure. - */ - virtual void OnSharedFileDownloadFailure(SharedFileID sharedFileID, FailureReason failureReason) = 0; - }; - - /** - * Globally self-registering version of ISharedFileDownloadListener. - */ - typedef SelfRegisteringListener GlobalSharedFileDownloadListener; - - /** - * The interface for managing of cloud storage files. - */ - class IStorage - { - public: - - virtual ~IStorage() - { - } - - /** - * Writes data into the file. - * - * @pre The name that specifies the file has to be provided in the form of a relative path that uses slashes - * as separators and is a valid UTF-8 string. Every part of the path must must be portable, - * i.e. it cannot refer to any special or restricted name on any of the supported platforms. - * Backslashes are not allowed. The files created using this method will be stored in GOG Galaxy internal - * directory and should be accessed only via Galaxy SDK methods. - * - * @param [in] fileName The name of the file in the form of a path (see the description of the method). - * @param [in] data The data to write. - * @param [in] dataSize The size of the data to write. - */ - virtual void FileWrite(const char* fileName, const void* data, uint32_t dataSize) = 0; - - /** - * Reads file content into the buffer. - * - * @param [in] fileName The name of the file in the form of a path (see the description of FileWrite()). - * @param [in, out] data The output buffer. - * @param [in] dataSize The size of the output buffer. - * @return The number of bytes written to the buffer. - */ - virtual uint32_t FileRead(const char* fileName, void* data, uint32_t dataSize) = 0; - - /** - * Deletes the file. - * - * @param [in] fileName The name of the file in the form of a path (see the description of FileWrite()). - */ - virtual void FileDelete(const char* fileName) = 0; - - /** - * Returns if the file exists - * - * @param [in] fileName The name of the file in the form of a path (see the description of FileWrite()). - * @return If the file exist. - */ - virtual bool FileExists(const char* fileName) = 0; - - /** - * Returns the size of the file. - * - * @param [in] fileName The name of the file in the form of a path (see the description of FileWrite()). - * @return The size of the file. - */ - virtual uint32_t GetFileSize(const char* fileName) = 0; - - /** - * Returns the timestamp of the last file modification. - * - * @param [in] fileName The name of the file in the form of a path (see the description of FileWrite()). - * @return The time of file's last modification. - */ - virtual uint32_t GetFileTimestamp(const char* fileName) = 0; - - /** - * Returns number of the files in the storage. - * - * @return The number of the files in the storage. - */ - virtual uint32_t GetFileCount() = 0; - - /** - * Returns name of the file. - * - * @param [in] index Index as an integer in the range of [0, number of files). - * @return The name of the file. - */ - virtual const char* GetFileNameByIndex(uint32_t index) = 0; - - /** - * Copies the name of the file to a buffer. - * - * @param [in] index Index as an integer in the range of [0, number of files). - * @param [in, out] buffer The output buffer. - * @param [in] bufferLength The size of the output buffer. - */ - virtual void GetFileNameCopyByIndex(uint32_t index, char* buffer, uint32_t bufferLength) = 0; - - /** - * Uploads the file for sharing. - * - * This call is asynchronous. Responses come to the IFileShareListener. - * - * @param [in] fileName The name of the file in the form of a path (see the description of FileWrite()). - * @param [in] listener The listener for specific operation. - */ - virtual void FileShare(const char* fileName, IFileShareListener* const listener = NULL) = 0; - - /** - * Downloads previously shared file. - * - * This call is asynchronous. Responses come to the ISharedFileDownloadListener. - * - * @param [in] sharedFileID The ID of the shared file. - * @param [in] listener The listener for specific operation. - */ - virtual void DownloadSharedFile(SharedFileID sharedFileID, ISharedFileDownloadListener* const listener = NULL) = 0; - - /** - * Gets name of downloaded shared file. - * - * @pre Download the file first by calling DownloadSharedFile(). - * - * @param [in] sharedFileID The ID of the shared file. - * @return The name of the shared file. - */ - virtual const char* GetSharedFileName(SharedFileID sharedFileID) = 0; - - /** - * Copies the name of downloaded shared file to a buffer. - * - * @pre Download the file first by calling DownloadSharedFile(). - * - * @param [in] sharedFileID The ID of the shared file. - * @param [in, out] buffer The output buffer. - * @param [in] bufferLength The size of the output buffer. - */ - virtual void GetSharedFileNameCopy(SharedFileID sharedFileID, char* buffer, uint32_t bufferLength) = 0; - - /** - * Gets size of downloaded shared file. - * - * @pre Download the file first by calling DownloadSharedFile(). - * - * @param [in] sharedFileID The ID of the shared file. - * @return The size of the shared file. - */ - virtual uint32_t GetSharedFileSize(SharedFileID sharedFileID) = 0; - - /** - * Gets the owner of downloaded shared file. - * - * @pre Download the file first by calling DownloadSharedFile(). - * - * @param [in] sharedFileID The ID of the shared file. - * @return The owner of the shared file. - */ - virtual GalaxyID GetSharedFileOwner(SharedFileID sharedFileID) = 0; - - /** - * Reads downloaded shared file content into the buffer. - * - * @pre Download the file first by calling DownloadSharedFile(). - * - * @param [in] sharedFileID The ID of the shared file. - * @param [in, out] data The output buffer. - * @param [in] dataSize The size of the output buffer. - * @param [in] offset The number of bytes to skip from the beginning of the file. - * @return The number of bytes written to the buffer. - */ - virtual uint32_t SharedFileRead(SharedFileID sharedFileID, void* data, uint32_t dataSize, uint32_t offset = 0) = 0; - - /** - * Closes downloaded shared file and frees the memory. - * - * The content of the file will not be available until next download. - * - * @pre Download the file first by calling DownloadSharedFile(). - * - * @param [in] sharedFileID The ID of the shared file. - */ - virtual void SharedFileClose(SharedFileID sharedFileID) = 0; - - /** - * Returns the number of open downloaded shared files. - * - * @return The number of open downloaded shared files. - */ - virtual uint32_t GetDownloadedSharedFileCount() = 0; - - /** - * Returns the ID of the open downloaded shared file. - * - * @param [in] index Index as an integer in the range of [0, number of open downloaded shared files). - * @return The ID of the shared file. - */ - virtual SharedFileID GetDownloadedSharedFileByIndex(uint32_t index) = 0; - }; - - /** @} */ - } -} - -#endif diff --git a/vendors/galaxy/Include/galaxy/ITelemetry.h b/vendors/galaxy/Include/galaxy/ITelemetry.h deleted file mode 100644 index 51388fa46..000000000 --- a/vendors/galaxy/Include/galaxy/ITelemetry.h +++ /dev/null @@ -1,257 +0,0 @@ -#ifndef GALAXY_I_TELEMETRY_H -#define GALAXY_I_TELEMETRY_H - -/** - * @file - * Contains data structures and interfaces related to telemetry. - */ - -#include "IListenerRegistrar.h" - -namespace galaxy -{ - namespace api - { - /** - * @addtogroup api - * @{ - */ - - /** - * Listener for the event of sending a telemetry event. - */ - class ITelemetryEventSendListener : public GalaxyTypeAwareListener - { - public: - - /** - * Notification for the event of sending a telemetry event. - * - * @param [in] eventType The type of the event. - * @param [in] sentEventIndex The internal index of the sent event. - */ - virtual void OnTelemetryEventSendSuccess(const char* eventType, uint32_t sentEventIndex) = 0; - - /** - * The reason of a failure in sending a telemetry event. - */ - enum FailureReason - { - FAILURE_REASON_UNDEFINED, ///< Unspecified error. - FAILURE_REASON_CLIENT_FORBIDDEN, ///< Sending telemetry events is forbidden for this application. - FAILURE_REASON_INVALID_DATA, ///< The event of given type and form does not match specification. - FAILURE_REASON_CONNECTION_FAILURE, ///< Unable to communicate with backend services. - FAILURE_REASON_NO_SAMPLING_CLASS_IN_CONFIG, ///< The event sampling class not present in configuration. - FAILURE_REASON_SAMPLING_CLASS_FIELD_MISSING, ///< Sampling class' field not present in the event. - FAILURE_REASON_EVENT_SAMPLED_OUT ///< The event did not match sampling criteria. - }; - - /** - * Notification for the event of a failure in sending a telemetry event. - * - * @param [in] eventType The type of the event. - * @param [in] sentEventIndex The internal index of the sent event. - * @param [in] failureReason The cause of the failure. - */ - virtual void OnTelemetryEventSendFailure(const char* eventType, uint32_t sentEventIndex, FailureReason failureReason) = 0; - }; - - /** - * Globally self-registering version of ITelemetryEventSendListener. - */ - typedef SelfRegisteringListener GlobalTelemetryEventSendListener; - - - /** - * Globally self-registering version of ITelemetryEventSendListener for the Game Server. - */ - typedef SelfRegisteringListener GameServerGlobalTelemetryEventSendListener; - - /** - * The interface for handling telemetry. - */ - class ITelemetry - { - public: - - virtual ~ITelemetry() - { - } - - /** - * Adds a string parameter to be applied next time you call SendTelemetryEvent() - * or SendAnonymousTelemetryEvent(). - * - * @remark You can add multiple parameters of different types. - * - * @remark All object parameters must have a unique name. - * - * @param [in] name The name of the parameter or NULL when adding a value to an array. - * @param [in] value The value of the parameter. - */ - virtual void AddStringParam(const char* name, const char* value) = 0; - - /** - * Adds an integer parameter to be applied next time you call SendTelemetryEvent() - * or SendAnonymousTelemetryEvent(). - * - * @remark You can add multiple parameters of different types. - * - * @remark All object parameters must have a unique name. - * - * @param [in] name The name of the parameter or NULL when adding a value to an array. - * @param [in] value The value of the parameter. - */ - virtual void AddIntParam(const char* name, int32_t value) = 0; - - /** - * Adds a float parameter to be applied next time you call SendTelemetryEvent() - * or SendAnonymousTelemetryEvent(). - * - * @remark You can add multiple parameters of different types. - * - * @remark All object parameters must have a unique name. - * - * @param [in] name The name of the parameter or NULL when adding a value to an array. - * @param [in] value The value of the parameter. - */ - virtual void AddFloatParam(const char* name, double value) = 0; - - /** - * Adds a boolean parameter to be applied next time you call SendTelemetryEvent() - * or SendAnonymousTelemetryEvent(). - * - * @remark You can add multiple parameters of different types. - * - * @remark All object parameters must have a unique name. - * - * @param [in] name The name of the parameter or NULL when adding a value to an array. - * @param [in] value The value of the parameter. - */ - virtual void AddBoolParam(const char* name, bool value) = 0; - - /** - * Adds an object parameter to be applied next time you call SendTelemetryEvent() - * or SendAnonymousTelemetryEvent(). - * - * Subsequent calls to add parameters operate within the newly created object parameter. - * In order to be able to add parameters on the upper level, you need to call - * ITelemetry::CloseParam(). - * - * @remark You can add multiple parameters of different types. - * - * @remark All object parameters must have a unique name. - * - * @param [in] name The name of the parameter or NULL when adding a value to an array. - */ - virtual void AddObjectParam(const char* name) = 0; - - /** - * Adds an array parameter to be applied next time you call SendTelemetryEvent() - * or SendAnonymousTelemetryEvent(). - * - * Subsequent calls to add parameters operate within the newly created array parameter. - * In order to be able to add parameters on the upper level, you need to call - * ITelemetry::CloseParam(). - * - * @remark You can add multiple parameters of different types. - * - * @remark All object parameters must have a unique name. - * - * @param [in] name The name of the parameter or NULL when adding a value to an array. - */ - virtual void AddArrayParam(const char* name) = 0; - - /** - * Closes an object or array parameter and leaves its scope. - * - * This allows for adding parameters to the upper scope. - * - * @remark Once closed, an object or array cannot be extended with new parameters. - * - * @remark Has no effect on simple parameters as well as on the event object itself. - */ - virtual void CloseParam() = 0; - - /** - * Clears all parameters that may have been set so far at any level. - * - * This allows for safely starting to build an event from scratch. - */ - virtual void ClearParams() = 0; - - - /** - * Sets a sampling class to be applied next time you call SendTelemetryEvent() - * or SendAnonymousTelemetryEvent(). - * - * @param [in] name The name of the sampling class. - */ - virtual void SetSamplingClass(const char* name) = 0; - - /** - * Sends a telemetry event. - * - * This call is asynchronous. Responses come to the ITelemetryEventSendListener. - * - * @remark After each call to SendTelemetryEvent() or SendAnonymousTelemetryEvent() - * all parameters are cleared automatically as if you called ClearParams(). - * - * @remark Internal event index returned by this method should only be used - * to identify sent events in callbacks that come to the ITelemetryEventSendListener. - * - * @param [in] eventType The type of the event. - * @param [in] listener The listener for specific operation. - * @return Internal event index. - */ - virtual uint32_t SendTelemetryEvent(const char* eventType, ITelemetryEventSendListener* const listener = NULL) = 0; - - /** - * Sends an anonymous telemetry event. - * - * This call is asynchronous. Responses come to the ITelemetryEventSendListener. - * - * @remark After each call to SendTelemetryEvent() or SendAnonymousTelemetryEvent() - * all parameters are cleared automatically as if you called ClearParams(). - * - * @remark Internal event index returned by this method should only be used - * to identify sent events in callbacks that come to the ITelemetryEventSendListener. - * - * @param [in] eventType The type of the event. - * @param [in] listener The listener for specific operation. - * @return Internal event index. - */ - virtual uint32_t SendAnonymousTelemetryEvent(const char* eventType, ITelemetryEventSendListener* const listener = NULL) = 0; - - /** - * Retrieves current VisitID. - * - * Visit ID is used to link subsequent telemetry events that corresponds to the same action (e.x. game session). - * - * @return Visit ID. - */ - virtual const char* GetVisitID() = 0; - - /** - * Copies current VisitID. - * - * Visit ID is used to link subsequent telemetry events that corresponds to the same action (e.x. game session). - * - * @param [in, out] buffer The output buffer. - * @param [in] bufferLength The size of the output buffer. - */ - virtual void GetVisitIDCopy(char* buffer, uint32_t bufferLength) = 0; - - /** - * Resets current VisitID. - * - * Visit ID is used to link subsequent telemetry events that corresponds to the same action (e.x. game session). - */ - virtual void ResetVisitID() = 0; - }; - - /** @} */ - } -} - -#endif diff --git a/vendors/galaxy/Include/galaxy/IUser.h b/vendors/galaxy/Include/galaxy/IUser.h deleted file mode 100644 index 441312eca..000000000 --- a/vendors/galaxy/Include/galaxy/IUser.h +++ /dev/null @@ -1,694 +0,0 @@ -#ifndef GALAXY_I_USER_H -#define GALAXY_I_USER_H - -/** - * @file - * Contains data structures and interfaces related to user account. - */ - -#include "GalaxyID.h" -#include "IListenerRegistrar.h" - -namespace galaxy -{ - namespace api - { - /** - * @addtogroup api - * @{ - */ - - /** - * The ID of the session. - */ - typedef uint64_t SessionID; - - /** - * Listener for the events related to user authentication. - */ - class IAuthListener : public GalaxyTypeAwareListener - { - public: - - /** - * Notification for the event of successful sign in. - */ - virtual void OnAuthSuccess() = 0; - - /** - * Reason of authentication failure. - */ - enum FailureReason - { - FAILURE_REASON_UNDEFINED, ///< Undefined error. - FAILURE_REASON_GALAXY_SERVICE_NOT_AVAILABLE, ///< Galaxy Service is not installed properly or fails to start. - FAILURE_REASON_GALAXY_SERVICE_NOT_SIGNED_IN, ///< Galaxy Service is not signed in properly. - FAILURE_REASON_CONNECTION_FAILURE, ///< Unable to communicate with backend services. - FAILURE_REASON_NO_LICENSE, ///< User that is being signed in has no license for this application. - FAILURE_REASON_INVALID_CREDENTIALS, ///< Unable to match client credentials (ID, secret) or user credentials (username, password). - FAILURE_REASON_GALAXY_NOT_INITIALIZED, ///< Galaxy has not been initialized. - FAILURE_REASON_EXTERNAL_SERVICE_FAILURE ///< Unable to communicate with external service. - }; - - /** - * Notification for the event of unsuccessful sign in. - * - * @param [in] failureReason The cause of the failure. - */ - virtual void OnAuthFailure(FailureReason failureReason) = 0; - - /** - * Notification for the event of loosing authentication. - * - * @remark Might occur any time after successfully signing in. - */ - virtual void OnAuthLost() = 0; - }; - - /** - * Globally self-registering version of IAuthListener. - */ - typedef SelfRegisteringListener GlobalAuthListener; - - /** - * Globally self-registering version of IAuthListener for the Game Server. - */ - typedef SelfRegisteringListener GameServerGlobalAuthListener; - - /** - * Listener for the events related to starting of other sessions. - */ - class IOtherSessionStartListener : public GalaxyTypeAwareListener - { - public: - - /** - * Notification for the event of other session being started. - */ - virtual void OnOtherSessionStarted() = 0; - }; - - /** - * Globally self-registering version of IOtherSessionStartListener. - */ - typedef SelfRegisteringListener GlobalOtherSessionStartListener; - - /** - * Globally self-registering version of IOtherSessionStartListener for the Game Server. - */ - typedef SelfRegisteringListener GameServerGlobalOtherSessionStartListener; - - /** - * Listener for the event of a change of the operational state. - */ - class IOperationalStateChangeListener : public GalaxyTypeAwareListener - { - public: - - /** - * Aspect of the operational state. - */ - enum OperationalState - { - OPERATIONAL_STATE_SIGNED_IN = 0x0001, ///< User signed in. - OPERATIONAL_STATE_LOGGED_ON = 0x0002 ///< User logged on. - }; - - /** - * Notification for the event of a change of the operational state. - * - * @param [in] operationalState The sum of the bit flags representing the operational state, as defined in IOperationalStateChangeListener::OperationalState. - */ - virtual void OnOperationalStateChanged(uint32_t operationalState) = 0; - }; - - /** - * Globally self-registering version of IOperationalStateChangeListener. - */ - typedef SelfRegisteringListener GlobalOperationalStateChangeListener; - - /** - * Globally self-registering version of IOperationalStateChangeListener for the GameServer. - */ - typedef SelfRegisteringListener GameServerGlobalOperationalStateChangeListener; - - /** - * Listener for the events related to user data changes of current user only. - * - * @remark In order to get notifications about changes to user data of all users, - * use ISpecificUserDataListener instead. - */ - class IUserDataListener : public GalaxyTypeAwareListener - { - public: - - /** - * Notification for the event of user data change. - */ - virtual void OnUserDataUpdated() = 0; - }; - - /** - * Globally self-registering version of IUserDataListener. - */ - typedef SelfRegisteringListener GlobalUserDataListener; - - /** - * Globally self-registering version of IUserDataListener for the GameServer. - */ - typedef SelfRegisteringListener GameServerGlobalUserDataListener; - - /** - * Listener for the events related to user data changes. - */ - class ISpecificUserDataListener : public GalaxyTypeAwareListener - { - public: - - /** - * Notification for the event of user data change. - * - * @param [in] userID The ID of the user. - */ - virtual void OnSpecificUserDataUpdated(GalaxyID userID) = 0; - }; - - /** - * Globally self-registering version of ISpecificUserDataListener. - */ - typedef SelfRegisteringListener GlobalSpecificUserDataListener; - - /** - * Globally self-registering version of ISpecificUserDataListener for the Game Server. - */ - typedef SelfRegisteringListener GameServerGlobalSpecificUserDataListener; - - /** - * Listener for the event of retrieving a requested Encrypted App Ticket. - */ - class IEncryptedAppTicketListener : public GalaxyTypeAwareListener - { - public: - - /** - * Notification for an event of a success in retrieving the Encrypted App Ticket. - * - * In order to read the Encrypted App Ticket, call IUser::GetEncryptedAppTicket(). - */ - virtual void OnEncryptedAppTicketRetrieveSuccess() = 0; - - /** - * The reason of a failure in retrieving an Encrypted App Ticket. - */ - enum FailureReason - { - FAILURE_REASON_UNDEFINED, ///< Unspecified error. - FAILURE_REASON_CONNECTION_FAILURE ///< Unable to communicate with backend services. - }; - - /** - * Notification for the event of a failure in retrieving an Encrypted App Ticket. - * - * @param [in] failureReason The cause of the failure. - */ - virtual void OnEncryptedAppTicketRetrieveFailure(FailureReason failureReason) = 0; - }; - - /** - * Globally self-registering version of IEncryptedAppTicketListener. - */ - typedef SelfRegisteringListener GlobalEncryptedAppTicketListener; - - /** - * Globally self-registering version of IEncryptedAppTicketListener for the Game Server. - */ - typedef SelfRegisteringListener GameServerGlobalEncryptedAppTicketListener; - - - /** - * Listener for the event of a change of current access token. - */ - class IAccessTokenListener : public GalaxyTypeAwareListener - { - public: - - /** - * Notification for an event of retrieving an access token. - * - * In order to read the access token, call IUser::GetAccessToken(). - */ - virtual void OnAccessTokenChanged() = 0; - }; - - /** - * Globally self-registering version of IAccessTokenListener. - */ - typedef SelfRegisteringListener GlobalAccessTokenListener; - - /** - * Globally self-registering version of IAccessTokenListener for the GameServer. - */ - typedef SelfRegisteringListener GameServerGlobalAccessTokenListener; - - /** - * The interface for handling the user account. - */ - class IUser - { - public: - - virtual ~IUser() - { - } - - /** - * Checks if the user is signed in to Galaxy. - * - * The user should be reported as signed in as soon as the authentication - * process is finished. - * - * If the user is not able to sign in or gets signed out, there might be either - * a networking issue or a limited availability of Galaxy backend services. - * - * After loosing authentication the user needs to sign in again in order - * for the Galaxy Peer to operate. - * - * @remark Information about being signed in or signed out also comes to - * the IAuthListener and the IOperationalStateChangeListener. - * - * @return true if the user is signed in, false otherwise. - */ - virtual bool SignedIn() = 0; - - /** - * Returns the ID of the user, provided that the user is signed in. - * - * @return The ID of the user. - */ - virtual GalaxyID GetGalaxyID() = 0; - - /** - * Authenticates the Galaxy Peer with specified user credentials. - * - * This call is asynchronous. Responses come to the IAuthListener - * (for all GlobalAuthListener-derived and optional listener passed as argument). - * - * @warning This method is only for testing purposes and is not meant - * to be used in production environment in any way. - * - * @remark Information about being signed in or signed out also comes to - * the IOperationalStateChangeListener. - * - * @param [in] login The user's login. - * @param [in] password The user's password. - * @param [in] listener The listener for specific operation. - */ - virtual void SignInCredentials(const char* login, const char* password, IAuthListener* const listener = NULL) = 0; - - /** - * Authenticates the Galaxy Peer with refresh token. - * - * This call is asynchronous. Responses come to the IAuthListener - * (for all GlobalAuthListener-derived and optional listener passed as argument). - * - * This method is designed for application which renders Galaxy login page - * in its UI and obtains refresh token after user login. - * - * @remark Information about being signed in or signed out also comes to - * the IOperationalStateChangeListener. - * - * @param [in] refreshToken The refresh token obtained from Galaxy login page. - * @param [in] listener The listener for specific operation. - */ - virtual void SignInToken(const char* refreshToken, IAuthListener* const listener = NULL) = 0; - - /** - * Authenticates the Galaxy Peer based on CDPR launcher authentication. - * - * This call is asynchronous. Responses come to the IAuthListener - * (for all GlobalAuthListener-derived and optional listener passed as argument). - * - * @remark Information about being signed in or signed out also comes to - * the IOperationalStateChangeListener. - * - * @note This method is for internal uses only. - * - * @param [in] listener The listener for specific operation. - */ - virtual void SignInLauncher(IAuthListener* const listener = NULL) = 0; - - /** - * Authenticates the Galaxy Peer based on Steam Encrypted App Ticket. - * - * This call is asynchronous. Responses come to the IAuthListener - * (for all GlobalAuthListener-derived and optional listener passed as argument). - * - * @remark Information about being signed in or signed out also comes to - * the IOperationalStateChangeListener. - * - * @param [in] steamAppTicket The Encrypted App Ticket from the Steam API. - * @param [in] steamAppTicketSize The size of the ticket. - * @param [in] personaName The user's persona name, i.e. the username from Steam. - * @param [in] listener The listener for specific operation. - */ - virtual void SignInSteam(const void* steamAppTicket, uint32_t steamAppTicketSize, const char* personaName, IAuthListener* const listener = NULL) = 0; - - /** - * Authenticates the Galaxy Peer based on Epic Access Token. - * - * This call is asynchronous. Responses come to the IAuthListener - * (for all GlobalAuthListener-derived and optional listener passed as argument). - * - * @remark Information about being signed in or signed out also comes to - * the IOperationalStateChangeListener. - * - * @param [in] epicAccessToken The Authentication Token from the Epic API. - * @param [in] epicUsername The username of the Epic account. - * @param [in] listener The listener for specific operation. - */ - virtual void SignInEpic(const char* epicAccessToken, const char* epicUsername, IAuthListener* const listener = NULL) = 0; - - /** - * Authenticates the Galaxy Peer based on Galaxy Client authentication. - * - * This call is asynchronous. Responses come to the IAuthListener - * (for all GlobalAuthListener-derived and optional listener passed as argument). - * - * @remark Information about being signed in or signed out also comes to - * the IOperationalStateChangeListener. - * - * @param [in] requireOnline Indicates if sing in with Galaxy backend is required. - * @param [in] listener The listener for specific operation. - */ - virtual void SignInGalaxy(bool requireOnline = false, IAuthListener* const listener = NULL) = 0; - - /** - * Authenticates the Galaxy Peer based on Windows Store authentication - * in Universal Windows Platform application. - * - * This call is asynchronous. Responses come to the IAuthListener - * (for all GlobalAuthListener-derived and optional listener passed as argument). - * - * @remark Information about being signed in or signed out also comes to - * the IOperationalStateChangeListener. - * - * @param [in] listener The listener for specific operation. - */ - virtual void SignInUWP(IAuthListener* const listener = NULL) = 0; - - /** - * Authenticates the Galaxy Peer based on PS4 credentials. - * - * This call is asynchronous. Responses come to the IAuthListener - * (for all GlobalAuthListener-derived and optional listener passed as argument). - * - * @remark Information about being signed in or signed out also comes to - * the IOperationalStateChangeListener. - * - * @param [in] ps4ClientID The PlayStation 4 client ID. - * @param [in] listener The listener for specific operation. - */ - virtual void SignInPS4(const char* ps4ClientID, IAuthListener* const listener = NULL) = 0; - - /** - * Authenticates the Galaxy Peer based on XBOX ONE credentials. - * - * This call is asynchronous. Responses come to the IAuthListener - * (for all GlobalAuthListener-derived and optional listener passed as argument). - * - * @remark Information about being signed in or signed out also comes to - * the IOperationalStateChangeListener. - * - * @param [in] xboxOneUserID The XBOX ONE user ID. - * @param [in] listener The listener for specific operation. - */ - virtual void SignInXB1(const char* xboxOneUserID, IAuthListener* const listener = NULL) = 0; - - /** - * Authenticates the Galaxy Peer based on Xbox Live tokens. - * - * This call is asynchronous. Responses come to the IAuthListener - * (for all GlobalAuthListener-derived and optional listener passed as argument). - * - * @remark Information about being signed in or signed out also comes to - * the IOperationalStateChangeListener. - * - * @param [in] token The XSTS token. - * @param [in] signature The digital signature for the HTTP request. - * @param [in] marketplaceID The Marketplace ID - * @param [in] locale The user locale (example values: EN-US, FR-FR). - * @param [in] listener The listener for specific operation. - */ - virtual void SignInXBLive(const char* token, const char* signature, const char* marketplaceID, const char* locale, IAuthListener* const listener = NULL) = 0; - - /** - * Authenticates the Galaxy Game Server anonymously. - * - * This call is asynchronous. Responses come to the IAuthListener - * (for all GlobalAuthListener-derived and optional listener passed as argument). - * - * @remark Information about being signed in or signed out also comes to - * the IOperationalStateChangeListener. - * - * @param [in] listener The listener for specific operation. - */ - virtual void SignInAnonymous(IAuthListener* const listener = NULL) = 0; - - /** - * Authenticates the Galaxy Peer anonymously. - * - * This authentication method enables the peer to send anonymous telemetry events. - * - * This call is asynchronous. Responses come to the IAuthListener - * (for all GlobalAuthListener-derived and optional listener passed as argument). - * - * @param [in] listener The listener for specific operation. - */ - virtual void SignInAnonymousTelemetry(IAuthListener* const listener = NULL) = 0; - - /** - * Authenticates the Galaxy Peer with a specified server key. - * - * This call is asynchronous. Responses come to the IAuthListener. - * - * @warning Make sure you do not put your server key in public builds. - * - * @remark Information about being signed in or signed out also comes to - * the IOperationalStateChangeListener. - * - * @remark Signing in with a server key is meant for server-side usage, - * meaning that typically there will be no user associated to the session. - * - * @param [in] serverKey The server key. - * @param [in] listener The listener for specific operation. - */ - virtual void SignInServerKey(const char* serverKey, IAuthListener* const listener = NULL) = 0; - - /** - * Signs the Galaxy Peer out. - * - * This call is asynchronous. Responses come to the IAuthListener and IOperationalStateChangeListener. - * - * @remark All pending asynchronous operations will be finished immediately. - * Their listeners will be called with the next call to the ProcessData(). - */ - virtual void SignOut() = 0; - - /** - * Retrieves/Refreshes user data storage. - * - * This call is asynchronous. Responses come to the IUserDataListener and ISpecificUserDataListener. - * - * @param [in] userID The ID of the user. It can be omitted when requesting for own data. - * @param [in] listener The listener for specific operation. - */ - virtual void RequestUserData(GalaxyID userID = GalaxyID(), ISpecificUserDataListener* const listener = NULL) = 0; - - /** - * Checks if user data exists. - * - * @pre Retrieve the user data first by calling RequestUserData(). - * - * @param [in] userID The ID of the user. It can be omitted when checking for own data. - * @return true if user data exists, false otherwise. - */ - virtual bool IsUserDataAvailable(GalaxyID userID = GalaxyID()) = 0; - - /** - * Returns an entry from the data storage of current user. - * - * @remark This call is not thread-safe as opposed to GetUserDataCopy(). - * - * @pre Retrieve the user data first by calling RequestUserData(). - * - * @param [in] key The name of the property of the user data storage. - * @param [in] userID The ID of the user. It can be omitted when reading own data. - * @return The value of the property, or an empty string if failed. - */ - virtual const char* GetUserData(const char* key, GalaxyID userID = GalaxyID()) = 0; - - /** - * Copies an entry from the data storage of current user. - * - * @pre Retrieve the user data first by calling RequestUserData(). - * - * @param [in] key The name of the property of the user data storage. - * @param [in, out] buffer The output buffer. - * @param [in] bufferLength The size of the output buffer. - * @param [in] userID The ID of the user. It can be omitted when reading own data. - */ - virtual void GetUserDataCopy(const char* key, char* buffer, uint32_t bufferLength, GalaxyID userID = GalaxyID()) = 0; - - /** - * Creates or updates an entry in the user data storage. - * - * This call in asynchronous. Responses come to the IUserDataListener and ISpecificUserDataListener. - * - * @remark To clear a property, set it to an empty string. - * - * @param [in] key The name of the property of the user data storage with the limit of 1023 bytes. - * @param [in] value The value of the property to set with the limit of 4095 bytes. - * @param [in] listener The listener for specific operation. - */ - virtual void SetUserData(const char* key, const char* value, ISpecificUserDataListener* const listener = NULL) = 0; - - /** - * Returns the number of entries in the user data storage - * - * @pre Retrieve the user data first by calling RequestUserData(). - * - * @param [in] userID The ID of the user. It can be omitted when reading own data. - * @return The number of entries, or 0 if failed. - */ - virtual uint32_t GetUserDataCount(GalaxyID userID = GalaxyID()) = 0; - - /** - * Returns a property from the user data storage by index. - * - * @pre Retrieve the user data first by calling RequestUserData(). - * - * @param [in] index Index as an integer in the range of [0, number of entries). - * @param [in, out] key The name of the property of the user data storage. - * @param [in] keyLength The length of the name of the property of the user data storage. - * @param [in, out] value The value of the property of the user data storage. - * @param [in] valueLength The length of the value of the property of the user data storage. - * @param [in] userID The ID of the user. It can be omitted when reading own data. - * @return true if succeeded, false when there is no such property. - */ - virtual bool GetUserDataByIndex(uint32_t index, char* key, uint32_t keyLength, char* value, uint32_t valueLength, GalaxyID userID = GalaxyID()) = 0; - - /** - * Clears a property of user data storage - * - * This is the same as calling SetUserData() and providing an empty string - * as the value of the property that is to be altered. - * - * This call in asynchronous. Responses come to the IUserDataListener and ISpecificUserDataListener. - * - * @param [in] key The name of the property of the user data storage. - * @param [in] listener The listener for specific operation. - */ - virtual void DeleteUserData(const char* key, ISpecificUserDataListener* const listener = NULL) = 0; - - /** - * Checks if the user is logged on to Galaxy backend services. - * - * @remark Only a user that has been successfully signed in within Galaxy Service - * can be logged on to Galaxy backend services, hence a user that is logged on - * is also signed in, and a user that is not signed in is also not logged on. - * - * @remark Information about being logged on or logged off also comes to - * the IOperationalStateChangeListener. - * - * @return true if the user is logged on to Galaxy backend services, false otherwise. - */ - virtual bool IsLoggedOn() = 0; - - /** - * Performs a request for an Encrypted App Ticket. - * - * This call is asynchronous. Responses come to the IEncryptedAppTicketListener. - * - * @param [in] data The additional data to be placed within the Encrypted App Ticket with the limit of 1023 bytes. - * @param [in] dataSize The size of the additional data. - * @param [in] listener The listener for specific operation. - */ - virtual void RequestEncryptedAppTicket(const void* data, uint32_t dataSize, IEncryptedAppTicketListener* const listener = NULL) = 0; - - /** - * Returns the Encrypted App Ticket. - * - * If the buffer that is supposed to take the data is too small, - * the Encrypted App Ticket will be truncated to its size. - * - * @pre Retrieve an Encrypted App Ticket first by calling RequestEncryptedAppTicket(). - * - * @param [in, out] encryptedAppTicket The buffer for the Encrypted App Ticket. - * @param [in] maxEncryptedAppTicketSize The maximum size of the Encrypted App Ticket buffer. - * @param [out] currentEncryptedAppTicketSize The actual size of the Encrypted App Ticket. - */ - virtual void GetEncryptedAppTicket(void* encryptedAppTicket, uint32_t maxEncryptedAppTicketSize, uint32_t& currentEncryptedAppTicketSize) = 0; - - /** - * Returns the ID of current session. - * - * @return The session ID. - */ - virtual SessionID GetSessionID() = 0; - - /** - * Returns the access token for current session. - * - * @remark This call is not thread-safe as opposed to GetAccessTokenCopy(). - * - * @remark The access token that is used for current session might be - * updated in the background automatically, without any request for that. - * Each time the access token is updated, a notification comes to the - * IAccessTokenListener. - * - * @return The access token. - */ - virtual const char* GetAccessToken() = 0; - - /** - * Copies the access token for current session. - * - * @remark The access token that is used for current session might be - * updated in the background automatically, without any request for that. - * Each time the access token is updated, a notification comes to the - * IAccessTokenListener. - * - * @param [in, out] buffer The output buffer. - * @param [in] bufferLength The size of the output buffer. - */ - virtual void GetAccessTokenCopy(char* buffer, uint32_t bufferLength) = 0; - - /** - * Reports current access token as no longer working. - * - * This starts the process of refreshing access token, unless the process - * is already in progress. The notifications come to IAccessTokenListener. - * - * @remark The access token that is used for current session might be - * updated in the background automatically, without any request for that. - * Each time the access token is updated, a notification comes to the - * IAccessTokenListener. - * - * @remark If the specified access token is not the same as the access token - * for current session that would have been returned by GetAccessToken(), - * the report will not be accepted and no further action will be performed. - * In such case do not expect a notification to IAccessTokenListener and - * simply get the new access token by calling GetAccessToken(). - * - * @param [in] accessToken The invalid access token. - * @param [in] info Additional information, e.g. the URI of the resource it was used for. - * @return true if the report was accepted, false otherwise. - */ - virtual bool ReportInvalidAccessToken(const char* accessToken, const char* info = NULL) = 0; - }; - - /** @} */ - } -} - -#endif diff --git a/vendors/galaxy/Include/galaxy/IUtils.h b/vendors/galaxy/Include/galaxy/IUtils.h deleted file mode 100644 index 76ee10e55..000000000 --- a/vendors/galaxy/Include/galaxy/IUtils.h +++ /dev/null @@ -1,262 +0,0 @@ -#ifndef GALAXY_I_UTILS_H -#define GALAXY_I_UTILS_H - -/** - * @file - * Contains data structures and interfaces related to common activities. - */ - -#include "IListenerRegistrar.h" - -namespace galaxy -{ - namespace api - { - /** - * @addtogroup api - * @{ - */ - - /** - * The ID of the notification. - */ - typedef uint64_t NotificationID; - - /** - * State of the overlay - */ - enum OverlayState - { - OVERLAY_STATE_UNDEFINED, ///< Overlay state is undefined. - OVERLAY_STATE_NOT_SUPPORTED, ///< Overlay is not supported. - OVERLAY_STATE_DISABLED, ///< Overlay is disabled by the user in the Galaxy Client. - OVERLAY_STATE_FAILED_TO_INITIALIZE, ///< Galaxy Client failed to initialize the overlay or inject it into the game. - OVERLAY_STATE_INITIALIZED ///< Overlay has been successfully injected into the game. - }; - - /** - * Listener for the event of changing overlay visibility. - */ - class IOverlayVisibilityChangeListener : public GalaxyTypeAwareListener - { - public: - - /** - * Notification for the event of changing overlay visibility. - * - * @param [in] overlayVisible Indicates if overlay is in front of the game. - */ - virtual void OnOverlayVisibilityChanged(bool overlayVisible) = 0; - }; - - /** - * Globally self-registering version of IOverlayStateChangeListener. - */ - typedef SelfRegisteringListener GlobalOverlayVisibilityChangeListener; - - /** - * Listener for the event of changing overlay state. - */ - class IOverlayInitializationStateChangeListener : public GalaxyTypeAwareListener - { - public: - - /** - * Notification for the event of changing overlay state change. - * - * @param [in] overlayState Indicates current state of the overlay. - */ - virtual void OnOverlayStateChanged(OverlayState overlayState) = 0; - }; - - /** - * Globally self-registering version of IOverlayInitializationStateChangeListener. - */ - typedef SelfRegisteringListener GlobalOverlayInitializationStateChangeListener; - - /** - * Listener for the event of receiving a notification. - */ - class INotificationListener : public GalaxyTypeAwareListener - { - public: - - /** - * Notification for the event of receiving a notification. - * - * To read the message you need to call IUtils::GetNotification(). - * - * @param [in] notificationID The ID of the notification. - * @param [in] typeLength The size of the type of the notification. - * @param [in] contentSize The size of the content of the notification. - */ - virtual void OnNotificationReceived(NotificationID notificationID, uint32_t typeLength, uint32_t contentSize) = 0; - }; - - /** - * Globally self-registering version of INotificationListener. - */ - typedef SelfRegisteringListener GlobalNotificationListener; - - /** - * State of connection to the GOG services. - */ - enum GogServicesConnectionState - { - GOG_SERVICES_CONNECTION_STATE_UNDEFINED, ///< Connection state is undefined. - GOG_SERVICES_CONNECTION_STATE_CONNECTED, ///< Connection to the GOG services has been established. - GOG_SERVICES_CONNECTION_STATE_DISCONNECTED, ///< Connection to the GOG services has been lost. - GOG_SERVICES_CONNECTION_STATE_AUTH_LOST ///< Connection to the GOG services has been lost due to lose of peer authentication. - }; - - /** - * Listener for the event of GOG services connection change. - */ - class IGogServicesConnectionStateListener : public GalaxyTypeAwareListener - { - public: - - /** - * Notification of the GOG services connection changed. - * - * @param [in] connectionState Current connection state. - */ - virtual void OnConnectionStateChange(GogServicesConnectionState connectionState) = 0; - }; - - /** - * Globally self-registering version of IGogServicesConnectionStateListener. - */ - typedef SelfRegisteringListener GlobalGogServicesConnectionStateListener; - - - /** - * Globally self-registering version of IGogServicesConnectionStateListener for the Game Server. - */ - typedef SelfRegisteringListener GameServerGlobalGogServicesConnectionStateListener; - - /** - * The interface for managing images. - */ - class IUtils - { - public: - - virtual ~IUtils() - { - } - - /** - * Reads width and height of the image of a specified ID. - * - * @param [in] imageID The ID of the image. - * @param [out] width The width of the image. - * @param [out] height The height of the image. - */ - virtual void GetImageSize(uint32_t imageID, int32_t& width, int32_t& height) = 0; - - /** - * Reads the image of a specified ID. - * - * @pre The size of the output buffer should be 4 * height * width * sizeof(char). - * - * @param [in] imageID The ID of the image. - * @param [in, out] buffer The output buffer. - * @param [in] bufferLength The size of the output buffer. - */ - virtual void GetImageRGBA(uint32_t imageID, void* buffer, uint32_t bufferLength) = 0; - - /** - * Register for notifications of a specified type. - * - * @remark Notification types starting "__" are reserved and cannot be used. - * - * @param [in] type The name of the type. - */ - virtual void RegisterForNotification(const char* type) = 0; - - /** - * Reads a specified notification. - * - * @param [in] notificationID The ID of the notification. - * @param [out] consumable Indicates if the notification should be consumed. - * @param [in, out] type The output buffer for the type of the notification. - * @param [in] typeLength The size of the output buffer for the type of the notification. - * @param [in, out] content The output buffer for the content of the notification. - * @param [in] contentSize The size of the output buffer for the content of the notification. - * @return The number of bytes written to the content buffer. - */ - virtual uint32_t GetNotification(NotificationID notificationID, bool& consumable, char* type, uint32_t typeLength, void* content, uint32_t contentSize) = 0; - - /** - * Shows web page in the overlay. - * - * @pre For this call to work, the overlay needs to be initialized first. - * To check whether the overlay is initialized, call GetOverlayState(). - * - * @param [in] url The URL address of a specified web page with the limit of 2047 bytes. - */ - virtual void ShowOverlayWithWebPage(const char* url) = 0; - - /** - * Return current visibility of the overlay - * - * @remark IOverlayVisibilityChangeListener might be used to track the overlay - * visibility change. - * - * @pre For this call to work, the overlay needs to be initialized first. - * To check whether the overlay is initialized successfully, call GetOverlayState(). - * - * @return true if the overlay is in front of the game. - */ - virtual bool IsOverlayVisible() = 0; - - /** - * Return current state of the overlay - * - * @remark Basic game functionality should not rely on the overlay state, as the overlay - * may either be switched off by the user, not supported, or may fail to initialize. - * - * @remark IOverlayInitializationStateChangeListener might be used to track - * the overlay initialization state change. - * - * @pre In order for the overlay to be initialized successfully, first it must be enabled - * by the user in the Galaxy Client, and then successfully injected into the game. - * - * @return State of the overlay. - */ - virtual OverlayState GetOverlayState() = 0; - - /** - * Disable overlay pop-up notifications. - * - * Hides overlay pop-up notifications based on the group specified below: - * - "chat_message" - New chat messages received. - * - "friend_invitation" - Friend request received, new user added to the friend list. - * - "game_invitation" - Game invitation sent or received. - * - * @pre For this call to work, the overlay needs to be initialized first. - * To check whether the overlay is initialized successfully, call IUtils::GetOverlayState(). - * - * @param [in] popupGroup - The name of the notification pop-up group. - */ - virtual void DisableOverlayPopups(const char* popupGroup) = 0; - - /** - * Return current state of the connection to GOG services. - * - * @remark IGogServicesConnectionStateListener might be used to track - * the GOG services connection state. - * - * @remark Before successful login connection state is undefined. - * - * @return Current GOG services connection state. - */ - virtual GogServicesConnectionState GetGogServicesConnectionState() = 0; - }; - - /** @} */ - } -} - -#endif diff --git a/vendors/galaxy/Include/galaxy/InitOptions.h b/vendors/galaxy/Include/galaxy/InitOptions.h deleted file mode 100644 index 51e66398f..000000000 --- a/vendors/galaxy/Include/galaxy/InitOptions.h +++ /dev/null @@ -1,77 +0,0 @@ -#ifndef GALAXY_INIT_OPTIONS_H -#define GALAXY_INIT_OPTIONS_H - -/** - * @file - * Contains class that holds Galaxy initialization parameters. - */ -#include "GalaxyAllocator.h" -#include "GalaxyThread.h" - -#include "stdint.h" -#include - -namespace galaxy -{ - namespace api - { - /** - * @addtogroup api - * @{ - */ - - /** - * The group of options used for Init configuration. - */ - struct InitOptions - { - /** - * InitOptions constructor. - * - * @remark On Android device Galaxy SDK needs a directory for internal storage (to keep a copy of system CA certificates). - * It should be an existing directory within the application file storage. - * - * @param [in] _clientID The ID of the client. - * @param [in] _clientSecret The secret of the client. - * @param [in] _configFilePath The path to folder which contains configuration files. - * @param [in] _galaxyAllocator The custom memory allocator. The same instance has to be passed to both Galaxy Peer and Game Server. - * @param [in] _storagePath Path to a directory that can be used for storing internal SDK data. Used only on Android devices. See remarks for more information. - * @param [in] _host The local IP address this peer would bind to. - * @param [in] _port The local port used to communicate with GOG Galaxy Multiplayer server and other players. - * @param [in] _galaxyThreadFactory The custom thread factory used by GOG Galaxy SDK to spawn internal threads. - */ - InitOptions( - const char* _clientID, - const char* _clientSecret, - const char* _configFilePath = ".", - GalaxyAllocator* _galaxyAllocator = NULL, - const char* _storagePath = NULL, - const char* _host = NULL, - uint16_t _port = 0, - IGalaxyThreadFactory* _galaxyThreadFactory = NULL) - : clientID(_clientID) - , clientSecret(_clientSecret) - , configFilePath(_configFilePath) - , storagePath(_storagePath) - , galaxyAllocator(_galaxyAllocator) - , galaxyThreadFactory(_galaxyThreadFactory) - , host(_host) - , port(_port) - { - } - - const char* clientID; ///< The ID of the client. - const char* clientSecret; ///< The secret of the client. - const char* configFilePath; ///< The path to folder which contains configuration files. - const char* storagePath; ///< The path to folder for storing internal SDK data. Used only on Android devices. - GalaxyAllocator* galaxyAllocator; ///< The custom memory allocator used by GOG Galaxy SDK. - IGalaxyThreadFactory* galaxyThreadFactory; ///< The custom thread factory used by GOG Galaxy SDK to spawn internal threads. - const char* host; ///< The local IP address this peer would bind to. - uint16_t port; ///< The local port used to communicate with GOG Galaxy Multiplayer server and other players. - }; - - /** @} */ - } -} - -#endif \ No newline at end of file diff --git a/vendors/galaxy/Include/galaxy/stdint.h b/vendors/galaxy/Include/galaxy/stdint.h deleted file mode 100644 index 341f813b8..000000000 --- a/vendors/galaxy/Include/galaxy/stdint.h +++ /dev/null @@ -1,255 +0,0 @@ -// ISO C9x compliant stdint.h for Microsoft Visual Studio -// Based on ISO/IEC 9899:TC2 Committee draft (May 6, 2005) WG14/N1124 -// -// Copyright (c) 2006-2013 Alexander Chemeris -// -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions are met: -// -// 1. Redistributions of source code must retain the above copyright notice, -// this list of conditions and the following disclaimer. -// -// 2. Redistributions in binary form must reproduce the above copyright -// notice, this list of conditions and the following disclaimer in the -// documentation and/or other materials provided with the distribution. -// -// 3. Neither the name of the product nor the names of its contributors may -// be used to endorse or promote products derived from this software -// without specific prior written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED -// WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -// EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -// OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -// OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -// -/////////////////////////////////////////////////////////////////////////////// - -#ifndef _MSC_STDINT_H_ // [ -#define _MSC_STDINT_H_ - -#if !defined _MSC_VER || _MSC_VER >= 1600 // [ -#include -#else // ] _MSC_VER >= 1600 [ - -#if _MSC_VER > 1000 -#pragma once -#endif - -#include - -// For Visual Studio 6 in C++ mode and for many Visual Studio versions when -// compiling for ARM we should wrap include with 'extern "C++" {}' -// or compiler give many errors like this: -// error C2733: second C linkage of overloaded function 'wmemchr' not allowed -#ifdef __cplusplus -extern "C" { -#endif -# include -#ifdef __cplusplus -} -#endif - -// Define _W64 macros to mark types changing their size, like intptr_t. -#ifndef _W64 -# if !defined(__midl) && (defined(_X86_) || defined(_M_IX86)) && _MSC_VER >= 1300 -# define _W64 __w64 -# else -# define _W64 -# endif -#endif - - -// 7.18.1 Integer types - -// 7.18.1.1 Exact-width integer types - -// Visual Studio 6 and Embedded Visual C++ 4 doesn't -// realize that, e.g. char has the same size as __int8 -// so we give up on __intX for them. -#if (_MSC_VER < 1300) - typedef signed char int8_t; - typedef signed short int16_t; - typedef signed int int32_t; - typedef unsigned char uint8_t; - typedef unsigned short uint16_t; - typedef unsigned int uint32_t; -#else - typedef signed __int8 int8_t; - typedef signed __int16 int16_t; - typedef signed __int32 int32_t; - typedef unsigned __int8 uint8_t; - typedef unsigned __int16 uint16_t; - typedef unsigned __int32 uint32_t; -#endif -typedef signed __int64 int64_t; -typedef unsigned __int64 uint64_t; - - -// 7.18.1.2 Minimum-width integer types -typedef int8_t int_least8_t; -typedef int16_t int_least16_t; -typedef int32_t int_least32_t; -typedef int64_t int_least64_t; -typedef uint8_t uint_least8_t; -typedef uint16_t uint_least16_t; -typedef uint32_t uint_least32_t; -typedef uint64_t uint_least64_t; - -// 7.18.1.3 Fastest minimum-width integer types -typedef int8_t int_fast8_t; -typedef int16_t int_fast16_t; -typedef int32_t int_fast32_t; -typedef int64_t int_fast64_t; -typedef uint8_t uint_fast8_t; -typedef uint16_t uint_fast16_t; -typedef uint32_t uint_fast32_t; -typedef uint64_t uint_fast64_t; - -// 7.18.1.4 Integer types capable of holding object pointers -#ifdef _WIN64 // [ - typedef signed __int64 intptr_t; - typedef unsigned __int64 uintptr_t; -#else // _WIN64 ][ - typedef _W64 signed int intptr_t; - typedef _W64 unsigned int uintptr_t; -#endif // _WIN64 ] - -// 7.18.1.5 Greatest-width integer types -typedef int64_t intmax_t; -typedef uint64_t uintmax_t; - - -// 7.18.2 Limits of specified-width integer types - -#if !defined(__cplusplus) || defined(__STDC_LIMIT_MACROS) // [ See footnote 220 at page 257 and footnote 221 at page 259 - -// 7.18.2.1 Limits of exact-width integer types -#define INT8_MIN ((int8_t)_I8_MIN) -#define INT8_MAX _I8_MAX -#define INT16_MIN ((int16_t)_I16_MIN) -#define INT16_MAX _I16_MAX -#define INT32_MIN ((int32_t)_I32_MIN) -#define INT32_MAX _I32_MAX -#define INT64_MIN ((int64_t)_I64_MIN) -#define INT64_MAX _I64_MAX -#define UINT8_MAX _UI8_MAX -#define UINT16_MAX _UI16_MAX -#define UINT32_MAX _UI32_MAX -#define UINT64_MAX _UI64_MAX - -// 7.18.2.2 Limits of minimum-width integer types -#define INT_LEAST8_MIN INT8_MIN -#define INT_LEAST8_MAX INT8_MAX -#define INT_LEAST16_MIN INT16_MIN -#define INT_LEAST16_MAX INT16_MAX -#define INT_LEAST32_MIN INT32_MIN -#define INT_LEAST32_MAX INT32_MAX -#define INT_LEAST64_MIN INT64_MIN -#define INT_LEAST64_MAX INT64_MAX -#define UINT_LEAST8_MAX UINT8_MAX -#define UINT_LEAST16_MAX UINT16_MAX -#define UINT_LEAST32_MAX UINT32_MAX -#define UINT_LEAST64_MAX UINT64_MAX - -// 7.18.2.3 Limits of fastest minimum-width integer types -#define INT_FAST8_MIN INT8_MIN -#define INT_FAST8_MAX INT8_MAX -#define INT_FAST16_MIN INT16_MIN -#define INT_FAST16_MAX INT16_MAX -#define INT_FAST32_MIN INT32_MIN -#define INT_FAST32_MAX INT32_MAX -#define INT_FAST64_MIN INT64_MIN -#define INT_FAST64_MAX INT64_MAX -#define UINT_FAST8_MAX UINT8_MAX -#define UINT_FAST16_MAX UINT16_MAX -#define UINT_FAST32_MAX UINT32_MAX -#define UINT_FAST64_MAX UINT64_MAX - -// 7.18.2.4 Limits of integer types capable of holding object pointers -#ifdef _WIN64 // [ -# define INTPTR_MIN INT64_MIN -# define INTPTR_MAX INT64_MAX -# define UINTPTR_MAX UINT64_MAX -#else // _WIN64 ][ -# define INTPTR_MIN INT32_MIN -# define INTPTR_MAX INT32_MAX -# define UINTPTR_MAX UINT32_MAX -#endif // _WIN64 ] - -// 7.18.2.5 Limits of greatest-width integer types -#define INTMAX_MIN INT64_MIN -#define INTMAX_MAX INT64_MAX -#define UINTMAX_MAX UINT64_MAX - -// 7.18.3 Limits of other integer types - -#ifdef _WIN64 // [ -# define PTRDIFF_MIN _I64_MIN -# define PTRDIFF_MAX _I64_MAX -#else // _WIN64 ][ -# define PTRDIFF_MIN _I32_MIN -# define PTRDIFF_MAX _I32_MAX -#endif // _WIN64 ] - -#define SIG_ATOMIC_MIN INT_MIN -#define SIG_ATOMIC_MAX INT_MAX - -#ifndef SIZE_MAX // [ -# ifdef _WIN64 // [ -# define SIZE_MAX _UI64_MAX -# else // _WIN64 ][ -# define SIZE_MAX _UI32_MAX -# endif // _WIN64 ] -#endif // SIZE_MAX ] - -// WCHAR_MIN and WCHAR_MAX are also defined in -#ifndef WCHAR_MIN // [ -# define WCHAR_MIN 0 -#endif // WCHAR_MIN ] -#ifndef WCHAR_MAX // [ -# define WCHAR_MAX _UI16_MAX -#endif // WCHAR_MAX ] - -#define WINT_MIN 0 -#define WINT_MAX _UI16_MAX - -#endif // __STDC_LIMIT_MACROS ] - - -// 7.18.4 Limits of other integer types - -#if !defined(__cplusplus) || defined(__STDC_CONSTANT_MACROS) // [ See footnote 224 at page 260 - -// 7.18.4.1 Macros for minimum-width integer constants - -#define INT8_C(val) val##i8 -#define INT16_C(val) val##i16 -#define INT32_C(val) val##i32 -#define INT64_C(val) val##i64 - -#define UINT8_C(val) val##ui8 -#define UINT16_C(val) val##ui16 -#define UINT32_C(val) val##ui32 -#define UINT64_C(val) val##ui64 - -// 7.18.4.2 Macros for greatest-width integer constants -// These #ifndef's are needed to prevent collisions with . -// Check out Issue 9 for the details. -#ifndef INTMAX_C // [ -# define INTMAX_C INT64_C -#endif // INTMAX_C ] -#ifndef UINTMAX_C // [ -# define UINTMAX_C UINT64_C -#endif // UINTMAX_C ] - -#endif // __STDC_CONSTANT_MACROS ] - -#endif // _MSC_VER >= 1600 ] - -#endif // _MSC_STDINT_H_ ] diff --git a/vendors/galaxy/Libraries/Galaxy64.dll b/vendors/galaxy/Libraries/Galaxy64.dll deleted file mode 100644 index 0a9442e71..000000000 --- a/vendors/galaxy/Libraries/Galaxy64.dll +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a7ff8a7c6d3a687a6461879f3f45112669a348e89d1fc7cd6ea753730c500b8b -size 14243328 diff --git a/vendors/galaxy/Libraries/Galaxy64.lib b/vendors/galaxy/Libraries/Galaxy64.lib deleted file mode 100644 index d95b723fe..000000000 --- a/vendors/galaxy/Libraries/Galaxy64.lib +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6a0e28a46912ac878294608952d1a17f625f87a7b3c3af706134eaf7f98cc757 -size 11178 diff --git a/vendors/galaxy/Libraries/Galaxy64.pdb b/vendors/galaxy/Libraries/Galaxy64.pdb deleted file mode 100644 index bff452f47..000000000 --- a/vendors/galaxy/Libraries/Galaxy64.pdb +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:70ba2c6cc29d82b4256292d56d5987e85de2caf4e2fc508dafc69e5930f07760 -size 110186496 diff --git a/vendors/galaxy/Licenses/Galaxy b/vendors/galaxy/Licenses/Galaxy deleted file mode 100644 index 9440b3f54..000000000 --- a/vendors/galaxy/Licenses/Galaxy +++ /dev/null @@ -1 +0,0 @@ -Copyright (c) 2008-2017 GOG.com. All rights reserved. diff --git a/vendors/galaxy/Licenses/curl/COPYING b/vendors/galaxy/Licenses/curl/COPYING deleted file mode 100644 index 85d122ecf..000000000 --- a/vendors/galaxy/Licenses/curl/COPYING +++ /dev/null @@ -1,21 +0,0 @@ -COPYRIGHT AND PERMISSION NOTICE - -Copyright (c) 1996 - 2013, Daniel Stenberg, . - -All rights reserved. - -Permission to use, copy, modify, and distribute this software for any purpose -with or without fee is hereby granted, provided that the above copyright -notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN -NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, -DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR -OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE -OR OTHER DEALINGS IN THE SOFTWARE. - -Except as contained in this notice, the name of a copyright holder shall not -be used in advertising or otherwise to promote the sale, use or other dealings -in this Software without prior written authorization of the copyright holder. diff --git a/vendors/galaxy/Licenses/jsoncpp/LICENSE b/vendors/galaxy/Licenses/jsoncpp/LICENSE deleted file mode 100644 index ca2bfe1a0..000000000 --- a/vendors/galaxy/Licenses/jsoncpp/LICENSE +++ /dev/null @@ -1,55 +0,0 @@ -The JsonCpp library's source code, including accompanying documentation, -tests and demonstration applications, are licensed under the following -conditions... - -The author (Baptiste Lepilleur) explicitly disclaims copyright in all -jurisdictions which recognize such a disclaimer. In such jurisdictions, -this software is released into the Public Domain. - -In jurisdictions which do not recognize Public Domain property (e.g. Germany as of -2010), this software is Copyright (c) 2007-2010 by Baptiste Lepilleur, and is -released under the terms of the MIT License (see below). - -In jurisdictions which recognize Public Domain property, the user of this -software may choose to accept it either as 1) Public Domain, 2) under the -conditions of the MIT License (see below), or 3) under the terms of dual -Public Domain/MIT License conditions described here, as they choose. - -The MIT License is about as close to Public Domain as a license can get, and is -described in clear, concise terms at: - - http://en.wikipedia.org/wiki/MIT_License - -The full text of the MIT License follows: - -======================================================================== -Copyright (c) 2007-2010 Baptiste Lepilleur - -Permission is hereby granted, free of charge, to any person -obtaining a copy of this software and associated documentation -files (the "Software"), to deal in the Software without -restriction, including without limitation the rights to use, copy, -modify, merge, publish, distribute, sublicense, and/or sell copies -of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS -BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN -ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. -======================================================================== -(END LICENSE TEXT) - -The MIT license is compatible with both the GPL and commercial -software, affording one all of the rights of Public Domain with the -minor nuisance of being required to keep the above copyright notice -and license text in the source code. Note also that by accepting the -Public Domain "license" you can re-license your copy using whatever -license you like. diff --git a/vendors/galaxy/Licenses/openssl/LICENSE b/vendors/galaxy/Licenses/openssl/LICENSE deleted file mode 100644 index e47d101f1..000000000 --- a/vendors/galaxy/Licenses/openssl/LICENSE +++ /dev/null @@ -1,127 +0,0 @@ - - LICENSE ISSUES - ============== - - The OpenSSL toolkit stays under a dual license, i.e. both the conditions of - the OpenSSL License and the original SSLeay license apply to the toolkit. - See below for the actual license texts. Actually both licenses are BSD-style - Open Source licenses. In case of any license issues related to OpenSSL - please contact openssl-core@openssl.org. - - OpenSSL License - --------------- - -/* ==================================================================== - * Copyright (c) 1998-2011 The OpenSSL Project. All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in - * the documentation and/or other materials provided with the - * distribution. - * - * 3. All advertising materials mentioning features or use of this - * software must display the following acknowledgment: - * "This product includes software developed by the OpenSSL Project - * for use in the OpenSSL Toolkit. (http://www.openssl.org/)" - * - * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to - * endorse or promote products derived from this software without - * prior written permission. For written permission, please contact - * openssl-core@openssl.org. - * - * 5. Products derived from this software may not be called "OpenSSL" - * nor may "OpenSSL" appear in their names without prior written - * permission of the OpenSSL Project. - * - * 6. Redistributions of any form whatsoever must retain the following - * acknowledgment: - * "This product includes software developed by the OpenSSL Project - * for use in the OpenSSL Toolkit (http://www.openssl.org/)" - * - * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY - * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR - * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT - * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, - * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED - * OF THE POSSIBILITY OF SUCH DAMAGE. - * ==================================================================== - * - * This product includes cryptographic software written by Eric Young - * (eay@cryptsoft.com). This product includes software written by Tim - * Hudson (tjh@cryptsoft.com). - * - */ - - Original SSLeay License - ----------------------- - -/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) - * All rights reserved. - * - * This package is an SSL implementation written - * by Eric Young (eay@cryptsoft.com). - * The implementation was written so as to conform with Netscapes SSL. - * - * This library is free for commercial and non-commercial use as long as - * the following conditions are aheared to. The following conditions - * apply to all code found in this distribution, be it the RC4, RSA, - * lhash, DES, etc., code; not just the SSL code. The SSL documentation - * included with this distribution is covered by the same copyright terms - * except that the holder is Tim Hudson (tjh@cryptsoft.com). - * - * Copyright remains Eric Young's, and as such any Copyright notices in - * the code are not to be removed. - * If this package is used in a product, Eric Young should be given attribution - * as the author of the parts of the library used. - * This can be in the form of a textual message at program startup or - * in documentation (online or textual) provided with the package. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * "This product includes cryptographic software written by - * Eric Young (eay@cryptsoft.com)" - * The word 'cryptographic' can be left out if the rouines from the library - * being used are not cryptographic related :-). - * 4. If you include any Windows specific code (or a derivative thereof) from - * the apps directory (application code) you must include an acknowledgement: - * "This product includes software written by Tim Hudson (tjh@cryptsoft.com)" - * - * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - * The licence and distribution terms for any publically available version or - * derivative of this code cannot be changed. i.e. this code cannot simply be - * copied and put under another distribution licence - * [including the GNU Public Licence.] - */ - diff --git a/vendors/galaxy/Licenses/upnpc/LICENSE b/vendors/galaxy/Licenses/upnpc/LICENSE deleted file mode 100644 index ac89a7516..000000000 --- a/vendors/galaxy/Licenses/upnpc/LICENSE +++ /dev/null @@ -1,27 +0,0 @@ -MiniUPnPc -Copyright (c) 2005-2011, Thomas BERNARD -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, - this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - * The name of the author may not be used to endorse or promote products - derived from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE -LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -POSSIBILITY OF SUCH DAMAGE. - diff --git a/vendors/galaxy/Licenses/zlib/README b/vendors/galaxy/Licenses/zlib/README deleted file mode 100644 index 5ca9d127e..000000000 --- a/vendors/galaxy/Licenses/zlib/README +++ /dev/null @@ -1,115 +0,0 @@ -ZLIB DATA COMPRESSION LIBRARY - -zlib 1.2.8 is a general purpose data compression library. All the code is -thread safe. The data format used by the zlib library is described by RFCs -(Request for Comments) 1950 to 1952 in the files -http://tools.ietf.org/html/rfc1950 (zlib format), rfc1951 (deflate format) and -rfc1952 (gzip format). - -All functions of the compression library are documented in the file zlib.h -(volunteer to write man pages welcome, contact zlib@gzip.org). A usage example -of the library is given in the file test/example.c which also tests that -the library is working correctly. Another example is given in the file -test/minigzip.c. The compression library itself is composed of all source -files in the root directory. - -To compile all files and run the test program, follow the instructions given at -the top of Makefile.in. In short "./configure; make test", and if that goes -well, "make install" should work for most flavors of Unix. For Windows, use -one of the special makefiles in win32/ or contrib/vstudio/ . For VMS, use -make_vms.com. - -Questions about zlib should be sent to , or to Gilles Vollant - for the Windows DLL version. The zlib home page is -http://zlib.net/ . Before reporting a problem, please check this site to -verify that you have the latest version of zlib; otherwise get the latest -version and check whether the problem still exists or not. - -PLEASE read the zlib FAQ http://zlib.net/zlib_faq.html before asking for help. - -Mark Nelson wrote an article about zlib for the Jan. 1997 -issue of Dr. Dobb's Journal; a copy of the article is available at -http://marknelson.us/1997/01/01/zlib-engine/ . - -The changes made in version 1.2.8 are documented in the file ChangeLog. - -Unsupported third party contributions are provided in directory contrib/ . - -zlib is available in Java using the java.util.zip package, documented at -http://java.sun.com/developer/technicalArticles/Programming/compression/ . - -A Perl interface to zlib written by Paul Marquess is available -at CPAN (Comprehensive Perl Archive Network) sites, including -http://search.cpan.org/~pmqs/IO-Compress-Zlib/ . - -A Python interface to zlib written by A.M. Kuchling is -available in Python 1.5 and later versions, see -http://docs.python.org/library/zlib.html . - -zlib is built into tcl: http://wiki.tcl.tk/4610 . - -An experimental package to read and write files in .zip format, written on top -of zlib by Gilles Vollant , is available in the -contrib/minizip directory of zlib. - - -Notes for some targets: - -- For Windows DLL versions, please see win32/DLL_FAQ.txt - -- For 64-bit Irix, deflate.c must be compiled without any optimization. With - -O, one libpng test fails. The test works in 32 bit mode (with the -n32 - compiler flag). The compiler bug has been reported to SGI. - -- zlib doesn't work with gcc 2.6.3 on a DEC 3000/300LX under OSF/1 2.1 it works - when compiled with cc. - -- On Digital Unix 4.0D (formely OSF/1) on AlphaServer, the cc option -std1 is - necessary to get gzprintf working correctly. This is done by configure. - -- zlib doesn't work on HP-UX 9.05 with some versions of /bin/cc. It works with - other compilers. Use "make test" to check your compiler. - -- gzdopen is not supported on RISCOS or BEOS. - -- For PalmOs, see http://palmzlib.sourceforge.net/ - - -Acknowledgments: - - The deflate format used by zlib was defined by Phil Katz. The deflate and - zlib specifications were written by L. Peter Deutsch. Thanks to all the - people who reported problems and suggested various improvements in zlib; they - are too numerous to cite here. - -Copyright notice: - - (C) 1995-2013 Jean-loup Gailly and Mark Adler - - This software is provided 'as-is', without any express or implied - warranty. In no event will the authors be held liable for any damages - arising from the use of this software. - - Permission is granted to anyone to use this software for any purpose, - including commercial applications, and to alter it and redistribute it - freely, subject to the following restrictions: - - 1. The origin of this software must not be misrepresented; you must not - claim that you wrote the original software. If you use this software - in a product, an acknowledgment in the product documentation would be - appreciated but is not required. - 2. Altered source versions must be plainly marked as such, and must not be - misrepresented as being the original software. - 3. This notice may not be removed or altered from any source distribution. - - Jean-loup Gailly Mark Adler - jloup@gzip.org madler@alumni.caltech.edu - -If you use the zlib library in a product, we would appreciate *not* receiving -lengthy legal documents to sign. The sources are provided for free but without -warranty of any kind. The library has been entirely written by Jean-loup -Gailly and Mark Adler; it does not include third-party code. - -If you redistribute modified sources, we would appreciate that you include in -the file ChangeLog history information documenting your changes. Please read -the FAQ for more information on the distribution of modified source versions. diff --git a/vendors/galaxy/dummy.cpp b/vendors/galaxy/dummy.cpp deleted file mode 100644 index 50521a1e8..000000000 --- a/vendors/galaxy/dummy.cpp +++ /dev/null @@ -1 +0,0 @@ -// Dummy file so we can use POST_BUILD event to copy gog galaxy sdk files. diff --git a/vendors/optick/CMakeLists.txt b/vendors/optick/CMakeLists.txt deleted file mode 100644 index 39696185d..000000000 --- a/vendors/optick/CMakeLists.txt +++ /dev/null @@ -1,155 +0,0 @@ -cmake_minimum_required(VERSION 3.2) -project(Optick LANGUAGES CXX VERSION 1.3.0) - - -set_property(GLOBAL PROPERTY USE_FOLDERS ON) -set(CMAKE_CXX_STANDARD 11) - - -# hacks for standalone builds with visual studio -if(MSVC AND CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_LIST_DIR) - message(STATUS "Standalone build") - list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/Build") - set(CMAKE_CONFIGURATION_TYPES "Debug;Release" CACHE STRING "" FORCE) - set(standalone ON) -else() - set(standalone OFF) -endif() - - -# Sources -file(GLOB OPTICK_SRC "src/*.*") -source_group("OptickCore" FILES ${OPTICK_SRC}) - - -# Enabled -option(OPTICK_ENABLED "Enable profiling with Optick" ON) -option(OPTICK_INSTALL_TARGETS "Should optick be installed? Set to OFF if you use add_subdirectory to include Optick." ON) - -if(NOT OPTICK_ENABLED) - message(STATUS "Optick is disabled") - # add dummy target as a replacement - add_library(OptickCore STATIC ${OPTICK_SRC}) - target_include_directories(OptickCore PUBLIC "src") - target_compile_definitions(OptickCore PUBLIC USE_OPTICK=0) - return() -endif() - - -# Options -option(OPTICK_USE_VULKAN "Built-in support for Vulkan" OFF) -option(OPTICK_USE_D3D12 "Built-in support for DirectX 12" OFF) -option(OPTICK_BUILD_GUI_APP "Build Optick gui viewer app" OFF) -option(OPTICK_BUILD_CONSOLE_SAMPLE "Build Optick console sample app" ${standalone}) - -# OptickCore -add_library(OptickCore SHARED ${OPTICK_SRC}) -target_include_directories(OptickCore - PUBLIC - $ -) -set_target_properties(OptickCore - PROPERTIES - PUBLIC_HEADER "${CMAKE_CURRENT_LIST_DIR}/src/optick.h;${CMAKE_CURRENT_LIST_DIR}/src/optick.config.h" - DEBUG_POSTFIX d # So that we can install debug and release side by side -) -target_compile_definitions(OptickCore PRIVATE OPTICK_EXPORTS=1) -if(OPTICK_USE_VULKAN) - message(STATUS "Optick uses Vulkan") - find_package(Vulkan REQUIRED) - target_link_libraries(OptickCore PRIVATE Vulkan::Vulkan) -else() - target_compile_definitions(OptickCore PRIVATE OPTICK_ENABLE_GPU_VULKAN=0) -endif() -if(OPTICK_USE_D3D12) - message(STATUS "Optick uses DirectX 12") - target_link_libraries(OptickCore PRIVATE "d3d12.lib" "dxgi.lib") -else() - target_compile_definitions(OptickCore PRIVATE OPTICK_ENABLE_GPU_D3D12=0) -endif() -if(OPTICK_USE_D3D12 OR OPTICK_USE_VULKAN) - target_compile_definitions(OptickCore PRIVATE OPTICK_ENABLE_GPU=1) -else() - target_compile_definitions(OptickCore PRIVATE OPTICK_ENABLE_GPU=0) -endif() - -if(MSVC) - # temporary solution to unblock C++17 users - target_compile_definitions(OptickCore PRIVATE _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS) -endif() - -set(EXTRA_LIBS ${EXTRA_LIBS} OptickCore) -if(NOT MSVC) - set(EXTRA_LIBS ${EXTRA_LIBS} pthread) -endif() - - -# Gui App -if(MSVC AND OPTICK_BUILD_GUI_APP) - add_subdirectory(gui) -endif() - - -# Console App -if(OPTICK_BUILD_CONSOLE_SAMPLE) - file(GLOB TEST_ENGINE_SRC "samples/Common/TestEngine/*.*") - source_group("TestEngine" FILES ${TEST_ENGINE_SRC}) - add_executable(ConsoleApp "samples/ConsoleApp/main.cpp" ${TEST_ENGINE_SRC}) - target_include_directories(ConsoleApp PRIVATE "samples/Common/TestEngine") - target_link_libraries(ConsoleApp ${EXTRA_LIBS}) - set_target_properties(ConsoleApp PROPERTIES FOLDER Samples) -endif() - - -############### -## Packaging ## -############### -if(OPTICK_INSTALL_TARGETS) - include(CMakePackageConfigHelpers) - include(GNUInstallDirs) - - set(${PROJECT_NAME}_INSTALL_CMAKEDIR "${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}" CACHE STRING "Path to smartcrop cmake files") - - # Use version checking boilerplate - write_basic_package_version_file( - ${PROJECT_NAME}ConfigVersion.cmake - COMPATIBILITY SameMajorVersion - ) - - configure_package_config_file( - ${PROJECT_SOURCE_DIR}/tools/${PROJECT_NAME}Config.cmake.in - ${PROJECT_BINARY_DIR}/${PROJECT_NAME}Config.cmake - INSTALL_DESTINATION ${${PROJECT_NAME}_INSTALL_CMAKEDIR} - # Imported targets do not require the following macros - NO_SET_AND_CHECK_MACRO - NO_CHECK_REQUIRED_COMPONENTS_MACRO - ) - - install(TARGETS OptickCore - EXPORT ${PROJECT_NAME}_Targets - RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} - LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} - ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} - INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} - PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} - - ) - - install( - EXPORT ${PROJECT_NAME}_Targets - NAMESPACE ${PROJECT_NAME}:: - FILE ${PROJECT_NAME}Targets.cmake - DESTINATION ${${PROJECT_NAME}_INSTALL_CMAKEDIR} - ) - - - install(FILES - ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}Config.cmake - ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}ConfigVersion.cmake - DESTINATION - ${${PROJECT_NAME}_INSTALL_CMAKEDIR} - ) -endif() - - - diff --git a/vendors/optick/gui/AutoEmbedLibs/ICSharpCode.AvalonEdit.dll b/vendors/optick/gui/AutoEmbedLibs/ICSharpCode.AvalonEdit.dll deleted file mode 100644 index 03aabdbd3..000000000 --- a/vendors/optick/gui/AutoEmbedLibs/ICSharpCode.AvalonEdit.dll +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c2ef7539844f405cc5d34772be14b8b5b7a961d6de5e82582a0eca636ca26c8f -size 602112 diff --git a/vendors/optick/gui/AutoEmbedLibs/SharpDX.D3DCompiler.dll b/vendors/optick/gui/AutoEmbedLibs/SharpDX.D3DCompiler.dll deleted file mode 100644 index a957da8e7..000000000 --- a/vendors/optick/gui/AutoEmbedLibs/SharpDX.D3DCompiler.dll +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fab15a293d1949052b1f25e27a29c65f94dec3cd07212d14088a819916610022 -size 43520 diff --git a/vendors/optick/gui/AutoEmbedLibs/SharpDX.DXGI.dll b/vendors/optick/gui/AutoEmbedLibs/SharpDX.DXGI.dll deleted file mode 100644 index e9917de11..000000000 --- a/vendors/optick/gui/AutoEmbedLibs/SharpDX.DXGI.dll +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1f574be760eca0a59d43df68be0bf0c119dd739d3321f20c4109b56467c86c16 -size 89600 diff --git a/vendors/optick/gui/AutoEmbedLibs/SharpDX.Direct2D1.dll b/vendors/optick/gui/AutoEmbedLibs/SharpDX.Direct2D1.dll deleted file mode 100644 index cdc87c8b9..000000000 --- a/vendors/optick/gui/AutoEmbedLibs/SharpDX.Direct2D1.dll +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a3a5fe262ea5e985dc7eee4298f4b4293779c34b8cd2e471a701f95b0710cc63 -size 230400 diff --git a/vendors/optick/gui/AutoEmbedLibs/SharpDX.Direct3D11.dll b/vendors/optick/gui/AutoEmbedLibs/SharpDX.Direct3D11.dll deleted file mode 100644 index 7a8d638a5..000000000 --- a/vendors/optick/gui/AutoEmbedLibs/SharpDX.Direct3D11.dll +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d6a04ac6d8661e705866e54ea3610394e30d830388e9b1aab6dc07e4f73e10e1 -size 170496 diff --git a/vendors/optick/gui/AutoEmbedLibs/SharpDX.dll b/vendors/optick/gui/AutoEmbedLibs/SharpDX.dll deleted file mode 100644 index 379bbd3b1..000000000 --- a/vendors/optick/gui/AutoEmbedLibs/SharpDX.dll +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:97cc9005f58bbbf898eabbadfaf45a994190f7088ad353648cb719d9f9313cbb -size 550912 diff --git a/vendors/optick/gui/AutoEmbedLibs/System.Windows.Interactivity.dll b/vendors/optick/gui/AutoEmbedLibs/System.Windows.Interactivity.dll deleted file mode 100644 index 8049c6115..000000000 --- a/vendors/optick/gui/AutoEmbedLibs/System.Windows.Interactivity.dll +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:93fbc59e4880afc9f136c3ac0976ada7f3faa7cacedce5c824b337cbca9d2ebf -size 55904 diff --git a/vendors/optick/gui/CMakeLists.txt b/vendors/optick/gui/CMakeLists.txt deleted file mode 100644 index 59a8c63f4..000000000 --- a/vendors/optick/gui/CMakeLists.txt +++ /dev/null @@ -1,4 +0,0 @@ -cmake_minimum_required(VERSION 3.8) -enable_language(CSharp) - -# TODO diff --git a/vendors/optick/gui/FodyWeavers.xml b/vendors/optick/gui/FodyWeavers.xml deleted file mode 100644 index 04ae76f2e..000000000 --- a/vendors/optick/gui/FodyWeavers.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/vendors/optick/gui/FodyWeavers.xsd b/vendors/optick/gui/FodyWeavers.xsd deleted file mode 100644 index 8ac6e9271..000000000 --- a/vendors/optick/gui/FodyWeavers.xsd +++ /dev/null @@ -1,111 +0,0 @@ - - - - - - - - - - - - A list of assembly names to exclude from the default action of "embed all Copy Local references", delimited with line breaks - - - - - A list of assembly names to include from the default action of "embed all Copy Local references", delimited with line breaks. - - - - - A list of unmanaged 32 bit assembly names to include, delimited with line breaks. - - - - - A list of unmanaged 64 bit assembly names to include, delimited with line breaks. - - - - - The order of preloaded assemblies, delimited with line breaks. - - - - - - This will copy embedded files to disk before loading them into memory. This is helpful for some scenarios that expected an assembly to be loaded from a physical file. - - - - - Controls if .pdbs for reference assemblies are also embedded. - - - - - Embedded assemblies are compressed by default, and uncompressed when they are loaded. You can turn compression off with this option. - - - - - As part of Costura, embedded assemblies are no longer included as part of the build. This cleanup can be turned off. - - - - - Costura by default will load as part of the module initialization. This flag disables that behavior. Make sure you call CosturaUtility.Initialize() somewhere in your code. - - - - - Costura will by default use assemblies with a name like 'resources.dll' as a satellite resource and prepend the output path. This flag disables that behavior. - - - - - A list of assembly names to exclude from the default action of "embed all Copy Local references", delimited with | - - - - - A list of assembly names to include from the default action of "embed all Copy Local references", delimited with |. - - - - - A list of unmanaged 32 bit assembly names to include, delimited with |. - - - - - A list of unmanaged 64 bit assembly names to include, delimited with |. - - - - - The order of preloaded assemblies, delimited with |. - - - - - - - - 'true' to run assembly verification (PEVerify) on the target assembly after all weavers have been executed. - - - - - A comma-separated list of error codes that can be safely ignored in assembly verification. - - - - - 'false' to turn off automatic generation of the XML Schema file. - - - - - \ No newline at end of file diff --git a/vendors/optick/gui/InteractiveDataDisplay.WPF/Axes/Axis.cs b/vendors/optick/gui/InteractiveDataDisplay.WPF/Axes/Axis.cs deleted file mode 100644 index a0cfd2dcd..000000000 --- a/vendors/optick/gui/InteractiveDataDisplay.WPF/Axes/Axis.cs +++ /dev/null @@ -1,656 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. -// Licensed under the MIT License. - -using System; -using System.Windows; -using System.Windows.Controls; -using System.Windows.Media; -using System.Windows.Shapes; -using System.Collections.Generic; -using System.Linq; -using System.Windows.Data; -using System.ComponentModel; - -namespace InteractiveDataDisplay.WPF -{ - /// Facilitates drawing of vertical or horizontal coordinate axis - [Description("Vertical or horizontal coordinate axis")] - public class Axis : Panel - { - private ILabelProvider labelProvider; - private TicksProvider ticksProvider; - private Path majorTicksPath; - private Path minorTicksPath; - - private FrameworkElement[] labels; - - private const int maxTickArrangeIterations = 12; - private int maxTicks = 20; - private const double increaseRatio = 8.0; - private const double decreaseRatio = 8.0; - private const double tickLength = 10; - - private bool drawTicks = true; - private bool drawMinorTicks = true; - - /// - /// Initializes a new instance of class with double - /// and . - /// - public Axis() - { - DataTransform = new IdentityDataTransform(); - Ticks = new double[0]; - - majorTicksPath = new Path(); - minorTicksPath = new Path(); - Children.Add(majorTicksPath); - Children.Add(minorTicksPath); - - BindingOperations.SetBinding(majorTicksPath, Path.StrokeProperty, new Binding("Foreground") { Source = this, Mode = BindingMode.TwoWay }); - BindingOperations.SetBinding(minorTicksPath, Path.StrokeProperty, new Binding("Foreground") { Source = this, Mode = BindingMode.TwoWay }); - - if (labelProvider == null) - this.labelProvider = new LabelProvider(); - if (ticksProvider == null) - this.ticksProvider = new TicksProvider(); - } - - /// - /// Initializes a new instance of class. - /// - /// A to create labels. - /// A to create ticks. - public Axis(ILabelProvider labelProvider, TicksProvider ticksProvider) - : this() - { - this.labelProvider = labelProvider; - this.ticksProvider = ticksProvider; - } - - /// - /// Gets or sets a set of double values displayed as axis ticks in data values. - /// - /// - /// Ticks are calculated from current Range of axis in plot coordinates and current DataTransform of axis. - /// Example: for range [-1,1] int plot coordinates and DataTransform as y = 0.001 * x + 0.5 values of Ticks will be in [-1000,1000] range - /// It is not recommended to set this property manually. - /// - [Browsable(false)] - public IEnumerable Ticks - { - get { return (IEnumerable)GetValue(TicksProperty); } - set { SetValue(TicksProperty, value); } - } - /// - /// Identifies the dependency property. - /// - public static readonly DependencyProperty TicksProperty = - DependencyProperty.Register("Ticks", typeof(IEnumerable), typeof(Axis), new PropertyMetadata(new double[0])); - - /// - /// Gets or sets the range of values on axis in plot coordinates. - /// - /// - /// should be inside Domain of , otherwise exception will be thrown. - /// - [Category("InteractiveDataDisplay")] - [Description("Range of values on axis")] - public Range Range - { - get { return (Range)GetValue(RangeProperty); } - set { SetValue(RangeProperty, value); } - } - /// - /// Identifies the dependency property. - /// - public static readonly DependencyProperty RangeProperty = - DependencyProperty.Register("Range", typeof(Range), typeof(Axis), new PropertyMetadata(new Range(0, 1), - (o, e) => - { - Axis axis = (Axis)o; - if (axis != null) - { - axis.InvalidateMeasure(); - } - })); - - - /// - /// Gets or sets orientation of the axis and location of labels - /// - /// The default AxisOrientation is AxisOrientation.Bottom - [Category("InteractiveDataDisplay")] - [Description("Defines orientation of axis and location of labels")] - public AxisOrientation AxisOrientation - { - get { return (AxisOrientation)GetValue(AxisOrientationProperty); } - set { SetValue(AxisOrientationProperty, value); } - } - /// - /// Identifies the dependency property. - /// - public static readonly DependencyProperty AxisOrientationProperty = - DependencyProperty.Register("AxisOrientation", typeof(AxisOrientation), typeof(Axis), new PropertyMetadata(AxisOrientation.Bottom, - (o, e) => - { - Axis axis = (Axis)o; - if (axis != null) - { - axis.InvalidateMeasure(); - } - })); - - /// - /// Gets or sets a flag indicating whether the axis is reversed or not. - /// - /// Axis is not reversed by default. - [Category("InteractiveDataDisplay")] - [Description("Defines orientation of axis and location of labels")] - public bool IsReversed - { - get { return (bool)GetValue(IsReversedProperty); } - set { SetValue(IsReversedProperty, value); } - } - /// - /// Identifies the dependency property. - /// - public static readonly DependencyProperty IsReversedProperty = - DependencyProperty.Register("IsReversed", typeof(bool), typeof(Axis), new PropertyMetadata(false, - (o, e) => - { - Axis axis = (Axis)o; - if (axis != null) - { - axis.InvalidateMeasure(); - } - })); - - /// - /// Gets or sets for an axis. - /// - /// - /// The default transform is - /// DataTransform is used for transform plot coordinates from Range property to data values, which will be displayed on ticks - /// - [Description("Transform from data to plot coordinates")] - [Category("InteractiveDataDisplay")] - public DataTransform DataTransform - { - get { return (DataTransform)GetValue(DataTransformProperty); } - set { SetValue(DataTransformProperty, value); } - } - /// - /// Identifies the dependency property. - /// - public static readonly DependencyProperty DataTransformProperty = - DependencyProperty.Register("DataTransform", typeof(DataTransform), typeof(Axis), new PropertyMetadata(null, - (o, e) => - { - Axis axis = (Axis)o; - if (axis != null) - { - axis.InvalidateMeasure(); - } - })); - - /// - /// Gets or sets the brush for labels and ticks of axis - /// - /// The default foreground is black - [Category("Appearance")] - [Description("Brush for labels and ticks")] - public SolidColorBrush Foreground - { - get { return (SolidColorBrush)GetValue(ForegroundProperty); } - set { SetValue(ForegroundProperty, value); } - } - /// - /// Identifies the dependency property. - /// - public static readonly DependencyProperty ForegroundProperty = - DependencyProperty.Register("Foreground", typeof(SolidColorBrush), typeof(Axis), new PropertyMetadata(new SolidColorBrush(Colors.Black))); - - /// - /// Gets or sets the maximum possible count of ticks. - /// - /// The defalut count is 20 - [Category("InteractiveDataDisplay")] - [Description("Maximum number of major ticks")] - public int MaxTicks - { - set - { - maxTicks = value; - InvalidateMeasure(); - } - get - { - return maxTicks; - } - } - - /// - /// Gets or sets a value indicating whether the ticks should be rendered or not. - /// - /// The default value is true. - [Category("InteractiveDataDisplay")] - public bool AreTicksVisible - { - set - { - drawTicks = value; - drawMinorTicks = value; - if (drawTicks) - InvalidateMeasure(); - } - get { return drawTicks; } - } - - /// - /// Gets or sets a value indicating whether the minor ticks should be rendered or not. - /// - /// The default value is true. - [Category("InteractiveDataDisplay")] - public bool AreMinorTicksVisible - { - set - { - drawMinorTicks = value; - if (drawMinorTicks) - InvalidateMeasure(); - } - get { return drawMinorTicks; } - } - - private void CreateTicks(Size axisSize) - { - Range range = new Range( - DataTransform.PlotToData(Double.IsInfinity(Range.Min) || Double.IsNaN(Range.Min) ? 0 : Range.Min), - DataTransform.PlotToData(Double.IsInfinity(Range.Max) || Double.IsNaN(Range.Max) ? 1 : Range.Max)); - - // One tick if range is point - if (range.IsPoint) - { - var t = new double[] { range.Min }; - Ticks = t; - labels = labelProvider.GetLabels(t); - return; - } - - // Do first pass of ticks arrangement - ticksProvider.Range = range; - double[] ticks = ticksProvider.GetTicks(); - labels = labelProvider.GetLabels(ticks); - - TickChange result; - if (ticks.Length > MaxTicks) - result = TickChange.Decrease; - else if (ticks.Length < 2) - result = TickChange.Increase; - else - result = CheckLabelsArrangement(axisSize, labels, ticks); - - int iterations = 0; - int prevLength = ticks.Length; - while (result != TickChange.OK && iterations++ < maxTickArrangeIterations) - { - if (result == TickChange.Increase) - ticksProvider.IncreaseTickCount(); - else - ticksProvider.DecreaseTickCount(); - double[] newTicks = ticksProvider.GetTicks(); - if (newTicks.Length > MaxTicks && result == TickChange.Increase) - { - ticksProvider.DecreaseTickCount(); // Step back and stop to not get more than MaxTicks - break; - } - else if (newTicks.Length < 2 && result == TickChange.Decrease) - { - ticksProvider.IncreaseTickCount(); // Step back and stop to not get less than 2 - break; - } - var prevTicks = ticks; - ticks = newTicks; - var prevLabels = labels; - labels = labelProvider.GetLabels(newTicks); - var newResult = CheckLabelsArrangement(axisSize, labels, ticks); - if (newResult == result) // Continue in the same direction - { - prevLength = newTicks.Length; - } - else // Direction changed or layout OK - stop the loop - { - if (newResult != TickChange.OK) // Direction changed - time to stop - { - if (result == TickChange.Decrease) - { - if (prevLength < MaxTicks) - { - ticks = prevTicks; - labels = prevLabels; - ticksProvider.IncreaseTickCount(); - } - } - else - { - if (prevLength >= 2) - { - ticks = prevTicks; - labels = prevLabels; - ticksProvider.DecreaseTickCount(); - } - } - break; - } - break; - } - } - - Ticks = ticks; - } - - private void DrawCanvas(Size axisSize, double[] cTicks) - { - double length = IsHorizontal ? axisSize.Width : axisSize.Height; - - GeometryGroup majorTicksGeometry = new GeometryGroup(); - GeometryGroup minorTicksGeometry = new GeometryGroup(); - - if (!Double.IsNaN(length) && length != 0) - { - int start = 0; - if (cTicks.Length > 0 && cTicks[0] < Range.Min) start++; - - if (Range.IsPoint) - drawMinorTicks = false; - - for (int i = start; i < cTicks.Length; i++) - { - LineGeometry line = new LineGeometry(); - majorTicksGeometry.Children.Add(line); - - if (IsHorizontal) - { - line.StartPoint = new Point(GetCoordinateFromTick(cTicks[i], axisSize), 0); - line.EndPoint = new Point(GetCoordinateFromTick(cTicks[i], axisSize), tickLength); - } - else - { - line.StartPoint = new Point(0, GetCoordinateFromTick(cTicks[i], axisSize)); - line.EndPoint = new Point(tickLength, GetCoordinateFromTick(cTicks[i], axisSize)); - } - - if (labels[i] is TextBlock) - { - (labels[i] as TextBlock).Foreground = Foreground; - } - else if (labels[i] is Control) - { - (labels[i] as Control).Foreground = Foreground; - } - - Children.Add(labels[i]); - } - - if (drawMinorTicks) - { - double[] minorTicks = ticksProvider.GetMinorTicks(Range); - if (minorTicks != null) - { - for (int j = 0; j < minorTicks.Length; j++) - { - LineGeometry line = new LineGeometry(); - minorTicksGeometry.Children.Add(line); - - if (IsHorizontal) - { - line.StartPoint = new Point(GetCoordinateFromTick(minorTicks[j], axisSize), 0); - line.EndPoint = new Point(GetCoordinateFromTick(minorTicks[j], axisSize), tickLength / 2.0); - } - else - { - line.StartPoint = new Point(0, GetCoordinateFromTick(minorTicks[j], axisSize)); - line.EndPoint = new Point(tickLength / 2.0, GetCoordinateFromTick(minorTicks[j], axisSize)); - } - } - } - } - - majorTicksPath.Data = majorTicksGeometry; - minorTicksPath.Data = minorTicksGeometry; - - if (!drawMinorTicks) - drawMinorTicks = true; - } - } - - /// - /// Positions child elements and determines a size for a Figure. - /// - /// The final area within the parent that Figure should use to arrange itself and its children. - /// The actual size used. - protected override Size ArrangeOverride(Size finalSize) - { - finalSize.Width = Math.Min(DesiredSize.Width, finalSize.Width); - finalSize.Height = Math.Min(DesiredSize.Height, finalSize.Height); - - double labelArrangeOriginX = 0; - double labelArrangeOriginY = 0; - - - switch (AxisOrientation) - { - case AxisOrientation.Top: - majorTicksPath.Arrange(new Rect(0, finalSize.Height - tickLength, finalSize.Width, tickLength)); - minorTicksPath.Arrange(new Rect(0, finalSize.Height - tickLength / 2.0, finalSize.Width, tickLength / 2.0)); - break; - case AxisOrientation.Bottom: - majorTicksPath.Arrange(new Rect(0, 0, finalSize.Width, tickLength)); - minorTicksPath.Arrange(new Rect(0, 0, finalSize.Width, tickLength / 2.0)); - break; - case AxisOrientation.Right: - majorTicksPath.Arrange(new Rect(0, 0, tickLength, finalSize.Height)); - minorTicksPath.Arrange(new Rect(0, 0, tickLength / 2.0, finalSize.Height)); - break; - case AxisOrientation.Left: - majorTicksPath.Arrange(new Rect(Math.Max(0, finalSize.Width - tickLength), 0, tickLength, finalSize.Height)); - minorTicksPath.Arrange(new Rect(Math.Max(0, finalSize.Width - tickLength / 2.0), 0, tickLength / 2.0, finalSize.Height)); - labelArrangeOriginX = finalSize.Width - tickLength - CalculateMaxLabelWidth(); - break; - } - - foreach (var label in labels) - { - label.Arrange(new Rect(labelArrangeOriginX, labelArrangeOriginY, label.DesiredSize.Width, label.DesiredSize.Height)); - } - - return finalSize; - } - - /// - /// Measures the size in layout required for child elements and determines a size for the Figure. - /// - /// The available size that this element can give to child elements. Infinity can be specified as a value to indicate that the element will size to whatever content is available. - /// The size that this element determines it needs during layout, based on its calculations of child element sizes. - protected override Size MeasureOverride(Size availableSize) - { - if (Double.IsInfinity(availableSize.Width)) - availableSize.Width = 128; - if (Double.IsInfinity(availableSize.Height)) - availableSize.Height = 128; - - - Size effectiveSize = availableSize; - - - ClearLabels(); - CreateTicks(effectiveSize); - - double[] cTicks = Ticks.ToArray(); - DrawCanvas(effectiveSize, cTicks); - - foreach (UIElement child in Children) - { - child.Measure(availableSize); - } - - double maxLabelWidth = CalculateMaxLabelWidth(); - double maxLabelHeight = CalculateMaxLabelHeight(); - - switch (AxisOrientation) - { - case AxisOrientation.Top: - - for (int i = 0; i < labels.Length; i++) - { - labels[i].RenderTransform = new TranslateTransform { X = GetCoordinateFromTick(cTicks[i], effectiveSize) - labels[i].DesiredSize.Width / 2, Y = 0 }; - } - break; - case AxisOrientation.Bottom: - for (int i = 0; i < labels.Length; i++) - { - labels[i].RenderTransform = new TranslateTransform { X = GetCoordinateFromTick(cTicks[i], effectiveSize) - labels[i].DesiredSize.Width / 2, Y = majorTicksPath.DesiredSize.Height }; - } - break; - case AxisOrientation.Right: - for (int i = 0; i < labels.Length; i++) - { - labels[i].RenderTransform = new TranslateTransform { X = majorTicksPath.DesiredSize.Width, Y = GetCoordinateFromTick(cTicks[i], effectiveSize) - labels[i].DesiredSize.Height / 2 }; - } - break; - case AxisOrientation.Left: - for (int i = 0; i < labels.Length; i++) - { - labels[i].RenderTransform = new TranslateTransform { X = maxLabelWidth - labels[i].DesiredSize.Width, Y = GetCoordinateFromTick(cTicks[i], effectiveSize) - labels[i].DesiredSize.Height / 2 }; - } - break; - } - - if (IsHorizontal) - { - availableSize.Height = majorTicksPath.DesiredSize.Height + maxLabelHeight; - } - else - { - availableSize.Width = majorTicksPath.DesiredSize.Width + maxLabelWidth; - } - - return availableSize; - } - - private void ClearLabels() - { - if (labels != null) - { - foreach (var elt in labels) - { - if (Children.Contains(elt)) - Children.Remove(elt); - } - } - } - - private double CalculateMaxLabelHeight() - { - if (labels != null) - { - double max = 0; - for (int i = 0; i < labels.Length; i++) - if (Children.Contains(labels[i]) && labels[i].DesiredSize.Height > max) - max = labels[i].DesiredSize.Height; - return max; - } - return 0; - } - - private double CalculateMaxLabelWidth() - { - if (labels != null) - { - double max = 0; - for (int i = 0; i < labels.Length; i++) - if (Children.Contains(labels[i]) && labels[i].DesiredSize.Width > max) - max = labels[i].DesiredSize.Width; - return max; - } - return 0; - } - - private TickChange CheckLabelsArrangement(Size axisSize, IEnumerable inputLabels, double[] inputTicks) - { - var actualLabels1 = inputLabels.Select((label, i) => new { Label = label, Index = i }); - var actualLabels2 = actualLabels1.Where(el => el.Label != null); - var actualLabels3 = actualLabels2.Select(el => new { Label = el.Label, Tick = inputTicks[el.Index] }); - var actualLabels = actualLabels3.ToList(); - - actualLabels.ForEach(item => item.Label.Measure(axisSize)); - - var sizeInfos = actualLabels.Select(item => - new { Offset = GetCoordinateFromTick(item.Tick, axisSize), Size = IsHorizontal ? item.Label.DesiredSize.Width : item.Label.DesiredSize.Height }) - .OrderBy(item => item.Offset).ToArray(); - - // If distance between labels if smaller than threshold for any of the labels - decrease - for (int i = 0; i < sizeInfos.Length - 1; i++) - if ((sizeInfos[i].Offset + sizeInfos[i].Size * decreaseRatio / 2) > sizeInfos[i + 1].Offset) - return TickChange.Decrease; - - // If distance between labels if larger than threshold for all of the labels - increase - TickChange res = TickChange.Increase; - for (int i = 0; i < sizeInfos.Length - 1; i++) - { - if ((sizeInfos[i].Offset + sizeInfos[i].Size * increaseRatio / 2) > sizeInfos[i + 1].Offset) - { - res = TickChange.OK; - break; - } - } - - return res; - } - - private double GetCoordinateFromTick(double tick, Size screenSize) - { - return ValueToScreen(DataTransform.DataToPlot(tick), screenSize, Range); - } - - private double ValueToScreen(double value, Size screenSize, Range range) - { - double leftBound, rightBound, topBound, bottomBound; - leftBound = bottomBound = IsReversed ? range.Max : range.Min; - rightBound = topBound = IsReversed ? range.Min : range.Max; - - if (IsHorizontal) - { - return range.IsPoint ? - (screenSize.Width / 2) : - ((value - leftBound) * screenSize.Width / (rightBound - leftBound)); - } - else - { - return range.IsPoint ? - (screenSize.Height / 2) : - (screenSize.Height - (value - leftBound) * screenSize.Height / (rightBound - leftBound)); - } - } - - /// - /// Gets the value indcating whether the axis is horizontal or not. - /// - private bool IsHorizontal - { - get - { - return (AxisOrientation == AxisOrientation.Bottom || AxisOrientation == AxisOrientation.Top); - } - } - } - - internal enum TickChange - { - Increase = -1, - OK = 0, - Decrease = 1 - } -} - diff --git a/vendors/optick/gui/InteractiveDataDisplay.WPF/Axes/AxisGrid.cs b/vendors/optick/gui/InteractiveDataDisplay.WPF/Axes/AxisGrid.cs deleted file mode 100644 index 3b83d13a0..000000000 --- a/vendors/optick/gui/InteractiveDataDisplay.WPF/Axes/AxisGrid.cs +++ /dev/null @@ -1,239 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. -// Licensed under the MIT License. - -using System; -using System.Linq; -using System.Windows; -using System.Windows.Media; -using System.Windows.Shapes; -using System.Windows.Data; -using System.Collections.Generic; -using System.ComponentModel; - -namespace InteractiveDataDisplay.WPF -{ - /// - /// Facilitates drawing of vertical and/or horizontal grid lines - /// - [Description("Grid of vertical and horizontal lines")] - public class AxisGrid : PlotBase - { - private Path path; - - /// - /// Identifies the dependency property - /// - public static readonly DependencyProperty VerticalTicksProperty = - DependencyProperty.Register("VerticalTicks", typeof(IEnumerable), typeof(AxisGrid), new PropertyMetadata(new double[0], - (o, e) => - { - AxisGrid axisGrid = (AxisGrid)o; - if (axisGrid != null) - { - axisGrid.InvalidateMeasure(); - } - })); - - /// - /// Identifies the dependency property - /// - public static readonly DependencyProperty HorizontalTicksProperty = - DependencyProperty.Register("HorizontalTicks", typeof(IEnumerable), typeof(AxisGrid), new PropertyMetadata(new double[0], - (o, e) => - { - AxisGrid axisGrid = (AxisGrid)o; - if (axisGrid != null) - { - axisGrid.InvalidateMeasure(); - } - })); - - /// - /// Identifies the dependency property - /// - public static readonly DependencyProperty StrokeProperty = - DependencyProperty.Register("Stroke", typeof(SolidColorBrush), typeof(AxisGrid), new PropertyMetadata(new SolidColorBrush(Colors.LightGray), - (o, e) => - { - AxisGrid axisGrid = (AxisGrid)o; - if (axisGrid != null) - { - axisGrid.InvalidateMeasure(); - } - })); - - /// - /// Gets or sets collection for horizontal lines coordinates - /// - [Category("InteractiveDataDisplay")] - [Description("Horizontal lines coordinates")] - public IEnumerable VerticalTicks - { - get { return (IEnumerable)GetValue(VerticalTicksProperty); } - set { SetValue(VerticalTicksProperty, value); } - } - - /// - /// Gets or sets collection for vertical lines coordinates - /// - [Category("InteractiveDataDisplay")] - [Description("Vertical lines coordinates")] - public IEnumerable HorizontalTicks - { - get { return (IEnumerable)GetValue(HorizontalTicksProperty); } - set { SetValue(HorizontalTicksProperty, value); } - } - - /// - /// Identifies dependency property - /// - public static readonly DependencyProperty IsXAxisReversedProperty = - DependencyProperty.Register("IsXAxisReversed", typeof(bool), typeof(AxisGrid), new PropertyMetadata(false)); - - /// - /// Gets or sets a flag indicating whether the x-axis is reversed or not. - /// - [Category("InteractiveDataDisplay")] - public bool IsXAxisReversed - { - get { return (bool)GetValue(IsXAxisReversedProperty); } - set { SetValue(IsXAxisReversedProperty, value); } - } - - /// - /// Identifies dependency property - /// - public static readonly DependencyProperty IsYAxisReversedProperty = - DependencyProperty.Register("IsYAxisReversed", typeof(bool), typeof(AxisGrid), new PropertyMetadata(false)); - - /// - /// Gets or sets a flag indicating whether the y-axis is reversed or not. - /// - [Category("InteractiveDataDisplay")] - public bool IsYAxisReversed - { - get { return (bool)GetValue(IsYAxisReversedProperty); } - set { SetValue(IsYAxisReversedProperty, value); } - } - - /// - /// Gets or sets the Brush that specifies how the horizontal and vertical lines is painted - /// - [Category("Appearance")] - public SolidColorBrush Stroke - { - get { return (SolidColorBrush)GetValue(StrokeProperty); } - set { SetValue(StrokeProperty, value); } - } - - /// - /// Initializes new instance of class - /// - public AxisGrid() - { - HorizontalTicks = new double[0]; - VerticalTicks = new double[0]; - - path = new Path(); - BindingOperations.SetBinding(path, Path.StrokeProperty, new Binding("Stroke") { Source = this, Mode = BindingMode.TwoWay }); - path.StrokeThickness = 1.0; - Children.Add(path); - } - - /// - /// Measures the size in layout required for child elements and determines a size for the AxisGrid. - /// - /// The available size that this element can give to child elements. Infinity can be specified as a value to indicate that the element will size to whatever content is available. - /// The size that this element determines it needs during layout, based on its calculations of child element sizes. - protected override Size MeasureOverride(Size availableSize) - { - if (Double.IsInfinity(availableSize.Width)) - availableSize.Width = 1024; - if (Double.IsInfinity(availableSize.Height)) - availableSize.Height = 1024; - - - GeometryGroup group = new GeometryGroup(); - - double[] hTicks = HorizontalTicks.ToArray(); - double[] vTicks = VerticalTicks.ToArray(); - - if (hTicks != null && hTicks.Length > 0) - { - double minY = 0; - double maxY = availableSize.Height; - - int i = 0; - if (hTicks[0] < ActualPlotRect.X.Min) i++; - for (; i < hTicks.Length; i++) - { - double screenX = GetHorizontalCoordinateFromTick(hTicks[i], availableSize.Width, ActualPlotRect.X); - LineGeometry line = new LineGeometry(); - line.StartPoint = new Point(screenX, minY); - line.EndPoint = new Point(screenX, maxY); - group.Children.Add(line); - } - } - - if (vTicks != null && vTicks.Length > 0) - { - double minX = 0; - double maxX = availableSize.Width; - - int i = 0; - if (vTicks[0] < ActualPlotRect.Y.Min) i++; - for (; i < vTicks.Length; i++) - { - double screenY = GetVerticalCoordinateFromTick(vTicks[i], availableSize.Height, ActualPlotRect.Y); - LineGeometry line = new LineGeometry(); - line.StartPoint = new Point(minX, screenY); - line.EndPoint = new Point(maxX, screenY); - group.Children.Add(line); - } - } - - path.Data = group; - - foreach (UIElement child in Children) - { - child.Measure(availableSize); - } - - return availableSize; - } - - /// - /// Positions child elements and determines a size for a AxisGrid - /// - /// The final area within the parent that AxisGrid should use to arrange itself and its children - /// The actual size used - protected override Size ArrangeOverride(Size finalSize) - { - foreach (UIElement child in Children) - { - child.Arrange(new Rect(new Point(0, 0), finalSize)); - } - - return finalSize; - } - - private double GetHorizontalCoordinateFromTick(double tick, double screenSize, Range range) - { - return ValueToScreen(XDataTransform.DataToPlot(tick), screenSize, range, IsXAxisReversed); - } - - private double GetVerticalCoordinateFromTick(double tick, double screenSize, Range range) - { - return screenSize - ValueToScreen(YDataTransform.DataToPlot(tick), screenSize, range, IsYAxisReversed); - } - - - private static double ValueToScreen(double value, double dimensionSize, Range range, bool isReversed) - { - var bound1 = isReversed ? range.Max : range.Min; - var bound2 = isReversed ? range.Min : range.Max; - return (value - bound1) * dimensionSize / (bound2 - bound1); - } - } -} - diff --git a/vendors/optick/gui/InteractiveDataDisplay.WPF/Axes/AxisOrientation.cs b/vendors/optick/gui/InteractiveDataDisplay.WPF/Axes/AxisOrientation.cs deleted file mode 100644 index 78122ab58..000000000 --- a/vendors/optick/gui/InteractiveDataDisplay.WPF/Axes/AxisOrientation.cs +++ /dev/null @@ -1,29 +0,0 @@ -// Copyright © Microsoft Corporation. All Rights Reserved. -// Licensed under the MIT License. - -namespace InteractiveDataDisplay.WPF -{ - /// - /// Specifies axes orientation. - /// - public enum AxisOrientation - { - /// - /// Axis will be vertical and ticks will be aligned to right. - /// - Left, - /// - /// Axis will be vertical and ticks will be aligned to left. - /// - Right, - /// - /// Axis will be horizontal and ticks will be aligned to bottom. - /// - Top, - /// - /// Axis will be horizontal and ticks will be aligned to top. - /// - Bottom - } -} - diff --git a/vendors/optick/gui/InteractiveDataDisplay.WPF/Axes/ILabelProvider.cs b/vendors/optick/gui/InteractiveDataDisplay.WPF/Axes/ILabelProvider.cs deleted file mode 100644 index 319a43b83..000000000 --- a/vendors/optick/gui/InteractiveDataDisplay.WPF/Axes/ILabelProvider.cs +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright © Microsoft Corporation. All Rights Reserved. -// Licensed under the MIT License. - -using System.Windows; - -namespace InteractiveDataDisplay.WPF -{ - /// - /// Defines a method to create labels as an array of from an array of double values. - /// - public interface ILabelProvider - { - /// - /// Generates an array of labels from an array of double. - /// - /// An array of double ticks. - /// - FrameworkElement[] GetLabels(double[] ticks); - } -} - diff --git a/vendors/optick/gui/InteractiveDataDisplay.WPF/Axes/LabelProvider.cs b/vendors/optick/gui/InteractiveDataDisplay.WPF/Axes/LabelProvider.cs deleted file mode 100644 index 2ac3880f6..000000000 --- a/vendors/optick/gui/InteractiveDataDisplay.WPF/Axes/LabelProvider.cs +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright © Microsoft Corporation. All Rights Reserved. -// Licensed under the MIT License. - -using System; -using System.Windows; -using System.Windows.Controls; -using System.Collections.Generic; -using System.Globalization; - -namespace InteractiveDataDisplay.WPF -{ - /// - /// Provides mechanisms to generate labels displayed on an axis by double ticks. - /// - public class LabelProvider : ILabelProvider - { - /// - /// Generates an array of labels from an array of double. - /// - /// An array of double ticks. - /// An array of . - public FrameworkElement[] GetLabels(double[] ticks) - { - if (ticks == null) - throw new ArgumentNullException("ticks"); - - List Labels = new List(); - foreach (double tick in ticks) - { - TextBlock text = new TextBlock(); - text.Text = tick.ToString(CultureInfo.InvariantCulture); - Labels.Add(text); - } - return Labels.ToArray(); - } - } -} - diff --git a/vendors/optick/gui/InteractiveDataDisplay.WPF/Axes/MinorTicksProvider.cs b/vendors/optick/gui/InteractiveDataDisplay.WPF/Axes/MinorTicksProvider.cs deleted file mode 100644 index 158983d02..000000000 --- a/vendors/optick/gui/InteractiveDataDisplay.WPF/Axes/MinorTicksProvider.cs +++ /dev/null @@ -1,92 +0,0 @@ -// Copyright © Microsoft Corporation. All Rights Reserved. -// Licensed under the MIT License. - -using System; -using System.Linq; -using System.Collections.Generic; - -namespace InteractiveDataDisplay.WPF -{ - /// - /// Provides mechanisms to generate minor ticks displayed on an axis. - /// - public class MinorTicksProvider - { - /// - /// Default ticks count for provider. - /// - public static readonly int DefaultTicksCount = 3; - private int ticksCount; - - /// - /// Initializes a new instance of class with default ticks count. - /// - public MinorTicksProvider() - { - ticksCount = DefaultTicksCount; - } - - /// - /// Gets or sets the count of generated ticks. - /// - public int TicksCount - { - get { return ticksCount; } - set { ticksCount = value; } - } - - /// - /// Generates minor ticks for given array of major ticks and range. - /// - /// The range. - /// An array of major ticks. - /// - public double[] CreateTicks(Range range, double[] ticks) - { - if (ticks == null) - throw new ArgumentNullException("ticks"); - - if (ticks.Count() < 2) - return null; - - List res = new List(); - double step = (ticks[1] - ticks[0]) / (ticksCount + 1); - int i = 1; - if (range.Min > ticks[0]) - { - double x0 = ticks[1] - i * step; - res.Add(x0); - while (res[res.Count - 1] >= range.Min) - { - res.Add(x0 - i * step); - i++; - } - i++; - } - - int fin = ticks.Length - 1; - if (ticks[fin] > range.Max) - fin--; - for (i = 0; i < fin; i++) - { - double x0 = ticks[i] + step; - for (int j = 0; j < ticksCount; j++) - res.Add(x0 + j * step); - } - - if (fin != ticks.Length - 1) - { - double x0 = ticks[fin] + step; - res.Add(x0); - i = 1; - while (res[res.Count - 1] <= range.Max) - { - res.Add(x0 + i * step); - i++; - } - } - return res.ToArray(); - } - } -} - diff --git a/vendors/optick/gui/InteractiveDataDisplay.WPF/Axes/PlotAxis.cs b/vendors/optick/gui/InteractiveDataDisplay.WPF/Axes/PlotAxis.cs deleted file mode 100644 index 690f4f980..000000000 --- a/vendors/optick/gui/InteractiveDataDisplay.WPF/Axes/PlotAxis.cs +++ /dev/null @@ -1,193 +0,0 @@ -// Copyright © Microsoft Corporation. All Rights Reserved. -// Licensed under the MIT License. - -using System; -using System.Windows; -using System.Windows.Controls; -using System.Windows.Media; -using System.Collections.Generic; -using System.ComponentModel; -using System.Windows.Data; - -namespace InteractiveDataDisplay.WPF -{ - /// Facilitates drawing of vertical or horizontal coordinate axis connected to parent element - [TemplatePart(Name = "PART_Axis", Type = typeof(Axis))] - [Description("Figure's axis")] - public sealed class PlotAxis : ContentControl - { - private PlotBase masterPlot = null; - private Axis axis; - - /// - /// Initializes new instance of class - /// - public PlotAxis() - { - XDataTransform = new IdentityDataTransform(); - YDataTransform = new IdentityDataTransform(); - Ticks = new double[0]; - DefaultStyleKey = typeof(PlotAxis); - Loaded += PlotAxisLoaded; - Unloaded += PlotAxisUnloaded; - } - - private void PlotAxisUnloaded(object sender, RoutedEventArgs e) - { - masterPlot = null; - } - - private void PlotAxisLoaded(object sender, RoutedEventArgs e) - { - masterPlot = PlotBase.FindMaster(this); - if (masterPlot != null) - InvalidateAxis(); - } - - /// - /// Measures the size in layout required for child elements and determines a size for parent. - /// - /// The available size that this element can give to child elements. Infinity can be specified as a value to indicate that the element will size to whatever content is available. - /// The size that this element determines it needs during layout, based on its calculations of child element sizes. - protected override Size MeasureOverride(Size availableSize) - { - InvalidateAxis(); - return base.MeasureOverride(availableSize); - } - - private void InvalidateAxis() - { - if (axis != null) - { - if (axis.AxisOrientation == AxisOrientation.Left || - axis.AxisOrientation == AxisOrientation.Right) - { - if (masterPlot != null) - { - axis.Range = new Range(masterPlot.ActualPlotRect.YMin, masterPlot.ActualPlotRect.YMax); - } - axis.DataTransform = YDataTransform; - } - else - { - if (masterPlot != null) - { - axis.Range = new Range(masterPlot.ActualPlotRect.XMin, masterPlot.ActualPlotRect.XMax); - } - axis.DataTransform = XDataTransform; - } - } - } - - /// - /// Invoked whenever application code or internal processes call ApplyTemplate - /// - public override void OnApplyTemplate() - { - base.OnApplyTemplate(); - - axis = GetTemplateChild("PART_Axis") as Axis; - if (axis == null) - { - throw new InvalidOperationException("Invalid template!"); - } - BindingOperations.SetBinding(this.axis, Axis.TicksProperty, new Binding("Ticks") - { - Source = this, - Mode = BindingMode.TwoWay - }); - InvalidateAxis(); - } - - /// - /// Gets or sets a set of double values displayed as axis ticks. - /// - [Browsable(false)] - public IEnumerable Ticks - { - get { return (IEnumerable)GetValue(TicksProperty); } - set { SetValue(TicksProperty, value); } - } - - /// Identify property - public static readonly DependencyProperty TicksProperty = - DependencyProperty.Register("Ticks", typeof(IEnumerable), typeof(PlotAxis), new PropertyMetadata(new double[0])); - - /// - /// Gets or Sets orientation of axis and location of labels - /// - [Category("InteractiveDataDisplay")] - [Description("Defines orientation of axis and location of labels")] - public AxisOrientation AxisOrientation - { - get { return (AxisOrientation)GetValue(AxisOrientationProperty); } - set { SetValue(AxisOrientationProperty, value); } - } - - /// Identify property - public static readonly DependencyProperty AxisOrientationProperty = - DependencyProperty.Register("AxisOrientation", typeof(AxisOrientation), typeof(PlotAxis), new PropertyMetadata(AxisOrientation.Bottom)); - - /// - /// Gets or sets a flag indicating whether the axis is reversed or not. - /// - /// Axis is not reversed by default. - [Category("InteractiveDataDisplay")] - [Description("Defines orientation of axis and location of labels")] - public bool IsReversed - { - get { return (bool)GetValue(IsReversedProperty); } - set { SetValue(IsReversedProperty, value); } - } - /// - /// Identifies the dependency property. - /// - public static readonly DependencyProperty IsReversedProperty = - DependencyProperty.Register("IsReversed", typeof(bool), typeof(PlotAxis), new PropertyMetadata(false)); - - /// Gets or sets transform from user data to horizontal plot coordinate. - /// By default transform is - /// - [Category("InteractiveDataDisplay")] - public DataTransform XDataTransform - { - get { return (DataTransform)GetValue(XDataTransformProperty); } - set { SetValue(XDataTransformProperty, value); } - } - - /// Gets or sets transform from user data to vertical plot coordinate. - /// By default transform is - /// - [Category("InteractiveDataDisplay")] - public DataTransform YDataTransform - { - get { return (DataTransform)GetValue(YDataTransformProperty); } - set { SetValue(YDataTransformProperty, value); } - } - - /// Identify property - public static readonly DependencyProperty XDataTransformProperty = - DependencyProperty.Register("XDataTransform", typeof(DataTransform), typeof(PlotAxis), new PropertyMetadata(null, - (o, e) => - { - PlotAxis plot = o as PlotAxis; - if (plot != null) - { - plot.InvalidateAxis(); - } - })); - - /// Identify property - public static readonly DependencyProperty YDataTransformProperty = - DependencyProperty.Register("YDataTransform", typeof(DataTransform), typeof(PlotAxis), new PropertyMetadata(null, - (o, e) => - { - PlotAxis plot = o as PlotAxis; - if (plot != null) - { - plot.InvalidateAxis(); - } - })); - } -} - diff --git a/vendors/optick/gui/InteractiveDataDisplay.WPF/Axes/RoundHelper.cs b/vendors/optick/gui/InteractiveDataDisplay.WPF/Axes/RoundHelper.cs deleted file mode 100644 index 710446a55..000000000 --- a/vendors/optick/gui/InteractiveDataDisplay.WPF/Axes/RoundHelper.cs +++ /dev/null @@ -1,71 +0,0 @@ -// Copyright © Microsoft Corporation. All Rights Reserved. -// Licensed under the MIT License. - -using System; -namespace InteractiveDataDisplay.WPF -{ - internal static class RoundHelper - { - //internal static int GetDifferenceLog(double min, double max) - //{ - // return (int)Math.Log(Math.Abs(max - min)); - //} - - internal static double Floor(double number, int rem) - { - if (rem <= 0) - { - rem = MathHelper.Clamp(-rem, 0, 15); - } - double pow = Math.Pow(10, rem - 1); - double val = pow * Math.Floor((double)(number / Math.Pow(10, rem - 1))); - return val; - - } - - internal static double Round(double number, int rem) - { - if (rem <= 0) - { - rem = MathHelper.Clamp(-rem, 0, 15); - return Math.Round(number, rem); - } - else - { - double pow = Math.Pow(10, rem - 1); - double val = pow * Math.Round(number / Math.Pow(10, rem - 1)); - return val; - } - } - - //internal static RoundingInfo CreateRoundedRange(double min, double max) - //{ - // double delta = max - min; - - // if (delta == 0) - // return new RoundingInfo { Min = min, Max = max, Log = 0 }; - - // int log = (int)Math.Round(Math.Log10(Math.Abs(delta))) + 1; - - // double newMin = Round(min, log); - // double newMax = Round(max, log); - // if (newMin == newMax) - // { - // log--; - // newMin = Round(min, log); - // newMax = Round(max, log); - // } - - // return new RoundingInfo { Min = newMin, Max = newMax, Log = log }; - //} - } - - //[DebuggerDisplay("{Min} - {Max}, Log = {Log}")] - //internal sealed class RoundingInfo - //{ - // public double Min { get; set; } - // public double Max { get; set; } - // public int Log { get; set; } - //} -} - diff --git a/vendors/optick/gui/InteractiveDataDisplay.WPF/Axes/TicksProvider.cs b/vendors/optick/gui/InteractiveDataDisplay.WPF/Axes/TicksProvider.cs deleted file mode 100644 index e03f0f39d..000000000 --- a/vendors/optick/gui/InteractiveDataDisplay.WPF/Axes/TicksProvider.cs +++ /dev/null @@ -1,132 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. -// Licensed under the MIT License. - -using System; -using System.Linq; -using System.Collections.Generic; - -namespace InteractiveDataDisplay.WPF -{ - /// - /// Provides mechanisms to generate ticks displayed on an axis. - /// - public class TicksProvider - { - private int delta = 1; - private int beta = 0; - - /// - /// Initializes a new instance of class with default . - /// - public TicksProvider() - { - minorProvider = new MinorTicksProvider(); - } - - private readonly MinorTicksProvider minorProvider; - /// - /// Gets the . - /// - public MinorTicksProvider MinorProvider - { - get { return minorProvider; } - } - - private Range range = new Range(0, 1); - /// - /// Gets or sets the range of axis. - /// - public Range Range - { - get { return range; } - set - { - range = value; - delta = 1; - beta = (int)Math.Round(Math.Log10(range.Max - range.Min)) - 1; - } - } - - /// - /// Gets an array of ticks for specified axis range. - /// - public double[] GetTicks() - { - double start = Range.Min; - double finish = Range.Max; - double d = finish - start; - - if (d == 0) - return new double[] { start, finish }; - - double temp = delta * Math.Pow(10, beta); - double min = Math.Floor(start / temp); - double max = Math.Floor(finish / temp); - int count = (int)(max - min + 1); - List res = new List(); - double x0 = min * temp; - for (int i = 0; i < count + 1; i++) - { - double v = RoundHelper.Round(x0 + i * temp, beta); - if(v >= start && v <= finish) - res.Add(v); - } - return res.ToArray(); - } - - /// - /// Decreases the tick count. - /// - public void DecreaseTickCount() - { - if (delta == 1) - { - delta = 2; - } - else if (delta == 2) - { - delta = 5; - } - else if (delta == 5) - { - delta = 1; - beta++; - } - } - - /// - /// Increases the tick count. - /// - public void IncreaseTickCount() - { - if (delta == 1) - { - delta = 5; - beta--; - } - else if (delta == 2) - { - delta = 1; - } - else if (delta == 5) - { - delta = 2; - } - } - - /// - /// Generates minor ticks in specified range. - /// - /// The range. - /// An array of minor ticks. - public double[] GetMinorTicks(Range range) - { - var ticks = new List(GetTicks()); - double temp = delta * Math.Pow(10, beta); - ticks.Insert(0, RoundHelper.Round(ticks[0] - temp, beta)); - ticks.Add(RoundHelper.Round(ticks[ticks.Count - 1] + temp, beta)); - return minorProvider.CreateTicks(range, ticks.ToArray()); - } - } -} - diff --git a/vendors/optick/gui/InteractiveDataDisplay.WPF/Chart.cs b/vendors/optick/gui/InteractiveDataDisplay.WPF/Chart.cs deleted file mode 100644 index 014121c60..000000000 --- a/vendors/optick/gui/InteractiveDataDisplay.WPF/Chart.cs +++ /dev/null @@ -1,332 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. -// Licensed under the MIT License. - -using System.Windows; -using System.Windows.Controls; -using System.Windows.Media; -using System.Windows.Markup; -using System.ComponentModel; -using System.Windows.Data; - -namespace InteractiveDataDisplay.WPF -{ - /// - /// Ready to use figure with left and bottom axes, grid, legend, mouse and keyboard navigation - /// - [ContentProperty("Content")] - [Description("Ready to use figure")] - public class Chart : ContentControl - { - /// - /// Initializes a new instance of class. - /// - public Chart() - { - DefaultStyleKey = typeof(Chart); - Background = new SolidColorBrush(Colors.White); - Foreground = new SolidColorBrush(Colors.Black); - LegendContent = new LegendItemsPanel(); - } - - public override void OnApplyTemplate() - { - base.OnApplyTemplate(); - PlotAxis plotAxis = base.GetTemplateChild("PART_horizontalAxis") as PlotAxis; - PlotAxis plotAxis2 = base.GetTemplateChild("PART_verticalAxis") as PlotAxis; - AxisGrid axisGrid = base.GetTemplateChild("PART_axisGrid") as AxisGrid; - if (plotAxis == null || plotAxis2 == null || axisGrid == null) - { - return; - } - BindingOperations.SetBinding(axisGrid, AxisGrid.HorizontalTicksProperty, new Binding("Ticks") - { - Source = plotAxis - }); - BindingOperations.SetBinding(axisGrid, AxisGrid.VerticalTicksProperty, new Binding("Ticks") - { - Source = plotAxis2 - }); - } - /// - /// Raises the GotFocus event. - /// - /// An EventArgs that contains the event data. - protected override void OnGotFocus(RoutedEventArgs e) - { - VisualStateManager.GoToState(this, "Focused", false); - base.OnGotFocus(e); - } - - /// - /// Raises the LostFocus event. - /// - /// An EventArgs that contains the event data. - protected override void OnLostFocus(RoutedEventArgs e) - { - VisualStateManager.GoToState(this, "Unfocused", false); - base.OnLostFocus(e); - } - - /// - /// Gets or sets legend content - /// - [Category("InteractiveDataDisplay")] - public object LegendContent - { - get { return (object)GetValue(LegendContentProperty); } - set { SetValue(LegendContentProperty, value); } - } - - /// - /// Identifies dependency property - /// - public static readonly DependencyProperty LegendContentProperty = - DependencyProperty.Register("LegendContent", typeof(object), typeof(Chart), new PropertyMetadata(null)); - - /// - /// Gets or sets visibility of LegendControl - /// - [Category("InteractiveDataDisplay")] - public Visibility LegendVisibility - { - get { return (Visibility)GetValue(LegendVisibilityProperty); } - set { SetValue(LegendVisibilityProperty, value); } - } - - /// - /// Identifies dependency property - /// - public static readonly DependencyProperty LegendVisibilityProperty = - DependencyProperty.Register("LegendVisibility", typeof(Visibility), typeof(Chart), new PropertyMetadata(Visibility.Visible)); - - /// - /// Gets or sets auto fit mode. property of all - /// plots in compositions are updated instantly to have same value. - /// - [Category("InteractiveDataDisplay")] - public bool IsAutoFitEnabled - { - get { return (bool)GetValue(IsAutoFitEnabledProperty); } - set { SetValue(IsAutoFitEnabledProperty, value); } - } - - /// - /// Identifies dependency property - /// - public static readonly DependencyProperty IsAutoFitEnabledProperty = - DependencyProperty.Register("IsAutoFitEnabled", typeof(bool), typeof(Chart), new PropertyMetadata(true)); - - /// - /// Gets or sets desired plot width in plot coordinates. Settings this property - /// turns off auto fit mode. - /// - [Category("InteractiveDataDisplay")] - public double PlotWidth - { - get { return (double)GetValue(PlotWidthProperty); } - set { SetValue(PlotWidthProperty, value); } - } - - /// - /// Identifies dependency property - /// - public static readonly DependencyProperty PlotWidthProperty = - DependencyProperty.Register("PlotWidth", typeof(double), typeof(Chart), new PropertyMetadata(1.0)); - - /// - /// Gets or sets desired plot height in plot coordinates. Settings this property - /// turns off auto fit mode. - /// - [Category("InteractiveDataDisplay")] - public double PlotHeight - { - get { return (double)GetValue(PlotHeightProperty); } - set { SetValue(PlotHeightProperty, value); } - } - - /// - /// Identifies dependency property - /// - public static readonly DependencyProperty PlotHeightProperty = - DependencyProperty.Register("PlotHeight", typeof(double), typeof(Chart), new PropertyMetadata(1.0)); - - /// - /// Gets or sets desired minimal visible horizontal coordinate in plot coordinates. Settings this property - /// turns off auto fit mode. - /// - [Category("InteractiveDataDisplay")] - public double PlotOriginX - { - get { return (double)GetValue(PlotOriginXProperty); } - set { SetValue(PlotOriginXProperty, value); } - } - - /// - /// Identifies dependency property - /// - public static readonly DependencyProperty PlotOriginXProperty = - DependencyProperty.Register("PlotOriginX", typeof(double), typeof(Chart), new PropertyMetadata(0.0)); - - /// - /// Gets or sets desired minimal visible vertical coordinate in plot coordinates. Settings this property - /// turns off auto fit mode. - /// - [Category("InteractiveDataDisplay")] - public double PlotOriginY - { - get { return (double)GetValue(PlotOriginYProperty); } - set { SetValue(PlotOriginYProperty, value); } - } - - /// - /// Identifies dependency property - /// - public static readonly DependencyProperty PlotOriginYProperty = - DependencyProperty.Register("PlotOriginY", typeof(double), typeof(Chart), new PropertyMetadata(0.0)); - - /// - /// Desired ratio of horizontal scale to vertical scale. Values less than or equal to zero - /// represent unspecified aspect ratio. - /// - [Category("InteractiveDataDisplay")] - public double AspectRatio - { - get { return (double)GetValue(AspectRatioProperty); } - set { SetValue(AspectRatioProperty, value); } - } - - /// - /// Identifies dependency property - /// - public static readonly DependencyProperty AspectRatioProperty = - DependencyProperty.Register("AspectRatio", typeof(double), typeof(Chart), new PropertyMetadata(0.0)); - - /// Gets or sets chart title. Chart title is an object that is shown centered above plot area. - /// Chart title is used inside and can be a - /// . - [Category("InteractiveDataDisplay")] - public object Title - { - get { return (object)GetValue(TitleProperty); } - set { SetValue(TitleProperty, value); } - } - - /// Identifies dependency property - public static readonly DependencyProperty TitleProperty = - DependencyProperty.Register("Title", typeof(object), typeof(Chart), new PropertyMetadata(null)); - - /// Gets or sets bottom axis title. Bottom axis title is an object that is centered under plot area. - /// Bottom axis title is used inside and can be a - /// . - [Category("InteractiveDataDisplay")] - public object BottomTitle - { - get { return (object)GetValue(BottomTitleProperty); } - set { SetValue(BottomTitleProperty, value); } - } - - /// Identifies dependency property - public static readonly DependencyProperty BottomTitleProperty = - DependencyProperty.Register("BottomTitle", typeof(object), typeof(Chart), new PropertyMetadata(null)); - - /// Gets or sets right axis title. Right axis title is an object that is vertically centered - /// and located to the right from plot area. - /// Right axis title is used inside and can be a - /// . - [Category("InteractiveDataDisplay")] - public object RightTitle - { - get { return (object)GetValue(RightTitleProperty); } - set { SetValue(RightTitleProperty, value); } - } - - /// Identifies dependency property - public static readonly DependencyProperty RightTitleProperty = - DependencyProperty.Register("RightTitle", typeof(object), typeof(Chart), new PropertyMetadata(null)); - - /// Gets or sets left axis title. Left axis title is an object that is vertically centered - /// and located to the left from plot area. - /// Left axis title is used inside and can be a - /// . - [Category("InteractiveDataDisplay")] - public object LeftTitle - { - get { return (object)GetValue(LeftTitleProperty); } - set { SetValue(LeftTitleProperty, value); } - } - - /// Identifies dependency property - public static readonly DependencyProperty LeftTitleProperty = - DependencyProperty.Register("LeftTitle", typeof(object), typeof(Chart), new PropertyMetadata(null)); - - /// Gets or sets thickness of border surrounding Chart center. This value also is taken into - /// account when computing screen padding - [Category("InteractiveDataDisplay")] - public new Thickness BorderThickness - { - get { return (Thickness)GetValue(BorderThicknessProperty); } - set { SetValue(BorderThicknessProperty, value); } - } - - /// Identifies property - public static new readonly DependencyProperty BorderThicknessProperty = - DependencyProperty.Register("BorderThickness", typeof(Thickness), typeof(Chart), new PropertyMetadata(new Thickness(1))); - - /// Gets or sets vertical navigation status. True means that user can navigate along Y axis - [Category("InteractiveDataDisplay")] - public bool IsVerticalNavigationEnabled - { - get { return (bool)GetValue(IsVerticalNavigationEnabledProperty); } - set { SetValue(IsVerticalNavigationEnabledProperty, value); } - } - - /// Identifies property - public static readonly DependencyProperty IsVerticalNavigationEnabledProperty = - DependencyProperty.Register("IsVerticalNavigationEnabled", typeof(bool), typeof(Chart), new PropertyMetadata(true)); - - /// Gets or sets horizontal navigation status. True means that user can navigate along X axis - [Category("InteractiveDataDisplay")] - public bool IsHorizontalNavigationEnabled - { - get { return (bool)GetValue(IsHorizontalNavigationEnabledProperty); } - set { SetValue(IsHorizontalNavigationEnabledProperty, value); } - } - - /// Identifies property - public static readonly DependencyProperty IsHorizontalNavigationEnabledProperty = - DependencyProperty.Register("IsHorizontalNavigationEnabled", typeof(bool), typeof(Chart), new PropertyMetadata(true)); - - /// - /// Identifies dependency property - /// - public static readonly DependencyProperty IsXAxisReversedProperty = - DependencyProperty.Register("IsXAxisReversed", typeof(bool), typeof(Chart), new PropertyMetadata(false)); - - /// - /// Gets or sets a flag indicating whether the x-axis is reversed or not. - /// - [Category("InteractiveDataDisplay")] - public bool IsXAxisReversed - { - get { return (bool)GetValue(IsXAxisReversedProperty); } - set { SetValue(IsXAxisReversedProperty, value); } - } - - /// - /// Identifies dependency property - /// - public static readonly DependencyProperty IsYAxisReversedProperty = - DependencyProperty.Register("IsYAxisReversed", typeof(bool), typeof(Chart), new PropertyMetadata(false)); - - /// - /// Gets or sets a flag indicating whether the y-axis is reversed or not. - /// - [Category("InteractiveDataDisplay")] - public bool IsYAxisReversed - { - get { return (bool)GetValue(IsYAxisReversedProperty); } - set { SetValue(IsYAxisReversedProperty, value); } - } - - } -} diff --git a/vendors/optick/gui/InteractiveDataDisplay.WPF/Common/ArrayHelper.cs b/vendors/optick/gui/InteractiveDataDisplay.WPF/Common/ArrayHelper.cs deleted file mode 100644 index 7f0c873a2..000000000 --- a/vendors/optick/gui/InteractiveDataDisplay.WPF/Common/ArrayHelper.cs +++ /dev/null @@ -1,176 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. -// Licensed under the MIT License. - -using System; - -namespace InteractiveDataDisplay.WPF -{ - /// - /// Helper class for performing manipulations with arrays - /// - public static class ArrayExtensions - { - /// Gets index of item that is nearest to . - /// Array in ascending order. - /// Value to look for. - /// Index of closest element or -1 if - /// is less than first element or greater than last. - public static int GetNearestIndex(double[] array, double value) - { - if (array == null) - throw new ArgumentNullException("array"); - int i = Array.BinarySearch(array, value); - if (i >= 0) - return i; - i = ~i; - if (i == array.Length) - return -1; // greater than last value - if (i == 0) - return -1; // less than first value - return (value - array[i - 1] > array[i] - value) ? (i) : (i - 1); - } - - #region 1D array conversion utils - - /// Converts array of floats to array of doubles - /// Array of float - /// Array of same length but with double elements - public static double[] ToDoubleArray(this float[] array) - { - if (array == null) - throw new ArgumentNullException("array"); - double[] result = new double[array.Length]; - for (int i = 0; i < array.Length; i++) - result[i] = array[i]; - return result; - } - - /// Converts array of 32-bit integers to array of doubles - /// Array of 32-bit integers - /// Array of same length but with double elements - public static double[] ToDoubleArray(this int[] array) - { - if (array == null) - throw new ArgumentNullException("array"); - double[] result = new double[array.Length]; - for (int i = 0; i < array.Length; i++) - result[i] = array[i]; - return result; - } - - /// Converts array of booleans to array of doubles where true maps to 1, false maps to 0 - /// Array of booleans - /// Array of same dimensions but with double elements - public static double[] ToDoubleArray(this bool[] array) - { - if (array == null) - throw new ArgumentNullException("array"); - double[] result = new double[array.Length]; - for (int i = 0; i < array.Length; i++) - result[i] = array[i] ? 1 : 0 ; - return result; - } - - /// Converts array of doubles, floats, integers or booleans to array of doubles where true maps to 1, false maps to 0 - /// Source array - /// Array of same length but with double elements - public static double[] ToDoubleArray(Array array) - { - if (array == null) - throw new ArgumentNullException("array"); - if (array.Rank != 1) - throw new InvalidOperationException("Source array is not 1D"); - var elemType = array.GetType().GetElementType(); - if (elemType == typeof(double)) - return (double[])array; - if (elemType == typeof(float)) - return ArrayExtensions.ToDoubleArray((float[])array); - else if (elemType == typeof(int)) - return ArrayExtensions.ToDoubleArray((int[])array); - else if (elemType == typeof(bool)) - return ArrayExtensions.ToDoubleArray((bool[])array); - else - throw new NotSupportedException("Conversions of 1D arrays of " + elemType.Name + " to double[] is not supported"); - } - - #endregion - - #region 2D array conversion utils - - /// Converts 2D array of floats to 2D array of doubles - /// 2D array of float - /// 2D array of same dimensions but with double elements - [CLSCompliantAttribute(false)] - public static double[,] ToDoubleArray(this float[,] array) - { - if (array == null) - throw new ArgumentNullException("array"); - int n = array.GetLength(0); - int m = array.GetLength(1); - double[,] result = new double[n, m]; - for (int i = 0; i < n; i++) - for (int j = 0; j < m; j++) - result[i, j] = array[i, j]; - return result; - } - - /// Converts 2D array of 32-bit integers to 2D array of doubles - /// 2D array of 32-bit integers - /// 2D array of same dimensions but with double elements - [CLSCompliantAttribute(false)] - public static double[,] ToDoubleArray(this int[,] array) - { - if (array == null) - throw new ArgumentNullException("array"); - int n = array.GetLength(0); - int m = array.GetLength(1); - double[,] result = new double[n, m]; - for (int i = 0; i < n; i++) - for (int j = 0; j < m; j++) - result[i, j] = array[i, j]; - return result; - } - - /// Converts 2D array of booleans to 2D array of doubles where true maps to 1, false maps to 0 - /// 2D array of booleans - /// 2D array of same dimensions but with double elements - [CLSCompliantAttribute(false)] - public static double[,] ToDoubleArray(this bool[,] array) - { - if (array == null) - throw new ArgumentNullException("array"); - int n = array.GetLength(0); - int m = array.GetLength(1); - double[,] result = new double[n, m]; - for (int i = 0; i < n; i++) - for (int j = 0; j < m; j++) - result[i, j] = array[i, j] ? 1 : 0; - return result; - } - - /// Converts 2D array of doubles, floats, integers or booleans to 2D array of doubles where true maps to 1, false maps to 0 - /// 2D array - /// 2D array of same dimensions but with double elements - public static double[,] ToDoubleArray2D(Array array) - { - if (array == null) - throw new ArgumentNullException("array"); - if (array.Rank != 2) - throw new InvalidOperationException("Source array is not 2D"); - var elemType = array.GetType().GetElementType(); - if (elemType == typeof(double)) - return (double[,])array; - if (elemType == typeof(float)) - return ArrayExtensions.ToDoubleArray((float[,])array); - else if (elemType == typeof(int)) - return ArrayExtensions.ToDoubleArray((int[,])array); - else if (elemType == typeof(bool)) - return ArrayExtensions.ToDoubleArray((bool[,])array); - else - throw new NotSupportedException("Conversions of 2D arrays of " + elemType.Name + " to double[,] is not supported"); - } - - #endregion - } -} - diff --git a/vendors/optick/gui/InteractiveDataDisplay.WPF/Common/DataRect.cs b/vendors/optick/gui/InteractiveDataDisplay.WPF/Common/DataRect.cs deleted file mode 100644 index d29b90cf5..000000000 --- a/vendors/optick/gui/InteractiveDataDisplay.WPF/Common/DataRect.cs +++ /dev/null @@ -1,232 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. -// Licensed under the MIT License. - -using System.Windows; - -namespace InteractiveDataDisplay.WPF -{ - /// - /// Describes a width, a height and location of a rectangle. - /// This type is very similar to , but has one important difference: - /// while describes a rectangle in screen coordinates, where y axis - /// points to bottom (that's why 's Bottom property is greater than Top). - /// This type describes rectange in usual coordinates, and y axis point to top. - /// - public struct DataRect - { - private Range x; - private Range y; - - /// - /// Gets the empty . - /// - public static readonly DataRect Empty = - new DataRect(Range.Empty, Range.Empty); - - /// - /// Initializes a new instance of the struct. - /// - /// Left value of DataRect. - /// Bottom value of DataRect. - /// Right value of DataRect. - /// Top value of DataRect. - public DataRect(double minX, double minY, double maxX, double maxY) - : this() - { - X = new Range(minX, maxX); - Y = new Range(minY, maxY); - } - - /// - /// Initializes a new instance of the struct. - /// - /// Horizontal range - /// Vertical range - public DataRect(Range horizontal, Range vertical) - : this() - { - X = horizontal; Y = vertical; - } - - /// - /// Gets of Sets horizontal range - /// - public Range X - { - get { return x; } - set { x = value; } - } - - /// - /// Gets or sets vertical range - /// - public Range Y - { - get { return y; } - set { y = value; } - } - - /// - /// Gets the width of . - /// - public double Width - { - get - { - return X.Max - X.Min; - } - } - - /// - /// Gets the height of . - /// - public double Height - { - get - { - return Y.Max - Y.Min; - } - } - - /// - /// Gets the left. - /// - /// The left. - public double XMin - { - get - { - return X.Min; - } - } - - /// - /// Gets the right. - /// - /// The right. - public double XMax - { - get - { - return X.Max; - } - } - - /// - /// Gets the bottom. - /// - /// The bottom. - public double YMin - { - get - { - return Y.Min; - } - } - - /// - /// Gets the top. - /// - /// The top. - public double YMax - { - get - { - return Y.Max; - } - } - - /// - /// Gets a center point of a rectangle. - /// - public Point Center - { - get - { - return new Point((X.Max + X.Min) / 2.0, (Y.Max + Y.Min) / 2.0); - } - } - - /// - /// Gets a value indicating whether this instance is empty. - /// - /// true if this instance is empty; otherwise, false. - public bool IsEmpty - { - get - { - return X.IsEmpty || Y.IsEmpty; - } - } - - - /// - /// Updates current instance of with minimal DataRect - /// which vertical range will contain current vertical range and x value and - /// horizontal range will contain current horizontal range and y value - /// - /// Value, which will be used for surrond of horizontal range - /// Value, which will be used for surrond of vertical range - public void Surround(double x, double y) - { - this.x.Surround(x); - this.y.Surround(y); - } - - /// - /// Updates current instance of with minimal DataRect which will contain current DataRect and specified DataRect - /// - /// DataRect, which will be used for surrond of current instance of - public void Surround(DataRect rect) - { - this.x.Surround(rect.X); - this.y.Surround(rect.Y); - } - - /// - /// Updates horizontal range of current instance of with minimal range which will contain both horizontal range of current DataRect and specified value - /// - /// Value, which will be used for surrond of horizontal range of current instance of - public void XSurround(double x) - { - this.x.Surround(x); - } - - /// - /// Updates horizontal range of current instance of with minimal range which will contain both horizontal range of current DataRect and specified range - /// - /// Range, which will be used for surrond of horizontal range of current instance of - public void XSurround(Range x) - { - this.x.Surround(x); - } - - /// - /// Updates vertical range of current instance of with minimal range which will contain both vertical range of current DataRect and specified value - /// - /// Value, which will be used for surrond of vertical range of current instance of - public void YSurround(double y) - { - this.y.Surround(y); - } - - /// - /// Updates vertical range of current instance of with minimal range which will contain both vertical range of current DataRect and specified range - /// - /// Range, which will be used for surrond of vertical range of current instance of - public void YSurround(Range y) - { - this.y.Surround(y); - } - - /// - /// Returns a string that represents the current instance of . - /// - /// String that represents the current instance of - public override string ToString() - { - return "{" + X.ToString() + " " + Y.ToString() + "}"; - } - } -} - diff --git a/vendors/optick/gui/InteractiveDataDisplay.WPF/Common/IPalette.cs b/vendors/optick/gui/InteractiveDataDisplay.WPF/Common/IPalette.cs deleted file mode 100644 index ae73246b9..000000000 --- a/vendors/optick/gui/InteractiveDataDisplay.WPF/Common/IPalette.cs +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. -// Licensed under the MIT License. - -// Copyright © 2010 Microsoft Corporation, All Rights Reserved. -// This code released under the terms of the Microsoft Research License Agreement (MSR-LA, http://sds.codeplex.com/License) -using System.Windows.Media; - -namespace InteractiveDataDisplay.WPF -{ - /// - /// Represents a color palette, which can convert double values to colors. - /// - public interface IPalette - { - /// - /// Gets a color for the specified value. - /// - /// A value from the . - /// A color. - Color GetColor(double value); - - /// - /// Gets the value indicating whether the contains absolute values - /// or it is relative ([0...1]). - /// - bool IsNormalized { get; } - - /// - /// Gets the range on which palette is defined. - /// - Range Range { get; } - } -} - - diff --git a/vendors/optick/gui/InteractiveDataDisplay.WPF/Common/MathHelper.cs b/vendors/optick/gui/InteractiveDataDisplay.WPF/Common/MathHelper.cs deleted file mode 100644 index bb7ed7621..000000000 --- a/vendors/optick/gui/InteractiveDataDisplay.WPF/Common/MathHelper.cs +++ /dev/null @@ -1,103 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. -// Licensed under the MIT License. - -using System; -using System.Windows; - -namespace InteractiveDataDisplay.WPF -{ - /// - /// Helper class for mathematical calculations. - /// - public static class MathHelper - { - /// - /// Verifies whether the value is NaN of Infinity. - /// - /// The value to varify. - /// True if the value is not NaN and is Infinity, false otherwise. - public static bool IsFinite(this double value) - { - return !Double.IsNaN(value) && !Double.IsInfinity(value); - } - - /// - /// Clamps specified long value to specified interval. - /// - /// Value to clamp. - /// Minimum of the interval. - /// Maximum of the interval. - /// Long value in range [min, max]. - public static long Clamp(long value, long min, long max) - { - return Math.Max(min, Math.Min(value, max)); - } - - /// - /// Clamps specified double value to specified interval. - /// - /// Value to clamp. - /// Minimum of the interval. - /// Maximum of the interval. - /// Double value in range [min, max]. - public static double Clamp(double value, double min, double max) - { - return Math.Max(min, Math.Min(value, max)); - } - - /// Clamps specified double value to [0,1]. - /// Value to clamp. - /// Double value in range [0, 1]. - public static double Clamp(double value) - { - return Math.Max(0, Math.Min(value, 1)); - } - - /// - /// Clamps specified integer value to specified interval. - /// - /// Value to clamp. - /// Minimum of the interval. - /// Maximum of the interval. - /// Integer value in range [min, max]. - public static int Clamp(int value, int min, int max) - { - return Math.Max(min, Math.Min(value, max)); - } - - /// - /// Returns by four given coordinates of corner points. - /// - /// X coordinate on a left-top corner. - /// Y coordinate on a left-top corner. - /// X coordinate on a right-bottom corner. - /// Y coordinate on a right-bottom corner. - /// - public static Rect CreateRectByPoints(double minX, double minY, double maxX, double maxY) - { - return new Rect(new Point(minX, minY), new Point(maxX, maxY)); - } - - /// - /// Returns by given point of a center and . - /// - /// Point of a center of a rectangle. - /// Size of a rectangle. - /// Rect. - public static Rect CreateRectFromCenterSize(Point center, Size size) - { - return new Rect(center.X - size.Width / 2, center.Y - size.Height / 2, size.Width, size.Height); - } - - /// - /// Converts an angle in radians to the angle in degrees. - /// - /// Angle in radians. - /// Angle in degrees. - public static double ToDegrees(this double angleInRadians) - { - return angleInRadians * 180 / Math.PI; - } - } -} - diff --git a/vendors/optick/gui/InteractiveDataDisplay.WPF/Common/Palette.cs b/vendors/optick/gui/InteractiveDataDisplay.WPF/Common/Palette.cs deleted file mode 100644 index 9be780330..000000000 --- a/vendors/optick/gui/InteractiveDataDisplay.WPF/Common/Palette.cs +++ /dev/null @@ -1,897 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. -// Licensed under the MIT License. - -// Copyright © 2010 Microsoft Corporation, All Rights Reserved. -// This code released under the terms of the Microsoft Research License Agreement (MSR-LA, http://sds.codeplex.com/License) -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Windows.Media; -using System.Globalization; - -namespace InteractiveDataDisplay.WPF -{ - /// - /// Represents a point within the range of a palette, containing colors on the left and rigth sides. - /// - public class PalettePoint - { - private Color rightColor, leftColor; - private double x; - - internal PalettePoint() - {} - - /// - /// Initializes a new instance of class. - /// - /// Coordinate of a point. - /// Color on a right side. - /// Color on a left side. - public PalettePoint(double x, Color right, Color left) - { - this.rightColor = right; - this.leftColor = left; - this.x = x; - } - - /// - /// Gets the color on a right side of a point. - /// - public Color RightColor - { - internal set { rightColor = value; } - get { return rightColor; } - } - /// - /// Gets the color on a left side of a point. - /// - public Color LeftColor - { - internal set { leftColor = value; } - get { return leftColor; } - } - /// - /// Gets the coordinate of a point. - /// - public double X - { - internal set { x = value; } - get { return x; } - } - - /// - /// Returns a string that represents the current palette point with information of coordinate and colors. - /// - public override string ToString() - { - return String.Format(CultureInfo.InvariantCulture, "{0} - left: {1}, right: {2}", x, leftColor, rightColor); - } - } - - /// - /// Defines mapping between color and double value. - /// - public class Palette : IPalette - { - private bool isNormalized; - private Range range; - private PalettePoint[] points; - - /// - /// Predefined palette "Blue, Green, Red". - /// - public static Palette Heat = new Palette(true, new Range(0, 1), - new PalettePoint[3]{ - new PalettePoint(0.0, Colors.Blue, Colors.Blue), - new PalettePoint(0.5, Color.FromArgb(255, 0, 255, 0), Color.FromArgb(255, 0, 255, 0)), - new PalettePoint(1.0, Colors.Red, Colors.Red) - }); - - // See http://www.geos.ed.ac.uk/it/howto/GMT/CPT/palettes.html - // public readonly static Palette Topo = Palette.Parse("#C977D9,#A18AE6,#8AA2E6,#8BD1E7,#8AF3CF,#85F38E,#EDE485,#F0B086,#DE9F8B,#74A3B3=0.5,#99CC70,#DCD68E,#BDF385,#EDDFAD,#F7E8CA,#FFF9F3,#FFF9F6,#FFFBF9,#FFFCFA,White"); - - private Palette() - { - } - - /// - /// Initializes an instance of class. - /// - /// Indicated whether palette is absolute or normalized. - /// If true, the actual range of palette is always [0...1]. - /// Range of palette. - /// An array of color points. - /// - /// If is true, value of the - /// is ignored and actual range is always [0...1]. - /// The array is cloned before use and therefore can be modified - /// after the constructor is completed without any effect on the palette instance. - /// - /// - public Palette(bool isNormalized, Range range, PalettePoint[] points) - { - this.isNormalized = isNormalized; - if (isNormalized) - this.range = new Range(0, 1); - else - this.range = new Range(range.Min, range.Max); - - if (points == null) throw new ArgumentNullException("points"); - if (points.Length < 2) throw new ArgumentException("Palette should have at least two points"); - this.points = (PalettePoint[])points.Clone(); - } - - /// - /// Initializes new instance of class on a basis of existing palette's colors. - /// - /// Indicated whether palette is absolute or normalized. - /// If true, the actual range of palette is always [0...1]. - /// Range of palette. - /// A palette to construct a new one. - public Palette(bool isNormalized, Range range, Palette palette) - { - if (palette == null) throw new ArgumentNullException("palette"); - this.isNormalized = isNormalized; - if (isNormalized) - this.range = new Range(0, 1); - else - this.range = range; - - if (palette.IsNormalized == isNormalized) - { - points = (PalettePoint[])palette.points.Clone(); - } - else - { - var srcRange = palette.Range; - double alpha, beta; - if (isNormalized) // from absolute to normalized - { - alpha = 1.0 / (srcRange.Max - srcRange.Min); - beta = -srcRange.Min * alpha; - } - else // from normalized to absolute - { - alpha = range.Max - range.Min; - beta = range.Min; - } - points = palette.points.Select(pp => new PalettePoint(pp.X * alpha + beta, pp.RightColor, pp.LeftColor)).ToArray(); - } - } - - /// - /// Gets the points with colors describing the palette. - /// - public PalettePoint[] Points - { - get { return points.Clone() as PalettePoint[]; } - } - - /// - /// Parses the palette from the string. See remarks for details. - /// - /// A string to parse from. - /// - /// String can contain: names of colors ( or hexadecimal representation #AARRGGBB), - /// double values and separators (equal symbol or comma) to separate colors and values from each other. - /// Comma is used for gradient colors, equal symbol - for initializing a color of specified value. - /// Palette can be normalized or absolute. - /// Absolute palette maps entire numbers to colors exactly as numbers are specified. For examples, - /// palette '-10=Blue,Green,Yellow,Red=10' maps values -10 and below to Blue, 10 and above to red. - /// Normalized palette maps minimum value to left palette color, maximum value to right palette color. In normalized palette - /// no numbers on left and right sides are specified. - /// Palettes can contain regions of constant color. For example, palette 'Blue=0.25=Yellow=0.5=#00FF00=0.75=Orange' maps first quarter of - /// values to blue, second quarter to yellow and so on. - /// - /// A palette that specified string describes. - public static Palette Parse(string value) - { - bool isNormalized = true; - Range range; - List points = new List(); - - if (value == null) value = String.Empty; - if (String.IsNullOrEmpty(value)) - return new Palette(true, new Range(0, 1), new PalettePoint[2]{ - new PalettePoint(0.0, Colors.White, Colors.White), - new PalettePoint(1.0, Colors.Black, Colors.Black)}); - Lexer lexer = new Lexer(value); - int state = -1; - double lastNumber; - if (lexer.ReadNext()) - { - points.Add(new PalettePoint(0.0, Colors.White, Colors.White)); - if (lexer.CurrentLexeme == Lexer.LexemeType.Number) - { - points[points.Count - 1].X = lexer.ValueNumber; - isNormalized = false; - if (lexer.ReadNext() && lexer.CurrentLexeme != Lexer.LexemeType.Separator) - throw new PaletteFormatException(lexer.Position, "separator expected"); - if (lexer.ReadNext() && lexer.CurrentLexeme != Lexer.LexemeType.Color) - throw new PaletteFormatException(lexer.Position, "color expected"); - } - if (lexer.CurrentLexeme == Lexer.LexemeType.Color) - { - points[points.Count - 1].RightColor = lexer.ValueColor; - points[points.Count - 1].LeftColor = lexer.ValueColor; - points.Add(new PalettePoint(points[0].X, lexer.ValueColor, lexer.ValueColor)); - } - else - throw new PaletteFormatException(lexer.Position, "wrong lexeme"); - } - lastNumber = points[0].X; - while (lexer.ReadNext()) - { - if (lexer.CurrentLexeme == Lexer.LexemeType.Separator) - { - if (lexer.ValueSeparator == Lexer.Separator.Equal) - { - if (lexer.ReadNext()) - { - if (lexer.CurrentLexeme == Lexer.LexemeType.Number) - { - if (lexer.ValueNumber < lastNumber) - throw new PaletteFormatException(lexer.Position, "number is less than previous"); - lastNumber = lexer.ValueNumber; - if (state == -1) - { - //x1 = color = x2 - points[points.Count - 1].X = lexer.ValueNumber; - state = 1; - } - else if (state == 0) - { - //color = x - points[points.Count - 1].X = lexer.ValueNumber; - state = 2; - } - else - throw new PaletteFormatException(lexer.Position, "wrong lexeme"); - } - else if (lexer.CurrentLexeme == Lexer.LexemeType.Color) - { - if (state == 1 || state == 2) - { - //x = color (,x=color || color1=x=color2) - points[points.Count - 1].RightColor = lexer.ValueColor; - state = -1; - } - else if (state == 0 || state == -1) - { - //color1 = color2 - points[points.Count - 1].X = points[0].X - 1; - points[points.Count - 1].RightColor = lexer.ValueColor; - state = -1; - } - else - throw new PaletteFormatException(lexer.Position, "wrong lexeme"); - } - else - throw new PaletteFormatException(lexer.Position, "wrong lexeme"); - } - } - else if (lexer.ValueSeparator == Lexer.Separator.Comma) - { - if (lexer.ReadNext()) - { - if (state == 1 || state == -1 || state == 2) - { - if (lexer.CurrentLexeme == Lexer.LexemeType.Number) - { - if (lexer.ValueNumber <= lastNumber) - throw new PaletteFormatException(lexer.Position, "number is less than previous"); - lastNumber = lexer.ValueNumber; - //x1 = color, x2 - if (lexer.ReadNext() && lexer.CurrentLexeme == Lexer.LexemeType.Separator && lexer.ValueSeparator == Lexer.Separator.Equal) - { - if (lexer.ReadNext() && lexer.CurrentLexeme == Lexer.LexemeType.Color) - { - if (state != -1) - points.Add(new PalettePoint(lexer.ValueNumber, lexer.ValueColor, lexer.ValueColor)); - else - { - points[points.Count - 1].X = lexer.ValueNumber; - points[points.Count - 1].RightColor = lexer.ValueColor; - points[points.Count - 1].LeftColor = lexer.ValueColor; - } - state = -1; - } - else - throw new PaletteFormatException(lexer.Position, "color expected"); - } - else - throw new PaletteFormatException(lexer.Position, "wrong lexeme"); - } - else if (lexer.CurrentLexeme == Lexer.LexemeType.Color) - { - // x = color1, color2 - if (state == -1) - points.RemoveAt(points.Count - 1); - state = 0; - } - else - throw new PaletteFormatException(lexer.Position, "wrong lexeme"); - } - - else if (state == 0) - { - if (lexer.CurrentLexeme == Lexer.LexemeType.Number) - { - if (lexer.ValueNumber <= lastNumber) - throw new PaletteFormatException(lexer.Position, "number is less than previous"); - lastNumber = lexer.ValueNumber; - //color, x - points[points.Count - 1].X = points[0].X - 1; - if (lexer.ReadNext() && lexer.CurrentLexeme == Lexer.LexemeType.Separator && lexer.ValueSeparator == Lexer.Separator.Equal) - { - if (lexer.ReadNext() && lexer.CurrentLexeme == Lexer.LexemeType.Color) - { - points.Add(new PalettePoint(lexer.ValueNumber, lexer.ValueColor, lexer.ValueColor)); - state = -1; - } - else - throw new PaletteFormatException(lexer.Position, "color expected"); - } - else - throw new PaletteFormatException(lexer.Position, "wrong lexeme"); - } - else if (lexer.CurrentLexeme == Lexer.LexemeType.Color) - { - //color1, color2 - points[points.Count - 1].X = points[0].X - 1; - state = 0; - } - else - throw new PaletteFormatException(lexer.Position, "wrong lexeme"); - } - } - } - if (state == -1) - points.Add(new PalettePoint(points[0].X, lexer.ValueColor, lexer.ValueColor)); - else if (state == 0) - points.Add(new PalettePoint(points[0].X, lexer.ValueColor, lexer.ValueColor)); - } - else - throw new PaletteFormatException(lexer.Position, "separator expected"); - } - - if (lexer.CurrentLexeme == Lexer.LexemeType.Separator) - throw new PaletteFormatException(lexer.Position, "wrong lexeme"); - if ((lexer.CurrentLexeme == Lexer.LexemeType.Number && isNormalized) || - (lexer.CurrentLexeme == Lexer.LexemeType.Color && !isNormalized)) - throw new PaletteFormatException(lexer.Position, "wrong ending"); - if (isNormalized) - { - points[points.Count - 1].X = 1.0; - if (points[points.Count - 1].X < points[points.Count - 2].X) - throw new PaletteFormatException(lexer.Position, "number is less than previous"); - } - points[points.Count - 1].RightColor = points[points.Count - 1].LeftColor; - if (points[0].X >= points[points.Count - 1].X) - throw new PaletteFormatException(lexer.Position, "wrong range of palette"); - range = new Range(points[0].X, points[points.Count - 1].X); - - int start = 1; - int count = 0; - for (int i = 1; i < points.Count; i++) - { - if (points[i].X == points[0].X - 1) - { - if (count == 0) start = i; - count++; - } - else if (count != 0) - { - double res_x = (points[start + count].X - points[start - 1].X) / (count + 1); - for (int j = 0; j < count; j++) - points[start + j].X = points[start - 1].X + res_x * (j + 1); - count = 0; - start = 1; - } - } - - return new Palette(isNormalized, range, points.ToArray()); - } - - private static string ColorToString(Color color) - { - Type colors = typeof(Colors); - foreach (var property in colors.GetProperties()) - { - if (((Color)property.GetValue(null, null)) == color) - return property.Name; - } - if (color.A == 0xff) - return string.Format(CultureInfo.InvariantCulture, "#{0:X2}{1:X2}{2:X2}", color.R, color.G, color.B); - return string.Format(CultureInfo.InvariantCulture, "#{0:X2}{1:X2}{2:X2}{3:X2}", color.A, color.R, color.G, color.B); - } - - private static string PositionToString(double x) - { - return x.ToString(CultureInfo.InvariantCulture); - } - - /// - /// Gets a string that describes current palette. - /// - /// String that describes palette. - public override string ToString() - { - StringBuilder sb = new StringBuilder(); - int k = 0; - - if (!IsNormalized) - sb.Append(PositionToString(points[k].X)).Append('='); - sb.Append(ColorToString(points[k].RightColor)); - k++; - for (; k < points.Length - 1; k++) - { - if (points[k].LeftColor == points[k - 1].RightColor) - { - sb.Append('=').Append(PositionToString(points[k].X)); - if (points[k].RightColor != points[k].LeftColor || - (points[k].RightColor == points[k].LeftColor && points[k + 1].LeftColor == points[k].RightColor)) - { - sb.Append('='); - sb.Append(ColorToString(points[k].RightColor)); - } - } - else - { - sb.Append(','); - if (points[k].RightColor == points[k].LeftColor && points[k].LeftColor == points[k + 1].LeftColor) - { - sb.Append(PositionToString(points[k].X)).Append('='); - sb.Append(ColorToString(points[k].LeftColor)); - } - else - { - sb.Append(ColorToString(points[k].LeftColor)).Append('=').Append(PositionToString(points[k].X)); - if (points[k].RightColor == points[k + 1].LeftColor || - points[k].RightColor != points[k].LeftColor) - { - sb.Append('='); - sb.Append(ColorToString(points[k].RightColor)); - } - } - } - } - k = points.Length - 1; - if (points[k].LeftColor != points[k - 1].RightColor) - { - sb.Append(','); - sb.Append(ColorToString(points[k].LeftColor)); - } - if (!IsNormalized) - sb.Append('=').Append(PositionToString(points[k].X)); - return sb.ToString(); - } - - #region IPalette Members - - /// - /// Gets a color for the specified value. Note that palette uses HSL interpolation of colors. - /// - /// A double value from . - /// A color for specific double value. - public Color GetColor(double value) - { - Color color = new Color(); - if (IsNormalized && (value > 1 || value < 0)) - throw new ArgumentException("Wrong value for normalized palette"); - else - { - if (value <= points[0].X) - { - color.A = points[0].LeftColor.A; - color.R = points[0].LeftColor.R; - color.G = points[0].LeftColor.G; - color.B = points[0].LeftColor.B; - } - else if (value >= points[points.Length - 1].X) - { - color.A = points[points.Length - 1].RightColor.A; - color.R = points[points.Length - 1].RightColor.R; - color.G = points[points.Length - 1].RightColor.G; - color.B = points[points.Length - 1].RightColor.B; - } - else - for (int i = 0; i < points.Length - 1; i++) - { - var p1 = points[i]; - var p2 = points[i + 1]; - if (value >= p1.X && value <= p2.X) - { - var c1 = p1.RightColor; - var c2 = p2.LeftColor; - double alpha = (value - points[i].X) / (p2.X - p1.X); - - HSLColor cHSL1 = new HSLColor(c1); - HSLColor cHSL2 = new HSLColor(c2); - - if (Math.Abs(cHSL2.H - cHSL1.H) > 3) - { - if (cHSL1.H < cHSL2.H) - cHSL1 = new HSLColor(cHSL1.A, cHSL1.H + 6, cHSL1.S, cHSL1.L); - else if (cHSL1.H > cHSL2.H) - cHSL2 = new HSLColor(cHSL2.A, cHSL2.H + 6, cHSL2.S, cHSL2.L); - } - - HSLColor cHSL = new HSLColor(cHSL1.A + ((cHSL2.A - cHSL1.A) * alpha), - cHSL1.H + ((cHSL2.H - cHSL1.H) * alpha), - cHSL1.S + ((cHSL2.S - cHSL1.S) * alpha), - cHSL1.L + ((cHSL2.L - cHSL1.L) * alpha)); - - if (cHSL.H >= 6) - cHSL = new HSLColor(cHSL.A, cHSL.H - 6, cHSL.S, cHSL.L); - color = cHSL.ConvertToRGB(); - break; - } - } - } - return color; - } - - /// - /// Gets the value indicating whether the is absolute or relative ([0, 1]). - /// - public bool IsNormalized - { - get { return isNormalized; } - } - - /// - /// Gets the range on which palette is defined. - /// - public Range Range - { - get { return range; } - } - #endregion - - /// - /// Determines whether the specified palette is equal to the current instance. - /// - /// The palette to compare with current. - /// True if the objects are equal, false otherwise. - public override bool Equals(object obj) - { - if (obj == null) return false; - Palette p = obj as Palette; - if (p == null) return false; - if (isNormalized != p.isNormalized) return false; - if (range.Min != p.range.Min || range.Max != p.range.Max) return false; - int n = this.points.Length; - if (n != p.points.Length) return false; - for (int i = 0; i < n; i++) - { - var l = points[i]; - var r = p.points[i]; - if (l.X != r.X || l.LeftColor != r.LeftColor || l.RightColor != r.RightColor) - return false; - } - return true; - } - - /// - /// Serves as a hash function for a palette type. - /// - /// - public override int GetHashCode() - { - int hash = isNormalized.GetHashCode() ^ range.GetHashCode(); - for (int i = 0; i < points.Length; i++) - { - var l = points[i]; - hash ^= l.X.GetHashCode() ^ l.LeftColor.GetHashCode() ^ l.RightColor.GetHashCode(); - } - return hash; - } - } - - internal class Lexer - { - public enum Separator { Equal, Comma }; - public enum LexemeType { Color, Separator, Number }; - - LexemeType currentLexem; - Color valueColor; - double valueNumber; - Separator valueSeparator; - - string paletteString; - int position; - - public LexemeType CurrentLexeme - { - get { return currentLexem; } - } - public Color ValueColor - { - get { return valueColor; } - } - public double ValueNumber - { - get { return valueNumber; } - } - public Separator ValueSeparator - { - get { return valueSeparator; } - } - public int Position - { - get { return position; } - } - - public Lexer(string value) - { - paletteString = value; - position = 0; - } - - public bool ReadNext() - { - if (position >= paletteString.Length) - return false; - while (paletteString[position] == ' ') position++; - - if (paletteString[position] == '#' || Char.IsLetter(paletteString[position])) - { - currentLexem = LexemeType.Color; - int start = position; - while (position < paletteString.Length && paletteString[position] != ' ' && - paletteString[position] != '=' && paletteString[position] != ',') - { - position++; - } - string color = paletteString.Substring(start, position - start); - valueColor = GetColorFromString(color); - } - else if (paletteString[position] == '=' || paletteString[position] == ',') - { - currentLexem = LexemeType.Separator; - if (paletteString[position] == '=') valueSeparator = Separator.Equal; - else valueSeparator = Separator.Comma; - position++; - } - else - { - currentLexem = LexemeType.Number; - int start = position; - while (position < paletteString.Length && paletteString[position] != ' ' && - paletteString[position] != '=' && paletteString[position] != ',') - { - position++; - } - string number = paletteString.Substring(start, position - start); - valueNumber = Double.Parse(number, CultureInfo.InvariantCulture); - } - return true; - } - - private Color GetColorFromString(string str) - { - Color color = new Color(); - - if (Char.IsLetter(str[0])) - { - bool isNamed = false; - Type colors = typeof(Colors); - foreach (var property in colors.GetProperties()) - { - if (property.Name == str) - { - color = (Color)property.GetValue(null, null); - isNamed = true; - } - } - if (!isNamed) - throw new PaletteFormatException(Position, "wrong name of color"); - } - else if (str[0] == '#') - { - if (str.Length == 7) - { - color.A = 255; - color.R = Convert.ToByte(str.Substring(1, 2), 16); - color.G = Convert.ToByte(str.Substring(3, 2), 16); - color.B = Convert.ToByte(str.Substring(5, 2), 16); - } - else if (str.Length == 9) - { - color.A = Convert.ToByte(str.Substring(1, 2), 16); - color.R = Convert.ToByte(str.Substring(3, 2), 16); - color.G = Convert.ToByte(str.Substring(5, 2), 16); - color.B = Convert.ToByte(str.Substring(7, 2), 16); - } - else throw new PaletteFormatException(Position, "wrong name of color"); - } - else throw new PaletteFormatException(Position, "wrong name of color"); - - return color; - } - } - - /// - /// An exception that is thrown when an argument does not meet the parameter specifications - /// of class methods. - /// - public class PaletteFormatException : FormatException - { - /// - /// Initializes a new instance of class. - /// - /// A position in a string in which an exception occured. - /// A message to show. - public PaletteFormatException(int position, string message) : - base(String.Format(CultureInfo.InvariantCulture, "Incorrect palette string at char {0}: {1}", position, message)) { } - - /// - /// Initializes a new instance of class with default message. - /// - public PaletteFormatException() { } - - /// - /// Initializes a new instance of class. - /// - /// A message to show. - public PaletteFormatException(string message) - : base(message) { } - - /// - /// Initializes a new instance of class. - /// - /// A message to show. - /// An occured exception. - public PaletteFormatException(string message, Exception innerException) - : base(message, innerException) { } - } - - internal class HSLColor - { - private double h; - private double s; - private double l; - private double a; - - public HSLColor(double a, double h, double s, double l) - { - this.a = a; - this.h = h; - this.s = s; - this.l = l; - } - - public HSLColor(Color color) - { - this.a = color.A / 255.0; - - double r = color.R / 255.0; - double g = color.G / 255.0; - double b = color.B / 255.0; - - double maxcolor = Math.Max(r, g); - maxcolor = Math.Max(maxcolor, b); - double mincolor = Math.Min(r, g); - mincolor = Math.Min(mincolor, b); - - this.l = (maxcolor + mincolor) / 2.0; - - if (maxcolor == mincolor) - this.s = 0.0; - else - { - if (this.l < 0.5) - s = (maxcolor - mincolor) / (maxcolor + mincolor); - else - s = (maxcolor - mincolor) / (2.0 - maxcolor - mincolor); - } - if (maxcolor == mincolor) - this.h = 0; - else if (maxcolor == r) - { - if (g >= b) - this.h = (g - b) / (maxcolor - mincolor); - else - this.h = (g - b) / (maxcolor - mincolor) + 6.0; - } - else if (maxcolor == g) - this.h = 2.0 + (b - r) / (maxcolor - mincolor); - else if (maxcolor == b) - this.h = 4.0 + (r - g) / (maxcolor - mincolor); - } - - public Color ConvertToRGB() - { - Color color = new Color(); - color.A = (byte)(this.a * 255.0); - - double c = (1.0 - Math.Abs(2.0 * this.l - 1.0)) * this.s; - double x = c * (1.0 - Math.Abs(this.h % 2.0 - 1.0)); - - if (this.h < 1 && this.h >= 0) - { - color.R = Convert.ToByte(c * 255.0); - color.G = Convert.ToByte(x * 255.0); - color.B = 0; - } - if (this.h < 2 && this.h >= 1) - { - color.R = Convert.ToByte(x * 255.0); - color.G = Convert.ToByte(c * 255.0); - color.B = 0; - } - if (this.h < 3 && this.h >= 2) - { - color.R = 0; - color.G = Convert.ToByte(c * 255.0); - color.B = Convert.ToByte(x * 255.0); - } - if (this.h < 4 && this.h >= 3) - { - color.R = 0; - color.G = Convert.ToByte(x * 255.0); - color.B = Convert.ToByte(c * 255.0); - } - if (this.h < 5 && this.h >= 4) - { - color.R = Convert.ToByte(x * 255.0); - color.G = 0; - color.B = Convert.ToByte(c * 255.0); - } - if (this.h < 6 && this.h >= 5) - { - color.R = Convert.ToByte(c * 255.0); - color.G = 0; - color.B = Convert.ToByte(x * 255.0); - } - - double m = (this.l - c / 2.0) * 255.0; - double temp = color.R + m; - if (temp > 255) - color.R = 255; - else if (temp < 0) - color.R = 0; - else - color.R = Convert.ToByte(temp); - - temp = color.G + m; - if (temp > 255) - color.G = 255; - else if (temp < 0) - color.G = 0; - else - color.G = Convert.ToByte(color.G + m); - - temp = color.B + m; - if (temp > 255) - color.B = 255; - else if (temp < 0) - color.B = 0; - else - color.B = Convert.ToByte(color.B + m); - - return color; - } - - public double A - { - get { return a; } - } - public double H - { - get { return h; } - } - public double S - { - get { return s; } - } - public double L - { - get { return l; } - } - } -} - diff --git a/vendors/optick/gui/InteractiveDataDisplay.WPF/Common/Range.cs b/vendors/optick/gui/InteractiveDataDisplay.WPF/Common/Range.cs deleted file mode 100644 index c8c07af34..000000000 --- a/vendors/optick/gui/InteractiveDataDisplay.WPF/Common/Range.cs +++ /dev/null @@ -1,173 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. -// Licensed under the MIT License. - -using System.Diagnostics; -using System.Globalization; - -namespace InteractiveDataDisplay.WPF -{ - /// - /// Represents ranges for double type. - /// - public struct Range - { - double minimum; - double maximum; - - /// - /// Gets the minimum value of current range. - /// - public double Min - { - get { return minimum; } - set { minimum = value; } - } - - /// - /// Gets the maximum value of current range. - /// - public double Max - { - get { return maximum; } - set { maximum = value; } - } - - /// - /// Initializes new instance of range struct from given minimum and maximum values. - /// - /// Minimum value of the range. - /// Maximum value of the range. - public Range(double minimum, double maximum) - { - Debug.Assert(!double.IsNaN(minimum)); - Debug.Assert(!double.IsNaN(maximum)); - - if (minimum < maximum) - { - this.minimum = minimum; - this.maximum = maximum; - } - else - { - this.minimum = maximum; - this.maximum = minimum; - } - } - - private Range(bool isEmpty) - { - if (isEmpty) - { - this.minimum = double.PositiveInfinity; - this.maximum = double.NegativeInfinity; - } - else - { - minimum = 0; - maximum = 0; - } - } - - /// - /// Readonly instance of empty range - /// - public static readonly Range Empty = new Range(true); - - /// Returns true of this range contains no points (e.g. Min > Max). - public bool IsEmpty { get { return Min > Max; } } - - /// Returns true of this range is a point (e.g. Min == Max). - public bool IsPoint { get { return Max == Min; } } - - /// - /// Updates current instance of with minimal range which contains current range and specified value - /// - /// Value, which will be used for for current instance of range surrond - public void Surround(double value) - { - if (value < minimum) minimum = value; - if (value > maximum) maximum = value; - } - - /// - /// Updates current instance of with minimal range which contains current range and specified range - /// - /// Range, which will be used for current instance of range surrond - public void Surround(Range range) - { - if (range.IsEmpty) - return; - - Surround(range.minimum); - Surround(range.maximum); - } - - /// - /// Returns a string that represents the current range. - /// - /// String that represents the current range - public override string ToString() - { - return "[" + minimum.ToString(CultureInfo.InvariantCulture) + "," + maximum.ToString(CultureInfo.InvariantCulture) + "]"; - } - - /// - /// Calculates range from current which will have the same center and which size will be larger in factor times - /// - /// Zoom factor - /// Zoomed with specified factor range - public Range Zoom(double factor) - { - if (IsEmpty) - return new Range(true); - - double delta = (Max - Min) / 2; - double center = (Max + Min) / 2; - - return new Range(center - delta * factor, center + delta * factor); - } - - /// - /// Determines whether the specified is equal to the current range. - /// - /// The range to compare with the current . - /// True if the specified range is equal to the current range, false otherwise. - public override bool Equals(object obj) - { - Range r = (Range)obj; - return r.minimum == minimum && r.maximum == maximum; - } - - /// - /// Returns the hash code for this instance. - /// - /// The hash code for current instance - public override int GetHashCode() - { - return minimum.GetHashCode() ^ maximum.GetHashCode(); - } - - /// - /// Returns a value that indicates whether two specified range values are equal. - /// - /// The first value to compare. - /// The second value to compare. - /// True if values are equal, false otherwise. - public static bool operator ==(Range first, Range second) - { - return first.Equals(second); - } - - /// - /// Returns a value that indicates whether two specified ranges values are not equal. - /// - /// The first value to compare. - /// The second value to compare. - /// True if values are not equal, false otherwise. - public static bool operator !=(Range first, Range second) - { - return !first.Equals(second); - } - } -} - diff --git a/vendors/optick/gui/InteractiveDataDisplay.WPF/Figure.cs b/vendors/optick/gui/InteractiveDataDisplay.WPF/Figure.cs deleted file mode 100644 index 2923e2d3c..000000000 --- a/vendors/optick/gui/InteractiveDataDisplay.WPF/Figure.cs +++ /dev/null @@ -1,444 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. -// Licensed under the MIT License. - -using System; -using System.Windows; -using System.Windows.Media; -using System.Linq; -using System.ComponentModel; - -namespace InteractiveDataDisplay.WPF -{ - /// - /// Specifies the dock position of a child element that is inside a - /// - public enum Placement - { - /// - /// A child element that is positioned on the left side of the - /// - Left, - - /// - /// A child element that is positioned at the top of the - /// - Top, - - /// - /// A child element that is positioned on the right side of the - /// - Right, - - /// - /// A child element that is positioned at the bottom of the - /// - Bottom, - - /// - /// A child element that is positioned at the center of the - /// - Center - } - - /// - /// Figure class provides special layout options that are often found in charts. - /// It provides attached property Placement that allows to place child elements in center, left, top, right and bottom slots. - /// Figure override plot-to-screen transform, so that plot coordinates are mapped to the cental part of the Figure. - /// - /// - /// Figure class provides two-pass algorithm that prevents well-known loop occurring on resize of figure with fixed aspect ratio: figure resize forces update of plot-to-screen transform which adjusts labels on the axes. - /// Change of label size may result in change of central part size which again updates plot-to-screen transform which in turn leads to axes label updates and so on. - /// - [Description("Plot with center, left, top, right and bottom slots")] - public class Figure : PlotBase - { - private double topHeight = 0; - private double topHeight2 = 0; - private double bottomHeight = 0; - private double bottomHeight2 = 0; - private double leftWidth = 0; - private double leftWidth2 = 0; - private double rightWidth = 0; - private double rightWidth2 = 0; - - private Size centerSize = Size.Empty; - - /// - /// Identify attached property - /// - public static readonly DependencyProperty PlacementProperty = DependencyProperty.RegisterAttached( - "Placement", - typeof(Placement), - typeof(Figure), - new PropertyMetadata(Placement.Center, OnPlacementPropertyChanged)); - - private static void OnPlacementPropertyChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e) - { - FrameworkElement elt = sender as FrameworkElement; - if (elt != null) // TODO: What if sender is not a FrameworkElement - { - UIElement parent = elt.Parent as UIElement; - if (parent != null) - parent.InvalidateMeasure(); - } - } - - /// Gets or sets extra padding added to effective padding that is computed from all plots in composition - [Category("InteractiveDataDisplay")] - public Thickness ExtraPadding - { - get { return (Thickness)GetValue(ExtraPaddingProperty); } - set { SetValue(ExtraPaddingProperty, value); } - } - - /// Identifies dependency property - public static readonly DependencyProperty ExtraPaddingProperty = - DependencyProperty.Register("ExtraPadding", typeof(Thickness), typeof(Figure), new PropertyMetadata(new Thickness())); - - /// - /// Computes padding with maximum values for each side from padding of all children - /// - /// Padding with maximum values for each side from padding of all children - protected override Thickness AggregatePadding() - { - var ep = base.AggregatePadding(); - return new Thickness( - ep.Left + ExtraPadding.Left, - ep.Top + ExtraPadding.Top, - ep.Right + ExtraPadding.Right, - ep.Bottom + ExtraPadding.Bottom); - } - - /// - /// Measures the size in layout required for child elements and determines a size for the Figure. - /// - /// The available size that this element can give to child elements. Infinity can be specified as a value to indicate that the element will size to whatever content is available. - /// The size that this element determines it needs during layout, based on its calculations of child element sizes. - protected override Size MeasureOverride(Size availableSize) - { - // Assuming we are master panel - var topElts = Children.Cast().Where(elt => GetPlacement(elt) == Placement.Top); - var bottomElts = Children.Cast().Where(elt => GetPlacement(elt) == Placement.Bottom); - var centerElts = Children.Cast().Where(elt => GetPlacement(elt) == Placement.Center); - var rightElts = Children.Cast().Where(elt => GetPlacement(elt) == Placement.Right); - var leftElts = Children.Cast().Where(elt => GetPlacement(elt) == Placement.Left); - - DataRect desiredRect; - if (IsAutoFitEnabled) - { - desiredRect = AggregateBounds(); - if (desiredRect.IsEmpty) - desiredRect = new DataRect(0, 0, 1, 1); - SetPlotRect(desiredRect, true); - } - else // resize - desiredRect = PlotRect; - - //First Iteration: Measuring top and bottom slots, - //then meassuring left and right with top and bottom output values - - // Create transform for first iteration - if (double.IsNaN(availableSize.Width) || double.IsNaN(availableSize.Height) || - double.IsInfinity(availableSize.Width) || double.IsInfinity(availableSize.Height)) - availableSize = new Size(100, 100); - - Fit(desiredRect, availableSize); - - // Measure top and bottom slots - double topBottomWidth = 0; - double topBottomHeight = 0; - topHeight = 0; - bottomHeight = 0; - - foreach (var elt in topElts) - { - elt.Measure(availableSize); - var ds = elt.DesiredSize; - topBottomWidth = Math.Max(topBottomWidth, ds.Width); - topHeight += ds.Height; - } - topBottomHeight += topHeight; - - foreach (var elt in bottomElts) - { - elt.Measure(availableSize); - var ds = elt.DesiredSize; - topBottomWidth = Math.Max(topBottomWidth, ds.Width); - bottomHeight += ds.Height; - } - topBottomHeight += bottomHeight; - - // Measure left and right slots - double leftRightWidth = 0; - double leftRightHeight = 0; - leftWidth = 0; - rightWidth = 0; - - foreach (var elt in leftElts) - { - - elt.Measure(availableSize); - var ds = elt.DesiredSize; - leftRightHeight = Math.Max(leftRightHeight, ds.Height); - leftWidth += ds.Width; - } - leftRightWidth += leftWidth; - - foreach (var elt in rightElts) - { - elt.Measure(availableSize); - var ds = elt.DesiredSize; - leftRightHeight = Math.Max(leftRightHeight, ds.Height); - rightWidth += ds.Width; - } - leftRightWidth += rightWidth; - - //Measure center elements - Size availCenterSize = new Size(Math.Max(0, availableSize.Width - leftRightWidth), Math.Max(0, availableSize.Height - topBottomHeight)); - Fit(desiredRect, availCenterSize); - - foreach (var elt in centerElts) - { - elt.Measure(availCenterSize); - } - - // Remeasure top and bottom slots - double topBottomWidth2 = 0; - double topBottomHeight2 = 0; - topHeight2 = 0; - bottomHeight2 = 0; - - foreach (var elt in topElts) - { - elt.Measure(new Size(availCenterSize.Width, elt.DesiredSize.Height)); - var ds = elt.DesiredSize; - topBottomWidth2 = Math.Max(topBottomWidth2, ds.Width); - topHeight2 += ds.Height; - } - topBottomHeight2 += topHeight2; - - foreach (var elt in bottomElts) - { - elt.Measure(new Size(availCenterSize.Width, elt.DesiredSize.Height)); - var ds = elt.DesiredSize; - topBottomWidth2 = Math.Max(topBottomWidth2, ds.Width); - bottomHeight2 += ds.Height; - } - topBottomHeight2 += bottomHeight2; - - - //Scaling elements of their new meassured height it not equal to first - if (bottomHeight2 > bottomHeight) - { - ScaleTransform transform = new ScaleTransform { ScaleY = bottomHeight / bottomHeight2 }; - foreach (var elt in bottomElts) - { - elt.RenderTransform = transform; - } - } - - if (topHeight2 > topHeight) - { - ScaleTransform transform = new ScaleTransform { ScaleY = topHeight / topHeight2 }; - foreach (var elt in topElts) - { - elt.RenderTransform = transform; - } - } - - // ReMeasure left and right slots - double leftRightWidth2 = 0; - double leftRightHeight2 = 0; - leftWidth2 = 0; - rightWidth2 = 0; - - foreach (var elt in leftElts) - { - elt.Measure(new Size(elt.DesiredSize.Width, availCenterSize.Height)); - var ds = elt.DesiredSize; - leftRightHeight2 = Math.Max(leftRightHeight2, ds.Height); - leftWidth2 += ds.Width; - } - leftRightWidth2 += leftWidth2; - - foreach (var elt in rightElts) - { - elt.Measure(new Size(elt.DesiredSize.Width, availCenterSize.Height)); - var ds = elt.DesiredSize; - leftRightHeight2 = Math.Max(leftRightHeight2, ds.Height); - rightWidth2 += ds.Width; - } - leftRightWidth2 += rightWidth2; - - //Scaling elements of their new meassured height it not equal to first - if (leftWidth2 > leftWidth) - { - ScaleTransform transform = new ScaleTransform { ScaleX = leftWidth / leftWidth2 }; - foreach (var elt in leftElts) - { - elt.RenderTransform = transform; - } - } - - if (rightWidth2 > rightWidth) - { - ScaleTransform transform = new ScaleTransform { ScaleX = rightWidth / rightWidth2 }; - foreach (var elt in rightElts) - { - elt.RenderTransform = transform; - } - } - - centerSize = availCenterSize; - return new Size(availCenterSize.Width + leftRightWidth, availCenterSize.Height + topBottomHeight); - } - - /// - /// Positions child elements and determines a size for a Figure - /// - /// The final area within the parent that Figure should use to arrange itself and its children - /// The actual size used - protected override Size ArrangeOverride(Size finalSize) - { - var topElts = Children.Cast().Where(elt => GetPlacement(elt) == Placement.Top).ToArray(); - var bottomElts = Children.Cast().Where(elt => GetPlacement(elt) == Placement.Bottom).ToArray(); - var centerElts = Children.Cast().Where(elt => GetPlacement(elt) == Placement.Center); - var rightElts = Children.Cast().Where(elt => GetPlacement(elt) == Placement.Right).ToArray(); - var leftElts = Children.Cast().Where(elt => GetPlacement(elt) == Placement.Left).ToArray(); - - double x = 0, y = 0; - - //Arranging top elements and setting clip bounds - if (topHeight < topHeight2) - { - foreach (var elt in topElts) - { - double finalHeight = elt.DesiredSize.Height * topHeight / topHeight2; - elt.Arrange(new Rect(leftWidth, y, centerSize.Width, finalHeight)); - elt.Clip = new RectangleGeometry { Rect = new Rect(-leftWidth, 0, finalSize.Width, finalHeight) }; - y += finalHeight; - } - } - else - { - double iy = topHeight; - for (int i = topElts.Length - 1; i > -1; i--) - { - UIElement elt = topElts[i]; - elt.Arrange(new Rect(leftWidth, iy - elt.DesiredSize.Height, centerSize.Width, elt.DesiredSize.Height)); - elt.Clip = new RectangleGeometry { Rect = new Rect(-leftWidth, 0, finalSize.Width, elt.DesiredSize.Height) }; - iy -= elt.DesiredSize.Height; - } - y = topHeight; - } - - // Arranging left elements and setting clip bounds - if (leftWidth < leftWidth2) - { - foreach (var elt in leftElts) - { - double finalWidth = elt.DesiredSize.Width * leftWidth / leftWidth2; - elt.Arrange(new Rect(x, topHeight, finalWidth, centerSize.Height)); - elt.Clip = new RectangleGeometry { Rect = new Rect(0, -topHeight, finalWidth, finalSize.Height) }; - x += finalWidth; - } - } - else - { - double ix = leftWidth; - for (int i = leftElts.Length - 1; i > -1; i--) - { - UIElement elt = leftElts[i]; - elt.Arrange(new Rect(ix - elt.DesiredSize.Width, topHeight, elt.DesiredSize.Width, centerSize.Height)); - elt.Clip = new RectangleGeometry { Rect = new Rect(0, -topHeight, elt.DesiredSize.Width, finalSize.Height) }; - ix -= elt.DesiredSize.Width; - } - x = leftWidth; - } - - // Arranging center elements - foreach (var elt in centerElts) - { - elt.Arrange(new Rect(leftWidth, topHeight, centerSize.Width, centerSize.Height)); - } - - x += centerSize.Width; - y += centerSize.Height; - - // Arranging bottom elements and setting clip bounds - if (bottomHeight < bottomHeight2) - { - foreach (var elt in bottomElts) - { - double finalHeight = elt.DesiredSize.Height * bottomHeight / bottomHeight2; - elt.Arrange(new Rect(leftWidth, y, centerSize.Width, finalHeight)); - elt.Clip = new RectangleGeometry { Rect = new Rect(-leftWidth, 0, finalSize.Width, finalHeight) }; - y += finalHeight; - } - } - else - { - for (int i = bottomElts.Length - 1; i > -1; i--) - { - UIElement elt = bottomElts[i]; - elt.Arrange(new Rect(leftWidth, y, centerSize.Width, elt.DesiredSize.Height)); - elt.Clip = new RectangleGeometry { Rect = new Rect(-leftWidth, 0, finalSize.Width, elt.DesiredSize.Height) }; - y += elt.DesiredSize.Height; - } - } - - // Arranging right elements and setting clip bounds - if (rightWidth < rightWidth2) - { - foreach (var elt in rightElts) - { - double finalWidth = elt.DesiredSize.Width * rightWidth / rightWidth2; - elt.Arrange(new Rect(x, topHeight, finalWidth, centerSize.Height)); - elt.Clip = new RectangleGeometry { Rect = new Rect(0, -topHeight, finalWidth, finalSize.Height) }; - x += finalWidth; - } - } - else - { - for (int i = rightElts.Length - 1; i > -1; i--) - { - UIElement elt = rightElts[i]; - elt.Arrange(new Rect(x, topHeight, elt.DesiredSize.Width, centerSize.Height)); - elt.Clip = new RectangleGeometry { Rect = new Rect(0, -topHeight, elt.DesiredSize.Width, finalSize.Height) }; - x += elt.DesiredSize.Width; - } - } - - return new Size(x, y); - } - - /// - /// Sets the value of the attached property to a specified element. - /// - /// The element to which the attached property is written. - /// The needed value. - public static void SetPlacement(DependencyObject element, Placement placement) - { - if (element == null) - throw new ArgumentNullException("element"); - - element.SetValue(PlacementProperty, placement); - } - - /// - /// Gets the value of the attached property to a specified element. - /// - /// The element from which the property value is read. - /// The property value for the element. - /// The default value of FigurePlacement property is Placement.Center - public static Placement GetPlacement(DependencyObject element) - { - if (element == null) - throw new ArgumentNullException("element"); - - return (Placement)element.GetValue(PlacementProperty); - } - } - -} - diff --git a/vendors/optick/gui/InteractiveDataDisplay.WPF/InteractiveDataDisplay.WPF.csproj b/vendors/optick/gui/InteractiveDataDisplay.WPF/InteractiveDataDisplay.WPF.csproj deleted file mode 100644 index da9eb9b6c..000000000 --- a/vendors/optick/gui/InteractiveDataDisplay.WPF/InteractiveDataDisplay.WPF.csproj +++ /dev/null @@ -1,77 +0,0 @@ - - - - - Debug - AnyCPU - {2D34544C-2DF2-4B20-A43A-6C8D2DF3DD82} - Library - Properties - InteractiveDataDisplay.WPF - InteractiveDataDisplay.WPF - net452;net46 - 512 - - - - true - full - false - bin\Debug\ - TRACE;DEBUG;NETFRAMEWORK;NETFRAMEWORK; - prompt - 4 - true - - - pdbonly - true - bin\Release\ - TRACE;RELEASE;NETFRAMEWORK;;RELEASE;NETFRAMEWORK;RELEASE;NETFRAMEWORK; - prompt - 4 - true - - - $(MSBuildExtensionsPath)\$(VisualStudioVersion)\Bin\Microsoft.CSharp.targets - 1.1.0 - Microsoft; MSU ITIS Lab - Sergey Berezin, Vassily Lyutsarev, Nikita Skoblov, Natalia Stepanova - Interactive Data Display for WPF is a set of controls for adding interactive visualization of dynamic data to your application. - Copyright 2017 Microsoft Corporation - idd wpf visualization plot plots plotting chart charting data interactive datavisualization - https://github.com/Microsoft/InteractiveDataDisplay.WPF - https://github.com/Microsoft/InteractiveDataDisplay.WPF/blob/master/LICENSE - - - CS0108 - - - - - - - - - - - - - - - - - - - - Designer - MSBuild:Compile - - - - - - - - - \ No newline at end of file diff --git a/vendors/optick/gui/InteractiveDataDisplay.WPF/Legend/CountToVisibilityConverter.cs b/vendors/optick/gui/InteractiveDataDisplay.WPF/Legend/CountToVisibilityConverter.cs deleted file mode 100644 index 5763b2342..000000000 --- a/vendors/optick/gui/InteractiveDataDisplay.WPF/Legend/CountToVisibilityConverter.cs +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. -// Licensed under the MIT License. - -using System.Windows.Data; -using System; -using System.Windows; - -namespace InteractiveDataDisplay.WPF -{ - /// - /// Converts the count of collection to Visibility. - /// - public class CountToVisibilityConverter : IValueConverter - { - #region IValueConverter Members - - /// - /// Converts any numeric value to Visibility. - /// - /// A value of any numeric type. - /// - /// - /// - /// Visible if the value is positive. Collapsed if the value is negative or 0. - public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) - { - return (int)value > 0 ? Visibility.Visible : Visibility.Collapsed; - } - - /// - /// Converts Visibility to integer value. - /// - /// A value of Visibility enum. - /// - /// - /// - /// 1 if the value is Visible. 0 if the value is Collapsed. - public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) - { - return (Visibility)value == Visibility.Visible ? 1 : 0; - } - - #endregion - } -} - diff --git a/vendors/optick/gui/InteractiveDataDisplay.WPF/Legend/DefaultTemplates.xaml b/vendors/optick/gui/InteractiveDataDisplay.WPF/Legend/DefaultTemplates.xaml deleted file mode 100644 index decc97796..000000000 --- a/vendors/optick/gui/InteractiveDataDisplay.WPF/Legend/DefaultTemplates.xaml +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - diff --git a/vendors/optick/gui/InteractiveDataDisplay.WPF/Legend/Legend.cs b/vendors/optick/gui/InteractiveDataDisplay.WPF/Legend/Legend.cs deleted file mode 100644 index 5a6c8498e..000000000 --- a/vendors/optick/gui/InteractiveDataDisplay.WPF/Legend/Legend.cs +++ /dev/null @@ -1,116 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. -// Licensed under the MIT License. - -using System; -using System.Windows; -using System.Windows.Controls; -using System.ComponentModel; - -namespace InteractiveDataDisplay.WPF -{ - /// - /// Control for placing legend contents. - /// - [Description("Control for legend contents")] - public class Legend : ContentControl - { - /// - /// Gets or sets the number of items in legend. Value of this property - /// is automatically updated set to item count if content is . - /// It is recommended to use this property as read only. - /// - [Browsable(false)] - public int ItemsCount - { - get { return (int)GetValue(ItemsCountProperty); } - private set { SetValue(ItemsCountProperty, value); } - } - - /// - /// Identifies the dependency property. - /// - public static readonly DependencyProperty ItemsCountProperty = - DependencyProperty.Register("ItemsCount", typeof(int), typeof(Legend), new PropertyMetadata(0)); - - /// - /// This method is called when the content property changes. - /// - /// Old value of property. - /// New value of property. - protected override void OnContentChanged(object oldContent, object newContent) - { - var panel = oldContent as Panel; - if (panel != null) - panel.LayoutUpdated -= OnContentLayoutUpdated; - panel = newContent as Panel; - if (panel != null) - panel.LayoutUpdated += OnContentLayoutUpdated; - UpdateItemsCount(); - base.OnContentChanged(oldContent, newContent); - } - - private void OnContentLayoutUpdated(object sender, EventArgs e) - { - UpdateItemsCount(); - } - - /// - /// Initializes a new instance of class. - /// - public Legend() - { - DefaultStyleKey = typeof(Legend); - IsTabStop = false; - } - - /// - /// This method is invoked whenever application code or internal processes call ApplyTemplate. - /// - public override void OnApplyTemplate() - { - base.OnApplyTemplate(); - UpdateItemsCount(); - } - - private void UpdateItemsCount() - { - var panel = Content as Panel; - if (panel != null) - ItemsCount = panel.Children.Count; - else - ItemsCount = Content != null ? 1 : 0; - } - - /// - /// Returns value of attached property that controls - /// if object is visible in legend. Default value is true. - /// - /// An object with a legend. - /// Visibility of specified object in legend. - public static bool GetIsVisible(DependencyObject obj) - { - if (obj != null) - return (bool)obj.GetValue(IsVisibleProperty); - else - return true; - } - - /// - /// Sets attached property. Objects with false value - /// of this property are not shown in legend. - /// An object to be presented in a legend. - /// Legend visibility flag - public static void SetIsVisible(DependencyObject obj, bool isVisible) - { - if (obj != null) - obj.SetValue(IsVisibleProperty, isVisible); - } - - /// - /// Identifies attached property to get or set visibility of a legend. - /// - public static readonly DependencyProperty IsVisibleProperty = - DependencyProperty.RegisterAttached("IsVisible", typeof(bool), typeof(Legend), new PropertyMetadata(true)); - } -} - diff --git a/vendors/optick/gui/InteractiveDataDisplay.WPF/Legend/LegendItemsPanel.cs b/vendors/optick/gui/InteractiveDataDisplay.WPF/Legend/LegendItemsPanel.cs deleted file mode 100644 index 5b74b3367..000000000 --- a/vendors/optick/gui/InteractiveDataDisplay.WPF/Legend/LegendItemsPanel.cs +++ /dev/null @@ -1,184 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. -// Licensed under the MIT License. - -using System; -using System.Windows.Controls; -using System.Windows; -using System.ComponentModel; - -namespace InteractiveDataDisplay.WPF -{ - /// This panel automatically builds legend for given - [Description("Presents legend items for a plot")] - public class LegendItemsPanel : Panel - { - private IDisposable unsubsrciber; - private PlotBase masterPlot = null; - - /// - /// Gets of sets plot to build legend for - /// - [Category("InteractiveDataDisplay")] - [Description("Plot to build legend for")] - public PlotBase MasterPlot - { - get { return (PlotBase)GetValue(MasterPlotProperty); } - set { SetValue(MasterPlotProperty, value); } - } - - /// - /// Identifies property - /// - public static readonly DependencyProperty MasterPlotProperty = - DependencyProperty.Register("MasterPlot", typeof(PlotBase), typeof(LegendItemsPanel), new PropertyMetadata(null, - (o, e) => - { - LegendItemsPanel panel = (LegendItemsPanel)o; - if (panel != null) - { - panel.OnMasterPlotChanged(e); - } - })); - - private void LegendItemsPanelUnloaded(object sender, RoutedEventArgs e) - { - if (MasterPlot == null) - masterPlot = null; - } - - private void LegendItemsPanelLoaded(object sender, RoutedEventArgs e) - { - if (MasterPlot == null) - masterPlot = PlotBase.FindMaster(this); - else - masterPlot = MasterPlot; - - Resubscribe(); - - } - - private void OnMasterPlotChanged(DependencyPropertyChangedEventArgs e) - { - PlotBase newPlot = (PlotBase)e.NewValue; - - if (newPlot != null) - masterPlot = newPlot; - - Resubscribe(); - } - - private void Resubscribe() - { - if (unsubsrciber != null) - { - unsubsrciber.Dispose(); - unsubsrciber = null; - } - - if (masterPlot != null) - { - unsubsrciber = masterPlot.CompositionChange.Subscribe(change => RefreshContents()); - RefreshContents(); - } - } - - /// - /// Measures the size in layout required for child elements and determines a size for parent. - /// - /// The available size that this element can give to child elements. Infinity can be specified as a value to indicate that the element will size to whatever content is available. - /// The size that this element determines it needs during layout, based on its calculations of child element sizes. - protected override Size MeasureOverride(Size availableSize) - { - Size result = new Size(); - foreach (UIElement c in Children) - { - c.Measure(availableSize); - result.Width = Math.Max(result.Width, c.DesiredSize.Width); - if (!Double.IsInfinity(availableSize.Height)) - availableSize.Height = Math.Max(0, availableSize.Height - c.DesiredSize.Height); - result.Height += c.DesiredSize.Height; - } - return result; - } - - /// - /// Positions child elements and determines a size for parent. - /// - /// The final area within the parent that Figure should use to arrange itself and its children. - /// The actual size used. - protected override Size ArrangeOverride(Size finalSize) - { - double y = 0; - foreach (UIElement c in Children) - { - c.Arrange(new Rect(new Point(0, y), c.DesiredSize)); - y += c.DesiredSize.Height; - } - return finalSize; - } - - /// - /// Initializes a new instance of class. - /// - public LegendItemsPanel() - { - var rd = new ResourceDictionary(); - rd = (ResourceDictionary)Application.LoadComponent(new System.Uri("/InteractiveDataDisplay.WPF;component/Legend/DefaultTemplates.xaml", System.UriKind.Relative)); - Resources.MergedDictionaries.Add(rd); - - Loaded += LegendItemsPanelLoaded; - Unloaded += LegendItemsPanelUnloaded; - } - - /// - /// Constructs legend UI for current plot - /// - protected virtual void RefreshContents() - { - Children.Clear(); - - if (masterPlot != null) - { - foreach (var elt in masterPlot.RelatedPlots) - { - var c = CreateLegendContent(elt); - if (c != null) - Children.Add(c); - } - } - - InvalidateMeasure(); - } - - /// - /// Creates legend content from given UIElement - /// - /// UIElement for legend content construction - /// UIElement which reperesents input UIElement in legend control - protected virtual UIElement CreateLegendContent(UIElement element) - { - if (element == null) - throw new ArgumentNullException("element"); - - if (!Legend.GetIsVisible(element)) - return null; - - Type eltype = element.GetType(); - while (eltype != null) - { - var template = Resources[eltype.FullName] as DataTemplate; - if (template != null) - { - var newElt = template.LoadContent() as FrameworkElement; - if (newElt != null) - newElt.DataContext = element; - - return newElt; - } - eltype = eltype.BaseType; - } - return null; - } - } -} - diff --git a/vendors/optick/gui/InteractiveDataDisplay.WPF/Legend/SizeLegendControl.cs b/vendors/optick/gui/InteractiveDataDisplay.WPF/Legend/SizeLegendControl.cs deleted file mode 100644 index f1ee4c74f..000000000 --- a/vendors/optick/gui/InteractiveDataDisplay.WPF/Legend/SizeLegendControl.cs +++ /dev/null @@ -1,300 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. -// Licensed under the MIT License. - -using System; -using System.Windows; -using System.Windows.Controls; -using System.Windows.Media; -using System.Windows.Shapes; -using System.ComponentModel; - -namespace InteractiveDataDisplay.WPF -{ - /// - /// A control to show information about size of drawing markers in a legend. - /// - [Description("Visually maps value to screen units")] - public class SizeLegendControl : ContentControl - { - #region Fields - - private Canvas image; - private Axis axis; - - #endregion - - #region Properties - - /// - /// Gets or sets the range of axis values. - /// Default value is [0, 1]. - /// - [Category("InteractiveDataDisplay")] - [Description("Range of mapped values")] - public Range Range - { - get { return (Range)GetValue(RangeProperty); } - set { SetValue(RangeProperty, value); } - } - - /// - /// Gets or sets the filling color. - /// Default value is black color. - /// - [Category("Appearance")] - public Color Color - { - get { return (Color)GetValue(ColorProperty); } - set { SetValue(ColorProperty, value); } - } - - /// - /// Gets or sets the maximum value of displaying height. - /// Default value is 20. - /// - [Category("InteractiveDataDisplay")] - [Description("Maximum screen height of palette")] - public new double MaxHeight - { - get { return (double)GetValue(MaxHeightProperty); } - set { SetValue(MaxHeightProperty, value); } - } - - /// - /// Gets or sets the value indicating whether an axis should be rendered or not. - /// Default value is true. - /// - [Category("InteractiveDataDisplay")] - public bool IsAxisVisible - { - get { return (bool)GetValue(IsAxisVisibleProperty); } - set { SetValue(IsAxisVisibleProperty, value); } - } - - /// - /// Gets or sets the minimum of size to display in a legend. This is screen size that corresponds to minimum value of data. - /// Default value is Double.NaN. - /// - [Category("InteractiveDataDisplay")] - [Description("Screen size that corresponds to minimum value")] - public double Min - { - get { return (double)GetValue(MinProperty); } - set { SetValue(MinProperty, value); } - } - - /// - /// Gets or sets the maximum of size to display in a legend. This is screen size that corresponds to maximum value of data. - /// Default value is Double.NaN. - /// - [Category("InteractiveDataDisplay")] - [Description("Screen size that corresponds to maximum value")] - public double Max - { - get { return (double)GetValue(MaxProperty); } - set { SetValue(MaxProperty, value); } - } - - #endregion - - #region Dependency properties - - /// - /// Identifies the dependency property. - /// - public static readonly DependencyProperty RangeProperty = DependencyProperty.Register( - "Range", - typeof(Range), - typeof(SizeLegendControl), - new PropertyMetadata(new Range(0, 1), OnRangeChanged)); - - /// - /// Identifies the dependency property. - /// - public static readonly DependencyProperty ColorProperty = DependencyProperty.Register( - "Color", - typeof(Color), - typeof(SizeLegendControl), - new PropertyMetadata(Colors.Black, OnColorChanged)); - - /// - /// Identifies the dependency property. - /// - public static new readonly DependencyProperty MaxHeightProperty = DependencyProperty.Register( - "MaxHeight", - typeof(double), - typeof(SizeLegendControl), - new PropertyMetadata(20.0, OnMinMaxChanged)); - - /// - /// Identifies the dependency property. - /// - public static readonly DependencyProperty IsAxisVisibleProperty = DependencyProperty.Register( - "IsAxisVisible", - typeof(bool), - typeof(SizeLegendControl), - new PropertyMetadata(true)); - - /// - /// Identifies the dependency property. - /// - public static readonly DependencyProperty MinProperty = DependencyProperty.Register( - "Min", - typeof(double), - typeof(SizeLegendControl), - new PropertyMetadata(Double.NaN, OnMinMaxChanged)); - - /// - /// Identifies the dependency property. - /// - public static readonly DependencyProperty MaxProperty = DependencyProperty.Register( - "Max", - typeof(double), - typeof(SizeLegendControl), - new PropertyMetadata(Double.NaN, OnMinMaxChanged)); - - #endregion - - #region ctor - - /// - /// Initializes a new instance of the class. - /// - public SizeLegendControl() - { - StackPanel stackPanel = new StackPanel(); - - image = new Canvas { HorizontalAlignment = HorizontalAlignment.Stretch }; - axis = new Axis { AxisOrientation = AxisOrientation.Bottom, HorizontalAlignment = HorizontalAlignment.Stretch }; - - stackPanel.Children.Add(image); - stackPanel.Children.Add(axis); - - Content = stackPanel; - - SizeChanged += (o, e) => - { - if (e.PreviousSize.Width == 0 || e.PreviousSize.Height == 0 || Double.IsNaN(e.PreviousSize.Width) || Double.IsNaN(e.PreviousSize.Height)) - UpdateCanvas(); - }; - - IsTabStop = false; - } - - #endregion - - #region Private methods - - private void UpdateCanvas() - { - if (Width == 0 || Double.IsNaN(Width)) - return; - - image.Children.Clear(); - - double maxHeight = Double.IsNaN(Max) ? Range.Max : Max; - double minHeight = Double.IsNaN(Min) ? Range.Min : Min; - - double visHeight = Math.Min(maxHeight, MaxHeight); - - image.Width = Width; - axis.Width = Width; - image.Height = visHeight; - - PathFigure pathFigure = new PathFigure(); - pathFigure.StartPoint = new Point(0, maxHeight); - - LineSegment lineSegment1 = new LineSegment(); - lineSegment1.Point = new Point(Width, maxHeight); - LineSegment lineSegment2 = new LineSegment(); - lineSegment2.Point = new Point(Width, 0); - LineSegment lineSegment3 = new LineSegment(); - lineSegment3.Point = new Point(0, maxHeight - minHeight); - LineSegment lineSegment4 = new LineSegment(); - lineSegment4.Point = new Point(0, maxHeight); - - PathSegmentCollection pathSegmentCollection = new PathSegmentCollection(); - pathSegmentCollection.Add(lineSegment1); - pathSegmentCollection.Add(lineSegment2); - pathSegmentCollection.Add(lineSegment3); - pathSegmentCollection.Add(lineSegment4); - - pathFigure.Segments = pathSegmentCollection; - PathFigureCollection pathFigureCollection = new PathFigureCollection(); - pathFigureCollection.Add(pathFigure); - PathGeometry pathGeometry = new PathGeometry(); - pathGeometry.Figures = pathFigureCollection; - - Path path = new Path(); - // TODO: Make it dependency property of SizeControl - path.Fill = new SolidColorBrush(Colors.LightGray); - - path.Data = pathGeometry; - path.Stroke = new SolidColorBrush(Color); - - if (!Double.IsNaN(MaxHeight)) - { - RectangleGeometry clip = new RectangleGeometry(); - clip.Rect = new Rect(0, maxHeight - this.MaxHeight, Width, this.MaxHeight); - path.Clip = clip; - } - - Canvas.SetTop(path, image.Height - maxHeight); - image.Children.Add(path); - - if (visHeight < maxHeight) - { - Line top; - if (minHeight >= visHeight) - top = new Line { X1 = 0, Y1 = 0, X2 = Width, Y2 = 0 }; - else - top = new Line - { - X1 = Width * (visHeight - minHeight) / (maxHeight - minHeight), - Y1 = 0, - X2 = Width, - Y2 = 0 - }; - top.Stroke = new SolidColorBrush(Colors.Black); - top.StrokeDashArray = new DoubleCollection(); - top.StrokeDashArray.Add(5); - top.StrokeDashArray.Add(5); - image.Children.Add(top); - } - } - - private static void OnRangeChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) - { - SizeLegendControl control = (SizeLegendControl)d; - control.OnRangeChanged(); - } - - private void OnRangeChanged() - { - axis.Range = Range; - UpdateCanvas(); - } - - private static void OnColorChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) - { - SizeLegendControl control = (SizeLegendControl)d; - control.OnColorChanged(); - } - - private void OnColorChanged() - { - if (image.Children.Count > 0) - ((Path)image.Children[0]).Fill = new SolidColorBrush(Color); - } - - private static void OnMinMaxChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) - { - SizeLegendControl control = (SizeLegendControl)d; - control.UpdateCanvas(); - } - - #endregion - - } -} - diff --git a/vendors/optick/gui/InteractiveDataDisplay.WPF/Navigation/KeyboardNavigation.cs b/vendors/optick/gui/InteractiveDataDisplay.WPF/Navigation/KeyboardNavigation.cs deleted file mode 100644 index f48e05423..000000000 --- a/vendors/optick/gui/InteractiveDataDisplay.WPF/Navigation/KeyboardNavigation.cs +++ /dev/null @@ -1,195 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. -// Licensed under the MIT License. - -using System; -using System.Windows; -using System.Windows.Controls; -using System.Windows.Input; -using System.ComponentModel; - -namespace InteractiveDataDisplay.WPF -{ - /// - /// Provides keyboard navigation around viewport of parent . - /// - /// - /// Place instance of inside your element to enable keyboard navigation over it. - /// - [Description("Navigates parent plot by keyboard commands")] - public class KeyboardNavigation : Control - { - private PlotBase masterPlot = null; - - /// - /// Initializes a new instance of class. - /// - public KeyboardNavigation() - { - Loaded += KeyboardNavigationLoaded; - Unloaded += KeyboardNavigationUnloaded; - - KeyDown += KeyboardNavigationKeyDown; - KeyUp += KeyboardNavigationKeyUp; - } - - /// Gets or sets vertical navigation status. True means that user can navigate along Y axis - /// The default value is true - [Category("InteractiveDataDisplay")] - public bool IsVerticalNavigationEnabled - { - get { return (bool)GetValue(IsVerticalNavigationEnabledProperty); } - set { SetValue(IsVerticalNavigationEnabledProperty, value); } - } - - /// Identifies property - public static readonly DependencyProperty IsVerticalNavigationEnabledProperty = - DependencyProperty.Register("IsVerticalNavigationEnabled", typeof(bool), typeof(KeyboardNavigation), new PropertyMetadata(true)); - - /// Gets or sets horizontal navigation status. True means that user can navigate along X axis - /// The default value is true - [Category("InteractiveDataDisplay")] - public bool IsHorizontalNavigationEnabled - { - get { return (bool)GetValue(IsHorizontalNavigationEnabledProperty); } - set { SetValue(IsHorizontalNavigationEnabledProperty, value); } - } - - /// Identifies property - public static readonly DependencyProperty IsHorizontalNavigationEnabledProperty = - DependencyProperty.Register("IsHorizontalNavigationEnabled", typeof(bool), typeof(KeyboardNavigation), new PropertyMetadata(true)); - - void KeyboardNavigationUnloaded(object sender, RoutedEventArgs e) - { - masterPlot = null; - } - - void KeyboardNavigationLoaded(object sender, RoutedEventArgs e) - { - masterPlot = PlotBase.FindMaster(this); - } - - private void KeyboardNavigationKeyDown(object sender, KeyEventArgs e) - { - if (masterPlot != null) - { - - if (e.Key == Key.Up && IsVerticalNavigationEnabled) - { - var rect = masterPlot.PlotRect; - double dy = rect.Height / 200; - - masterPlot.SetPlotRect(new DataRect( - rect.XMin, - rect.YMin - dy, - rect.XMin + rect.Width, - rect.YMin - dy + rect.Height)); - - masterPlot.IsAutoFitEnabled = false; - e.Handled = true; - } - if (e.Key == Key.Down && IsVerticalNavigationEnabled) - { - var rect = masterPlot.PlotRect; - double dy = - rect.Height / 200; - - masterPlot.SetPlotRect(new DataRect( - rect.XMin, - rect.YMin - dy, - rect.XMin + rect.Width, - rect.YMin - dy + rect.Height)); - - masterPlot.IsAutoFitEnabled = false; - e.Handled = true; - } - if (e.Key == Key.Right && IsHorizontalNavigationEnabled) - { - var rect = masterPlot.PlotRect; - double dx = - rect.Width / 200; - - masterPlot.SetPlotRect(new DataRect( - rect.XMin + dx, - rect.YMin, - rect.XMin + dx + rect.Width, - rect.YMin + rect.Height)); - - masterPlot.IsAutoFitEnabled = false; - e.Handled = true; - } - if (e.Key == Key.Left && IsHorizontalNavigationEnabled) - { - var rect = masterPlot.PlotRect; - double dx = rect.Width / 200; - - masterPlot.SetPlotRect(new DataRect( - rect.XMin + dx, - rect.YMin, - rect.XMin + dx + rect.Width, - rect.YMin + rect.Height)); - - masterPlot.IsAutoFitEnabled = false; - e.Handled = true; - } - if (e.Key == Key.Subtract) - { - DoZoom(1.2); - masterPlot.IsAutoFitEnabled = false; - e.Handled = true; - } - if (e.Key == Key.Add) - { - DoZoom(1 / 1.2); - masterPlot.IsAutoFitEnabled = false; - e.Handled = true; - } - if (e.Key == Key.Home) - { - masterPlot.IsAutoFitEnabled = true; - e.Handled = true; - } - } - } - - private void DoZoom(double factor) - { - if (masterPlot != null) - { - var rect = masterPlot.PlotRect; - - if (IsHorizontalNavigationEnabled) - rect.X = rect.X.Zoom(factor); - if (IsVerticalNavigationEnabled) - rect.Y = rect.Y.Zoom(factor); - - if (IsZoomEnable(rect)) - { - masterPlot.SetPlotRect(rect); - masterPlot.IsAutoFitEnabled = false; - } - } - } - - private bool IsZoomEnable(DataRect rect) - { - bool res = true; - if (IsHorizontalNavigationEnabled) - { - double e_max = Math.Log(Math.Max(Math.Abs(rect.XMax), Math.Abs(rect.XMin)), 2); - double log = Math.Log(rect.Width, 2); - res = log > e_max - 40; - } - if (IsVerticalNavigationEnabled) - { - double e_max = Math.Log(Math.Max(Math.Abs(rect.YMax), Math.Abs(rect.YMin)), 2); - double log = Math.Log(rect.Height, 2); - res = res && log > e_max - 40; - } - return res; - } - - void KeyboardNavigationKeyUp(object sender, KeyEventArgs e) - { - } - } -} - - diff --git a/vendors/optick/gui/InteractiveDataDisplay.WPF/Navigation/MouseNavigation.cs b/vendors/optick/gui/InteractiveDataDisplay.WPF/Navigation/MouseNavigation.cs deleted file mode 100644 index 521c8ac04..000000000 --- a/vendors/optick/gui/InteractiveDataDisplay.WPF/Navigation/MouseNavigation.cs +++ /dev/null @@ -1,499 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. -// Licensed under the MIT License. - -using System; -using System.Windows; -using System.Windows.Controls; -using System.Windows.Input; -using System.Windows.Media; -using System.Windows.Shapes; -using System.ComponentModel; - -namespace InteractiveDataDisplay.WPF -{ - /// - /// Provides mouse navigation around viewport of parent . - /// - /// - /// Place instance of inside your element to enable mouse navigation over it. - /// - [Description("Navigates parent plot by mouse")] - public class MouseNavigation : Panel - { - private Canvas navigationCanvas = new Canvas - { - // This background brush allows Canvas to intercept mouse events while remaining transparent - Background = new SolidColorBrush(Color.FromArgb(0, 255, 255, 255)) - }; - - private PlotBase masterPlot = null; - - /// First parent Control in visual tree. Used to receive focus on mouse click - private Control parentControl = null; - - private bool isPanning = false; - private bool isSelecting = false; - private bool wasInside = false; - private bool isLeftClicked = false; - - private bool selectingStarted = false; - private Point panningStart; - private Point panningEnd; - private Point selectStart; - private Point selectEnd; - private DateTime lastClick; - - private bool selectingMode = true; - - private Rectangle selectArea; - private Plot plot = new NavigationPlot(); - - private bool transformChangeRequested = false; - - /// - /// Initializes a new instance of class. - /// - public MouseNavigation() - { - Children.Add(navigationCanvas); - - - Loaded += MouseNavigationLoaded; - Unloaded += MouseNavigationUnloaded; - - MouseLeave += new MouseEventHandler(MouseNavigationLayer_MouseLeave); - MouseMove += new MouseEventHandler(MouseNavigationLayer_MouseMove); - MouseRightButtonUp += new MouseButtonEventHandler(MouseNavigationLayer_MouseRightButtonUp); - MouseRightButtonDown += new MouseButtonEventHandler(MouseNavigationLayer_MouseRightButtonDown); - MouseWheel += new MouseWheelEventHandler(MouseNavigationLayer_MouseWheel); - - LayoutUpdated += (s, a) => transformChangeRequested = false; - } - - /// Gets or sets vertical navigation status. True means that user can navigate along Y axis - /// The default value is true - [Category("InteractiveDataDisplay")] - public bool IsVerticalNavigationEnabled - { - get { return (bool)GetValue(IsVerticalNavigationEnabledProperty); } - set { SetValue(IsVerticalNavigationEnabledProperty, value); } - } - - /// Identifies property - public static readonly DependencyProperty IsVerticalNavigationEnabledProperty = - DependencyProperty.Register("IsVerticalNavigationEnabled", typeof(bool), typeof(MouseNavigation), new PropertyMetadata(true)); - - /// Gets or sets horizontal navigation status. True means that user can navigate along X axis - /// The default value is true - [Category("InteractiveDataDisplay")] - public bool IsHorizontalNavigationEnabled - { - get { return (bool)GetValue(IsHorizontalNavigationEnabledProperty); } - set { SetValue(IsHorizontalNavigationEnabledProperty, value); } - } - - /// Identifies property - public static readonly DependencyProperty IsHorizontalNavigationEnabledProperty = - DependencyProperty.Register("IsHorizontalNavigationEnabled", typeof(bool), typeof(MouseNavigation), new PropertyMetadata(true)); - - void MouseNavigationUnloaded(object sender, RoutedEventArgs e) - { - if (masterPlot != null) - { - masterPlot.MouseLeave -= MouseNavigationLayer_MouseLeave; - masterPlot.MouseMove -= MouseNavigationLayer_MouseMove; - masterPlot.MouseRightButtonUp -= MouseNavigationLayer_MouseRightButtonUp; - masterPlot.MouseRightButtonDown -= MouseNavigationLayer_MouseRightButtonDown; - masterPlot.MouseWheel -= MouseNavigationLayer_MouseWheel; - } - - masterPlot = null; - parentControl = null; - } - - void MouseNavigationLoaded(object sender, RoutedEventArgs e) - { - masterPlot = PlotBase.FindMaster(this); - - if (masterPlot != null) - { - masterPlot.MouseLeave += MouseNavigationLayer_MouseLeave; - masterPlot.MouseMove += MouseNavigationLayer_MouseMove; - masterPlot.MouseRightButtonUp += MouseNavigationLayer_MouseRightButtonUp; - masterPlot.MouseRightButtonDown += MouseNavigationLayer_MouseRightButtonDown; - masterPlot.MouseWheel += MouseNavigationLayer_MouseWheel; - } - - var parent = VisualTreeHelper.GetParent(this); - var controlParent = parent as Control; - while (parent != null && controlParent == null) - { - parent = VisualTreeHelper.GetParent(parent); - controlParent = parent as Control; - } - parentControl = controlParent; - } - - /// - /// Measures the size in layout required for child elements and determines a size for the Figure. - /// - /// The available size that this element can give to child elements. Infinity can be specified as a value to indicate that the element will size to whatever content is available. - /// The size that this element determines it needs during layout, based on its calculations of child element sizes. - protected override Size MeasureOverride(Size availableSize) - { - navigationCanvas.Measure(availableSize); - return navigationCanvas.DesiredSize; - } - - /// - /// Positions child elements and determines a size for a Figure - /// - /// The final area within the parent that Figure should use to arrange itself and its children - /// The actual size used - protected override Size ArrangeOverride(Size finalSize) - { - navigationCanvas.Arrange(new Rect(new Point(0, 0), finalSize)); - transformChangeRequested = false; - return finalSize; - } - - private void DoZoom(double factor) - { - if (masterPlot != null) - { - var rect = masterPlot.PlotRect; - - if (IsHorizontalNavigationEnabled) - rect.X = rect.X.Zoom(factor); - if (IsVerticalNavigationEnabled) - rect.Y = rect.Y.Zoom(factor); - - if (IsZoomEnable(rect)) - { - masterPlot.SetPlotRect(rect); - masterPlot.IsAutoFitEnabled = false; - } - } - } - - private bool IsZoomEnable(DataRect rect) - { - bool res = true; - if (IsHorizontalNavigationEnabled) - { - double e_max = Math.Log(Math.Max(Math.Abs(rect.XMax), Math.Abs(rect.XMin)), 2); - double log = Math.Log(rect.Width, 2); - res = log > e_max - 40; - } - if (IsVerticalNavigationEnabled) - { - double e_max = Math.Log(Math.Max(Math.Abs(rect.YMax), Math.Abs(rect.YMin)), 2); - double log = Math.Log(rect.Height, 2); - res = res && log > e_max - 40; - } - return res; - } - - private void MouseNavigationLayer_MouseWheel(object sender, MouseWheelEventArgs e) - { - Point cursorPosition = e.GetPosition(this); - if (!CheckCursor(cursorPosition)) - return; - - // TODO: Zoom relative to mouse position - double factor = e.Delta < 0 ? 1.2 : 1 / 1.2; - DoZoom(factor); - e.Handled = true; - } - - private void DoPan(Point screenStart, Point screenEnd) - { - if (masterPlot != null) - { - double dx = IsHorizontalNavigationEnabled ? - masterPlot.XFromLeft(screenEnd.X) - masterPlot.XFromLeft(screenStart.X) : 0; - double dy = IsVerticalNavigationEnabled ? - masterPlot.YFromTop(screenEnd.Y) - masterPlot.YFromTop(screenStart.Y) : 0; - var rect = masterPlot.PlotRect; - - double width = rect.Width; - double height = rect.Height; - - masterPlot.SetPlotRect(new DataRect( - rect.XMin - dx, - rect.YMin - dy, - rect.XMin - dx + width, - rect.YMin - dy + height)); - - masterPlot.IsAutoFitEnabled = false; - } - } - - private void MouseNavigationLayer_MouseLeave(object sender, MouseEventArgs e) - { - if (isPanning && (e.OriginalSource == navigationCanvas || e.OriginalSource == masterPlot)) - { - //panningEnd = e.GetPosition(this); - DoPan(panningStart, panningEnd); - isPanning = false; - } - if (isSelecting && (e.OriginalSource == navigationCanvas || e.OriginalSource == masterPlot)) - { - if (selectArea != null) - { - if (navigationCanvas.Children.Contains(selectArea)) - { - navigationCanvas.Children.Remove(selectArea); - } - - if (masterPlot != null && masterPlot.Children.Contains(plot)) - { - masterPlot.Children.Remove(plot); - } - } - isSelecting = false; - selectingStarted = false; - } - } - - - - private void MouseNavigationLayer_MouseMove(object sender, MouseEventArgs e) - { - Point cursorPosition = e.GetPosition(this); - if (!CheckCursor(cursorPosition)) - { - wasInside = true; - MouseNavigationLayer_MouseLeave(sender, e); - return; - } - else - { - if (wasInside && isLeftClicked) - { - HandleMouseUp(); - HandleMouseDown(e); - } - } - - if (isPanning) - { - if (!transformChangeRequested) - { - transformChangeRequested = true; - panningEnd = e.GetPosition(this); - DoPan(panningStart, panningEnd); - panningStart = panningEnd; - InvalidateArrange(); - } - } - - if (isSelecting) - { - selectEnd = e.GetPosition(this); - if (!selectingStarted) - { - if ((Math.Abs(selectStart.X - selectEnd.X) > 4) || (Math.Abs(selectStart.Y - selectEnd.Y) > 4)) - { - selectingStarted = true; - selectArea = new Rectangle(); - selectArea.Fill = new SolidColorBrush(Colors.LightGray); - selectArea.StrokeThickness = 2; - selectArea.Stroke = new SolidColorBrush(Color.FromArgb(255, 40, 0, 120)); - selectArea.Opacity = 0.6; - - if (masterPlot != null) - { - plot.IsAutoFitEnabled = false; - - plot.Children.Clear(); - plot.Children.Add(selectArea); - - if (!masterPlot.Children.Contains(plot)) - { - masterPlot.Children.Add(plot); - Canvas.SetZIndex(plot, 40000); - } - - double width = Math.Abs(masterPlot.XFromLeft(selectStart.X) - masterPlot.XFromLeft(selectEnd.X)); - double height = Math.Abs(masterPlot.YFromTop(selectStart.Y) - masterPlot.YFromTop(selectEnd.Y)); - double xmin = masterPlot.XFromLeft(Math.Min(selectStart.X, selectEnd.X)); - double ymin = masterPlot.YFromTop(Math.Max(selectStart.Y, selectEnd.Y)); - - Plot.SetX1(selectArea, xmin); - Plot.SetY1(selectArea, ymin); - Plot.SetX2(selectArea, xmin + width); - Plot.SetY2(selectArea, ymin + height); - - } - else - { - navigationCanvas.Children.Add(selectArea); - Canvas.SetLeft(selectArea, selectStart.X); - Canvas.SetTop(selectArea, selectStart.Y); - } - } - } - else - { - if (masterPlot == null) - { - double width = Math.Abs(selectStart.X - selectEnd.X); - double height = Math.Abs(selectStart.Y - selectEnd.Y); - selectArea.Width = width; - selectArea.Height = height; - - if (selectEnd.X < selectStart.X) - { - Canvas.SetLeft(selectArea, selectStart.X - width); - } - - if (selectEnd.Y < selectStart.Y) - { - Canvas.SetTop(selectArea, selectStart.Y - height); - } - } - else - { - double width = Math.Abs(masterPlot.XFromLeft(selectStart.X) - masterPlot.XFromLeft(selectEnd.X)); - double height = Math.Abs(masterPlot.YFromTop(selectStart.Y) - masterPlot.YFromTop(selectEnd.Y)); - double xmin = masterPlot.XFromLeft(Math.Min(selectStart.X, selectEnd.X)); - double ymin = masterPlot.YFromTop(Math.Max(selectStart.Y, selectEnd.Y)); - - Plot.SetX1(selectArea, xmin); - Plot.SetY1(selectArea, ymin); - Plot.SetX2(selectArea, xmin + width); - Plot.SetY2(selectArea, ymin + height); - } - } - } - - wasInside = false; - } - - private void MouseNavigationLayer_MouseRightButtonDown(object sender, MouseButtonEventArgs e) - { - e.Handled = HandleMouseDown(e); - } - - private void MouseNavigationLayer_MouseRightButtonUp(object sender, MouseButtonEventArgs e) - { - e.Handled = HandleMouseUp(); - } - - private bool CheckCursor(Point cursorPosition) - { - return !(cursorPosition.X < 0 || cursorPosition.Y < 0 || cursorPosition.X > this.ActualWidth || cursorPosition.Y > this.ActualHeight); - } - - private bool HandleMouseDown(MouseEventArgs e) - { - Point cursorPosition = e.GetPosition(this); - if (!CheckCursor(cursorPosition)) - return false; - else - { - isLeftClicked = true; - - if (masterPlot != null) - { - if (Keyboard.Modifiers == ModifierKeys.Shift) - { - DoZoom(1.2); - } - else - { - if (Keyboard.Modifiers == ModifierKeys.Control) - { - if (selectingMode && IsVerticalNavigationEnabled && IsHorizontalNavigationEnabled) - { - isSelecting = true; - selectStart = cursorPosition; - this.CaptureMouse(); - } - lastClick = DateTime.Now; - } - else - { - DateTime d = DateTime.Now; - if ((d - lastClick).TotalMilliseconds < 200) - { - masterPlot.IsAutoFitEnabled = true; - return true; - } - else - { - - isPanning = true; - panningStart = cursorPosition; - this.CaptureMouse(); - lastClick = DateTime.Now; - - } - } - } - } - } - - if (parentControl != null) - parentControl.Focus(); - - return true; - } - - private bool HandleMouseUp() - { - isLeftClicked = false; - isPanning = false; - if ((!isSelecting || !selectingStarted) && (Keyboard.Modifiers == ModifierKeys.Control)) - { - DateTime d = DateTime.Now; - if ((d - lastClick).TotalMilliseconds < 300) - { - isSelecting = false; - DoZoom(1 / 1.2); - } - } - if (isSelecting) - { - if (selectingStarted) - { - if (!transformChangeRequested) - { - transformChangeRequested = true; - isSelecting = false; - selectingStarted = false; - navigationCanvas.Children.Remove(selectArea); - - if (masterPlot != null) - { - masterPlot.Children.Remove(plot); - - double width = Math.Abs(masterPlot.XFromLeft(selectStart.X) - masterPlot.XFromLeft(selectEnd.X)); - double height = Math.Abs(masterPlot.YFromTop(selectStart.Y) - masterPlot.YFromTop(selectEnd.Y)); - double xmin = masterPlot.XFromLeft(Math.Min(selectStart.X, selectEnd.X)); - double ymin = masterPlot.YFromTop(Math.Max(selectStart.Y, selectEnd.Y)); - - masterPlot.SetPlotRect(new DataRect(xmin, ymin, xmin + width, ymin + height)); - masterPlot.IsAutoFitEnabled = false; - } - } - } - } - this.ReleaseMouseCapture(); - - return true; - } - - } - - - internal class NavigationPlot : Plot - { - protected override DataRect ComputeBounds() - { - return DataRect.Empty; - } - } -} - diff --git a/vendors/optick/gui/InteractiveDataDisplay.WPF/Palette/Palette.Converters.cs b/vendors/optick/gui/InteractiveDataDisplay.WPF/Palette/Palette.Converters.cs deleted file mode 100644 index 3013c37bd..000000000 --- a/vendors/optick/gui/InteractiveDataDisplay.WPF/Palette/Palette.Converters.cs +++ /dev/null @@ -1,130 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. -// Licensed under the MIT License. - -using System; -using System.Windows.Data; -using System.Diagnostics; -using System.ComponentModel; -using System.Globalization; - -namespace InteractiveDataDisplay.WPF -{ - /// - /// Converts a string to a new instance of class. - /// - public class StringToPaletteConverter : IValueConverter - { - /// - /// Parses an string to . For details see method. - /// - /// A string to parse. - /// - /// - /// - /// A palette that this string describes. - public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) - { - try - { - string str = (string)value; - return Palette.Parse(str); - } - catch (Exception exc) - { - Debug.WriteLine("StringToPaletteConverter: " + exc.Message); - return Palette.Parse("Black"); - } - } - - /// - /// Returns a string describing an instance of class. - /// - /// An instance of class. - /// - /// - /// - /// A string describing specified palette. - public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) - { - Palette palette = (Palette)value; - return palette.ToString(); - } - } - - /// - /// Provides a way to convert strings defined in xaml to a new instance of class. - /// - public class StringToPaletteTypeConverter : TypeConverter - { - /// - /// Gets whether a value can be converted to . - /// - /// A format context. - /// A type to convert from. - /// True if a value can be converted, false otherwise. - public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) - { - return sourceType == typeof(string) || base.CanConvertFrom(context, sourceType); - } - - /// - /// Parses an string to . For details see method. - /// - /// - /// - /// A string to parse. - /// A palette that this string describes. - public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) - { - if (value is string) - { - try - { - if (value == null) - throw new ArgumentNullException("value"); - - string str = value.ToString(); - return Palette.Parse(str); - } - catch (Exception exc) - { - Debug.WriteLine("StringToPaletteConverter: " + exc.Message); - return Palette.Parse("Black"); - } - } - else - return base.ConvertFrom(context, culture, value); - } - - /// - /// Returns whether a value can be converted to the specified type. - /// - /// A format context. - /// A type to convert to. - /// True if the value can be converted, false otherwise - public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) - { - return destinationType == typeof(string) || base.CanConvertTo(destinationType); - } - - /// - /// Returns a string describing an instance of class. - /// - /// - /// - /// An instance of class. - /// - /// A string describing specified palette. - public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) - { - var palette = value as Palette; - if (palette != null) - { - return palette.ToString(); - } - else - return base.ConvertTo(context, destinationType); - } - } -} - diff --git a/vendors/optick/gui/InteractiveDataDisplay.WPF/Palette/PaletteControl.cs b/vendors/optick/gui/InteractiveDataDisplay.WPF/Palette/PaletteControl.cs deleted file mode 100644 index d91698ca7..000000000 --- a/vendors/optick/gui/InteractiveDataDisplay.WPF/Palette/PaletteControl.cs +++ /dev/null @@ -1,217 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. -// Licensed under the MIT License. - -using System; -using System.Windows; -using System.Windows.Controls; -using System.Windows.Media; -using System.Windows.Media.Imaging; -using System.ComponentModel; - -namespace InteractiveDataDisplay.WPF -{ - /// - /// A control to show all the information about . - /// - [Description("Visually maps value to color")] - public class PaletteControl : ContentControl - { - #region Fields - - private Image image; - private Axis axis; - - #endregion - - #region Properties - - /// - /// Gets or sets the palette. - /// Default value is black palette. - /// - [Category("InteractiveDataDisplay")] - [TypeConverter(typeof(StringToPaletteTypeConverter))] - public Palette Palette - { - get { return (Palette)GetValue(PaletteProperty); } - set { SetValue(PaletteProperty, value); } - } - - /// - /// Gets or sets the range of axis values. - /// Default value is [0, 1]. - /// - [Category("InteractiveDataDisplay")] - [Description("Range of values mapped to color")] - public Range Range - { - get { return (Range)GetValue(RangeProperty); } - set { SetValue(RangeProperty, value); } - } - - /// - /// Identifies the dependency property. - /// - public static readonly DependencyProperty PaletteProperty = DependencyProperty.Register( - "Palette", - typeof(Palette), - typeof(PaletteControl), - new PropertyMetadata(Palette.Parse("Black"), OnPaletteChanged)); - - private static void OnPaletteChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) - { - PaletteControl control = (PaletteControl)d; - control.OnPaletteChanged(); - } - - /// - /// Identifies the dependency property. - /// - public static readonly DependencyProperty RangeProperty = DependencyProperty.Register( - "Range", - typeof(Range), - typeof(PaletteControl), - new PropertyMetadata(new Range(0, 1), OnRangeChanged)); - - /// - /// Gets or sets a value indicating whether an axis should be displayed. - /// Default value is true. - /// - [Category("InteractiveDataDisplay")] - public bool IsAxisVisible - { - get { return (bool)GetValue(IsAxisVisibleProperty); } - set { SetValue(IsAxisVisibleProperty, value); } - } - - /// - /// Identifies the dependency property. - /// - public static readonly DependencyProperty IsAxisVisibleProperty = DependencyProperty.Register( - "IsAxisVisible", - typeof(bool), - typeof(PaletteControl), - new PropertyMetadata(true)); - - /// - /// Gets or sets the height of rendered palette. - /// Default value is 20. - /// - [Category("InteractiveDataDisplay")] - public double PaletteHeight - { - get { return (double)GetValue(PaletteHeightProperty); } - set { SetValue(PaletteHeightProperty, value); } - } - - /// - /// Identifies the dependency property. - /// - public static readonly DependencyProperty PaletteHeightProperty = DependencyProperty.Register( - "PaletteHeight", - typeof(double), - typeof(PaletteControl), - new PropertyMetadata(20.0, OnPaletteHeightChanged)); - - private static void OnPaletteHeightChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) - { - PaletteControl control = (PaletteControl)d; - control.image.Height = (double)e.NewValue; - control.UpdateBitmap(); - } - - #endregion - - #region ctor - - /// - /// Initializes a new instance of the class. - /// - public PaletteControl() - { - StackPanel stackPanel = new StackPanel(); - - image = new Image { Height = 20, Stretch = Stretch.None, HorizontalAlignment = HorizontalAlignment.Stretch }; - axis = new Axis { AxisOrientation = AxisOrientation.Bottom, HorizontalAlignment = HorizontalAlignment.Stretch }; - - stackPanel.Children.Add(image); - stackPanel.Children.Add(axis); - - Content = stackPanel; - - SizeChanged += (o, e) => - { - if (e.PreviousSize.Width == 0 || e.PreviousSize.Height == 0 || Double.IsNaN(e.PreviousSize.Width) || Double.IsNaN(e.PreviousSize.Height)) - UpdateBitmap(); - }; - - IsTabStop = false; - } - - #endregion - - #region Private methods - - private void OnPaletteChanged() - { - UpdateBitmap(); - } - - private void UpdateBitmap() - { - if (Width == 0 || Double.IsNaN(Width)) - { - image.Source = null; - return; - } - if (Palette == null) - { - image.Source = null; - return; - } - - int width = (int)Width; - int height = (int)image.Height; - WriteableBitmap bmp2 = new WriteableBitmap(width, height, 96, 96, PixelFormats.Bgra32, null); - WriteableBitmap bmp = bmp2.Clone(); - bmp.Lock(); - unsafe - { - byte* pixels = (byte*)bmp.BackBuffer; - int stride = bmp.BackBufferStride; - int pixelWidth = bmp.PixelWidth; - double min = Palette.Range.Min; - double coeff = (Palette.Range.Max - min) / bmp.PixelWidth; - for (int i = 0; i < pixelWidth; i++) - { - double ratio = i * coeff + min; - Color color = Palette.GetColor(i * coeff + min); - for (int j = 0; j < height; j++) - { - pixels[(i << 2) + 3 + j * stride] = color.A; - pixels[(i << 2) + 2 + j * stride] = color.R; - pixels[(i << 2) + 1 + j * stride] = color.G; - pixels[(i << 2) + j * stride] = color.B; - } - } - } - bmp.Unlock(); - image.Source = bmp; - } - - private static void OnRangeChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) - { - PaletteControl control = (PaletteControl)d; - control.OnRangeChanged(); - } - - private void OnRangeChanged() - { - axis.Range = Range; - } - - #endregion - - } -} - diff --git a/vendors/optick/gui/InteractiveDataDisplay.WPF/PlotBase.cs b/vendors/optick/gui/InteractiveDataDisplay.WPF/PlotBase.cs deleted file mode 100644 index e24f41b1a..000000000 --- a/vendors/optick/gui/InteractiveDataDisplay.WPF/PlotBase.cs +++ /dev/null @@ -1,949 +0,0 @@ -// Copyright © Microsoft Corporation. All Rights Reserved. -// Licensed under the MIT License. - -using System; -using System.Windows; -using System.Windows.Controls; -using System.Windows.Media; -using System.Collections.Generic; -using System.Linq; -using System.ComponentModel; -using System.Reactive.Subjects; - -namespace InteractiveDataDisplay.WPF -{ - /// Represents a base for all elements that perform graphic plotting. Handles coordinate - /// transformations and manages composition of plots - public abstract class PlotBase : Panel - { - #region Fields - - private double scaleXField; - private double scaleYField; - private double offsetXField; - private double offsetYField; - - private bool isInternalChange = false; - - private DataRect actualPlotRect = new DataRect(0, 0, 1, 1); - - #endregion - - #region Properties - - /// Gets or sets padding - distance in screen units from each side of border to edges of plot bounding rectangle. - /// Effective padding for composition of plots is computed as maximum of all paddings. - [Category("InteractiveDataDisplay")] - public Thickness Padding - { - get { return (Thickness)GetValue(PaddingProperty); } - set { SetValue(PaddingProperty, value); } - } - - /// - /// Desired ratio of horizontal scale to vertical scale. Values less than or equal to zero - /// represent unspecified aspect ratio. - /// - [Category("InteractiveDataDisplay")] - public double AspectRatio - { - get { return (double)GetValue(AspectRatioProperty); } - set { SetValue(AspectRatioProperty, value); } - } - - /// - /// Gets or sets auto fit mode. property of all - /// plots in compositions are updated instantly to have same value. - /// - [Category("InteractiveDataDisplay")] - public bool IsAutoFitEnabled - { - get { return (bool)GetValue(IsAutoFitEnabledProperty); } - set { SetValue(IsAutoFitEnabledProperty, value); } - } - - /// Gets or sets desired plot width in plot coordinates. property of all - /// plots in compositions are updated instantly to have same value. Settings this property - /// turns off auto fit mode. - [Category("InteractiveDataDisplay")] - public double PlotWidth - { - get { return (double)GetValue(PlotWidthProperty); } - set { SetValue(PlotWidthProperty, value); } - } - - /// Gets or sets desired plot height in plot coordinates. property of all - /// plots in compositions are updated instantly to have same value. Settings this property - /// turns off auto fit mode. - [Category("InteractiveDataDisplay")] - public double PlotHeight - { - get { return (double)GetValue(PlotHeightProperty); } - set { SetValue(PlotHeightProperty, value); } - } - - /// Gets or sets desired minimal visible horizontal coordinate (in plot coordinate system). - /// property of all - /// plots in compositions are updated instantly to have same value. Settings this property - /// turns off auto fit mode. - [Category("InteractiveDataDisplay")] - public double PlotOriginX - { - get { return (double)GetValue(PlotOriginXProperty); } - set { SetValue(PlotOriginXProperty, value); } - } - - /// Gets or sets desired minimal visible vertical coordinate (in plot coordinate system). - /// property of all - /// plots in compositions are updated instantly to have same value. Settings this property - /// turns off auto fit mode. - [Category("InteractiveDataDisplay")] - public double PlotOriginY - { - get { return (double)GetValue(PlotOriginYProperty); } - set { SetValue(PlotOriginYProperty, value); } - } - - /// - /// Identifies dependency property - /// - public static readonly DependencyProperty IsXAxisReversedProperty = - DependencyProperty.Register("IsXAxisReversed", typeof(bool), typeof(PlotBase), new PropertyMetadata(false)); - - /// - /// Gets or sets a flag indicating whether the x-axis is reversed or not. - /// - [Category("InteractiveDataDisplay")] - public bool IsXAxisReversed - { - get { return (bool)GetValue(IsXAxisReversedProperty); } - set { SetValue(IsXAxisReversedProperty, value); } - } - - /// - /// Identifies dependency property - /// - public static readonly DependencyProperty IsYAxisReversedProperty = - DependencyProperty.Register("IsYAxisReversed", typeof(bool), typeof(PlotBase), new PropertyMetadata(false)); - - /// - /// Gets or sets a flag indicating whether the y-axis is reversed or not. - /// - [Category("InteractiveDataDisplay")] - public bool IsYAxisReversed - { - get { return (bool)GetValue(IsYAxisReversedProperty); } - set { SetValue(IsYAxisReversedProperty, value); } - } - - /// Gets or sets transform from user data to horizontal plot coordinate. - /// By default transform is - /// - [Category("InteractiveDataDisplay")] - public DataTransform XDataTransform - { - get { return (DataTransform)GetValue(XDataTransformProperty); } - set { SetValue(XDataTransformProperty, value); } - } - - /// Gets or sets transform from user data to vertical plot coordinate. - /// By default transform is - /// - [Category("InteractiveDataDisplay")] - public DataTransform YDataTransform - { - get { return (DataTransform)GetValue(YDataTransformProperty); } - set { SetValue(YDataTransformProperty, value); } - } - - /// - /// Gets or Sets horizontal scale parameter for plot transform - /// - public double ScaleX - { - get - { - return IsMaster ? scaleXField : masterField.ScaleX; - } - protected set - { - scaleXField = value; - } - } - - /// - /// Gets or sets Horizontal offset for plot transform - /// - public double OffsetX - { - get - { - return IsMaster ? offsetXField : masterField.OffsetX; - } - protected set - { - offsetXField = value; - } - } - - /// - /// Gets or Sets horizontal scale parameter for plot transform - /// - public double ScaleY - { - get - { - return IsMaster ? scaleYField : masterField.ScaleY; - } - protected set - { - scaleYField = value; - } - } - - /// - /// Gets or sets Horizontal offset for plot transform - /// - public double OffsetY - { - get - { - return IsMaster ? offsetYField : masterField.OffsetY; - } - protected set - { - offsetYField = value; - } - } - - /// Gets actual plot rectangle which is exactly corresponds to visible part of plot - public DataRect ActualPlotRect - { - get { return IsMaster ? actualPlotRect : masterField.ActualPlotRect; } - private set { actualPlotRect = value; } - } - - /// Gets desired plot rectangle. Actual plot rectangle may be larger because of aspect ratio - /// constraint - public DataRect PlotRect - { - get { return new DataRect(PlotOriginX, PlotOriginY, PlotOriginX + PlotWidth, PlotOriginY + PlotHeight); } - } - - private bool IsInternalChange - { - get { return IsMaster ? isInternalChange : masterField.IsInternalChange; } - set - { - if (IsMaster) - isInternalChange = value; - else - masterField.IsInternalChange = value; - } - } - - - - #endregion - - /// - /// Initializes new instance of class - /// - protected PlotBase() - { - XDataTransform = new IdentityDataTransform(); - YDataTransform = new IdentityDataTransform(); - masterField = this; - Loaded += PlotBaseLoaded; - Unloaded += PlotBaseUnloaded; - } - - - #region dependants tree - - private List dependantsField = new List(); - /// - /// Master PlotBase of current PlotBase - /// - protected PlotBase masterField; - - private void AddDependant(PlotBase dependant) - { - if (!dependantsField.Contains(dependant)) - { - dependantsField.Add(dependant); - EnumAll(plot => plot.NotifyCompositionChange()); - } - } - - private void RemoveDependant(PlotBase dependant) - { - if (dependantsField.Contains(dependant)) - { - dependantsField.Remove(dependant); - EnumAll(plot => plot.NotifyCompositionChange()); - } - } - - private void connectMaster() - { - if (!forceMasterField) - { - var element = VisualTreeHelper.GetParent(this); - while (element != null && !(element is PlotBase)) - element = VisualTreeHelper.GetParent(element); - if (element != null) - { - var newMaster = (PlotBase)element; - - // Take plot-related properties from new master plot - IsInternalChange = true; - PlotOriginX = newMaster.PlotOriginX; - PlotOriginY = newMaster.PlotOriginY; - PlotWidth = newMaster.PlotWidth; - PlotHeight = newMaster.PlotHeight; - IsAutoFitEnabled = newMaster.IsAutoFitEnabled; - IsInternalChange = false; - - masterField = newMaster; - masterField.AddDependant(this); - InvalidateBounds(); - } - } - } - - private void disconnectMaster() - { - if (masterField != this) - { - masterField.RemoveDependant(this); - InvalidateBounds(); - masterField = this; - } - } - - private void EnumLeaves(Action action) - { - action(this); - foreach (var item in dependantsField) - { - item.EnumLeaves(action); - } - } - - private void EnumAll(Action action) - { - if (masterField != this) - { - if(masterField != null) - masterField.EnumAll(action); - } - else - EnumLeaves(action); - } - - bool forceMasterField = false; - - /// - /// Disables or enables the connection of the panel to its parent context. - /// - /// - /// The default value is false which allows automatically connecting to a parent master and switching to a dependant mode. - /// If set to true the connection is disabled and the pannel is always in a master mode. - /// - public bool ForceMaster - { - get { return forceMasterField; } - set - { - forceMasterField = value; - if (forceMasterField) - disconnectMaster(); - else - connectMaster(); - } - } - - /// - /// Gets a value indicating whether the panel is a master mode or in a dependant mode. - /// - public bool IsMaster { get { return masterField == this; } } - - private IEnumerable SelfAndAllDependantPlots - { - get - { - IEnumerable result = new PlotBase[] { this }; - foreach (var item in dependantsField) - { - result = result.Concat(item.SelfAndAllDependantPlots); - } - return result; - } - } - - /// - /// Gets collections of all related plots of current in composition - /// - public IEnumerable RelatedPlots - { - get - { - if (masterField != this) - return masterField.RelatedPlots; - else - { - IEnumerable result = new PlotBase[] { this }; - foreach (var item in dependantsField) - { - result = result.Concat(item.SelfAndAllDependantPlots); - } - return result; - } - } - } - - private Subject compositionChange = new Subject(); - - /// - /// Raises plots composition changed event - /// - protected void NotifyCompositionChange() - { - compositionChange.OnNext(new PlotCompositionChange()); - } - - /// - /// Gets event which occures when plots composition is changed - /// - public IObservable CompositionChange - { - get { return compositionChange; } - } - - #endregion - - #region Dependency Properties - - /// - /// Identifies dependency property - /// - public static readonly DependencyProperty XDataTransformProperty = - DependencyProperty.Register("XDataTransform", typeof(DataTransform), typeof(PlotBase), new PropertyMetadata(null, - (o, e) => - { - Plot plot = o as Plot; - if (plot != null) - { - plot.OnXDataTransformChanged(e); - } - })); - - - /// - /// Identifies dependency property - /// - public static readonly DependencyProperty YDataTransformProperty = - DependencyProperty.Register("YDataTransform", typeof(DataTransform), typeof(PlotBase), new PropertyMetadata(null, - (o, e) => - { - Plot plot = o as Plot; - if (plot != null) - { - plot.OnYDataTransformChanged(e); - } - })); - - /// - /// Identifies dependency property - /// - public static readonly DependencyProperty PaddingProperty = - DependencyProperty.Register("Padding", typeof(Thickness), typeof(PlotBase), new PropertyMetadata(new Thickness(0.0), - (o, e) => - { - PlotBase plotBase = (PlotBase)o; - if (plotBase != null) - { - if (!plotBase.IsMaster) - { - plotBase.masterField.InvalidateMeasure(); - } - else - plotBase.InvalidateMeasure(); - } - })); - - /// - /// Identifies dependency property - /// - public static readonly DependencyProperty AspectRatioProperty = - DependencyProperty.Register("AspectRatio", typeof(double), typeof(PlotBase), new PropertyMetadata(0.0, - (o, e) => - { - PlotBase plotBase = (PlotBase)o; - if (plotBase != null) - { - plotBase.InvalidateMeasure(); - if (!plotBase.IsMaster) - { - plotBase.masterField.InvalidateMeasure(); - } - } - })); - - /// - /// Identifies dependency property - /// - public static readonly DependencyProperty IsAutoFitEnabledProperty = - DependencyProperty.Register("IsAutoFitEnabled", typeof(bool), typeof(PlotBase), new PropertyMetadata(true, - (o, e) => - { - PlotBase plotBase = (PlotBase)o; - if (plotBase != null) - { - plotBase.OnIsAutoFitEnabledChanged(e); - } - })); - - /// - /// Identifies dependency property - /// - public static readonly DependencyProperty PlotWidthProperty = - DependencyProperty.Register("PlotWidth", typeof(double), typeof(PlotBase), new PropertyMetadata(1.0, - (o, e) => - { - PlotBase plotBase = (PlotBase)o; - if (plotBase != null) - { - plotBase.OnPlotWidthChanged(e); - } - })); - - /// - /// Identifies dependency property - /// - public static readonly DependencyProperty PlotHeightProperty = - DependencyProperty.Register("PlotHeight", typeof(double), typeof(PlotBase), new PropertyMetadata(1.0, - (o, e) => - { - PlotBase plotBase = (PlotBase)o; - if (plotBase != null) - { - plotBase.OnPlotHeightChanged(e); - } - })); - - /// - /// Identifies dependency property - /// - public static readonly DependencyProperty PlotOriginXProperty = - DependencyProperty.Register("PlotOriginX", typeof(double), typeof(PlotBase), new PropertyMetadata(0.0, - (o, e) => - { - PlotBase plotBase = (PlotBase)o; - if (plotBase != null) - { - plotBase.OnPlotOriginXChanged(e); - } - })); - - /// - /// Identifies dependency property - /// - public static readonly DependencyProperty PlotOriginYProperty = - DependencyProperty.Register("PlotOriginY", typeof(double), typeof(PlotBase), new PropertyMetadata(0.0, - (o, e) => - { - PlotBase plotBase = (PlotBase)o; - if (plotBase != null) - { - plotBase.OnPlotOriginYChanged(e); - } - })); - - /// Enables or disables clipping of graphic elements that are outside plotting area - public bool ClipToBounds - { - get { return (bool)GetValue(ClipToBoundsProperty); } - set { SetValue(ClipToBoundsProperty, value); } - } - - /// Identifies dependency property - public static readonly DependencyProperty ClipToBoundsProperty = - DependencyProperty.Register("ClipToBounds", typeof(bool), typeof(PlotBase), new PropertyMetadata(true, - (s, a) => ((PlotBase)s).OnClipToBoundsChanged(a))); - - /// - /// Occurs when property changed - /// - /// PropertyChanged parameters - protected virtual void OnClipToBoundsChanged(DependencyPropertyChangedEventArgs args) - { - InvalidateMeasure(); - } - - #endregion - - #region Methods - - /// - /// Handler for property changes - /// - protected virtual void OnPlotOriginXChanged(DependencyPropertyChangedEventArgs e) - { - if (!IsInternalChange) - { - IsInternalChange = true; - EnumAll(p => - { - p.PlotOriginX = (double)e.NewValue; - p.IsAutoFitEnabled = false; - p.InvalidateMeasure(); - }); - IsInternalChange = false; - } - } - - /// - /// Handler for property changes - /// - protected virtual void OnPlotOriginYChanged(DependencyPropertyChangedEventArgs e) - { - if (!IsInternalChange) - { - IsInternalChange = true; - EnumAll(p => - { - p.PlotOriginY = (double)e.NewValue; - p.IsAutoFitEnabled = false; - p.InvalidateMeasure(); - }); - IsInternalChange = false; - } - } - - /// - /// Handler for property changes - /// - protected virtual void OnPlotWidthChanged(DependencyPropertyChangedEventArgs e) - { - if (!IsInternalChange) - { - IsInternalChange = true; - EnumAll(p => - { - p.PlotWidth = (double)e.NewValue; - p.IsAutoFitEnabled = false; - p.InvalidateMeasure(); - }); - IsInternalChange = false; - } - } - - /// - /// Handler for property changes - /// - protected virtual void OnPlotHeightChanged(DependencyPropertyChangedEventArgs e) - { - if (!IsInternalChange) - { - IsInternalChange = true; - EnumAll(p => - { - p.PlotHeight = (double)e.NewValue; - p.IsAutoFitEnabled = false; - p.InvalidateMeasure(); - }); - IsInternalChange = false; - } - } - - /// - /// Handler for property changes - /// - protected virtual void OnXDataTransformChanged(DependencyPropertyChangedEventArgs e) - { - InvalidateBounds(); - } - - /// - /// Handler for property changes - /// - protected virtual void OnYDataTransformChanged(DependencyPropertyChangedEventArgs e) - { - InvalidateBounds(); - } - - private void OnIsAutoFitEnabledChanged(DependencyPropertyChangedEventArgs e) - { - if (!IsInternalChange) - { - IsInternalChange = true; - EnumAll(p => - { - p.IsAutoFitEnabled = (bool)e.NewValue; - if (p.IsAutoFitEnabled) - p.InvalidateMeasure(); - }); - IsInternalChange = false; - } - } - - /// - /// Gets the range of {x,y} plot coordinates that correspond to all elements produced by the plot. - /// - /// The structure that holds the ranges of {x} and {y} plot coordinates or the value. - protected virtual DataRect ComputeBounds() - { - return DataRect.Empty; - } - - /// - /// Invalidates effective plot coordinate ranges. This usually schedules recalculation of plot layout. - /// - public virtual void InvalidateBounds() - { - EnumAll(p => p.InvalidateMeasure()); - } - - /// - /// A common padding used by all graphing elements in the dependant tree. - /// - /// This is computed by traversing the master-dependant tree and computing the maximum mapping. - public Thickness ActualPadding { get { return IsMaster ? AggregatePadding() : masterField.ActualPadding; } } - - private double GetEffectiveAspectRatio() - { - double result = AspectRatio; - for (int i = 0; i < dependantsField.Count && result <= 0; i++) - result = dependantsField[i].GetEffectiveAspectRatio(); - return result; - } - - /// - /// Computes padding of current instance - /// - /// Padding of current instance - protected virtual Thickness ComputePadding() - { - return Padding; - } - - /// - /// Computes padding with maximum values for each side from padding of current instance and of all child instances - /// - /// Padding with maximum values for each side from padding of current instance and of all child instances - protected virtual Thickness AggregatePadding() - { - Thickness result = ComputePadding(); - foreach (var item in dependantsField) - { - Thickness their = item.AggregatePadding(); - if (their.Left > result.Left) result.Left = their.Left; - if (their.Right > result.Right) result.Right = their.Right; - if (their.Top > result.Top) result.Top = their.Top; - if (their.Bottom > result.Bottom) result.Bottom = their.Bottom; - } - return result; - } - - /// - /// Computes minimal plot rectangle which contains plot rectangles of current instance and of all child instances - /// - /// Minimal plot rectangle which contains plot rectangles of current instance and of all child instances - protected DataRect AggregateBounds() - { - DataRect result = ComputeBounds(); - foreach (var item in dependantsField) - result.Surround(item.AggregateBounds()); - - return result; - } - - /// This event is fired when transform from plot to screen coordinates changes. - public event EventHandler PlotTransformChanged; - - /// - /// For a given range of {x,y} plot coordinates and a given screen size taking into account effective aspect ratio and effective padding computes navigation transform. - /// - /// The range of {x,y} plot coordinates that must fit into the screen. - /// The width and height of the screen that must fit plotBounds. - internal void Fit(DataRect plotBounds, Size screenSize) - { - var padding = AggregatePadding(); - var screenWidth = Math.Max(1.0, screenSize.Width - padding.Left - padding.Right); - var screenHeight = Math.Max(1.0, screenSize.Height - padding.Top - padding.Bottom); - var plotWidth = plotBounds.X.IsEmpty ? 0.0 : plotBounds.X.Max - plotBounds.X.Min; - if (plotWidth <= 0) plotWidth = 1.0; - var plotHeight = plotBounds.Y.IsEmpty ? 0.0 : plotBounds.Y.Max - plotBounds.Y.Min; - if (plotHeight <= 0) plotHeight = 1.0; - - ScaleX = screenWidth / plotWidth; - ScaleY = screenHeight / plotHeight; - - var aspect = GetEffectiveAspectRatio(); - if (aspect > 0) - { - if (aspect * ScaleY < ScaleX) - ScaleX = aspect * ScaleY; - else - ScaleY = ScaleX / aspect; - } - - OffsetX = plotBounds.X.IsEmpty ? 0.0 : ((plotBounds.X.Min + plotBounds.X.Max) * ScaleX - screenWidth) * 0.5 - padding.Left; - OffsetY = plotBounds.Y.IsEmpty ? screenSize.Height : ((plotBounds.Y.Min + plotBounds.Y.Max) * ScaleY + screenHeight) * 0.5 + padding.Top; - - ActualPlotRect = new DataRect( - XFromLeft(screenSize.Width > padding.Left + padding.Right ? 0 : screenSize.Width * 0.5 - 0.5), - YFromTop(screenSize.Height > padding.Top + padding.Bottom ? screenSize.Height : screenSize.Height * 0.5 + 0.5), - XFromLeft(screenSize.Width > padding.Left + padding.Right ? screenSize.Width : screenSize.Width * 0.5 + 0.5), - YFromTop(screenSize.Height > padding.Top + padding.Bottom ? 0 : screenSize.Height * 0.5 - 0.5)); - - EnumAll(p => - { - if (p.PlotTransformChanged != null) - p.PlotTransformChanged(this, EventArgs.Empty); - }); - } - - /// - /// Sets plot rectangle for current instance of - /// - /// plot rectangle value that would be set for current instance of - /// Identifies that it is internal call - protected void SetPlotRect(DataRect plotRect, bool fromAutoFit) - { - IsInternalChange = true; - - EnumAll(p => - { - p.PlotOriginX = plotRect.XMin; - p.PlotOriginY = plotRect.YMin; - p.PlotWidth = plotRect.Width; - p.PlotHeight = plotRect.Height; - if (!fromAutoFit) - { - p.IsAutoFitEnabled = false; - p.InvalidateMeasure(); - } - }); - - IsInternalChange = false; - } - - /// - /// Sets plot rectangle for current instance of - /// - /// plot rectangle value that would be set for current instance of - public void SetPlotRect(DataRect plotRect) - { - SetPlotRect(plotRect, false); - } - - /// - /// Performs horizontal transform from plot coordinates to screen coordinates - /// - /// Value in plot coordinates - /// Value in screen coordinates - public double LeftFromX(double x) - { - return ScaleX > 0 ? x * ScaleX - OffsetX : x; - } - - /// - /// Performs vertical transform from plot coordinates to screen coordinates - /// - /// Value in plot coordinates - /// Value in screen coordinates - public double TopFromY(double y) - { - return ScaleY > 0 ? OffsetY - y * ScaleY : OffsetY - y; - } - - /// - /// Horizontal transform from screen coordinates to plot coordinates - /// - /// Value in screen coordinates - /// Value in plot coordinates - public double XFromLeft(double left) - { - return ScaleX > 0 ? (left + OffsetX) / ScaleX : left; - } - - /// - /// Vertical transform from screen coordinates to plot coordinates - /// - /// Value in screen coordinates - /// Value in plot coordinates - public double YFromTop(double top) - { - return ScaleY > 0 ? (OffsetY - top) / ScaleY : OffsetY - top; - } - - /// - /// Finds master plot for specifyied element - /// - /// Element, which mater plot should be found - /// Master Plot for specified element - public static PlotBase FindMaster(DependencyObject element) - { - var result = VisualTreeHelper.GetParent(element); - - while (result != null && !(result is PlotBase)) - result = VisualTreeHelper.GetParent(result); - - return result as PlotBase; - } - - /// - /// Occurs when PlotBase is loaded - /// - protected virtual void PlotBaseLoaded(object sender, RoutedEventArgs e) - { - connectMaster(); - } - - /// - /// Occurs when PlotBase is unloaded - /// - protected virtual void PlotBaseUnloaded(object sender, RoutedEventArgs e) - { - disconnectMaster(); - } - - /// - /// Performs measure algorithm if current instance of is master - /// - /// Availible size for measure - /// Desired size for current plot - protected Size PerformAsMaster(Size availableSize) - { - if (double.IsNaN(availableSize.Width) - || double.IsNaN(availableSize.Height) - || double.IsInfinity(availableSize.Width) - || double.IsInfinity(availableSize.Height)) - availableSize = new Size(100, 100); - if (IsMaster) - { - DataRect desiredRect; - if (IsAutoFitEnabled) - { - desiredRect = AggregateBounds(); - if (desiredRect.IsEmpty) - desiredRect = new DataRect(0, 0, 1, 1); - - SetPlotRect(desiredRect, true); - } - else // resize - desiredRect = PlotRect; - Fit(desiredRect, availableSize); - } - return availableSize; - } - - #endregion - - - } -} - diff --git a/vendors/optick/gui/InteractiveDataDisplay.WPF/PlotCompositionChange.cs b/vendors/optick/gui/InteractiveDataDisplay.WPF/PlotCompositionChange.cs deleted file mode 100644 index d0be0dce2..000000000 --- a/vendors/optick/gui/InteractiveDataDisplay.WPF/PlotCompositionChange.cs +++ /dev/null @@ -1,69 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. -// Licensed under the MIT License. - -namespace InteractiveDataDisplay.WPF -{ - /// Identifies event when collection of related plots in composition change - public struct PlotCompositionChange - { - private PlotBase master; - - /// - /// Initializes a new instance of - /// - /// Master of composition that change - public PlotCompositionChange(PlotBase master) - { - this.master = master; - } - - /// Gets master plot of composition that change - public PlotBase Master - { - get { return master; } - } - - /// - /// Determines whether the specified is equal to the current . - /// - /// The to compare with the current . - /// True if the specified is equal to the current , false otherwise. - public override bool Equals(object obj) - { - PlotCompositionChange operand = (PlotCompositionChange)obj; - return master == operand.master; - } - - /// - /// Returns a value that indicates whether two specified values are equal. - /// - /// The first value to compare. - /// The second value to compare. - /// True if values are equal, false otherwise. - public static bool operator ==(PlotCompositionChange plotCompositionChange1, PlotCompositionChange plotCompositionChange2) - { - return plotCompositionChange1.Equals(plotCompositionChange2); - } - - /// - /// Returns a value that indicates whether two specified values are not equal. - /// - /// The first value to compare. - /// The second value to compare. - /// True if values are not equal, false otherwise. - public static bool operator !=(PlotCompositionChange plotCompositionChange1, PlotCompositionChange plotCompositionChange2) - { - return !plotCompositionChange1.Equals(plotCompositionChange2); - } - - /// - /// Returns the hash code for this instance. - /// - /// The hash code for current instance - public override int GetHashCode() - { - return base.GetHashCode(); - } - } -} - diff --git a/vendors/optick/gui/InteractiveDataDisplay.WPF/Plots/Base/BackgroundBitmapRenderer.cs b/vendors/optick/gui/InteractiveDataDisplay.WPF/Plots/Base/BackgroundBitmapRenderer.cs deleted file mode 100644 index 4e93129fe..000000000 --- a/vendors/optick/gui/InteractiveDataDisplay.WPF/Plots/Base/BackgroundBitmapRenderer.cs +++ /dev/null @@ -1,335 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. -// Licensed under the MIT License. - -using System; -using System.Windows; -using System.Windows.Controls; -using System.Windows.Media; -using System.Windows.Media.Imaging; -using System.Collections.Generic; -using System.Threading; -using System.ComponentModel; -using System.Reactive.Subjects; - -namespace InteractiveDataDisplay.WPF -{ - /// - /// Base class for renderers, which can prepare its render results in a separate thread. - /// - public abstract class BackgroundBitmapRenderer : Plot - { - private Image outputImage; - - /// Cartesian coordinates of image currently on the screen. - private DataRect imageCartesianRect; - - /// Size of image currently on the screen. - private Size imageSize; - - private int maxTasks; - private Queue tasks = new Queue(); - private delegate void RenderFunc(RenderResult r, RenderTaskState state); - private List runningTasks; - - private long nextID = 0; - - /// - /// Initializes new instance of class, performing all basic preparings for inheriting classes. - /// - protected BackgroundBitmapRenderer() - { - maxTasks = Math.Max(1, System.Environment.ProcessorCount - 1); - runningTasks = new List(); - - outputImage = new Image(); - outputImage.Stretch = Stretch.None; - outputImage.VerticalAlignment = System.Windows.VerticalAlignment.Center; - outputImage.HorizontalAlignment = System.Windows.HorizontalAlignment.Center; - - Children.Add(outputImage); - Unloaded += BackgroundBitmapRendererUnloaded; - } - - void BackgroundBitmapRendererUnloaded(object sender, RoutedEventArgs e) - { - CancelAll(); - } - - private Size prevSize = new Size(Double.NaN, Double.NaN); - private double prevScaleX = Double.NaN, prevScaleY = Double.NaN, - prevOffsetX = Double.NaN, prevOffsetY = Double.NaN; - - /// - /// Measures the size in layout required for child elements and determines a size for parent. - /// - /// The available size that this element can give to child elements. Infinity can be specified as a value to indicate that the element will size to whatever content is available. - /// The size that this element determines it needs during layout, based on its calculations of child element sizes. - protected override Size MeasureOverride(Size availableSize) - { - availableSize = base.MeasureOverride(availableSize); - - outputImage.Measure(availableSize); - - // From resize or navigation? - if (prevSize != availableSize || - prevOffsetX != masterField.OffsetX || prevOffsetY != masterField.OffsetY || - prevScaleX != masterField.ScaleX || prevScaleY != masterField.ScaleY) - { - prevSize = availableSize; - prevOffsetX = masterField.OffsetX; - prevOffsetY = masterField.OffsetY; - prevScaleX = masterField.ScaleX; - prevScaleY = masterField.ScaleY; - - CancelAll(); - - if (imageSize.Width > 0 && imageSize.Height > 0) - { - var newLT = new Point(LeftFromX(imageCartesianRect.XMin), TopFromY(imageCartesianRect.YMax)); - var newRB = new Point(LeftFromX(imageCartesianRect.XMax), TopFromY(imageCartesianRect.YMin)); - Canvas.SetLeft(outputImage, newLT.X); - Canvas.SetTop(outputImage, newLT.Y); - outputImage.RenderTransform = new ScaleTransform - { - ScaleX = (newRB.X - newLT.X) / imageSize.Width, - ScaleY = (newRB.Y - newLT.Y) / imageSize.Height - }; - } - QueueRenderTask(); - } - - return availableSize; - } - - private void EnqueueTask(long id/*Func task*/) - { - if (runningTasks.Count < maxTasks) - { - Size screenSize = new Size(Math.Abs(LeftFromX(ActualPlotRect.XMax) - LeftFromX(ActualPlotRect.XMin)), Math.Abs(TopFromY(ActualPlotRect.YMax) - TopFromY(ActualPlotRect.YMin))); - RenderTaskState state = new RenderTaskState(ActualPlotRect, screenSize); - state.Id = id; - state.Bounds = ComputeBounds(); - runningTasks.Add(state); - - if (!DesignerProperties.GetIsInDesignMode(this)) - { - ThreadPool.QueueUserWorkItem(s => - { - var rr = RenderFrame((RenderTaskState)s); - Dispatcher.BeginInvoke(new RenderFunc(OnTaskCompleted), rr, s); - - }, state); - } - else - { - var rr = RenderFrame(state); - OnTaskCompleted(rr, state); - } - } - else - tasks.Enqueue(id); - } - - /// - /// Renders frame and returns it as a render result. - /// - /// Render task state for rendering frame. - /// Render result of rendered frame. - protected virtual RenderResult RenderFrame(RenderTaskState state) - { - //if (!state.IsCancelled) - // return new RenderResult(HeatMap.BuildHeatMap(state.Transform.ScreenRect, new DataRect(state.Transform.ViewportRect), DataSource.X, DataSource.Y, DataSource.Data, 0)); - //else - return null; - } - - /// Creates new render task and puts it to queue. - /// Async operation ID. - protected long QueueRenderTask() - { - long id = nextID++; - EnqueueTask(id); - return id; - } - - private void OnTaskCompleted(RenderResult r, RenderTaskState state) - { - if (r != null && !state.IsCanceled) - { - - WriteableBitmap wr = new WriteableBitmap((int)r.Output.Width, (int)r.Output.Height, 96, 96, PixelFormats.Bgra32, null); - // Calculate the number of bytes per pixel. - int bytesPerPixel = (wr.Format.BitsPerPixel + 7) / 8; - // Stride is bytes per pixel times the number of pixels. - // Stride is the byte width of a single rectangle row. - int stride = wr.PixelWidth * bytesPerPixel; - wr.WritePixels(new Int32Rect(0, 0, wr.PixelWidth, wr.PixelHeight), r.Image, stride, 0); - - - outputImage.Source = wr; - Canvas.SetLeft(outputImage, r.Output.Left); - Canvas.SetTop(outputImage, r.Output.Top); - imageCartesianRect = r.Visible; - imageSize = new Size(r.Output.Width, r.Output.Height); - outputImage.RenderTransform = null; - } - - RaiseTaskCompletion(state.Id); - - runningTasks.Remove(state); - - while (tasks.Count > 1) - { - long id = tasks.Dequeue(); - RaiseTaskCompletion(id); - } - if (tasks.Count > 0 && runningTasks.Count < maxTasks) - { - EnqueueTask(tasks.Dequeue()); - } - - InvalidateMeasure(); - } - - /// - /// Cancel all tasks, which are in quere. - /// - public void CancelAll() - { - foreach (var s in runningTasks) - s.Stop(); - } - - private Subject renderCompletion = new Subject(); - - /// - /// Gets event which is occured when render task is finished - /// - public IObservable RenderCompletion - { - get { return renderCompletion; } - } - - /// - /// Raises RenderCompletion event when task with the specified id is finished - /// - /// ID of finished task - protected void RaiseTaskCompletion(long id) - { - renderCompletion.OnNext(new RenderCompletion { TaskId = id }); - } - } - - /// - /// Represents contents of render result. - /// - public class RenderResult - { - private DataRect visible; - private Rect output; - private int[] image; - - /// - /// Initializes new instance of RenderResult class form given parameters. - /// - /// Array of image pixels. - /// Visible rect for graph. - /// Image start offset. - /// Image width. - /// image height. - public RenderResult(int[] image, DataRect visible, Point offset, double width, double height) - { - this.visible = visible; - this.output = new Rect(offset, new Size(width, height)); - this.image = image; - } - - /// - /// Gets the current visible rect. - /// - public DataRect Visible - { - get { return visible; } - } - - /// - /// Gets an array of image pixels. - /// - public int[] Image - { - get { return image; } - } - - /// - /// Gets the image output rect. - /// - public Rect Output - { - get { return output; } - } - } - - /// This class holds all information about rendering request. - public class RenderTaskState - { - bool isCanceled = false; - - /// - /// Initializes new instance of RenderTaskState class from given coordinate tranform. - /// - public RenderTaskState(DataRect actualPlotRect, Size screenSize) - { - ScreenSize = screenSize; - ActualPlotRect = actualPlotRect; - } - - /// - /// Gets or sets the state Id. - /// - public long Id { get; set; } - - /// - /// Gets the screen size of the output image - /// - public Size ScreenSize { get; private set; } - - /// - /// Gets plot rectangle of the visible area - /// - public DataRect ActualPlotRect { get; private set; } - - /// - /// Gets or sets the current bounds. - /// - public DataRect Bounds { get; set; } - - /// - /// Gets a value indicating whether the task is cancelled or not. - /// - public bool IsCanceled - { - get { return isCanceled; } - } - - /// - /// Sets state as canceled. - /// - public void Stop() - { - isCanceled = true; - } - } - - /// - ///Contains reference to completed tasks. - /// - public class RenderCompletion - { - /// - ///Gets or sets the Id of render task. - /// - public long TaskId { get; set; } - } - -} - diff --git a/vendors/optick/gui/InteractiveDataDisplay.WPF/Plots/Base/Plot.cs b/vendors/optick/gui/InteractiveDataDisplay.WPF/Plots/Base/Plot.cs deleted file mode 100644 index 84c696851..000000000 --- a/vendors/optick/gui/InteractiveDataDisplay.WPF/Plots/Base/Plot.cs +++ /dev/null @@ -1,485 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. -// Licensed under the MIT License. - -using System; -using System.Windows; -using System.Windows.Controls; -using System.Windows.Media; -using System.Windows.Shapes; -using System.ComponentModel; - -namespace InteractiveDataDisplay.WPF { - /// - /// Plot is a panel that supports positioning of child elements in plot coordinates by - /// providing attached properties X1,Y1,X2,Y2 and Points. - /// Plot panel automatically computes bounding rectangle for all child elements. - /// - [Description("Position child elements in plot coordinates")] - public class Plot : PlotBase - { - #region Attached Properties - - /// - /// Identifies the Plot.X1 attached property. - /// - public static readonly DependencyProperty X1Property = - DependencyProperty.RegisterAttached("X1", typeof(double), typeof(Plot), new PropertyMetadata(double.NaN, DataCoordinatePropertyChangedHandler)); - - /// - /// Sets the value of the Plot.X1 attached property for a given dependency object. - /// - /// The element to which the property value is written - /// Sets the Plot.X1 coordinate of the specified element - /// - /// Infinity values for Plot.X1 are handled is special way. - /// They do not participate in plot bounds computation, - /// “+Infinity” is translated to maximum visible value, “-Infinity” is translated to minimum visible coordinate. - /// - public static void SetX1(DependencyObject element, double value) - { - if (element == null) - throw new ArgumentNullException("element"); - - element.SetValue(X1Property, value); - } - - /// - /// Returns the value of the Plot.X1 attached property for a given dependency object. - /// - /// The element from which the property value is read - /// The Plot.X1 coordinate of the specified element - /// - /// Default value of Plot.X1 property is Double.NaN. Element is horizontally arranged inside panel according - /// to values of X1 and X2 attached property. X1 and X2 doesn't have to be ordered. If X1 is not - /// specified (has NaN value) than Canvas.Left value is used. - /// - public static double GetX1(DependencyObject element) - { - if (element == null) - throw new ArgumentNullException("element"); - - return (double)element.GetValue(X1Property); - } - - /// - /// Identifies the Plot.X2 attached property. - /// - public static readonly DependencyProperty X2Property = - DependencyProperty.RegisterAttached("X2", typeof(double), typeof(Plot), new PropertyMetadata(double.NaN, DataCoordinatePropertyChangedHandler)); - - /// - /// Sets the value of the Plot.X2 attached property for a given dependency object. - /// - /// The element to which the property value is written - /// Sets the Plot.X2 coordinate of the specified element - /// - /// Infinity values for Plot.X2 are handled is special way. - /// They do not participate in plot bounds computation, - /// “+Infinity” is translated to maximum visible value, “-Infinity” is translated to minimum visible coordinate. - /// - public static void SetX2(DependencyObject element, double value) - { - if (element == null) - throw new ArgumentNullException("element"); - - element.SetValue(X2Property, value); - } - - /// - /// Returns the value of the Plot.X2 attached property for a given dependency object. - /// - /// The element from which the property value is read - /// The Plot.X2 coordinate of the specified element - /// - /// Default value of Plot.X2 property is Double.NaN. - /// Element is horizontally arranged inside panel according - /// to values of X1 and X2 attached property. X1 and X2 doesn't have to be ordered. If X2 - /// is not specified (has NaN value) then Width property is used to define element arrangement. - /// - public static double GetX2(DependencyObject element) - { - if (element == null) - throw new ArgumentNullException("element"); - - return (double)element.GetValue(X2Property); - } - - /// - /// Identifies the Plot.Y1 attached property. - /// - public static readonly DependencyProperty Y1Property = - DependencyProperty.RegisterAttached("Y1", typeof(double), typeof(Plot), new PropertyMetadata(double.NaN, DataCoordinatePropertyChangedHandler)); - - /// - /// Sets the value of the Plot.Y1 attached property for a given dependency object. - /// - /// The element to which the property value is written - /// Sets the Plot.Y1 coordinate of the specified element - /// - /// Infinity values for Plot.Y1 are handled is special way. - /// They do not participate in plot bounds computation, - /// “+Infinity” is translated to maximum visible value, “-Infinity” is translated to minimum visible coordinate. - /// - public static void SetY1(DependencyObject element, double value) - { - if (element == null) - throw new ArgumentNullException("element"); - - element.SetValue(Y1Property, value); - } - - /// - /// Returns the value of the Plot.Y1 attached property for a given dependency object. - /// - /// The element from which the property value is read - /// The Plot.Y1 coordinate of the specified element - /// - /// Default value of Plot.Y1 property is Double.NaN. Element is vertically arranged inside panel according - /// to values of Y1 and Y2 attached property. Y1 and Y2 doesn't have to be ordered. - /// If Y1 is not specifed (has NaN value) then Canvas.Top property is used to define element position. - /// - public static double GetY1(DependencyObject element) - { - if (element == null) - throw new ArgumentNullException("element"); - - return (double)element.GetValue(Y1Property); - } - - /// - /// Identifies the Plot.Y2 attached property. - /// - public static readonly DependencyProperty Y2Property = - DependencyProperty.RegisterAttached("Y2", typeof(double), typeof(Plot), new PropertyMetadata(double.NaN, DataCoordinatePropertyChangedHandler)); - - /// - /// Sets the value of the Plot.Y2 attached property for a given dependency object. - /// - /// The element to which the property value is written - /// Sets the Plot.Y2 coordinate of the specified element - /// - /// Infinity values for Plot.Y2 are handled is special way. - /// They do not participate in plot bounds computation, - /// “+Infinity” is translated to maximum visible value, “-Infinity” is translated to minimum visible coordinate. - /// - public static void SetY2(DependencyObject element, double value) - { - if (element == null) - throw new ArgumentNullException("element"); - - element.SetValue(Y2Property, value); - } - - /// - /// Returns the value of the Plot.Y2 attached property for a given dependency object. - /// - /// The element from which the property value is read - /// The Plot.Y2 coordinate of the specified element - /// - /// Default value of Plot.Y2 property is Double.NaN. Element is vertically arranged inside panel according - /// to values of Y1 and Y2 attached property. Y1 and Y2 doesn't have to be ordered. - /// If Y2 is not specifed (has NaN value) then Height property is used to define element arrangement. - /// - public static double GetY2(DependencyObject element) - { - if (element == null) - throw new ArgumentNullException("element"); - - return (double)element.GetValue(Y2Property); - } - - /// - /// Identifies the Plot.Points attached property. - /// - public static readonly DependencyProperty PointsProperty = - DependencyProperty.RegisterAttached("Points", typeof(PointCollection), typeof(Plot), new PropertyMetadata(null, DataCoordinatePropertyChangedHandler)); - - /// - /// Sets the value of the Plot.Points attached property for a given dependency object. - /// - /// The element to which the property value is written - /// Sets the Plot.Points coollection of the specified element - public static void SetPoints(DependencyObject element, PointCollection value) - { - if (element == null) - throw new ArgumentNullException("element"); - - element.SetValue(PointsProperty, value); - } - - /// - /// Returns the value of the Plot.Points attached property for a given dependency object. - /// - /// The element from which the property value is read - /// The Plot.Points collection of the specified element - /// - /// Default value of Plot.Points property is null - /// - public static PointCollection GetPoints(DependencyObject element) - { - if (element == null) - throw new ArgumentNullException("element"); - - return (PointCollection)element.GetValue(PointsProperty); - } - - static void DataCoordinatePropertyChangedHandler(DependencyObject obj, DependencyPropertyChangedEventArgs args) - { - var parent = VisualTreeHelper.GetParent(obj); - if (parent is ContentPresenter) parent = VisualTreeHelper.GetParent(parent); - var plotBase = parent as PlotBase; - if (plotBase != null) - { - plotBase.InvalidateBounds(); - } - } - - #endregion - - #region Methods - - /// - /// Computes minimal plot rectangle, which contains all plot rectangles of child elements - /// - /// Minimal plot rectangle, which contains all plot rectangles of child elements - protected override DataRect ComputeBounds() - { - var localPlotRect = DataRect.Empty; - foreach (UIElement child in Children) - { - DependencyObject item = child ; - if (item is ContentPresenter && VisualTreeHelper.GetChildrenCount(item) == 1) - item = VisualTreeHelper.GetChild(item, 0); - double v; - v = GetX1(item); - if (!double.IsNaN(v) && !double.IsInfinity(v)) localPlotRect.XSurround(XDataTransform.DataToPlot(v)); - v = GetX2(item); - if (!double.IsNaN(v) && !double.IsInfinity(v)) localPlotRect.XSurround(XDataTransform.DataToPlot(v)); - v = GetY1(item); - if (!double.IsNaN(v) && !double.IsInfinity(v)) localPlotRect.YSurround(YDataTransform.DataToPlot(v)); - v = GetY2(item); - if (!double.IsNaN(v) && !double.IsInfinity(v)) localPlotRect.YSurround(YDataTransform.DataToPlot(v)); - var points = GetPoints(item); - if (points != null) - foreach (var point in points) - { - localPlotRect.XSurround(XDataTransform.DataToPlot(point.X)); - localPlotRect.YSurround(YDataTransform.DataToPlot(point.Y)); - } - } - return localPlotRect; - } - - /// - /// Positions child elements and determines a size for a Plot - /// - /// The final area within the parent that Plot should use to arrange itself and its children - /// The actual size used - protected override Size ArrangeOverride(Size finalSize) - { - ArrangeChildren(finalSize); - - if (ClipToBounds) - Clip = new RectangleGeometry { Rect = new Rect(new Point(0, 0), finalSize) }; - else - Clip = null; - - return finalSize; - } - - /// - /// Measures the size in layout required for child elements and determines a size for the Plot. - /// - /// The available size that this element can give to child elements. Infinity can be specified as a value to indicate that the element will size to whatever content is available. - /// The size that this element determines it needs during layout, based on its calculations of child element sizes. - protected override Size MeasureOverride(Size availableSize) - { - availableSize = PerformAsMaster(availableSize); - MeasureChildren(availableSize); - return availableSize; - } - - internal void MeasureChildren(Size availableSize) - { - foreach (UIElement child in Children) - { - DependencyObject item = child; - if (item is ContentPresenter && VisualTreeHelper.GetChildrenCount(item) == 1) - item = VisualTreeHelper.GetChild(item, 0); - - var xy = GetPoints(item); - if (xy != null) - if (item is Polyline) - { - var line = (Polyline)item; - var points = new PointCollection(); - foreach (var point in xy) points.Add(new Point(LeftFromX(XDataTransform.DataToPlot(point.X)), TopFromY(YDataTransform.DataToPlot(point.Y)))); - line.Points = points; - } - else if (item is Polygon) - { - var p = (Polygon)item; - var points = new PointCollection(); - foreach (var point in xy) points.Add(new Point(LeftFromX(XDataTransform.DataToPlot(point.X)), TopFromY(YDataTransform.DataToPlot(point.Y)))); - p.Points = points; - } - if (item is Line) - { - var line = (Line)item; - double v; - v = GetX1(line); - if (!double.IsNaN(v)) - { - if (Double.IsNegativeInfinity(v)) - line.X1 = 0; - else if (Double.IsPositiveInfinity(v)) - line.X1 = availableSize.Width; - else - line.X1 = LeftFromX(XDataTransform.DataToPlot(v)); - } - v = GetX2(line); - if (!double.IsNaN(v)) - { - if (Double.IsNegativeInfinity(v)) - line.X2 = 0; - else if (Double.IsPositiveInfinity(v)) - line.X2 = availableSize.Width; - else - line.X2 = LeftFromX(XDataTransform.DataToPlot(v)); - } - v = GetY1(line); - if (!double.IsNaN(v)) - { - if (Double.IsNegativeInfinity(v)) - line.Y1 = availableSize.Height; - else if (Double.IsPositiveInfinity(v)) - line.Y1 = 0; - else - line.Y1 = TopFromY(YDataTransform.DataToPlot(v)); - } - v = GetY2(line); - if (!double.IsNaN(v)) - { - if (Double.IsNegativeInfinity(v)) - line.Y2 = availableSize.Height; - else if (Double.IsPositiveInfinity(v)) - line.Y2 = 0; - else - line.Y2 = TopFromY(YDataTransform.DataToPlot(v)); - } - } - child.Measure(availableSize); - } - } - - internal void ArrangeChildren(Size finalSize) - { - foreach (UIElement child in Children) - { - DependencyObject item = child; - if (item is ContentPresenter && VisualTreeHelper.GetChildrenCount(item) == 1) - item = VisualTreeHelper.GetChild(item, 0); - - if (item is Line || item is Polyline) - { - child.Arrange(new Rect(0, 0, finalSize.Width, finalSize.Height)); - } - else - { - double x1 = GetX1(item); - double x2 = GetX2(item); - double y1 = GetY1(item); - double y2 = GetY2(item); - - Size desiredSize = Size.Empty; - if (double.IsNaN(x1) || double.IsNaN(x2) || double.IsNaN(y1) || double.IsNaN(y2)) - desiredSize = child.DesiredSize; - - double L = 0.0; - if (!double.IsNaN(x1)) - { - if (double.IsNegativeInfinity(x1)) - L = 0; - else if (double.IsPositiveInfinity(x1)) - L = finalSize.Width; - else - L = LeftFromX(XDataTransform.DataToPlot(x1)); // x1 is not Nan and Inf here - } - else - L = (double)item.GetValue(Canvas.LeftProperty); - - double W = 0.0; - var elem = item as FrameworkElement; - if (!double.IsNaN(x1) && !double.IsNaN(x2)) - { - double L2 = 0.0; - if (double.IsNegativeInfinity(x2)) - L2 = 0; - else if (double.IsPositiveInfinity(x2)) - L2 = desiredSize.Width; - else - L2 = LeftFromX(XDataTransform.DataToPlot(x2)); // x2 is not Nan and Inf here - - if (L2 >= L) W = L2 - L; - else - { - W = L - L2; - L = L2; - } - } - else if (elem != null || double.IsNaN(W = elem.Width) || double.IsInfinity(W)) - W = desiredSize.Width; - - double T = 0.0; - if (!double.IsNaN(y1)) - { - if (double.IsNegativeInfinity(y1)) - T = desiredSize.Height; - else if (double.IsPositiveInfinity(y1)) - T = 0; - else - T = TopFromY(YDataTransform.DataToPlot(y1)); // y1 is not Nan and Inf here - } - else - T = (double)item.GetValue(Canvas.TopProperty); - - double H = 0.0; - if (!double.IsNaN(y1) && !double.IsNaN(y2)) - { - double T2 = 0.0; - if (double.IsNegativeInfinity(y2)) - T2 = desiredSize.Height; - else if (double.IsPositiveInfinity(y2)) - T2 = desiredSize.Width; - else - T2 = TopFromY(YDataTransform.DataToPlot(y2)); // y2 is not Nan and Inf here - if (T2 >= T) H = T2 - T; - else - { - H = T - T2; - T = T2; - } - } - else if (elem != null || double.IsNaN(H = elem.Height) || double.IsInfinity(H)) - H = desiredSize.Height; - - if (Double.IsNaN(L) || Double.IsInfinity(L) || Double.IsNaN(W) || Double.IsInfinity(W)) // Horizontal data to screen transform fails - { - L = 0; - W = desiredSize.Width; - } - if (Double.IsNaN(T) || Double.IsInfinity(T) || Double.IsNaN(H) || Double.IsInfinity(H)) // Vertical data to screen transform fails - { - T = 0; - H = desiredSize.Height; - } - child.Arrange(new Rect(L, T, W, H)); - } - } - } - - #endregion - - } -} - diff --git a/vendors/optick/gui/InteractiveDataDisplay.WPF/Plots/BingMaps/BingMapsChart.cs b/vendors/optick/gui/InteractiveDataDisplay.WPF/Plots/BingMaps/BingMapsChart.cs deleted file mode 100644 index 7d1696d9c..000000000 --- a/vendors/optick/gui/InteractiveDataDisplay.WPF/Plots/BingMaps/BingMapsChart.cs +++ /dev/null @@ -1,109 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. -// Licensed under the MIT License. - -using System; -using System.Windows; -using System.Windows.Controls; -using Microsoft.Maps.MapControl.WPF; -using System.Windows.Input; - -namespace InteractiveDataDisplay.WPF -{ - /// - /// Control for plotting data in geographical coordinates over Bing Maps. - /// This control should be put into Children collection of Bing Maps MapControl. Plot coordinates - /// (x,y) are treated as longitude and latitude. - /// - public class BingMapsPlot : Plot - { - Map parentMap = null; - - /// Canvas spreading from (-85,-180) to (85, 180) - Canvas entireWorld = new Canvas(); - - /// - /// Initializes a new instance of class. Assigns - /// instance of to property. - /// - public BingMapsPlot() - { - YDataTransform = new MercatorTransform(); - IsAutoFitEnabled = false; - ClipToBounds = false; - Loaded += new RoutedEventHandler(MapPlotter2D_Loaded); - Unloaded += new RoutedEventHandler(MapPlotter2D_Unloaded); - } - - void MapPlotter2D_Loaded(object sender, RoutedEventArgs e) - { - parentMap = GetParentMap(); - if (parentMap != null) - { - parentMap.Children.Add(entireWorld); - MapLayer.SetPositionRectangle(entireWorld, - new LocationRect(new Location(-85, -180), new Location(85, 180))); - parentMap.ViewChangeEnd += new EventHandler(parentMap_ViewChangeEnd); - MapLayer.SetPositionRectangle(this, - new LocationRect(new Location(-85, -180), new Location(85, 180))); - SetPlotRect(new DataRect(-180, YDataTransform.DataToPlot(-85), 180, YDataTransform.DataToPlot(85))); - entireWorld.LayoutUpdated += WorldLayoutUpdated; - } - } - - void WorldLayoutUpdated(object sender, EventArgs e) - { - UpdatePlotRect(); - entireWorld.LayoutUpdated -= WorldLayoutUpdated; - } - - void MapPlotter2D_Unloaded(object sender, RoutedEventArgs e) - { - if (parentMap != null) - { - parentMap.Children.Remove(entireWorld); - parentMap.ViewChangeEnd -= parentMap_ViewChangeEnd; - } - } - - void parentMap_ViewChangeEnd(object sender, MapEventArgs e) - { - UpdatePlotRect(); - } - - private void UpdatePlotRect() - { - parentMap = GetParentMap(); - var transform = entireWorld.TransformToVisual(parentMap); - var lt = transform.Transform(new Point(0, 0)); - var rb = transform.Transform(new Point(entireWorld.RenderSize.Width, entireWorld.RenderSize.Height)); - - var sw = parentMap.ViewportPointToLocation(new Point(Math.Max(0, lt.X), Math.Min(parentMap.RenderSize.Height, rb.Y))); - var ne = parentMap.ViewportPointToLocation(new Point(Math.Min(parentMap.RenderSize.Width, rb.X), Math.Max(0, lt.Y))); - if (lt.X > 0) - sw.Longitude = -180; - if (rb.X < parentMap.RenderSize.Width) - ne.Longitude = 180; - var newPlotRect = new DataRect(sw.Longitude, YDataTransform.DataToPlot(sw.Latitude), - ne.Longitude, YDataTransform.DataToPlot(ne.Latitude)); - if(Math.Abs(newPlotRect.XMin - PlotOriginX) > 1e-10 || - Math.Abs(newPlotRect.YMin - PlotOriginY) > 1e-10 || - Math.Abs(newPlotRect.XMax - PlotOriginX - PlotWidth) > 1e-10 || - Math.Abs(newPlotRect.YMax - PlotOriginY - PlotHeight) > 1e-10) - { - MapLayer.SetPositionRectangle(this, new LocationRect(sw, ne)); - SetPlotRect(newPlotRect); - } - } - - [CLSCompliantAttribute(false)] - public Map GetParentMap () - { - return this.Tag as Map; - } - protected override Thickness AggregatePadding() - { - return new Thickness(); - } - } -} - diff --git a/vendors/optick/gui/InteractiveDataDisplay.WPF/Plots/Heatmap/HeatmapBuilder.cs b/vendors/optick/gui/InteractiveDataDisplay.WPF/Plots/Heatmap/HeatmapBuilder.cs deleted file mode 100644 index eca47d58b..000000000 --- a/vendors/optick/gui/InteractiveDataDisplay.WPF/Plots/Heatmap/HeatmapBuilder.cs +++ /dev/null @@ -1,480 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. -// Licensed under the MIT License. - -using System; -using System.Windows; -using System.Windows.Media; -using System.Collections.Generic; - -namespace InteractiveDataDisplay.WPF -{ - /// - /// Helper class, which provides various methods for building heatmaps. - /// - public static class HeatmapBuilder - { - /// - /// Builds heatmap from specified data, grid, missing value, visibleRect and palette. - /// - /// 2D array with data to plot - /// Missing value. Heatmap will have transparent regions at missing value. - /// Palette to translate numeric values to colors - /// Min and max values in array - /// Heatmap rectangle screen coordinates - /// Plot rectaneg screen coordinates - static public int[] BuildHeatMap(Rect screen, DataRect rect, double[] x, double[] y, double[,] data, - double missingValue, IPalette palette, Range range) - { - if (data == null) - throw new ArgumentNullException("data"); - if (x == null) - throw new ArgumentNullException("x"); - if (y == null) - throw new ArgumentNullException("y"); - if (palette == null) - throw new ArgumentNullException("palette"); - - int pixelWidth = (int)screen.Width; - int pixelHeight = (int)screen.Height; - int[] pixels = new int[pixelWidth * pixelHeight]; - double doubleMissingValue = missingValue; - UInt32[] paletteColors = new uint[512]; - - if (!palette.IsNormalized) - range = palette.Range; - - for (int i = 0; i < 512; i++) - { - Color c; - if (palette.IsNormalized) - c = palette.GetColor((double)i / 511.0); - else - c = palette.GetColor(range.Min + i * (range.Max - range.Min) / 511.0); - - paletteColors[i] = (((uint)(c.A)) << 24) | (((uint)c.R) << 16) | (((uint)c.G) << 8) | c.B; - } - - int xdimRank = x.Length; - int ydimRank = y.Length; - - int xdataRank = data.GetLength(0); - int ydataRank = data.GetLength(1); - - double factor = (range.Max != range.Min) ? (1.0 / (range.Max - range.Min)) : 0.0; - - if (xdataRank == xdimRank && ydataRank == ydimRank) - { - double[,] v = null; - v = Filter(pixelWidth, pixelHeight, rect, x, y, data, doubleMissingValue); - if (palette.IsNormalized) - { - if (Double.IsNaN(doubleMissingValue)) - { - for (int j = 0, k = 0; j < pixelHeight; j++) - { - for (int i = 0; i < pixelWidth; i++, k++) - { - double vv = v[i, pixelHeight - j - 1]; - if (!Double.IsNaN(vv)) - { - double v01 = (vv - range.Min) * factor; - pixels[k] = (int)paletteColors[((uint)(511 * v01)) & 0x1FF]; - } - } - } - } - else - { - for (int j = 0, k = 0; j < pixelHeight; j++) - { - for (int i = 0; i < pixelWidth; i++, k++) - { - double vv = v[i, pixelHeight - j - 1]; - if (vv != doubleMissingValue) - { - double v01 = (vv - range.Min) * factor; - pixels[k] = (int)paletteColors[((uint)(511 * v01)) & 0x1FF]; - } - } - } - } - } - else // Palette is absolute - { - if (Double.IsNaN(doubleMissingValue)) - { - for (int j = 0, k = 0; j < pixelHeight; j++) - { - for (int i = 0; i < pixelWidth; i++, k++) - { - double vv = v[i, pixelHeight - j - 1]; - if (!Double.IsNaN(vv)) - { - double v01 = (Math.Max(range.Min, Math.Min(range.Max, vv)) - range.Min) * factor; - pixels[k] = (int)paletteColors[((uint)(511 * v01)) & 0x1FF]; - } - } - } - } - else - { - for (int j = 0, k = 0; j < pixelHeight; j++) - { - for (int i = 0; i < pixelWidth; i++, k++) - { - double vv = v[i, pixelHeight - j - 1]; - if (vv != doubleMissingValue) - { - double v01 = (Math.Max(range.Min, Math.Min(range.Max, vv)) - range.Min) * factor; - pixels[k] = (int)paletteColors[((uint)(511 * v01)) & 0x1FF]; - } - } - } - } - } - } - else if ((xdataRank + 1) == xdimRank && (ydataRank + 1) == ydimRank) - { - - // Prepare arrays - int[] xPixelDistrib; - int[] yPixelDistrib; - - xPixelDistrib = CreatePixelToDataMap(pixelWidth, Math.Max(x[0], rect.XMin), Math.Min(x[x.Length - 1], rect.XMax), x); - yPixelDistrib = CreatePixelToDataMap(pixelHeight, Math.Max(y[0], rect.YMin), Math.Min(y[y.Length - 1], rect.YMax), y); - - if (palette.IsNormalized) - { - if (Double.IsNaN(doubleMissingValue)) - { - for (int j = 0, k = 0; j < pixelHeight; j++) - { - for (int i = 0; i < pixelWidth; i++, k++) - { - double vv = data[xPixelDistrib[i], yPixelDistrib[pixelHeight - j - 1]]; - if (!Double.IsNaN(vv)) - { - double v01 = (vv - range.Min) * factor; - pixels[k] = (int)paletteColors[((uint)(511 * v01)) & 0x1FF]; - } - } - } - } - else - { - for (int j = 0, k = 0; j < pixelHeight; j++) - { - for (int i = 0; i < pixelWidth; i++, k++) - { - double vv = data[xPixelDistrib[i], yPixelDistrib[pixelHeight - j - 1]]; - if (vv != doubleMissingValue) - { - double v01 = (vv - range.Min) * factor; - pixels[k] = (int)paletteColors[((uint)(511 * v01)) & 0x1FF]; - } - } - } - } - } - else // Palette is absolute - { - if (Double.IsNaN(doubleMissingValue)) - { - for (int j = 0, k = 0; j < pixelHeight; j++) - { - for (int i = 0; i < pixelWidth; i++, k++) - { - double vv = data[xPixelDistrib[i], yPixelDistrib[pixelHeight - j - 1]]; - if (!Double.IsNaN(vv)) - { - double v01 = (Math.Max(range.Min, Math.Min(range.Max, vv)) - range.Min) * factor; - pixels[k] = (int)paletteColors[((uint)(511 * v01)) & 0x1FF]; - } - } - } - } - else - { - for (int j = 0, k = 0; j < pixelHeight; j++) - { - for (int i = 0; i < pixelWidth; i++, k++) - { - double vv = data[xPixelDistrib[i], yPixelDistrib[pixelHeight - j - 1]]; - if (vv != doubleMissingValue) - { - double v01 = (Math.Max(range.Min, Math.Min(range.Max, vv)) - range.Min) * factor; - pixels[k] = (int)paletteColors[((uint)(511 * v01)) & 0x1FF]; - } - } - } - } - } - } - else - { - throw new ArgumentException("Size of x,y and data arrays does not match conditions"); - } - - return pixels; - } - - - /// Prepares linear interpolation filter tables - /// Size of heatmap in pixels - /// Plot coordinate corresponding to left pixel - /// Plot coordinate corresponding to right pixel - /// Plot coordinates of data points - /// Indices in target array (pixels) - /// Indices in source array - /// Linear transform coefficient - /// Weights - /// - /// - /// Following code performs linear interpolation without taking missing values into account. - /// Names of variables correspond to parameter names - /// - /// - /// - /// - public static void PrepareFilterTables(int width, double minX, double maxX, double[] x, - out int[] pixels, out int[] indexes, out double[] alphas, out double[] weights) - { - if (x == null) - throw new ArgumentNullException("x"); - - int length = x.Length; - if (length <= 1) - throw new ArgumentException("Knots array should contain at least 2 knots"); - if (maxX > x[length - 1]) - maxX = x[length - 1]; - else if (minX < x[0]) - minX = x[0]; - - List p = new List(length); - List idx = new List(length); - List k = new List(length); - List w = new List(length); - - - int i = 0; - double delta = (maxX - minX) / width; - for (int pixel = 0; pixel < width; pixel++) - { - double pixmin = minX + pixel * delta; // Current pixel is segment [pixmin, pixmin + delta] - while (x[i + 1] <= pixmin) - i++; // No out of range here because of prerequisites - while (i < length - 1) - { - double min = Math.Max(pixmin, x[i]); - double max = Math.Min(pixmin + delta, x[i + 1]); - double center = (min + max) / 2; - idx.Add(i); - p.Add(pixel); - k.Add((x[i + 1] - center) / (x[i + 1] - x[i])); - w.Add((max - min) / delta); - if (x[i + 1] >= pixmin + delta) - break; - else - i++; - } - } - pixels = p.ToArray(); - indexes = idx.ToArray(); - alphas = k.ToArray(); - weights = w.ToArray(); - } - - /// Performs array resize and subset with linear interpolation - /// Result width - /// Result height - /// Range of coordinates for entire data - /// Coordinates of x points (length of array must be - /// Coordinates of y points (length of array must be - /// Source data array - /// Missing value or NaN if no missing value - /// Resulting array with size * - public static double[,] Filter(int width, int height, DataRect rect, - double[] x, double[] y, double[,] data, double missingValue) - { - if (data == null) - throw new ArgumentNullException("data"); - if (x == null) - throw new ArgumentNullException("x"); - if (y == null) - throw new ArgumentNullException("y"); - - // Check preconditions - if (x.Length != data.GetLength(0)) - throw new ArgumentException("Size of x and data arrays does not match"); - if (y.Length != data.GetLength(1)) - throw new ArgumentException("Size of y and data arrays does not match"); - - // Prepare filters - int[] hp, vp, hi, vi; - double[] ha, va, hw, vw; - PrepareFilterTables(width, rect.XMin, rect.XMax, x, out hp, out hi, out ha, out hw); - PrepareFilterTables(height, rect.YMin, rect.YMax, y, out vp, out vi, out va, out vw); - - // Prepare arrays - double[,] r = new double[width, height]; - bool hasMissingValue = !Double.IsNaN(missingValue); - double offset = 0; - if (hasMissingValue && missingValue == 0) - { - offset = -1; - for (int i = 0; i < width; i++) - for (int j = 0; j < height; j++) - r[i, j] = offset; - } - - // Do filtering - int hpLen = hp.Length; - int vpLen = vp.Length; - for (int i = 0; i < hpLen; i++) - { - int px = hp[i]; - int i0 = hi[i]; - - for (int j = 0; j < vpLen; j++) - { - int py = vp[j]; - if (hasMissingValue && r[px, py] == missingValue) - continue; - int j0 = vi[j]; - if (hasMissingValue && - (data[i0, j0] == missingValue || - data[i0 + 1, j0] == missingValue || - data[i0, j0 + 1] == missingValue || - data[i0 + 1, j0 + 1] == missingValue)) - r[px, py] = missingValue; - else - { - double v0 = ha[i] * data[i0, j0] + (1 - ha[i]) * data[i0 + 1, j0]; - double v1 = ha[i] * data[i0, j0 + 1] + (1 - ha[i]) * data[i0 + 1, j0 + 1]; - double v = va[j] * v0 + (1 - va[j]) * v1; - r[px, py] += v * hw[i] * vw[j]; - } - } - } - // Offset data if needed - if (offset != 0) - for (int i = 0; i < width; i++) - for (int j = 0; j < height; j++) - if (r[i, j] != missingValue) - r[i, j] -= offset; - - return r; - } - - /// Computes array of indices in data array for rendering heatmap with given width in colormap mode - /// Width of heatmap in pixels - /// Data value corresponding to left heatmap edge - /// Data value corresponding to right heatmap edge - /// Grid array. Note that and should be - /// inside grid range. Otherwise exception will occur. - /// Array of length where value of each element is index in data - /// array - private static int[] CreatePixelToDataMap(int width, double xmin, double xmax, double[] x) - { - int length = x.Length; - if (length <= 1) - throw new ArgumentException("Knots array should contain at least 2 knots"); - if (xmax > x[length - 1] || xmin < x[0]) - throw new ArgumentException("Cannot interpolate beyond bounds"); - - int[] pixels = new int[width]; - double delta = (xmax - xmin) / width; - int i = 0; - for (int pixel = 0; pixel < width; pixel++) - { - double pixCenter = xmin + (pixel + 0.5) * delta; // Pixel center - while (x[i+1] < pixCenter) - i++; // No out of range here because of prerequisites. Now x[i+1] > pixCenter - pixels[pixel] = i; - } - - return pixels; - } - - /// - /// Calculates data range from specified 2d array of data. - /// - public static Range GetMaxMin(double[,] data) - { - double Max, Min; - if (data != null) - { - int N = data.GetLength(0); - int M = data.GetLength(1); - Max = data[0, 0]; - Min = data[0, 0]; - - for (int i = 0; i < N; i++) - for (int j = 0; j < M; j++) - { - if (!double.IsNaN(data[i, j])) - { - if (data[i, j] > Max) Max = data[i, j]; - if (data[i, j] < Min) Min = data[i, j]; - } - } - if (double.IsNaN(Max) || double.IsNaN(Min)) - { - Max = 0; - Min = 0; - } - } - else - { - Max = Double.NaN; - Min = Double.NaN; - } - return new Range(Min, Max); ; - } - - /// - /// Calculates data range from specified 2d array of data and missing value. - /// - public static Range GetMaxMin(double[,] data, double missingValue) - { - double Max, Min; - if (data != null) - { - int N = data.GetLength(0); - int M = data.GetLength(1); - - Max = data[0, 0]; - Min = data[0, 0]; - - for (int i = 0; i < N; i++) - for (int j = 0; j < M; j++) - { - if (data[i, j] != missingValue) - { - if (data[i, j] > Max) Max = data[i, j]; - if (data[i, j] < Min) Min = data[i, j]; - } - } - if (Max == missingValue || Min == missingValue) - { - Max = 0; - Min = 0; - } - } - else - { - Max = missingValue; - Min = missingValue; - } - return new Range(Min, Max); ; - } - - } - - -} - diff --git a/vendors/optick/gui/InteractiveDataDisplay.WPF/Plots/Heatmap/HeatmapGraph.cs b/vendors/optick/gui/InteractiveDataDisplay.WPF/Plots/Heatmap/HeatmapGraph.cs deleted file mode 100644 index def777a0e..000000000 --- a/vendors/optick/gui/InteractiveDataDisplay.WPF/Plots/Heatmap/HeatmapGraph.cs +++ /dev/null @@ -1,450 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. -// Licensed under the MIT License. - -using System; -using System.Windows; -using System.ComponentModel; -using System.Globalization; - -namespace InteractiveDataDisplay.WPF -{ - /// - /// Control to render 2d image as a heatmap. Heatmap is widely used graphical representation of 2D array - /// where the values of array items are represented as colors. - /// - [Description("Plots a heatmap graph")] - public class HeatmapGraph : BackgroundBitmapRenderer, ITooltipProvider - { - private object locker = new object(); // Instance to hold locks for multithread access - - private double[] xArr; - private double[] yArr; - private long dataVersion = 0; - private double[,] data; - private double missingValue; - - /// - /// Initializes a new instance of class with default tooltip. - /// - public HeatmapGraph() - { - TooltipContentFunc = GetTooltipForPoint; - } - - private static void VerifyDimensions(double[,] d, double[] x, double[] y) - { - double dlen0 = d.GetLength(0); - double dlen1 = d.GetLength(1); - double xlen = x.Length; - double ylen = y.Length; - if (dlen0 == xlen && dlen1 == ylen || - dlen0 == xlen - 1 && xlen > 1 && dlen1 == ylen - 1 && ylen > 1) - return; - throw new ArgumentException("Array dimensions do not match"); - } - - /// Plots rectangular heatmap. - /// If size dimensions are equal to lenghtes of corresponding grid parameters - /// and then Gradient render method is used. If - /// dimension are smaller by one then Bitmap render method is used for heatmap. In all other cases exception is thrown. - /// - /// Two dimensional array of data. - /// Grid along x axis. - /// Grid along y axis. - /// ID of background operation. You can subscribe to - /// notification to be notified when this operation is completed or request is dropped. - public long Plot(double[,] data, double[] x, double[] y) - { - return Plot(data, x, y, Double.NaN); - } - - /// Plots rectangular heatmap where some data may be missing. - /// If size dimensions are equal to lenghtes of corresponding grid parameters - /// and then Gradient render method is used. If - /// dimension are smaller by one then Bitmap render method is used for heatmap. In all other cases exception is thrown. - /// - /// Two dimensional array of data. - /// Grid along x axis. - /// Grid along y axis. - /// Missing value. Data items equal to aren't shown. - /// ID of background operation. You can subscribe to - /// notification to be notified when this operation is completed or request is dropped. - public long Plot(double[,] data, double[] x, double[] y, double missingValue) - { - VerifyDimensions(data, x, y); - lock (locker) - { - this.xArr = x; - this.yArr = y; - this.data = data; - this.missingValue = missingValue; - dataVersion++; - } - - InvalidateBounds(); - - return QueueRenderTask(); - } - - /// Plots rectangular heatmap where some data may be missing. - /// If size dimensions are equal to lenghtes of corresponding grid parameters - /// and then Gradient render method is used. If - /// dimension are smaller by one then Bitmap render method is used for heatmap. In all other cases exception is thrown. - /// Double, float, integer and boolean types are supported as data and grid array elements - /// Two dimensional array of data. - /// Grid along x axis. - /// Grid along y axis. - /// Missing value. Data items equal to aren't shown. - /// ID of background operation. You can subscribe to - /// notification to be notified when this operation is completed or request is dropped. - public long Plot(T[,] data, A[] x, A[] y, T missingValue) - { - return Plot(ArrayExtensions.ToDoubleArray2D(data), - ArrayExtensions.ToDoubleArray(x), - ArrayExtensions.ToDoubleArray(y), - Convert.ToDouble(missingValue, CultureInfo.InvariantCulture)); - } - - /// Plots rectangular heatmap where some data may be missing. - /// If size dimensions are equal to lenghtes of corresponding grid parameters - /// and then Gradient render method is used. If - /// dimension are smaller by one then Bitmap render method is used for heatmap. In all other cases exception is thrown. - /// Double, float, integer and boolean types are supported as data and grid array elements - /// Two dimensional array of data. - /// Grid along x axis. - /// Grid along y axis. - /// ID of background operation. You can subscribe to - /// notification to be notified when this operation is completed or request is dropped. - public long Plot(T[,] data, A[] x, A[] y) - { - return Plot(ArrayExtensions.ToDoubleArray2D(data), - ArrayExtensions.ToDoubleArray(x), - ArrayExtensions.ToDoubleArray(y), - Double.NaN); - } - - - /// Returns content bounds of this elements in cartesian coordinates. - /// Rectangle with content bounds. - protected override DataRect ComputeBounds() - { - if (xArr != null && yArr != null) - return new DataRect(xArr[0], yArr[0], xArr[xArr.Length - 1], yArr[yArr.Length - 1]); - else - return DataRect.Empty; - } - - /// - /// Cached value of property. Accessed both from UI and rendering thread. - /// - private IPalette palette = InteractiveDataDisplay.WPF.Palette.Heat; - - /// - /// Identifies the dependency property. - /// - public static readonly DependencyProperty PaletteProperty = DependencyProperty.Register( - "Palette", - typeof(Palette), - typeof(HeatmapGraph), - new PropertyMetadata(InteractiveDataDisplay.WPF.Palette.Heat, OnPalettePropertyChanged)); - - /// Gets or sets the palette for heatmap rendering. - [TypeConverter(typeof(StringToPaletteTypeConverter))] - [Category("InteractiveDataDisplay")] - [Description("Defines mapping from values to color")] - public IPalette Palette - { - get { return (IPalette)GetValue(PaletteProperty); } - set { SetValue(PaletteProperty, value); } - } - - private bool paletteRangeUpdateRequired = true; - - private static void OnPalettePropertyChanged(object sender, DependencyPropertyChangedEventArgs e) - { - HeatmapGraph heatmap = (HeatmapGraph)sender; - lock (heatmap.locker) - { - heatmap.paletteRangeUpdateRequired = true; - heatmap.palette = (Palette)e.NewValue; - } - heatmap.QueueRenderTask(); - } - - /// - /// Identifies the dependency property. - /// - public static readonly DependencyProperty PaletteRangeProperty = DependencyProperty.Register( - "PaletteRange", - typeof(Range), - typeof(HeatmapGraph), - new PropertyMetadata(new Range(0, 1), OnPaletteRangePropertyChanged)); - - /// - /// Cached range of data values. It is accessed from UI and rendering thread. - /// - private Range dataRange = new Range(0, 1); - - /// Version of data for current data range. If dataVersion != dataRangeVersion then - /// data range version should be recalculated. - private long dataRangeVersion = -1; - - private int insidePaletteRangeSetter = 0; - - /// Gets range of data values used in palette building. - /// This property cannot be set from outside code. Attempt to set it from - /// bindings result in exception. - [Browsable(false)] - public Range PaletteRange - { - get { return (Range)GetValue(PaletteRangeProperty); } - protected set - { - try - { - insidePaletteRangeSetter++; - SetValue(PaletteRangeProperty, value); - } - finally - { - insidePaletteRangeSetter--; - } - } - } - - private static void OnPaletteRangePropertyChanged(object sender, DependencyPropertyChangedEventArgs e) - { - var heatmap = (HeatmapGraph)sender; - if (heatmap.insidePaletteRangeSetter <= 0) - throw new InvalidOperationException("Palette Range property cannot be changed by binding. Use Palette property instead"); - } - - private void UpdatePaletteRange(long localDataVersion) - { - if (dataVersion != localDataVersion) - return; - paletteRangeUpdateRequired = false; - if (palette.IsNormalized) - PaletteRange = dataRange; - else - PaletteRange = palette.Range; - } - - /// Gets range of data values for current data. - public Range DataRange - { - get - { - if (data != null && dataVersion != dataRangeVersion) - { - var r = Double.IsNaN(missingValue) ? - HeatmapBuilder.GetMaxMin(data) : - HeatmapBuilder.GetMaxMin(data, missingValue); - lock (locker) - { - dataRangeVersion = dataVersion; - dataRange = r; - } - UpdatePaletteRange(dataVersion); - } - return dataRange; - } - } - - /// - /// Renders frame and returns it as a render result. - /// - /// Render task state for rendering frame. - /// Render result of rendered frame. - protected override RenderResult RenderFrame(RenderTaskState state) - { - if (state == null) - throw new ArgumentNullException("state"); - - if (!state.Bounds.IsEmpty && !state.IsCanceled && data != null) - { - //DataRect dataRect = new DataRect(state.Transform.Visible); - //Rect output = state.Transform.Screen; - DataRect dataRect = state.ActualPlotRect; - DataRect output = new DataRect(0, 0, state.ScreenSize.Width, state.ScreenSize.Height); - DataRect bounds = state.Bounds; - - if (dataRect.XMin >= bounds.XMax || dataRect.XMax <= bounds.XMin || - dataRect.YMin >= bounds.YMax || dataRect.YMax <= bounds.YMin) - return null; - - double left = 0; - double xmin = dataRect.XMin; - double scale = output.Width / dataRect.Width; - if (xmin < bounds.XMin) - { - left = (bounds.XMin - dataRect.XMin) * scale; - xmin = bounds.XMin; - } - - double width = output.Width - left; - double xmax = dataRect.XMax; - if (xmax > bounds.XMax) - { - width -= (dataRect.XMax - bounds.XMax) * scale; - xmax = bounds.XMax; - } - - scale = output.Height / dataRect.Height; - double top = 0; - double ymax = dataRect.YMax; - if (ymax > bounds.YMax) - { - top = (dataRect.YMax - bounds.YMax) * scale; - ymax = bounds.YMax; - } - - double height = output.Height - top; - double ymin = dataRect.YMin; - if (ymin < bounds.YMin) - { - height -= (bounds.YMin - dataRect.YMin) * scale; - ymin = bounds.YMin; - } - - if (xmin < bounds.XMin) - xmin = bounds.XMin; - if (xmax > bounds.XMax) - xmax = bounds.XMax; - if (ymin < bounds.YMin) - ymin = bounds.YMin; - if (ymax > bounds.YMax) - ymax = bounds.YMax; - - DataRect visibleData = new DataRect(xmin, ymin, xmax, ymax); - - // Capture data to local variable - double[,] localData; - double[] localX, localY; - long localDataVersion; - IPalette localPalette; - double localMV; - Range localDataRange; - bool getMaxMin = false; - lock (locker) - { - localData = data; - localX = xArr; - localY = yArr; - localDataVersion = dataVersion; - localPalette = palette; - localMV = missingValue; - localDataRange = dataRange; - if (palette.IsNormalized && dataVersion != dataRangeVersion) - getMaxMin = true; - } - if (getMaxMin) - { - localDataRange = Double.IsNaN(missingValue) ? - HeatmapBuilder.GetMaxMin(data) : - HeatmapBuilder.GetMaxMin(data, missingValue); - lock (locker) - { - if (dataVersion == localDataVersion) - { - dataRangeVersion = dataVersion; - dataRange = localDataRange; - } - else - return null; // New data was passed to Plot method so this render task is obsolete - } - } - if (paletteRangeUpdateRequired) - Dispatcher.BeginInvoke(new Action(UpdatePaletteRange), localDataVersion); - return new RenderResult(HeatmapBuilder.BuildHeatMap(new Rect(0, 0, width, height), - visibleData, localX, localY, localData, localMV, localPalette, localDataRange), visibleData, new Point(left, top), width, height); - } - else - return null; - } - - /// Gets or sets function to get tooltip object (string or UIElement) - /// for given screen point. - /// method is called by default. - public Func TooltipContentFunc - { - get; - set; - } - - /// - /// Returns the string that is shown in tooltip for the screen point. If there is no data for this point (or nearest points) on a screen then returns null. - /// - /// A point to show tooltip for. - /// An object. - public object GetTooltipForPoint(Point screenPoint) - { - double pointData; - Point nearest; - if (GetNearestPointAndValue(screenPoint, out nearest, out pointData)) - return String.Format(CultureInfo.InvariantCulture, "Data: {0}; X: {1}; Y: {2}", pointData, nearest.X, nearest.Y); - else - return null; - } - - /// - /// Finds the point nearest to a specified point on a screen. - /// - /// The point to search nearest for. - /// The out parameter to handle the founded point. - /// The out parameter to handle data of founded point. - /// Boolen value indicating whether the nearest point was found or not. - public bool GetNearestPointAndValue(Point screenPoint, out Point nearest, out double vd) - { - nearest = new Point(Double.NaN, Double.NaN); - vd = Double.NaN; - if (data == null || xArr == null || yArr == null) - return false; - Point dataPoint = new Point(XDataTransform.PlotToData(XFromLeft(screenPoint.X)), YDataTransform.PlotToData(YFromTop(screenPoint.Y)));//PlotContext.ScreenToData(screenPoint); - int i = ArrayExtensions.GetNearestIndex(xArr, dataPoint.X); - if (i < 0) - return false; - int j = ArrayExtensions.GetNearestIndex(yArr, dataPoint.Y); - if (j < 0) - return false; - if (IsBitmap) - { - if (i > 0 && xArr[i - 1] > dataPoint.X) - i--; - if (j > 0 && yArr[j - 1] > dataPoint.Y) - j--; - } - if (i < data.GetLength(0) && j < data.GetLength(1)) - { - vd = data[i, j]; - nearest = new Point(xArr[i], yArr[j]); - return true; - } - else - return false; - } - - /// - /// Gets the boolen value indicating whether heatmap is rendered using gradient filling. - /// - public bool IsGradient - { - get - { - return (data == null || xArr == null) ? false : (data.GetLength(0) == xArr.Length); - } - } - - /// - /// Gets the boolen value indicating whether heatmap is rendered as a bitmap. - /// - public bool IsBitmap - { - get - { - return (data == null || xArr == null) ? false : (data.GetLength(0) == xArr.Length - 1); - } - } - } -} - diff --git a/vendors/optick/gui/InteractiveDataDisplay.WPF/Plots/Heatmap/HeatmapTooltipLayer.cs b/vendors/optick/gui/InteractiveDataDisplay.WPF/Plots/Heatmap/HeatmapTooltipLayer.cs deleted file mode 100644 index dc8a371a6..000000000 --- a/vendors/optick/gui/InteractiveDataDisplay.WPF/Plots/Heatmap/HeatmapTooltipLayer.cs +++ /dev/null @@ -1,237 +0,0 @@ -// Copyright © Microsoft Corporation. All Rights Reserved. -// Licensed under the MIT License. - -//// Copyright © Microsoft Corporation. All Rights Reserved. -// Licensed under the MIT License. -// -using System; -using System.Windows; -using System.Windows.Controls; -using System.Windows.Input; -using System.Windows.Media; -using System.Collections.Generic; -using System.Windows.Threading; -using System.ComponentModel; - -namespace InteractiveDataDisplay.WPF -{ - /// - /// Control for displaying tooltips for . - /// Shows a value of heatmap in specified point. - /// - [Description("Displays value of heatmap under cursor")] - public class HeatmapTooltipLayer : Panel - { - private Point location; - private Object content; - private DispatcherTimer dispatcherTimer; - private ToolTip toolTip = new ToolTip(); - private TimeSpan dueTime = new TimeSpan(0, 0, 1); - private TimeSpan durationInterval = new TimeSpan(0, 0, 7); - private IDisposable subscription; - private Dictionary heatmapSubscriptions = new Dictionary(); - private PlotBase parent = null; - - /// - /// Initializes new instance of class. - /// - public HeatmapTooltipLayer() - { - ContentFunc = DefaultContentFunc; - this.toolTip.Placement = System.Windows.Controls.Primitives.PlacementMode.Mouse; - this.toolTip.VerticalOffset = 10; - this.toolTip.HorizontalOffset = 5; - this.MouseMove += new MouseEventHandler(OnMouseMove); - this.MouseLeave += new MouseEventHandler(TooltipLayer_MouseLeave); - this.toolTip.IsOpen = false; - - this.dispatcherTimer = new DispatcherTimer(); - this.dispatcherTimer.Interval = dueTime; - this.dispatcherTimer.Tick += OnTick; - - this.Loaded += new RoutedEventHandler(HeatmapTooltipLayer_Loaded); - this.Unloaded += new RoutedEventHandler(HeatmapTooltipLayer_Unloaded); - } - - void HeatmapTooltipLayer_Loaded(object sender, RoutedEventArgs e) - { - var visualParent = VisualTreeHelper.GetParent(this); - parent = visualParent as PlotBase; - while(visualParent != null && parent == null) - { - visualParent = VisualTreeHelper.GetParent(visualParent); - parent = visualParent as PlotBase; - } - if (parent != null) - { - parent.MouseMove += new MouseEventHandler(OnMouseMove); - parent.MouseLeave += new MouseEventHandler(TooltipLayer_MouseLeave); - subscription = parent.CompositionChange.Subscribe( - next => - { - RefreshTooltip(); - heatmapSubscriptions.Clear(); - foreach (UIElement elem in parent.RelatedPlots) - { - var heat = elem as HeatmapGraph; - if (heat != null) - { - heatmapSubscriptions.Add(heat, heat.RenderCompletion.Subscribe( - render => - { - RefreshTooltip(); - })); - } - } - }); - } - } - - void HeatmapTooltipLayer_Unloaded(object sender, RoutedEventArgs e) - { - subscription.Dispose(); - foreach (IDisposable s in heatmapSubscriptions.Values) - { - s.Dispose(); - } - heatmapSubscriptions.Clear(); - } - - private void RefreshTooltip() - { - object result = ContentFunc(this.location); - if (result == null) - { - toolTip.Content = null; - toolTip.IsOpen = false; - return; - } - toolTip.Content = result; - } - - private void TooltipLayer_MouseLeave(object sender, MouseEventArgs e) - { - this.Hide(); - } - - /// - /// Gets or sets the tooltip content. - /// - [Browsable(false)] - public Object Content - { - get { return content; } - set { content = value; } - } - - /// - /// Tooltip content function. - /// - [Browsable(false)] - public Func ContentFunc - { - get; - set; - } - - void OnMouseMove(object sender, MouseEventArgs e) - { - this.location = e.GetPosition(this); - if (toolTip.IsOpen) - { - this.Hide(); - } - - if (dispatcherTimer.IsEnabled) - { - dispatcherTimer.Stop(); - } - - dispatcherTimer.Interval = dueTime; - dispatcherTimer.Start(); - } - - void OnTick(object sender, EventArgs e) - { - dispatcherTimer.Stop(); - - bool show = !toolTip.IsOpen; - object result = ContentFunc(location); - if (result == null) - { - return; - } - toolTip.Content = result; - toolTip.IsOpen = show; - if (show) - HideDelayed(durationInterval); - } - - /// - /// Default function for building tooltip content. - /// - /// Point in which the value is requied. - /// A content for tooltip for specified point. - public virtual object DefaultContentFunc(Point pt) - { - if (parent == null) - return null; - StackPanel contentPanel = new StackPanel - { - Orientation = Orientation.Vertical, - }; - foreach (UIElement elem in parent.RelatedPlots) - { - if (elem is HeatmapGraph) - { - ITooltipProvider el = elem as ITooltipProvider; - if (el != null) - { - var control = new ContentControl(); - control.IsTabStop = false; - if (el.TooltipContentFunc != null) - { - var internalContent = el.TooltipContentFunc(pt); - if (internalContent != null) - { - control.Content = internalContent; - contentPanel.Children.Add(control); - } - } - } - } - } - return contentPanel.Children.Count > 0 ? contentPanel : null; - } - - private void Hide() - { - if (dispatcherTimer.IsEnabled) - dispatcherTimer.Stop(); - toolTip.IsOpen = false; - } - - - private void HideDelayed(TimeSpan delay) - { - if (dispatcherTimer.IsEnabled) - dispatcherTimer.Stop(); - - dispatcherTimer.Interval = delay; - dispatcherTimer.Start(); - } - } - - /// - /// Interface for elements which can provide content for tooltips. - /// - public interface ITooltipProvider - { - /// - /// Tooltip content generation function. - /// - Func TooltipContentFunc { get; } - } -} - - diff --git a/vendors/optick/gui/InteractiveDataDisplay.WPF/Plots/Line/LineGraph.cs b/vendors/optick/gui/InteractiveDataDisplay.WPF/Plots/Line/LineGraph.cs deleted file mode 100644 index 84b8f08f4..000000000 --- a/vendors/optick/gui/InteractiveDataDisplay.WPF/Plots/Line/LineGraph.cs +++ /dev/null @@ -1,275 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. -// Licensed under the MIT License. - -using System; -using System.Windows; -using System.Windows.Controls; -using System.Windows.Media; -using System.Windows.Shapes; -using System.Windows.Data; -using System.Collections; -using System.Globalization; -using System.ComponentModel; - -namespace InteractiveDataDisplay.WPF -{ - /// - /// A plot to draw simple line. - /// - [Description("Plots line graph")] - public class LineGraph : Plot - { - private Polyline polyline; - - /// - /// Gets or sets line graph points. - /// - [Category("InteractiveDataDisplay")] - [Description("Line graph points")] - public PointCollection Points - { - get { return (PointCollection)GetValue(PointsProperty); } - set { SetValue(PointsProperty, value); } - } - - private static void PointsPropertyChangedHandler(DependencyObject d, DependencyPropertyChangedEventArgs e) - { - LineGraph linePlot = (LineGraph)d; - if (linePlot != null) - { - InteractiveDataDisplay.WPF.Plot.SetPoints(linePlot.polyline, (PointCollection)e.NewValue); - } - } - - /// - /// Initializes a new instance of class. - /// - public LineGraph() - { - polyline = new Polyline - { - Stroke = new SolidColorBrush(Colors.Black), - StrokeLineJoin = PenLineJoin.Round - }; - - BindingOperations.SetBinding(polyline, Polyline.StrokeThicknessProperty, new Binding("StrokeThickness") { Source = this }); - BindingOperations.SetBinding(this, PlotBase.PaddingProperty, new Binding("StrokeThickness") { Source = this, Converter = new LineGraphThicknessConverter() }); - - Children.Add(polyline); - } - static LineGraph() - { - PointsProperty.OverrideMetadata(typeof(LineGraph), new PropertyMetadata(new PointCollection(), PointsPropertyChangedHandler) ); - } - - /// - /// Updates data in and causes a redrawing of line graph. - /// - /// A set of x coordinates of new points. - /// A set of y coordinates of new points. - public void Plot(IEnumerable x, IEnumerable y) - { - if (x == null) - throw new ArgumentNullException("x"); - if (y == null) - throw new ArgumentNullException("y"); - - var points = new PointCollection(); - var enx = x.GetEnumerator(); - var eny = y.GetEnumerator(); - while (true) - { - var nx = enx.MoveNext(); - var ny = eny.MoveNext(); - if (nx && ny) - points.Add(new Point(Convert.ToDouble(enx.Current, CultureInfo.InvariantCulture), - Convert.ToDouble(eny.Current, CultureInfo.InvariantCulture))); - else if (!nx && !ny) - break; - else - throw new ArgumentException("x and y have different lengthes"); - } - - Points = points; - } - - /// - /// Updates data in and causes a redrawing of line graph. - /// In this version a set of x coordinates is a sequence of integers starting with zero. - /// - /// A set of y coordinates of new points. - public void PlotY(IEnumerable y) - { - if (y == null) - throw new ArgumentNullException("y"); - int x = 0; - var en = y.GetEnumerator(); - var points = new PointCollection(); - while (en.MoveNext()) - points.Add(new Point(x++, Convert.ToDouble(en.Current, CultureInfo.InvariantCulture))); - - Points = points; - } - - #region Description - /// - /// Identifies the dependency property. - /// - public static readonly DependencyProperty DescriptionProperty = - DependencyProperty.Register("Description", - typeof(string), - typeof(LineGraph), - new PropertyMetadata(null, - (s, a) => - { - var lg = (LineGraph)s; - ToolTipService.SetToolTip(lg, a.NewValue); - })); - - /// - /// Gets or sets description text for line graph. Description text appears in default - /// legend and tooltip. - /// - [Category("InteractiveDataDisplay")] - public string Description - { - get - { - return (string)GetValue(DescriptionProperty); - } - set - { - SetValue(DescriptionProperty, value); - } - } - - #endregion - - #region Thickness - /// - /// Identifies the dependency property. - /// - public static readonly DependencyProperty StrokeThicknessProperty = - DependencyProperty.Register("StrokeThickness", - typeof(double), - typeof(LineGraph), - new PropertyMetadata(1.0)); - - /// - /// Gets or sets the line thickness. - /// - /// - /// The default stroke thickness is 1.0 - /// - [Category("Appearance")] - public double StrokeThickness - { - get - { - return (double)GetValue(StrokeThicknessProperty); - } - set - { - SetValue(StrokeThicknessProperty, value); - } - } - #endregion - - #region Stroke - - /// - /// Identifies the dependency property. - /// - public static readonly DependencyProperty StrokeProperty = - DependencyProperty.Register("Stroke", - typeof(Brush), - typeof(LineGraph), - new PropertyMetadata(new SolidColorBrush(Colors.Black), OnStrokeChanged)); - - private static void OnStrokeChanged(object target, DependencyPropertyChangedEventArgs e) - { - LineGraph lineGraph = (LineGraph)target; - lineGraph.polyline.Stroke = e.NewValue as Brush; - } - - /// - /// Gets or sets the brush to draw the line. - /// - /// - /// The default color of stroke is black - /// - [Category("Appearance")] - public Brush Stroke - { - get - { - return (Brush)GetValue(StrokeProperty); - } - set - { - SetValue(StrokeProperty, value); - } - } - #endregion - - #region StrokeDashArray - - private static DoubleCollection EmptyDoubleCollection - { - get - { - var result = new DoubleCollection(0); - result.Freeze(); - return result; - } - } - - /// - /// Identifies the dependency property. - /// - public static readonly DependencyProperty StrokeDashArrayProperty = - DependencyProperty.Register("StrokeDashArray", - typeof(DoubleCollection), - typeof(LineGraph), - new PropertyMetadata(EmptyDoubleCollection, OnStrokeDashArrayChanged)); - - private static void OnStrokeDashArrayChanged(object target, DependencyPropertyChangedEventArgs e) - { - LineGraph lineGraph = (LineGraph)target; - lineGraph.polyline.StrokeDashArray = e.NewValue as DoubleCollection; - } - - /// - /// Gets or sets a collection of values that indicate the pattern of dashes and gaps that is used to draw the line. - /// - [Category("Appearance")] - public DoubleCollection StrokeDashArray - { - get - { - return (DoubleCollection)GetValue(StrokeDashArrayProperty); - } - set - { - SetValue(StrokeDashArrayProperty, value); - } - } - #endregion - } - - internal class LineGraphThicknessConverter : IValueConverter - { - public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) - { - double thickness = (double)value; - return new Thickness(thickness / 2.0); - } - - public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) - { - throw new NotImplementedException(); - } - } - -} - diff --git a/vendors/optick/gui/InteractiveDataDisplay.WPF/Plots/Markers/CartesianMarkerGraph.cs b/vendors/optick/gui/InteractiveDataDisplay.WPF/Plots/Markers/CartesianMarkerGraph.cs deleted file mode 100644 index d48ac4fb5..000000000 --- a/vendors/optick/gui/InteractiveDataDisplay.WPF/Plots/Markers/CartesianMarkerGraph.cs +++ /dev/null @@ -1,1001 +0,0 @@ -// Copyright © Microsoft Corporation. All Rights Reserved. -// Licensed under the MIT License. - -using System; -using System.Windows; -using System.Globalization; -using System.ComponentModel; -using System.Collections; - -namespace InteractiveDataDisplay.WPF -{ - /// - /// A base class for all instances in cartesian coordinates. - /// Has predefined X and Y . - /// - [Description("Marker graph in cartesian coordinates")] - public class CartesianMarkerGraph : MarkerGraph - { - /// - /// Initializes a new instance of the class. - /// - public CartesianMarkerGraph() - { - Sources.Add(new DataSeries { Key = "X", Description = "X" }); - Sources.Add(new DataSeries { Key = "Y", Description = "Y" }); - } - /// - /// Updates data in data series and starts redrawing marker graph. This method returns before - /// marker graph is redrawn. This method is thread safe. - /// This version does not need specification of X . Default value is a sequence of integers starting with zero. - /// - /// Data for Y defining y coordinates of markers. - /// Can be a single value (to draw one marker or markers with the same y coordinates) - /// or an array or IEnumerable (to draw markers with different y coordinates) of any numeric type. - /// Can be null then no markers will be drawn. - /// - /// ID of rendering task. You can subscribe to notification about rendering completion events - /// as observer of RenderCompletion. - public virtual long PlotY(object y) - { - return Plot(null, y); - } - /// - /// Updates data in data series and starts redrawing marker graph. This method returns before - /// marker graph is redrawn. This method is thread safe. - /// - /// Data for X defining x coordinates of markers. - /// Can be a single value (to draw one marker or markers with the same x coordinates) - /// or an array or IEnumerable (to draw markers with different x coordinates) of any numeric type. - /// Can be null then x coordinates will be a sequence of integers starting with zero. - /// - /// Data for Y defining y coordinates of markers. - /// Can be a single value (to draw one marker or markers with the same y coordinates) - /// or an array or IEnumerable (to draw markers with different y coordinates) of any numeric type. - /// Can be null then no markers will be drawn. - /// - /// - /// Note that all vector data for should be of the same length. Otherwise no markers will be drawn. - /// - /// ID of rendering task. You can subscribe to notification about rendering completion events - /// as observer of RenderCompletion. - public virtual long PlotXY(object x, object y) - { - return Plot(x, y); - } - #region X - /// - /// Identifies the dependency property. - /// - public static readonly DependencyProperty XProperty = DependencyProperty.Register( - "X", typeof(object), typeof(CartesianMarkerGraph), new PropertyMetadata(null, OnXChanged)); - /// - /// Gets or sets the data for X defining x coordinates of markers. - /// Can be a single value (to draw one marker or markers with the same x coordinates) - /// or an array or IEnumerable (to draw markers with different x coordinates) of any numeric type. - /// Can be null then x coordinates will be a sequence of integers starting with zero. - /// Default value is null. - /// - [Category("InteractiveDataDisplay")] - [Description("X coordinates")] - public object X - { - get { return (object)GetValue(XProperty); } - set { SetValue(XProperty, value); } - } - private static void OnXChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) - { - CartesianMarkerGraph mg = (CartesianMarkerGraph)d; - mg.Sources["X"].Data = e.NewValue; - } - #endregion - #region Y - /// - /// Identifies the dependency property. - /// - public static readonly DependencyProperty YProperty = DependencyProperty.Register( - "Y", typeof(object), typeof(CartesianMarkerGraph), new PropertyMetadata(null, OnYChanged)); - - /// - /// Gets or sets the data for Y defining y coordinates of markers. - /// Can be a single value (to draw one marker or markers with the same y coordinates) - /// or an array or IEnumerable (to draw markers with different y coordinates) of any numeric type. - /// Can be null then no markers will be drawn. - /// Default value is null. - /// - [Category("InteractiveDataDisplay")] - [Description("Y coordinates")] - public object Y - { - get { return (object)GetValue(YProperty); } - set { SetValue(YProperty, value); } - } - - /// - /// Called when property changes. - /// - /// Old value of propery . - /// New value of propery . - protected virtual void OnYChanged(object oldValue, object newValue) - { - Sources["Y"].Data = newValue; - } - - private static void OnYChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) - { - CartesianMarkerGraph mg = (CartesianMarkerGraph)d; - mg.OnYChanged(e.OldValue, e.NewValue); - } - #endregion - #region Description - /// - /// Identifies the dependency property. - /// - public static readonly DependencyProperty DescriptionProperty = DependencyProperty.Register( - "Description", typeof(string), typeof(CartesianMarkerGraph), new PropertyMetadata(null, OnDescriptionChanged)); - - /// - /// Gets or sets the description of Y . Is frequently used in legend and tooltip. - /// Default value is null. - /// - [Category("InteractiveDataDisplay")] - [Description("Text for tooltip and legend")] - public string Description - { - get { return (string)GetValue(DescriptionProperty); } - set { SetValue(DescriptionProperty, value); } - } - - private static void OnDescriptionChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) - { - CartesianMarkerGraph mg = (CartesianMarkerGraph)d; - mg.Sources["Y"].Description = (string)e.NewValue; - } - #endregion - } - /// - /// Is a with defined and - /// to draw markers in cartesian coordinates in color and of different size. - /// - /// Note that legend and tooltip templates are choosing automaticaly depending on a using version of Plot method. - /// - /// - [Description("Marker graph in cartesian space with color and size as additional series")] - public class CartesianSizeColorMarkerGraph : CartesianMarkerGraph - { - /// - /// Initializes a new instance of the class. - /// - public CartesianSizeColorMarkerGraph() - { - Sources.Add(new ColorSeries()); - Sources.Add(new SizeSeries()); - } - - /// - /// Updates data in data series and starts redrawing marker graph. This method returns before - /// marker graph is redrawn. This method is not thread safe. - /// This version does not need specification of X . Default value is a sequence of integers starting with zero. - /// Color and size of markers are taken from and dependency properties. - /// - /// Data for Y defining y coordinates of markers. - /// Can be a single value (to draw one marker or markers with the same y coordinates) - /// or an array or IEnumerable (to draw markers with different y coordinates) of any numeric type. - /// Can be null then no markers will be drawn. - /// - /// ID of rendering task. You can subscribe to notification about rendering completion events - /// as observer of RenderCompletion. - public override long PlotY(object y) - { - LegendTemplate = GetLegendTemplate(Color, Size); - TooltipTemplate = GetTooltipTemplate(Color, Size); - return Plot(null, y, Color, Size); - } - /// - /// Updates data in data series and starts redrawing marker graph. This method returns before - /// marker graph is redrawn. This method is not thread safe. - /// Color and size of markers are getting from and dependency properties. - /// - /// Data for X defining x coordinates of markers. - /// Can be a single value (to draw one marker or markers with the same x coordinates) - /// or an array or IEnumerable (to draw markers with different x coordinates) of any numeric type. - /// Can be null then x coordinates will be a sequence of integers starting with zero. - /// - /// Data for Y defining y coordinates of markers. - /// Can be a single value (to draw one marker or markers with the same y coordinates) - /// or an array or IEnumerable (to draw markers with different y coordinates) of any numeric type. - /// Can be null then no markers will be drawn. - /// - /// - /// Note that all vector data for should be of the same length. Otherwise no markers will be drawn. - /// - /// ID of rendering task. You can subscribe to notification about rendering completion events - /// as observer of RenderCompletion. - public override long PlotXY(object x, object y) - { - LegendTemplate = GetLegendTemplate(Color, Size); - TooltipTemplate = GetTooltipTemplate(Color, Size); - - return Plot(x, y, Color, Size); - } - /// - /// Updates data in data series and starts redrawing marker graph. This method returns before - /// marker graph is redrawn. This method is not thread safe. - /// Size of markers is getting from dependency property. - /// - /// Data for X defining x coordinates of markers. - /// Can be a single value (to draw one marker or markers with the same x coordinates) - /// or an array or IEnumerable (to draw markers with different x coordinates) of any numeric type. - /// Can be null then x coordinates will be a sequence of integers starting with zero. - /// - /// Data for Y defining y coordinates of markers. - /// Can be a single value (to draw one marker or markers with the same y coordinates) - /// or an array or IEnumerable (to draw markers with different y coordinates) of any numeric type. - /// Can be null then no markers will be drawn. - /// - /// Data for defining color of markers. - /// Can be a single value (to draw markers of one color) or an array or IEnumerable - /// (to draw markers of different colors) of any numeric type, System.Windows.Media.Color, - /// or string defining system name of a color. - /// Can be null then no markers will be drawn. - /// - /// - /// Note that all vector data for should be of the same length. Otherwise no markers will be drawn. - /// - /// ID of rendering task. You can subscribe to notification about rendering completion events - /// as observer of RenderCompletion. - public long PlotColor(object x, object y, object c) - { - LegendTemplate = GetLegendTemplate(c, Size); - TooltipTemplate = GetTooltipTemplate(c, Size); - - return Plot(x, y, c, Size); - } - /// - /// Updates data in data series and starts redrawing marker graph. This method returns before - /// marker graph is redrawn. This method is thread safe. - /// Color of markers is getting from dependency property. - /// - /// Data for X defining x coordinates of markers. - /// Can be a single value (to draw one marker or markers with the same x coordinates) - /// or an array or IEnumerable (to draw markers with different x coordinates) of any numeric type. - /// Can be null then x coordinates will be a sequence of integers starting with zero. - /// - /// Data for Y defining y coordinates of markers. - /// Can be a single value (to draw one marker or markers with the same y coordinates) - /// or an array or IEnumerable (to draw markers with different y coordinates) of any numeric type. - /// Can be null then no markers will be drawn. - /// - /// Data for defining size of markers in screen coordinates. - /// Can be a single value (to draw markers of one size) or an array or IEnumerable (to draw markers of different sizes) of - /// any numeric type. Can be null then no markers will be drawn. - /// - /// - /// Note that all vector data for should be of the same length. Otherwise no markers will be drawn. - /// - /// ID of rendering task. You can subscribe to notification about rendering completion events - /// as observer of RenderCompletion. - public long PlotSize(object x, object y, object d) - { - LegendTemplate = GetLegendTemplate(Color, d); - TooltipTemplate = GetTooltipTemplate(Color, d); - - return Plot(x, y, Color, d); - } - /// - /// Updates data in data series and starts redrawing marker graph. This method returns before - /// marker graph is redrawn. This method is not thread safe. - /// - /// Data for X defining x coordinates of markers. - /// Can be a single value (to draw one marker or markers with the same x coordinates) - /// or an array or IEnumerable (to draw markers with different x coordinates) of any numeric type. - /// Can be null then x coordinates will be a sequence of integers starting with zero. - /// - /// Data for Y defining y coordinates of markers. - /// Can be a single value (to draw one marker or markers with the same y coordinates) - /// or an array or IEnumerable (to draw markers with different y coordinates) of any numeric type. - /// Can be null then no markers will be drawn. - /// - /// Data for defining color of markers. - /// Can be a single value (to draw markers of one color) or an array or IEnumerable (to draw markers of different colors) of - /// any numeric type, System.Windows.Media.Color, or string defining system name of a color. - /// Can be null then no markers will be drawn. - /// - /// Data for defining size of markers in screen coordinates. - /// Can be a single value (to draw markers of one size) or an array or IEnumerable (to draw markers of different sizes) of - /// any numeric type. Can be null then no markers will be drawn. - /// - /// - /// Note that all vector data for should be of the same length. Otherwise no markers will be drawn. - /// - /// ID of rendering task. You can subscribe to notification about rendering completion events - /// as observer of RenderCompletion. - public long PlotColorSize(object x, object y, object c, object d) - { - LegendTemplate = GetLegendTemplate(c, d); - TooltipTemplate = GetTooltipTemplate(c, d); - - return Plot(x, y, c, d); - } - private static bool IsScalarOrNull(object obj) - { - if (obj == null || obj is string) - { - return true; - } - IEnumerable ienum = obj as IEnumerable; - if (ienum != null) - { - int n = DataSeries.GetArrayFromEnumerable(ienum).Length; - if (n == 0 || n == 1) - return true; - return false; - } - Array array = obj as Array; - if (array != null) - { - int n = array.Length; - if (n == 0 || n == 1) - return true; - return array.Rank == 1; - } - return true; - } - private DataTemplate GetLegendTemplate(object c, object d) - { - if (!IsScalarOrNull(c) && !IsScalarOrNull(d)) - return MarkerType.GetColorSizeLegendTemplate(this); - else if (!IsScalarOrNull(c)) - return MarkerType.GetColorLegendTemplate(this); - else if (!IsScalarOrNull(d)) - return MarkerType.GetSizeLegendTemplate(this); - else - return MarkerType.GetYLegendTemplate(this); - } - private DataTemplate GetTooltipTemplate(object c, object d) - { - if (!IsScalarOrNull(c) && !IsScalarOrNull(d)) - return ColorSizeMarker.GetColorSizeTooltipTemplate(this); - else if (!IsScalarOrNull(c)) - return ColorSizeMarker.GetColorTooltipTemplate(this); - else if (!IsScalarOrNull(d)) - return ColorSizeMarker.GetSizeTooltipTemplate(this); - else - return ColorSizeMarker.GetYTooltipTemplate(this); - } - /// - /// Called when property Y changes. - /// - /// Old value of propery Y. - /// New value of propery Y. - protected override void OnYChanged(object oldValue, object newValue) - { - LegendTemplate = GetLegendTemplate(Color, Size); - TooltipTemplate = GetTooltipTemplate(Color, Size); - base.OnYChanged(oldValue, newValue); - } - #region Size - /// - /// Identifies the dependency property. - /// - public static readonly DependencyProperty SizeProperty = DependencyProperty.Register( - "Size", typeof(object), typeof(CartesianSizeColorMarkerGraph), new PropertyMetadata(10.0, OnSizeChanged)); - - /// - /// Gets or sets the data for (key 'D'). - /// Can be a single value (to draw markers of one size) or an array or IEnumerable (to draw markers of different sizes) of - /// any numeric type. Can be null then no markers will be drawn. - /// If properties and are not Double.NaN then - /// is used to transform values from original range of data to the range created from and . - /// Default value is 10. - /// - [Category("InteractiveDataDisplay")] - [Description("Series to define marker sizes")] - public object Size - { - get { return (object)GetValue(SizeProperty); } - set { SetValue(SizeProperty, value); } - } - - private static void OnSizeChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) - { - CartesianSizeColorMarkerGraph mg = (CartesianSizeColorMarkerGraph)d; - mg.LegendTemplate = mg.GetLegendTemplate(mg.Color, e.NewValue); - mg.TooltipTemplate = mg.GetTooltipTemplate(mg.Color, e.NewValue); - mg.Sources["D"].Data = e.NewValue; - } - #endregion - #region Color - /// - /// Identifies the dependency property. - /// - public static readonly DependencyProperty ColorProperty = DependencyProperty.Register( - "Color", typeof(object), typeof(CartesianSizeColorMarkerGraph), new PropertyMetadata("Black", OnColorChanged)); - - /// - /// Gets or sets the data for (key 'C'). - /// Can be a single value (to draw markers of one color) or an array or IEnumerable (to draw markers of different colors) of - /// any numeric type, System.Windows.Media.Color, or string defining system name or hexadecimal representation (#AARRGGBB) of a color. - /// Can be null then no markers will be drawn. - /// Default value is black color. - /// - [Category("InteractiveDataDisplay")] - [Description("Series to define marker colors")] - public object Color - { - get { return (object)GetValue(ColorProperty); } - set { SetValue(ColorProperty, value); } - } - - private static void OnColorChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) - { - CartesianSizeColorMarkerGraph mg = (CartesianSizeColorMarkerGraph)d; - mg.LegendTemplate = mg.GetLegendTemplate(e.NewValue, mg.Size); - mg.TooltipTemplate = mg.GetTooltipTemplate(e.NewValue, mg.Size); - mg.Sources["C"].Data = e.NewValue; - } - #endregion - #region SizeDescription - /// - /// Identifies the dependency property. - /// - public static readonly DependencyProperty SizeDescriptionProperty = DependencyProperty.Register( - "SizeDescription", typeof(string), typeof(CartesianSizeColorMarkerGraph), - new PropertyMetadata(null, OnSizeDescriptionChanged)); - - /// - /// Gets or sets the description of . - /// Default value is null. - /// - [Category("InteractiveDataDisplay")] - [Description("Size series description")] - public string SizeDescription - { - get { return (string)GetValue(SizeDescriptionProperty); } - set { SetValue(SizeDescriptionProperty, value); } - } - - private static void OnSizeDescriptionChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) - { - CartesianSizeColorMarkerGraph mg = (CartesianSizeColorMarkerGraph)d; - mg.Sources["D"].Description = (string)e.NewValue; - } - #endregion - #region ColorDescription - /// - /// Identifies the dependency property. - /// - public static readonly DependencyProperty ColorDescriptionProperty = DependencyProperty.Register( - "ColorDescription", typeof(string), typeof(CartesianSizeColorMarkerGraph), - new PropertyMetadata(null, OnColorDescriptionChanged)); - - /// - /// Gets or sets the description of . - /// Default value is null. - /// - [Category("InteractiveDataDisplay")] - [Description("Color series description")] - public string ColorDescription - { - get { return (string)GetValue(ColorDescriptionProperty); } - set { SetValue(ColorDescriptionProperty, value); } - } - - private static void OnColorDescriptionChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) - { - CartesianSizeColorMarkerGraph mg = (CartesianSizeColorMarkerGraph)d; - mg.Sources["C"].Description = (string)e.NewValue; - } - #endregion - #region Min - /// - /// Identifies the dependency property. - /// - public static readonly DependencyProperty MinProperty = DependencyProperty.Register( - "Min", typeof(double), typeof(CartesianSizeColorMarkerGraph), new PropertyMetadata(Double.NaN, OnMinChanged)); - - /// - /// Gets or sets screen size corresponding to minimal value in size series. - /// Default value is Double.NaN. - /// - [Category("InteractiveDataDisplay")] - [Description("Minimal screen size of marker")] - public double Min - { - get { return (double)GetValue(MinProperty); } - set { SetValue(MinProperty, value); } - } - - private static void OnMinChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) - { - CartesianSizeColorMarkerGraph mg = (CartesianSizeColorMarkerGraph)d; - (mg.Sources["D"] as SizeSeries).Min = Convert.ToDouble(e.NewValue, CultureInfo.InvariantCulture); ; - } - #endregion - #region Max - /// - /// Identifies the dependency property. - /// - public static readonly DependencyProperty MaxProperty = DependencyProperty.Register( - "Max", typeof(double), typeof(CartesianSizeColorMarkerGraph), new PropertyMetadata(Double.NaN, OnMaxChanged)); - - /// - /// Gets or sets screen size corresponding to maximum value in size series. - /// Default value is Double.NaN. - /// - [Category("InteractiveDataDisplay")] - [Description("Maximum screen size of marker")] - public double Max - { - get { return (double)GetValue(MaxProperty); } - set { SetValue(MaxProperty, value); } - } - - private static void OnMaxChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) - { - CartesianSizeColorMarkerGraph mg = (CartesianSizeColorMarkerGraph)d; - (mg.Sources["D"] as SizeSeries).Max = Convert.ToDouble(e.NewValue, CultureInfo.InvariantCulture); ; - } - #endregion - #region Palette - /// - /// Identifies the dependency property. - /// - public static readonly DependencyProperty PaletteProperty = DependencyProperty.Register( - "Palette", typeof(IPalette), typeof(CartesianSizeColorMarkerGraph), new PropertyMetadata(null, OnPaletteChanged)); - - /// - /// Gets or sets the color palette for markers. Defines mapping of values to colors. - /// Is used only if the data of is of numeric type. - /// Default value is null. - /// - [TypeConverter(typeof(StringToPaletteTypeConverter))] - [Category("InteractiveDataDisplay")] - [Description("Defines mapping of values to colors")] - public IPalette Palette - { - get { return (IPalette)GetValue(PaletteProperty); } - set { SetValue(PaletteProperty, value); } - } - - private static void OnPaletteChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) - { - CartesianSizeColorMarkerGraph mg = (CartesianSizeColorMarkerGraph)d; - (mg.Sources["C"] as ColorSeries).Palette = e.NewValue as IPalette; - } - #endregion - #region MarkerType - /// - /// Identifies the dependency property. - /// - public static readonly DependencyProperty MarkerTypeProperty = DependencyProperty.Register( - "MarkerType", typeof(ColorSizeMarker), typeof(CartesianSizeColorMarkerGraph), new PropertyMetadata(null, OnMarkerTypeChanged)); - - /// - /// Gets or sets one of predefined types for markers. - /// Default value is null. - /// - [Category("InteractiveDataDisplay")] - [Description("One of predefined marker types")] - public ColorSizeMarker MarkerType - { - get { return (ColorSizeMarker)GetValue(MarkerTypeProperty); } - set { SetValue(MarkerTypeProperty, value); } - } - - private static void OnMarkerTypeChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) - { - CartesianSizeColorMarkerGraph mg = (CartesianSizeColorMarkerGraph)d; - mg.MarkerTemplate = mg.MarkerType.GetMarkerTemplate(mg); - } - #endregion - } - /// - /// An abstract class providing methods to get templates for markers that use color and size. - /// - public abstract class ColorSizeMarker - { - /// - /// Gets a template for markers. - /// - /// Marker graph to get template for. - /// A template used for markers of particular marker graph. - public abstract DataTemplate GetMarkerTemplate(MarkerGraph mg); - /// - /// Gets template for marker legend with information about Y . - /// - /// Marker graph to get template for. - /// A template used for legend of particular marker graph. - public abstract DataTemplate GetYLegendTemplate(MarkerGraph mg); - /// - /// Gets template for marker legend with information about Y and . - /// - /// Marker graph to get template for. - /// A template used for legend of particular marker graph. - public abstract DataTemplate GetColorLegendTemplate(MarkerGraph mg); - /// - /// Gets template for marker legend with information about Y and . - /// - /// Marker graph to get template for. - /// A template used for legend of particular marker graph. - public abstract DataTemplate GetSizeLegendTemplate(MarkerGraph mg); - /// - /// Gets template for marker legend with information about Y , - /// and . - /// - /// Marker graph to get template for. - /// A template used for legend of particular marker graph. - public abstract DataTemplate GetColorSizeLegendTemplate(MarkerGraph mg); - /// - /// Gets template for marker tooltip with information about Y . - /// - /// Marker graph to get template for. - /// A template used for tooltip of particular marker graph or null if marker graph is null. - public static DataTemplate GetYTooltipTemplate(MarkerGraph mg) - { - if (mg == null) - return null; - return mg.DefaultTooltipTemplate; - } - /// - /// Gets template for marker tooltip with information about Y and . - /// - /// Marker graph to get template for. - /// A template used for tooltip of particular marker graph or null if marker graph is null. - public static DataTemplate GetColorTooltipTemplate(MarkerGraph mg) - { - if (mg == null) - return null; - return mg.ColorTooltip; - } - /// - /// Gets template for marker tooltip with information about Y and . - /// - /// Marker graph to get template for. - /// A template used for tooltip of particular marker graph or null if marker graph is null. - public static DataTemplate GetSizeTooltipTemplate(MarkerGraph mg) - { - if (mg == null) - return null; - return mg.SizeTooltip; - } - /// - /// Gets template for marker tooltip with information about Y , and . - /// - /// Marker graph to get template for. - /// A template used for tooltip of particular marker graph or null if marker graph is null. - public static DataTemplate GetColorSizeTooltipTemplate(MarkerGraph mg) - { - if (mg == null) - return null; - return mg.ColorSizeTooltip; - } - } - /// - /// Provides methods to get predefined templates for circle markers. - /// - public class CircleMarker : ColorSizeMarker - { - /// - /// Gets template for circle markers. - /// - /// Marker graph to get template for. - /// A template used for markers of particular marker graph or null if marker graph is null. - public override DataTemplate GetMarkerTemplate(MarkerGraph mg) - { - if (mg == null) - return null; - return mg.Circle; - } - /// - /// Gets template for circle marker legend with information about Y . - /// - /// Marker graph to get template for. - /// A template used for legend of particular marker graph or null if marker graph is null. - public override DataTemplate GetYLegendTemplate(MarkerGraph mg) - { - if (mg == null) - return null; - return mg.CircleLegend; - } - /// - /// Gets template for circle marker legend with information about Y and . - /// - /// Marker graph to get template for. - /// A template used for legend of particular marker graph or null if marker graph is null. - public override DataTemplate GetColorLegendTemplate(MarkerGraph mg) - { - if (mg == null) - return null; - return mg.CircleColorLegend; - } - - /// - /// Gets template for circle marker legend with information about Y and . - /// - /// Marker graph to get template for. - /// A template used for legend of particular marker graph or null if marker graph is null. - public override DataTemplate GetSizeLegendTemplate(MarkerGraph mg) - { - if (mg == null) - return null; - return mg.CircleSizeLegend; - } - - /// - /// Gets template for circle marker legend with information about Y , and . - /// - /// Marker graph to get template for. - /// A template used for legend of particular marker graph or null if marker graph is null. - public override DataTemplate GetColorSizeLegendTemplate(MarkerGraph mg) - { - if (mg == null) - return null; - return mg.CircleColorSizeLegend; - } - } - /// - /// Provides methods to get predefined templates for box markers. - /// - public class BoxMarker : ColorSizeMarker - { - /// - /// Gets template for box markers. - /// - /// Marker graph to get template for. - /// A template used for markers of particular marker graph or null if marker graph is null. - public override DataTemplate GetMarkerTemplate(MarkerGraph mg) - { - if (mg == null) - return null; - return mg.Box; - } - - /// - /// Gets template for box marker legend with information about Y . - /// - /// Marker graph to get template for. - /// A template used for legend of particular marker graph or null if marker graph is null. - public override DataTemplate GetYLegendTemplate(MarkerGraph mg) - { - if (mg == null) - return null; - return mg.BoxLegend; - } - - /// - /// Gets template for box marker legend with information about Y and . - /// - /// Marker graph to get template for. - /// A template used for legend of particular marker graph or null if marker graph is null. - public override DataTemplate GetColorLegendTemplate(MarkerGraph mg) - { - if (mg == null) - return null; - return mg.BoxColorLegend; - } - - /// - /// Gets template for box marker legend with information about Y and . - /// - /// Marker graph to get template for. - /// A template used for legend of particular marker graph or null if marker graph is null. - public override DataTemplate GetSizeLegendTemplate(MarkerGraph mg) - { - if (mg == null) - return null; - return mg.BoxSizeLegend; - } - - /// - /// Gets template for box marker legend with information about Y , and . - /// - /// Marker graph to get template for. - /// A template used for legend of particular marker graph or null if marker graph is null. - public override DataTemplate GetColorSizeLegendTemplate(MarkerGraph mg) - { - if (mg == null) - return null; - return mg.BoxColorSizeLegend; - } - } - - /// - /// Provides methods to get predefined templates for cross markers. - /// - public class CrossMarker : ColorSizeMarker - { - /// - /// Gets template for cross markers. - /// - /// Marker graph to get template for. - /// A template used for markers of particular marker graph or null if marker graph is null. - public override DataTemplate GetMarkerTemplate(MarkerGraph mg) - { - if (mg == null) - return null; - return mg.Cross; - } - - /// - /// Gets template for cross marker legend with information about Y . - /// - /// Marker graph to get template for. - /// A template used for legend of particular marker graph or null if marker graph is null. - public override DataTemplate GetYLegendTemplate(MarkerGraph mg) - { - if (mg == null) - return null; - return mg.CrossLegend; - } - - /// - /// Gets template for cross marker legend with information about Y and . - /// - /// Marker graph to get template for. - /// A template used for legend of particular marker graph or null if marker graph is null. - public override DataTemplate GetColorLegendTemplate(MarkerGraph mg) - { - if (mg == null) - return null; - return mg.CrossColorLegend; - } - - /// - /// Gets template for cross marker legend with information about Y and . - /// - /// Marker graph to get template for. - /// A template used for legend of particular marker graph or null if marker graph is null. - public override DataTemplate GetSizeLegendTemplate(MarkerGraph mg) - { - if (mg == null) - return null; - return mg.CrossSizeLegend; - } - - /// - /// Gets template for cross marker legend with information about Y , and . - /// - /// Marker graph to get template for. - /// A template used for legend of particular marker graph or null if marker graph is null. - public override DataTemplate GetColorSizeLegendTemplate(MarkerGraph mg) - { - if (mg == null) - return null; - return mg.CrossColorSizeLegend; - } - } - - /// - /// Provides methods to get predefined templates for diamond markers. - /// - public class DiamondMarker : ColorSizeMarker - { - /// - /// Gets template for diamond markers. - /// - /// Marker graph to get template for. - /// A template used for markers of particular marker graph or null if marker graph is null. - public override DataTemplate GetMarkerTemplate(MarkerGraph mg) - { - if (mg == null) - return null; - return mg.Diamond; - } - - /// - /// Gets template for diamond marker legend with information about Y . - /// - /// Marker graph to get template for. - /// A template used for legend of particular marker graph or null if marker graph is null. - public override DataTemplate GetYLegendTemplate(MarkerGraph mg) - { - if (mg == null) - return null; - return mg.DiamondLegend; - } - - /// - /// Gets template for diamond marker legend with information about Y and . - /// - /// Marker graph to get template for. - /// A template used for legend of particular marker graph or null if marker graph is null. - public override DataTemplate GetColorLegendTemplate(MarkerGraph mg) - { - if (mg == null) - return null; - return mg.DiamondColorLegend; - } - - /// - /// Gets template for diamond marker legend with information about Y and . - /// - /// Marker graph to get template for. - /// A template used for legend of particular marker graph or null if marker graph is null. - public override DataTemplate GetSizeLegendTemplate(MarkerGraph mg) - { - if (mg == null) - return null; - return mg.DiamondSizeLegend; - } - - /// - /// Gets template for diamond marker legend with information about Y , and . - /// - /// Marker graph to get template for. - /// A template used for legend of particular marker graph or null if marker graph is null. - public override DataTemplate GetColorSizeLegendTemplate(MarkerGraph mg) - { - if (mg == null) - return null; - return mg.DiamondColorSizeLegend; - } - } - - /// - /// Provides methods to get predefined templates for triangle markers. - /// - public class TriangleMarker : ColorSizeMarker - { - /// - /// Gets template for triangle markers. - /// - /// Marker graph to get template for. - /// A template used for markers of particular marker graph or null if marker graph is null. - public override DataTemplate GetMarkerTemplate(MarkerGraph mg) - { - if (mg == null) - return null; - return mg.Triangle; - } - - /// - /// Gets template for triangle marker legend with information about Y . - /// - /// Marker graph to get template for. - /// A template used for legend of particular marker graph or null if marker graph is null. - public override DataTemplate GetYLegendTemplate(MarkerGraph mg) - { - if (mg == null) - return null; - return mg.TriangleLegend; - } - - /// - /// Gets template for triangle marker legend with information about Y and . - /// - /// Marker graph to get template for. - /// A template used for legend of particular marker graph or null if marker graph is null. - public override DataTemplate GetColorLegendTemplate(MarkerGraph mg) - { - if (mg == null) - return null; - return mg.TriangleColorLegend; - } - - /// - /// Gets template for triangle marker legend with information about Y and . - /// - /// Marker graph to get template for. - /// A template used for legend of particular marker graph or null if marker graph is null. - public override DataTemplate GetSizeLegendTemplate(MarkerGraph mg) - { - if (mg == null) - return null; - return mg.TriangleSizeLegend; - } - - /// - /// Gets template for triangle marker legend with information about Y , and . - /// - /// Marker graph to get template for. - /// A template used for legend of particular marker graph or null if marker graph is null. - public override DataTemplate GetColorSizeLegendTemplate(MarkerGraph mg) - { - if (mg == null) - return null; - return mg.TriangleColorSizeLegend; - } - } -} - diff --git a/vendors/optick/gui/InteractiveDataDisplay.WPF/Plots/Markers/DataSeries.cs b/vendors/optick/gui/InteractiveDataDisplay.WPF/Plots/Markers/DataSeries.cs deleted file mode 100644 index 0c28fc1a4..000000000 --- a/vendors/optick/gui/InteractiveDataDisplay.WPF/Plots/Markers/DataSeries.cs +++ /dev/null @@ -1,806 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. -// Licensed under the MIT License. - -using System; -using System.Linq; -using System.Windows; -using System.Collections.Generic; -using System.Windows.Data; -using System.Collections.ObjectModel; -using System.Windows.Media; -using System.Collections; -using System.Globalization; -using System.Diagnostics; -using System.ComponentModel; - -namespace InteractiveDataDisplay.WPF -{ - /// - /// Represents one data series (or variable). - /// - public class DataSeries : DependencyObject - { - /// - /// Occurs when a value of property was changed. - /// - public event EventHandler DataChanged; - - private double minValue = Double.NaN; - private double maxValue = Double.NaN; - private Array cachedEnum; // Cached values from IEnumerable - - /// - /// Gets or sets the unique key of data series. Data series is accessed by this key when - /// drawing markers and composing a legend. - /// - public string Key { get; set; } - - /// - /// Gets or sets the readable description of this data series. It is shown in legend by default. - /// Default value is null. - /// - public string Description - { - get { return (string)GetValue(DescriptionProperty); } - set { SetValue(DescriptionProperty, (string)value); } - } - - /// - /// Identifies the dependency property. - /// - public static readonly DependencyProperty DescriptionProperty = - DependencyProperty.Register("Description", typeof(string), typeof(DataSeries), - new PropertyMetadata(null, OnDescriptionPropertyChanged)); - - private static void OnDescriptionPropertyChanged(object sender, DependencyPropertyChangedEventArgs e) - { - var ds = sender as DataSeries; - if (ds.DataChanged != null) ds.DataChanged(ds, new EventArgs()); - } - - /// - /// Gets or sets the data source for data series. This can be IEnumerable or 1D array for vector data or scalar objects. - /// Default value is null. - /// - public object Data - { - get { return GetValue(DataProperty); } - set { SetValue(DataProperty, value); } - } - - /// - /// Identifies the dependency property. - /// - public static readonly DependencyProperty DataProperty = - DependencyProperty.Register("Data", typeof(object), typeof(DataSeries), - new PropertyMetadata(OnDataPropertyChanged)); - - private static void OnDataPropertyChanged(object sender, DependencyPropertyChangedEventArgs e) - { - ((DataSeries)sender).Update(); - } - - /// - /// A method to raise event. - /// - protected void RaiseDataChanged() - { - if (DataChanged != null) - DataChanged(this, EventArgs.Empty); - } - - /// - /// Forces this data series to be updated. - /// Is usually called if items of data array were changed, but reference to array itself remained the same. - /// - public void Update() - { - minValue = Double.NaN; - maxValue = Double.NaN; - cachedEnum = null; - First = FindFirstDataItem(); - - RaiseDataChanged(); - } - - /// - /// Gets the first value in data series. - /// Returns null if is null. - /// - public object First - { - get { return (object)GetValue(FirstProperty); } - internal set { SetValue(FirstProperty, value); } - } - - /// - /// Identifies the dependency property. - /// - public static readonly DependencyProperty FirstProperty = - DependencyProperty.Register("First", typeof(object), typeof(DataSeries), new PropertyMetadata(null)); - - /// - /// Gets the first value in data series and converts it if is specified. - /// - /// Converted first value. - public object FindFirstDataItem() - { - object uc = GetFirstUnconvertedDataItem(); - if (uc != null && Converter != null) - return Converter.Convert(uc, null, this, CultureInfo.InvariantCulture); - else - return uc; - } - - /// - /// Converts the elements of an System.Collection.IEnumerable to System.Array. - /// - /// An instance of System.Collection.IEnumerable class. - /// An instance of System.Array class. - public static Array GetArrayFromEnumerable(IEnumerable enumerable) - { - return enumerable.Cast().ToArray(); - } - - internal Array GetCachedEnumerable(IEnumerable ie) - { - if (cachedEnum == null) - cachedEnum = GetArrayFromEnumerable(ie); - return cachedEnum; - } - - private object GetFirstUnconvertedDataItem() - { - Array a = Data as Array; - if (a != null) - { - if (a.Length > 0) - return a.GetValue(0); - else - return null; // Data series has zero length - no first item available - } - else - { - IEnumerable ie = Data as IEnumerable; - if (ie != null && !(Data is string)) - { - IEnumerator ir = ie.GetEnumerator(); - if (ir.MoveNext()) - return ir.Current; - else - return null; // Data series has no elements - no first item available - } - else if (Data != null) - return Data; - else - return null; // Data series is null - no first item available - } - } - - /// - /// Returns the minimum value in data series if it is numeric or Double.NaN in other cases. - /// - public double MinValue - { - get - { - if (Double.IsNaN(minValue)) - { - try - { - var a = Data as Array; - if (a == null) - { - var ie = Data as IEnumerable; - if(ie != null) - a = GetArrayFromEnumerable(ie); - } - if (a != null && !(Data is string)) - { - double min = a.Length > 0 ? Convert.ToDouble(a.GetValue(0), CultureInfo.InvariantCulture) : Double.NaN; - double temp = 0; - foreach (object obj in a) - { - temp = Convert.ToDouble(obj, CultureInfo.InvariantCulture); - if (temp < min) - min = temp; - } - minValue = min; - } - else - { - if (this.Data is Byte || this.Data is SByte || - this.Data is Int16 || this.Data is Int32 || this.Data is Int64 || - this.Data is UInt16 || this.Data is UInt32 || this.Data is UInt64 || - this.Data is Single || this.Data is Double || this.Data is Decimal) - { - double d = Convert.ToDouble(this.Data, CultureInfo.InvariantCulture); - minValue = d; - } - } - } - catch (Exception exc) - { - Debug.WriteLine("Cannot find Min in " + this.Key + " DataSeries: " + exc.Message); - minValue = Double.NaN; - } - } - return minValue; - } - } - - /// - /// Returns the maximum value in data series if it is numeric or Double.NaN in other cases. - /// - public double MaxValue - { - get - { - if (Double.IsNaN(maxValue)) - try - { - Array a = Data as Array; - if (a == null) - { - var ie = Data as IEnumerable; - if(ie != null) - a = GetArrayFromEnumerable(ie); - } - if (a != null && !(Data is string)) - { - double max = a.Length > 0 ? Convert.ToDouble(a.GetValue(0), CultureInfo.InvariantCulture) : Double.NaN; - double temp = 0; - foreach (object obj in a) - { - temp = Convert.ToDouble(obj, CultureInfo.InvariantCulture); - if (temp > max) - max = temp; - } - maxValue = max; - } - else - { - if (this.Data is Byte || this.Data is SByte || - this.Data is Int16 || this.Data is Int32 || this.Data is Int64 || - this.Data is UInt16 || this.Data is UInt32 || this.Data is UInt64 || - this.Data is Single || this.Data is Double || this.Data is Decimal) - { - double d = Convert.ToDouble(this.Data, CultureInfo.InvariantCulture); - maxValue = d; - } - } - } - catch (Exception exc) - { - Debug.WriteLine("Cannot find Max in " + this.Key + " DataSeries: " + exc.Message); - } - return maxValue; - } - } - - /// - /// Gets data series length (the length of if it is vector or one if it is scalar). - /// Returns 0 for series with null properties. - /// - public int Length - { - get - { - var arr = Data as Array; - if (arr != null) - return arr.Length; - else - { - var ie = Data as IEnumerable; - if (ie != null && !(Data is string)) // String is also IEnumerable, but we tread them as scalars - return GetCachedEnumerable(ie).Length; - else - return (Data == null) ? (0) : (1); - } - } - } - - /// - /// Returns true if data series is scalar or false otherwise. - /// Returns true for series with null properties. - /// - public bool IsScalar - { - get - { - if (Data == null || Data is string) - return true; - else if (Data is Array || Data is IEnumerable) - return false; - else - return true; - } - } - - /// - /// Gets or sets the converter which is applied to all objects in data series before binding to marker template. - /// May be null, which means identity conversion. - /// - public IValueConverter Converter { get; set; } - - /// - /// Gets the marker graph than owns that series. - /// - public MarkerGraph Owner { get; internal set; } - } - - /// - /// Represents a collection of data series. - /// - public class DataCollection : ObservableCollection - { - private Dictionary lookup; - DynamicDataCollection dynamicCollection; - bool isValid; - int markerCount; - - /// - /// Occurs when an item in the collection or entire collection changes. - /// - public event EventHandler DataSeriesUpdated; - - /// - /// Initializes a new empty instance of class. - /// - public DataCollection() - { } - - /// - /// Looks up for with specified . If found assigns it to the - /// output parameter and returns true. Returns false if no series with specified name was found. - /// - /// The key of data series to search for. - /// Output parameter for found series. - /// True if data series was found or false otherwise. - public bool TryGetValue(string name, out DataSeries result) - { - if (lookup == null) - { - lookup = new Dictionary(); - foreach (var ds in this) - lookup.Add(ds.Key, ds); - } - return lookup.TryGetValue(name, out result); - } - - /// - /// Checks whether a collection contains with specified . - /// - /// The key of data series. - /// True is data series is in collection or false otherwise. - public bool ContainsSeries(string name) - { - DataSeries dummy; - return TryGetValue(name, out dummy); - } - - /// - /// Gets the index of with "X". If there is no one returns -1. - /// - /// Index of X in current collection. - public int XSeriesNumber - { - get - { - DataSeries dummy; - TryGetValue("X", out dummy); - if (dummy == null) - return -1; - else - return this.IndexOf(dummy); - } - } - - /// - /// Gets the first in collection with specified . - /// - /// The key of data series. - /// The first data series in collection with specified key. - public DataSeries this[string name] - { - get - { - DataSeries result; - if (TryGetValue(name, out result)) - return result; - else - return null; - } - } - - /// - /// Gets with generated properties to get data series by key. - /// Used in bindings in legend templates. - /// - public DynamicDataCollection Emitted - { - get { return dynamicCollection; } - } - - /// - /// Return true if collection is valid and can be drawn, false otherwise. - /// - /// Collection is valid if all the vector data of data series are of equal length and - /// all data series have a defined unique key. - /// - /// - public bool IsValid - { - get { return isValid; } - } - - /// - /// Gets the count of markers to draw. - /// - /// If any data of data series in collection is a vector then the count of markers is vector's length. - /// Otherwise only one marker will be drawn. - /// If any data series (except for data series with key "X") has null data then no markers will be drawn. - /// - /// - public int MarkerCount - { - get { return markerCount; } - } - - /// - /// Raises the event with the provided event data. - /// - /// Provided data for collection changing event. - protected override void OnCollectionChanged(System.Collections.Specialized.NotifyCollectionChangedEventArgs e) - { - Type dynamic = DynamicTypeGenerator.GenerateDataCollectionType(this); - dynamicCollection = Activator.CreateInstance(dynamic, this) as DynamicDataCollection; - - CheckDataCollection(); - base.OnCollectionChanged(e); - if (e == null) - { - throw new ArgumentNullException("e"); - } - if (e.OldItems != null) - foreach (DataSeries item in e.OldItems) - item.DataChanged -= OnSeriesDataChanged; - if (e.NewItems != null) - foreach (DataSeries item in e.NewItems) - item.DataChanged += OnSeriesDataChanged; - lookup = null; - - OnPropertyChanged(new PropertyChangedEventArgs("Emitted")); - } - - private void OnSeriesDataChanged(object sender, EventArgs e) - { - CheckDataCollection(); - if (DataSeriesUpdated != null) - { - var ds = sender as DataSeries; - if (ds != null) - DataSeriesUpdated(this, new DataSeriesUpdatedEventArgs(ds.Key)); - } - lookup = null; - } - - private void CheckDataCollection() - { - int n = 0; - isValid = true; - - var vs = this.Where(s => !s.IsScalar).FirstOrDefault(); - if (vs != null) - n = vs.Length; // Take length of first vector series - else - { - var ns = this.Where(s => s.Data != null).FirstOrDefault(); // Find any scalar series with non-null data - if (ns != null) - n = 1; - } - - var ser = this.Where(s => (s.Data == null && s.Key != "X")).FirstOrDefault(); - if (ser == null) - markerCount = n; - else - markerCount = 0; - - foreach (DataSeries ds in this) - { - if (!ds.IsScalar && n != ds.Length) - isValid = false; - - if (String.IsNullOrEmpty(ds.Key)) - isValid = false; - - for (int i = 0; i < this.Count; i++) - if (this[i] != ds && this[i].Key == ds.Key) - { - this.Remove(ds); - isValid = false; - } - } - } - } - - /// - /// Provides event data for the event. - /// - public class DataSeriesUpdatedEventArgs : EventArgs - { - private string key; - - /// - /// Initializes a new instance of the class. - /// - /// The of the updated . - public DataSeriesUpdatedEventArgs(string key) - { - this.key = key; - } - - /// - /// Gets the of the updated . - /// - public string Key { get { return key; } } - } - - /// - /// Provides an access to all the information about one specific marker. - /// - public class MarkerViewModel : INotifyPropertyChanged - { - int row; - bool useConverters = true; - DataCollection dataCollection; - MarkerViewModel sourceModel; - - /// - /// Initializes a new instance of class that uses converters. - /// - /// The number of marker. - /// A collection of data series. - public MarkerViewModel(int row, DataCollection collection) : - this(row, collection, true) - { /* Nothing to do here */ } - - /// - /// Initializes a new instance of class. - /// - /// The number of marker. - /// A collection of data series. - /// A value indicating should converters be used or not. - protected MarkerViewModel(int row, DataCollection collection, bool converters) - { - this.row = row; - this.dataCollection = collection; - this.useConverters = converters; - } - - /// - /// Gets the (a specially created wrapper for ) - /// this instance of class is associated with. - /// - public DynamicDataCollection Series - { - get { return dataCollection.Emitted; } - } - - /// - /// Gets a new instance of class with the same fields but which doesn't use converters. - /// - public MarkerViewModel Sources - { - get - { - if (sourceModel == null) - sourceModel = new MarkerViewModel(row, dataCollection, false); - return sourceModel; - } - } - internal int Row - { - get { return row; } - set - { - row = value; - if (sourceModel != null) - sourceModel.Row = value; - } - } - /// - /// Returns the value of a specific property. - /// - /// The of data series associated with the property. - /// - public object this[string name] - { - get - { - // Find data series by name - var dataSeries = dataCollection[name]; - if (dataSeries == null || dataSeries.Data == null) - if(name == "X") - return row; - else - return null; - - // Get value - object value = null; - var arr = dataSeries.Data as Array; - if (arr != null) - { - if(row < arr.Length) - value = arr.GetValue(row); - } - else - { - var ie = dataSeries.Data as IEnumerable; - if (ie != null && !(dataSeries.Data is string)) // String is also IEnumerable - { - var ce = dataSeries.GetCachedEnumerable(ie); - if (row < ce.Length) - value = ce.GetValue(row); - } - else - value = dataSeries.Data; - } - - // Apply converter if needed - if (useConverters && value != null && dataSeries.Converter != null) - return dataSeries.Converter.Convert(value, typeof(object), dataSeries, null); - else - return value; - } - } - /// - /// Returns the value of a specific property. - /// - /// The index of associated with the property. - /// Value of a property with index . - public object GetValue(int i) - { - // Get data series by inex - var dataSeries = dataCollection[i]; - if (dataSeries.Data == null) - if (dataSeries.Key == "X") - return row; - else - return null; - - // Get value - object value = null; - var arr = dataSeries.Data as Array; - if (arr != null) - { - if(row < arr.Length) - value = arr.GetValue(row); - } - else - { - var ie = dataSeries.Data as IEnumerable; - if (ie != null && !(dataSeries.Data is string)) // String is also IEnumerable - { - var ce = dataSeries.GetCachedEnumerable(ie); - if(row < ce.Length) - value = ce.GetValue(row); - } - else - value = dataSeries.Data; - } - - // Apply converter if needed - if (useConverters && value != null && dataSeries.Converter != null) - return dataSeries.Converter.Convert(value, typeof(object), dataSeries, null); - else - return value; - } - - /// - /// Returns the value of a specific property without convertion. - /// - /// The index of data series associated with the property. - /// Value of a property with index without convertion. - public object GetOriginalValue(int i) - { - return Sources.GetValue(i); - } - - /// - /// Gets the value of with key "X". - /// - public object X - { - get - { - int i = dataCollection.XSeriesNumber; - if (i == -1) - return row; - else - return GetValue(i); - } - } - - /// - /// Gets the value of with key "X" without convertion. - /// - public object OriginalX - { - get - { - int i = dataCollection.XSeriesNumber; - if (i == -1) - return row; - else - return GetOriginalValue(i); - } - } - - /// - /// Gets the stroke of a parent of . - /// - public SolidColorBrush Stroke - { - get - { - if (dataCollection.Count > 0) - if (dataCollection[0].Owner != null) - return dataCollection[0].Owner.Stroke; - return null; - } - } - - /// - /// Gets the stroke thickness of a parent of . - /// - public double StrokeThickness - { - get - { - if (dataCollection.Count > 0) - if (dataCollection[0].Owner != null) - return dataCollection[0].Owner.StrokeThickness; - return 0; - } - } - - /// - /// Gets current instance of . - /// - public MarkerViewModel This - { - get { return this; } - } - - /// - /// Event that occurs when a property value changes. - /// - public event PropertyChangedEventHandler PropertyChanged; - - private void NotifyPropertyChanged(String info) - { - if (PropertyChanged != null) - { - PropertyChanged(this, new PropertyChangedEventArgs(info)); - } - } - - /// - /// Notifies all bindings that all properies of have changed. - /// - public void Notify(string[] props) - { - if (props == null) - NotifyPropertyChanged(null); - else - { - foreach (var p in props) - NotifyPropertyChanged(p); - if(props.Length > 0) - NotifyPropertyChanged("This"); - } - } - } -} - diff --git a/vendors/optick/gui/InteractiveDataDisplay.WPF/Plots/Markers/DynamicMarkerViewModel.cs b/vendors/optick/gui/InteractiveDataDisplay.WPF/Plots/Markers/DynamicMarkerViewModel.cs deleted file mode 100644 index 76389a898..000000000 --- a/vendors/optick/gui/InteractiveDataDisplay.WPF/Plots/Markers/DynamicMarkerViewModel.cs +++ /dev/null @@ -1,151 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. -// Licensed under the MIT License. - -using System; -using System.Reflection.Emit; -using System.Reflection; -using System.Globalization; - -namespace InteractiveDataDisplay.WPF -{ - /// - /// Class that inherits and is created dynamically. - /// Provides properties for bindings to get values from by its key. - /// - public class DynamicMarkerViewModel : MarkerViewModel - { - /// - /// Creates a new instance of class. - /// - /// The number of marker. - /// A collection of data series. - /// A value indicating should converters be used or not. - public DynamicMarkerViewModel(int row, DataCollection collection, bool converters) - : base(row, collection, converters) { } - } - /// - /// A wrapper to that is created dynamically. - /// Provides generated properties for bindings to get from collection by key. - /// - public class DynamicDataCollection - { - private DataCollection dataCollection; - - /// - /// Creates a new instance of class. - /// - /// A collection of data series. - public DynamicDataCollection(DataCollection collection) - { - dataCollection = collection; - } - - /// - /// Gets from by index. - /// - /// Index of required data series. - /// Data series of specific index. - public DataSeries GetDataSeries(int i) - { - return dataCollection[i]; - } - } - internal static class DynamicTypeGenerator - { - private static ModuleBuilder mb = null; - private static int typeModelCount = 0; - private static int typeCollectionCount = 0; - - public static Type GenerateMarkerViewModelType(DataCollection collection) - { - if (mb == null) - { - AssemblyName aName = new AssemblyName("InteractiveDataDisplayAssembly2"); - AssemblyBuilder ab = AppDomain.CurrentDomain.DefineDynamicAssembly(aName, AssemblyBuilderAccess.Run); - mb = ab.DefineDynamicModule(aName.Name); - } - TypeBuilder tb = mb.DefineType("DynamicMarkerViewModel_" + (typeModelCount++).ToString(CultureInfo.InvariantCulture), - TypeAttributes.Public, - typeof(DynamicMarkerViewModel)); - - Type[] parameterTypes = { typeof(int), typeof(DataCollection), typeof(bool) }; - ConstructorBuilder ctor = tb.DefineConstructor(MethodAttributes.Public, CallingConventions.Standard, parameterTypes); - ILGenerator ctorIL = ctor.GetILGenerator(); - ctorIL.Emit(OpCodes.Ldarg_0); - ctorIL.Emit(OpCodes.Ldarg_1); - ctorIL.Emit(OpCodes.Ldarg_2); - ctorIL.Emit(OpCodes.Ldarg_3); - ctorIL.Emit(OpCodes.Call, typeof(DynamicMarkerViewModel).GetConstructor(parameterTypes)); - ctorIL.Emit(OpCodes.Ret); - for (int i = 0; i < collection.Count; i++) - { - string name = collection[i].Key; - - if (name != "X") - { - PropertyBuilder property = tb.DefineProperty(name, PropertyAttributes.None, typeof(object), null); - MethodAttributes getAttr = MethodAttributes.Public | MethodAttributes.SpecialName | MethodAttributes.HideBySig; - - MethodBuilder propertyGetAccessor = tb.DefineMethod("get_" + name, getAttr, typeof(object), null); - ILGenerator propertyGetIL = propertyGetAccessor.GetILGenerator(); - MethodInfo method = typeof(MarkerViewModel).GetMethod("GetValue"); - propertyGetIL.Emit(OpCodes.Ldarg_0); - propertyGetIL.Emit(OpCodes.Ldc_I4, i); - propertyGetIL.Emit(OpCodes.Call, method); - propertyGetIL.Emit(OpCodes.Ret); - property.SetGetMethod(propertyGetAccessor); - - PropertyBuilder propertyOriginal = tb.DefineProperty("Original" + name, PropertyAttributes.None, typeof(object), null); - MethodAttributes getAttrOriginal = MethodAttributes.Public | MethodAttributes.SpecialName | MethodAttributes.HideBySig; - - MethodBuilder propertyOriginalGetAccessor = tb.DefineMethod("get_Original" + name, getAttrOriginal, typeof(object), null); - ILGenerator propertyOriginalGetIL = propertyOriginalGetAccessor.GetILGenerator(); - MethodInfo methodOriginal = typeof(MarkerViewModel).GetMethod("GetOriginalValue"); - propertyOriginalGetIL.Emit(OpCodes.Ldarg_0); - propertyOriginalGetIL.Emit(OpCodes.Ldc_I4, i); - propertyOriginalGetIL.Emit(OpCodes.Call, methodOriginal); - propertyOriginalGetIL.Emit(OpCodes.Ret); - propertyOriginal.SetGetMethod(propertyOriginalGetAccessor); - } - } - return tb.CreateType(); - } - public static Type GenerateDataCollectionType(DataCollection collection) - { - if (mb == null) - { - AssemblyName aName = new AssemblyName("InteractiveDataDisplayAssembly1"); - AssemblyBuilder ab = AppDomain.CurrentDomain.DefineDynamicAssembly(aName, AssemblyBuilderAccess.Run); - mb = ab.DefineDynamicModule(aName.Name); - } - - TypeBuilder tb = mb.DefineType("DynamicDataCollection_" + (typeCollectionCount++).ToString(CultureInfo.InvariantCulture), - TypeAttributes.Public, - typeof(DynamicDataCollection)); - Type[] parameterTypes = { typeof(DataCollection) }; - ConstructorBuilder ctor = tb.DefineConstructor(MethodAttributes.Public, CallingConventions.Standard, parameterTypes); - ILGenerator ctorIL = ctor.GetILGenerator(); - ctorIL.Emit(OpCodes.Ldarg_0); - ctorIL.Emit(OpCodes.Ldarg_1); - ctorIL.Emit(OpCodes.Call, typeof(DynamicDataCollection).GetConstructor(parameterTypes)); - ctorIL.Emit(OpCodes.Ret); - for (int i = 0; i < collection.Count; i++) - { - string name = collection[i].Key; - - PropertyBuilder property = tb.DefineProperty(name, PropertyAttributes.None, typeof(DataSeries), null); - MethodAttributes getAttr = MethodAttributes.Public | MethodAttributes.SpecialName | MethodAttributes.HideBySig; - - MethodBuilder propertyGetAccessor = tb.DefineMethod("get_" + name, getAttr, typeof(DataSeries), null); - ILGenerator propertyGetIL = propertyGetAccessor.GetILGenerator(); - MethodInfo method = typeof(DynamicDataCollection).GetMethod("GetDataSeries"); - propertyGetIL.Emit(OpCodes.Ldarg_0); - propertyGetIL.Emit(OpCodes.Ldc_I4, i); - propertyGetIL.Emit(OpCodes.Call, method); - propertyGetIL.Emit(OpCodes.Ret); - property.SetGetMethod(propertyGetAccessor); - } - return tb.CreateType(); - } - } -} \ No newline at end of file diff --git a/vendors/optick/gui/InteractiveDataDisplay.WPF/Plots/Markers/GenericDataSeries.cs b/vendors/optick/gui/InteractiveDataDisplay.WPF/Plots/Markers/GenericDataSeries.cs deleted file mode 100644 index 81f2ddc3d..000000000 --- a/vendors/optick/gui/InteractiveDataDisplay.WPF/Plots/Markers/GenericDataSeries.cs +++ /dev/null @@ -1,226 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. -// Licensed under the MIT License. - -using System; -using System.Windows; -using System.Diagnostics; -using System.ComponentModel; - -namespace InteractiveDataDisplay.WPF -{ - /// - /// Data series to define the color of markers. - /// Converts value to brush (using ) and provides properties to control this convertion. - /// - public class ColorSeries : DataSeries - { - /// - /// Initializes a new instance of the class. - /// The key for this data series is "C", default converter is , - /// default value is black color. - /// - public ColorSeries() - { - this.Key = "C"; - this.Description = "Color of the points"; - this.Data = "Black"; - this.Converter = new PaletteConverter(); - this.DataChanged += new EventHandler(ColorSeries_DataChanged); - } - - void ColorSeries_DataChanged(object sender, EventArgs e) - { - try - { - if (this.Data != null) - { - if (Palette.IsNormalized) - { - if (double.IsNaN(this.MinValue) || double.IsNaN(this.MaxValue)) - PaletteRange = Range.Empty; - else - PaletteRange = new Range(this.MinValue, this.MaxValue); - } - } - } - catch (Exception exc) - { - Debug.WriteLine("Wrong value in ColorSeries: " + exc.Message); - } - } - - #region Palette - /// - /// Identifies the dependency property. - /// - public static readonly DependencyProperty PaletteProperty = - DependencyProperty.Register("Palette", - typeof(IPalette), - typeof(ColorSeries), - new PropertyMetadata(InteractiveDataDisplay.WPF.Palette.Heat, (s,a) => ((ColorSeries)s).OnPalettePropertyChanged(a))); - - private void OnPalettePropertyChanged(DependencyPropertyChangedEventArgs e) - { - Palette newPalette = (Palette)e.NewValue; - (Converter as PaletteConverter).Palette = newPalette; - if (newPalette.IsNormalized && Data != null) - { - if (double.IsNaN(MinValue) || double.IsNaN(MaxValue)) - PaletteRange = Range.Empty; - else - PaletteRange = new Range(MinValue, MaxValue); - } - else if (!newPalette.IsNormalized) - PaletteRange = new Range(newPalette.Range.Min, newPalette.Range.Max); - RaiseDataChanged(); - } - - /// - /// Gets or sets the color palette for markers. Defines mapping of values to colors. - /// Is used only if the data is of any numeric type. - /// Default value is heat palette. - /// - [TypeConverter(typeof(StringToPaletteTypeConverter))] - public IPalette Palette - { - get { return (IPalette)GetValue(PaletteProperty); } - set { SetValue(PaletteProperty, value); } - } - #endregion - #region PaletteRange - /// - /// Identifies the dependency property. - /// - public static readonly DependencyProperty PaletteRangeProperty = - DependencyProperty.Register("PaletteRange", - typeof(Range), - typeof(ColorSeries), - new PropertyMetadata(new Range(0, 1), null)); - /// - /// Gets or sets the range which is displayed in legend if is normalized. - /// Otherwise this property is ignored. - /// Default value is (0, 1). - /// - public Range PaletteRange - { - get { return (Range)GetValue(PaletteRangeProperty); } - set { SetValue(PaletteRangeProperty, value); } - } - #endregion - } - /// - /// Data series to define the size of markers. - /// Provides properties to set minimum and maximum sizes of markers to display. - /// - public class SizeSeries : DataSeries - { - /// - /// Initializes a new instance of the class. - /// The key for this data series is "D", default value is 10. - /// - public SizeSeries() - { - this.Key = "D"; - this.Description = "Size of the points"; - this.Data = 10; - this.DataChanged += new EventHandler(SizeSeries_DataChanged); - } - void SizeSeries_DataChanged(object sender, EventArgs e) - { - try - { - if (this.Data != null) - { - Range range = Range.Empty; - if (!double.IsNaN(this.MinValue) && !double.IsNaN(this.MaxValue)) - range = new Range(this.MinValue, this.MaxValue); - - if (this.Converter != null) - (this.Converter as ResizeConverter).Origin = range; - Range = range; - First = FindFirstDataItem(); - } - } - catch (Exception exc) - { - Debug.WriteLine("Wrong value in SizeSeries: " + exc.Message); - } - } - #region Range - /// - /// Identifies the dependency property. - /// - public static readonly DependencyProperty RangeProperty = - DependencyProperty.Register("Range", - typeof(Range), - typeof(SizeSeries), - new PropertyMetadata(new Range(0, 1), null)); - - /// - /// Gets the actual size range of markers. - /// - public Range Range - { - get { return (Range)GetValue(RangeProperty); } - internal set { SetValue(RangeProperty, value); } - } - #endregion - #region Min, Max - /// - /// Identifies the dependency property. - /// - public static readonly DependencyProperty MinProperty = - DependencyProperty.Register("Min", - typeof(double), - typeof(SizeSeries), - new PropertyMetadata(Double.NaN, OnMinMaxPropertyChanged)); - /// - /// Gets or sets the minimum of size of markers to draw. - /// Default value is Double.NaN. - /// - public double Min - { - get { return (double)GetValue(MinProperty); } - set { SetValue(MinProperty, value); } - } - /// - /// Identifies the dependency property. - /// - public static readonly DependencyProperty MaxProperty = - DependencyProperty.Register("Max", - typeof(double), - typeof(SizeSeries), - new PropertyMetadata(Double.NaN, OnMinMaxPropertyChanged)); - /// - /// Gets or sets the maximum of size of markers to draw. - /// Default value is Double.NaN. - /// - public double Max - { - get { return (double)GetValue(MaxProperty); } - set { SetValue(MaxProperty, value); } - } - private static void OnMinMaxPropertyChanged(object sender, DependencyPropertyChangedEventArgs e) - { - SizeSeries m = sender as SizeSeries; - if (Double.IsNaN(m.Min) || Double.IsNaN(m.Max)) - m.Converter = null; - else - { - if (m.Converter == null) - { - if (m.Data != null) - m.Converter = new ResizeConverter(new Range(m.MinValue, m.MaxValue), - new Range(m.Min, m.Max)); - else - m.Converter = new ResizeConverter(new Range(0, 1), - new Range(m.Min, m.Max)); - } - else - (m.Converter as ResizeConverter).Resized = new Range(m.Min, m.Max); - } - m.RaiseDataChanged(); - } - #endregion - } -} \ No newline at end of file diff --git a/vendors/optick/gui/InteractiveDataDisplay.WPF/Plots/Markers/MarkerGraph.Converters.cs b/vendors/optick/gui/InteractiveDataDisplay.WPF/Plots/Markers/MarkerGraph.Converters.cs deleted file mode 100644 index ca84f33b5..000000000 --- a/vendors/optick/gui/InteractiveDataDisplay.WPF/Plots/Markers/MarkerGraph.Converters.cs +++ /dev/null @@ -1,1076 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. -// Licensed under the MIT License. - -using System; -using System.Windows; -using System.Windows.Media; -using System.Windows.Data; -using System.Diagnostics; -using System.Globalization; - -namespace InteractiveDataDisplay.WPF -{ - /// - /// Converts a value to (see method for details). - /// - public class PaletteConverter : IValueConverter - { - Palette palette = InteractiveDataDisplay.WPF.Palette.Heat; - - /// - /// Gets or sets the palette for convertion. - /// - public Palette Palette - { - set { palette = value; } - get { return palette; } - } - - /// - /// Converts values to . - /// - /// Value to convert. It can be one of the following types: - /// , , - /// defining system name or hexadecimal representation (#AARRGGBB) of color - /// or any numeric. If the value is of numeric type then is used for convertion. - /// - /// The instance of representing colors. - /// - /// from specified value. - public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) - { - try - { - DataSeries data = parameter as DataSeries; - - if (value is double) - { - if (palette.IsNormalized) - palette = new Palette(false, new Range(data.MinValue, data.MaxValue), palette); - return new SolidColorBrush(Palette.GetColor((double)value)); - } - else - { - SolidColorBrush solidColorBrush = value as SolidColorBrush; - if (solidColorBrush != null) - { - return solidColorBrush; - } - else if (value is Color) - { - return new SolidColorBrush((Color)value); - } - else - { - string str = value as string; - if (str != null) - { - Color color = new Color(); - if (Char.IsLetter(str[0])) - { - bool isNamed = false; - Type colors = typeof(Colors); - foreach (var property in colors.GetProperties()) - { - if (property.Name == str) - { - color = (Color)property.GetValue(null, null); - isNamed = true; - } - } - if (!isNamed) - throw new ArgumentException("Wrong name of color"); - } - else if (str[0] == '#') - { - if (str.Length == 7) - { - color.A = 255; - color.R = System.Convert.ToByte(str.Substring(1, 2), 16); - color.G = System.Convert.ToByte(str.Substring(3, 2), 16); - color.B = System.Convert.ToByte(str.Substring(5, 2), 16); - } - else if (str.Length == 9) - { - color.A = System.Convert.ToByte(str.Substring(1, 2), 16); - color.R = System.Convert.ToByte(str.Substring(3, 2), 16); - color.G = System.Convert.ToByte(str.Substring(5, 2), 16); - color.B = System.Convert.ToByte(str.Substring(7, 2), 16); - } - else throw new ArgumentException("Wrong name of color"); - } - else throw new ArgumentException("Wrong name of color"); - return new SolidColorBrush(color); - } - else - { - double d = System.Convert.ToDouble(value, CultureInfo.InvariantCulture); - if (palette.IsNormalized) - { - if (data.MinValue == data.MaxValue) - return new SolidColorBrush(new Palette(false, - new Range(data.MinValue - 0.5, data.MaxValue + 0.5), palette).GetColor(d)); - else - return new SolidColorBrush(new Palette(false, - new Range(data.MinValue, data.MaxValue), palette).GetColor(d)); - } - return new SolidColorBrush(palette.GetColor(d)); - } - } - } - } - catch (Exception exc) - { - Debug.WriteLine("Cannot convert value: " + exc.Message); - return new SolidColorBrush(Colors.Black); - } - } - - /// - /// This method is not supported. - /// - /// - /// - /// - /// - /// - public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) - { - throw new NotSupportedException(); - } - } - - /// - /// A converter to translate a value into the half of another value of opposite sign. - /// - public class TranslateConverter : IValueConverter - { - /// - /// Returns an opposite signed result calculated from specified value and parameter. - /// - /// A value to convert. - /// - /// A value to add before convertion. - /// - /// Half of a sum of value and parameter with opposite sign. Value if value or parameter is null. - public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) - { - try - { - if (value == null || parameter == null) - return value; - return -(System.Convert.ToDouble(value, CultureInfo.InvariantCulture) + - System.Convert.ToDouble(parameter, CultureInfo.InvariantCulture)) / 2; - } - catch (InvalidCastException exc) - { - Debug.WriteLine("Cannot convert value: " + exc.Message); - return 0; - } - } - - /// - /// Returns an opposite signed result calculated from specified value and parameter. - /// - /// A value to convert. - /// - /// A value to add before convertion. - /// - /// Sum of value and parameter with opposite sign multiplied by 2. Value if value or parameter is null. - public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) - { - try - { - if (value == null || parameter == null) - return value; - return -(System.Convert.ToDouble(value, CultureInfo.InvariantCulture) - + System.Convert.ToDouble(parameter, CultureInfo.InvariantCulture)) * 2; - } - catch (InvalidCastException exc) - { - Debug.WriteLine("Cannot convert value: " + exc.Message); - return 0; - } - } - } - - /// - /// A converter to multiply two values. - /// - public class ValueScaleConverter : IValueConverter - { - /// - /// Multiplies a value by another. The second value should be passed as a parameter. - /// - /// First multiplier. - /// - /// Second multiplier. - /// - /// Product of value and parameter. Value if value or parameter is null. - public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) - { - try - { - if (value == null || parameter == null) - return value; - return System.Convert.ToDouble(value, CultureInfo.InvariantCulture) * - System.Convert.ToDouble(parameter, CultureInfo.InvariantCulture); - } - catch (Exception exc) - { - Debug.WriteLine("Cannot convert value: " + exc.Message); - return 0; - } - } - - /// - /// Devides a value by another. The second value should be passed as a parameter. - /// - /// A dividend. - /// - /// A divisor. - /// - /// Quotient of value and parameter. Value if value or parameter is null. - public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) - { - try - { - if (value == null || parameter == null) - return value; - return System.Convert.ToDouble(value, CultureInfo.InvariantCulture) / - System.Convert.ToDouble(parameter, CultureInfo.InvariantCulture); - } - catch (Exception exc) - { - Debug.WriteLine("Cannot convert value back: " + exc.Message); - return 0; - } - } - } - - /// - /// A converter to transform a value from one range to another saving the ratio. - /// - public class ResizeConverter : IValueConverter - { - private Range origin; - private Range resized; - - /// - /// Initializes a new instance of class. - /// - /// The range for origin value. - /// The range for result value. - public ResizeConverter(Range origin, Range resized) - { - this.origin = origin; - this.resized = resized; - } - - /// - /// Gets or sets the range for origin value. - /// - public Range Origin - { - get { return origin; } - set { origin = value; } - } - /// - /// Gets or sets the range for result value. - /// - public Range Resized - { - get { return resized; } - set { resized = value; } - } - - /// - /// Convertes a value from range to the value in range saving the ratio. - /// - /// A value to convert. Should be of numeric type. - /// - /// - /// - /// Converted value from resized range. - public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) - { - try - { - double x = System.Convert.ToDouble(value, CultureInfo.InvariantCulture); - double res = 0; - if (Double.IsNaN(origin.Min) || Double.IsNaN(origin.Max)) - res = x; - else if (origin.Min == origin.Max) - res = (resized.Max - resized.Min) / 2; - else - res = resized.Min + (resized.Max - resized.Min) * (x - origin.Min) / (origin.Max - origin.Min); - return res; - } - catch (Exception exc) - { - Debug.WriteLine("Cannot convert value: " + exc.Message); - return 0; - } - } - - /// - /// Convertes a value from range to the value in range. - /// - /// A value to convert. Should be of numeric type. - /// - /// - /// - /// Converted value from origin range. - public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) - { - try - { - double x = System.Convert.ToDouble(value, CultureInfo.InvariantCulture); - double res = 0; - if (Double.IsNaN(resized.Min) || Double.IsNaN(resized.Max)) - res = x; - else if (resized.Min == resized.Max) - res = (origin.Max - origin.Min) / 2; - else - res = origin.Min + (origin.Max - origin.Min) * (x - resized.Min) / (resized.Max - resized.Min); - return res; - } - catch (Exception exc) - { - Debug.WriteLine("Cannot convert value back: " + exc.Message); - return 0; - } - } - } - - /// - /// Converter, which returns input value if it is not null, parameter otherwise - /// - public class NullToDefaultConverter : IValueConverter - { - /// - /// Returns the same value if it is not null, parameter otherwise. - /// - /// - /// - /// - /// - /// - public object Convert(object value, Type targetType, object parameter, CultureInfo culture) - { - if (value == null) - return parameter; - else - return value; - } - - /// - /// Returns the same value if value is not equal to parameter, null otherwise. - /// - /// - /// - /// - /// - /// - public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) - { - if (Object.Equals(value, parameter)) - return null; - else - return value; - } - } - - /// - /// Default converter to transform instances of to their data bounds. - /// Default data bounds rect is point defined by X and Y data series. - /// - public class DefaultDataBoundsConverter : IValueConverter - { - /// - /// Gets data bounds of a marker of by its . - /// - /// An instance of class describing specified marker. - /// - /// - /// - /// Data bounds of specified marker of marker graph. - public object Convert(object value, Type targetType, object parameter, CultureInfo culture) - { - try - { - DynamicMarkerViewModel model = value as DynamicMarkerViewModel; - double x = System.Convert.ToDouble(model.Sources["X"], CultureInfo.InvariantCulture); - double y = System.Convert.ToDouble(model.Sources["Y"], CultureInfo.InvariantCulture); - return new DataRect(x, y, x, y); - } - catch (Exception exc) - { - Debug.WriteLine("Cannot convert value to DataRect: " + exc.Message); - return new DataRect(); - } - } - - /// - /// This method is not supported. - /// - /// - /// - /// - /// - /// - public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) - { - throw new NotSupportedException("Convert back is impossible"); - } - } - - /// - /// A converter to transform instances of to their data bounds. - /// - public class ErrorBarDataBoundsConverter : IValueConverter - { - /// - /// Gets data bounds of a marker of by its . - /// - /// An instance of class describing specified marker. - /// - /// - /// - /// Data bounds of specified marker of error bar. - public object Convert(object value, Type targetType, object parameter, CultureInfo culture) - { - try - { - DynamicMarkerViewModel model = value as DynamicMarkerViewModel; - double y = System.Convert.ToDouble(model.Sources["Y"], CultureInfo.InvariantCulture); - double h = System.Convert.ToDouble(model.Sources["H"], CultureInfo.InvariantCulture); - double x = System.Convert.ToDouble(model.Sources["X"], CultureInfo.InvariantCulture); - return new DataRect(x, y - h / 2, x, y + h / 2); - } - catch (Exception exc) - { - Debug.WriteLine("Cannot convert value to DataRect: " + exc.Message); - return new DataRect(); - } - } - - /// - /// This method is not supported. - /// - /// - /// - /// - /// - /// - public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) - { - throw new NotSupportedException("Cannot convert Data Rect to Marker View Model"); - } - } - - - /// - /// A converter to transform instances of to their data bounds. - /// - public class VerticalIntervalDataBoundsConverter : IValueConverter - { - /// - /// Gets data bounds of a marker of by its . - /// - /// An instance of class describing specified marker. - /// - /// - /// - /// Data bounds of specified marker of graph. - public object Convert(object value, Type targetType, object parameter, CultureInfo culture) - { - try - { - DynamicMarkerViewModel model = value as DynamicMarkerViewModel; - double y1 = System.Convert.ToDouble(model.Sources["Y1"], CultureInfo.InvariantCulture); - double y2 = System.Convert.ToDouble(model.Sources["Y2"], CultureInfo.InvariantCulture); - double x = System.Convert.ToDouble(model.Sources["X"], CultureInfo.InvariantCulture); - return new DataRect(x, Math.Min(y1,y2), x, Math.Max(y1,y2)); - } - catch (Exception exc) - { - Debug.WriteLine("Cannot convert value to DataRect: " + exc.Message); - return new DataRect(); - } - } - - /// - /// This method is not supported. - /// - /// - /// - /// - /// - /// - public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) - { - throw new NotSupportedException("Cannot convert Data Rect to Marker View Model"); - } - } - - /// - /// A converter to transform instances of to their data bounds. - /// - public class BarGraphDataBoundsConverter : IValueConverter - { - /// - /// Gets data bounds of a marker of by its . - /// - /// An instance of class describing specified marker. - /// - /// - /// - /// Data bounds of specified marker of bar graph. - public object Convert(object value, Type targetType, object parameter, CultureInfo culture) - { - try - { - DynamicMarkerViewModel model = value as DynamicMarkerViewModel; - double y = Math.Max(System.Convert.ToDouble(model.Sources["Y"], CultureInfo.InvariantCulture), 0); - double h = Math.Abs(System.Convert.ToDouble(model.Sources["Y"], CultureInfo.InvariantCulture)); - double w = System.Convert.ToDouble(model.Sources["W"], CultureInfo.InvariantCulture); - double x = System.Convert.ToDouble(model.Sources["X"], CultureInfo.InvariantCulture); - return new DataRect(x - w / 2, y - h, x + w / 2, h); - } - catch (Exception exc) - { - Debug.WriteLine("Cannot convert value to DataRect: " + exc.Message); - return new DataRect(); - } - } - - /// - /// This method is not supported. - /// - /// - /// - /// - /// - /// - public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) - { - throw new NotSupportedException("Cannot convert Data Rect to Marker View Model"); - } - } - - /// - /// Default converter to transform instances of to their screen thicknesses. - /// Default screen thickness is defined as a half of D series value. - /// - public class DefaultScreenThicknessConverter : IValueConverter - { - private string seriesName; - - /// - /// Initializes a new instance of class. - /// - /// - /// A of used to calculate screen thickness. - /// - protected DefaultScreenThicknessConverter(string seriesName) - { - this.seriesName = seriesName; - } - - /// - /// Initializes a new instance of class. - /// The name of used to calculate screen thickness is "D". - /// - public DefaultScreenThicknessConverter() - : this("D"){} - - /// - /// Gets screen thickness of a marker of by its . - /// - /// An instance of class describing specified marker. - /// - /// - /// - /// Screen thickness of specified marker of marker graph. If it is 0 than returns 5. - public object Convert(object value, Type targetType, object parameter, CultureInfo culture) - { - try - { - DynamicMarkerViewModel model = value as DynamicMarkerViewModel; - double d = System.Convert.ToDouble(model[seriesName], CultureInfo.InvariantCulture); - if (d == 0) - d = 10; - return new Thickness(d / 2.0); - } - catch (Exception exc) - { - Debug.WriteLine("Cannot convert value to Thickness: " + exc.Message); - return new Thickness(); - } - } - - /// - /// This method is not supported. - /// - /// - /// - /// - /// - /// - public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) - { - throw new NotSupportedException("Cannot convert Thickness to Marker View Model"); - } - } - - /// - /// A converter to transform instances of to their screen thicknesses. - /// Screen thickness of each bar is defined as a half of W series value. - /// - public class ErrorBarScreenThicknessConverter : DefaultScreenThicknessConverter - { - /// - /// Initializes a new instance of class. - /// The name of used to calculate screen thickness is "W". - /// - public ErrorBarScreenThicknessConverter() - : base("W"){} - } - - #region Bar graph converters - - /// - /// A converter to get maximum between the value and 0. - /// Is used in template of to get the top y coordinate of each bar. - /// - public class BarGraphTopConverter : IValueConverter - { - /// - /// Finds maximum between the value and 0. - /// - /// A value to convert. - /// - /// - /// - /// Value if it is positive, 0 otherwise. Null if value is null. - public object Convert(object value, Type targetType, object parameter, CultureInfo culture) - { - try - { - if (value == null) - return value; - return Math.Max(System.Convert.ToDouble(value, CultureInfo.InvariantCulture), 0); - } - catch (Exception exc) - { - Debug.WriteLine("Cannot convert value: " + exc.Message); - return 0; - } - } - - /// - /// This method is not supported. - /// - /// - /// - /// - /// - /// - public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) - { - throw new NotSupportedException(); - } - } - - /// - /// A converter to get minimum between the value and 0. - /// Is used in template of to get the bottom y coordinate of each bar. - /// - public class BarGraphBottomConverter : IValueConverter - { - /// - /// Finds minimum between the value and 0. - /// - /// A value to convert. - /// - /// - /// - /// Value if it is negative, 0 otherwise. Null if value is null. - public object Convert(object value, Type targetType, object parameter, CultureInfo culture) - { - try - { - if (value == null) - return value; - return Math.Min(0, System.Convert.ToDouble(value, CultureInfo.InvariantCulture)); - } - catch (Exception exc) - { - Debug.WriteLine("Cannot convert value: " + exc.Message); - return 0; - } - } - - /// - /// This method is not supported. - /// - /// - /// - /// - /// - /// - public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) - { - throw new NotSupportedException(); - } - } - - /// - /// A converter to get x coordinate of left side of specified marker of . - /// - public class BarGraphLeftConverter : IValueConverter - { - /// - /// Gets the value of x coordinate of left side of specified marker of by its . - /// - /// An instance of class describing specified marker. - /// - /// - /// - /// X coordinate of left side of bar. Null if the value is null. - public object Convert(object value, Type targetType, object parameter, CultureInfo culture) - { - try - { - if (value == null) - return value; - DynamicMarkerViewModel model = value as DynamicMarkerViewModel; - if (model != null) - { - return System.Convert.ToDouble(model.Sources["X"], CultureInfo.InvariantCulture) - - System.Convert.ToDouble(model.Sources["W"], CultureInfo.InvariantCulture) / 2; - } - else - return 0; - } - catch (Exception exc) - { - Debug.WriteLine("Cannot convert value: " + exc.Message); - return 0; - } - } - - /// - /// This method is not supported. - /// - /// - /// - /// - /// - /// - public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) - { - throw new NotSupportedException(); - } - } - - /// - /// A converter to get x coordinate of right side of specified marker of . - /// - public class BarGraphRightConverter : IValueConverter - { - /// - /// Gets the value of x coordinate of right side of specified marker of by its . - /// - /// An instance of class describing specified marker. - /// - /// - /// - /// X coordinate of left side of bar. Null if the value is null. - public object Convert(object value, Type targetType, object parameter, CultureInfo culture) - { - try - { - if (value == null) - return value; - DynamicMarkerViewModel model = value as DynamicMarkerViewModel; - if (model != null) - { - return System.Convert.ToDouble(model.Sources["X"], CultureInfo.InvariantCulture) + - System.Convert.ToDouble(model.Sources["W"], CultureInfo.InvariantCulture) / 2; - } - else - return 0; - } - catch (Exception exc) - { - Debug.WriteLine("Cannot convert value: " + exc.Message); - return 0; - } - } - - /// - /// This method is not supported. - /// - /// - /// - /// - /// - /// - public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) - { - throw new NotSupportedException(); - } - } - - #endregion - - #region ErrorBar converters - - /// - /// A converter to get the bottom y coordinate of each marker of . - /// - public class ErrorBarBottomConverter : IValueConverter - { - /// - /// Gets the value of bottom y coordinate specified marker of by its . - /// - /// An instance of class describing specified marker. - /// - /// - /// - /// Bottom y coordinate of bar. Null if the value is null. - public object Convert(object value, Type targetType, object parameter, CultureInfo culture) - { - try - { - if (value == null) - return value; - DynamicMarkerViewModel model = value as DynamicMarkerViewModel; - if (model != null) - { - return System.Convert.ToDouble(model.Sources["Y"], CultureInfo.InvariantCulture) - - System.Convert.ToDouble(model.Sources["H"], CultureInfo.InvariantCulture) / 2; - } - else - return 0; - } - catch (Exception exc) - { - Debug.WriteLine("Cannot convert value: " + exc.Message); - return 0; - } - } - - /// - /// This method is not supported. - /// - /// - /// - /// - /// - /// - public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) - { - throw new NotSupportedException(); - } - } - - /// - /// A converter to get the top y coordinate of each marker of . - /// - public class ErrorBarTopConverter : IValueConverter - { - /// - /// Gets the value of top y coordinate specified marker of by its . - /// - /// An instance of class describing specified marker. - /// - /// - /// - /// Top y coordinate of bar. Null if the value is null. - public object Convert(object value, Type targetType, object parameter, CultureInfo culture) - { - try - { - if (value == null) - return value; - DynamicMarkerViewModel model = value as DynamicMarkerViewModel; - if (model != null) - { - return System.Convert.ToDouble(model.Sources["Y"], CultureInfo.InvariantCulture) + - System.Convert.ToDouble(model.Sources["H"], CultureInfo.InvariantCulture) / 2; - } - else - return 0; - } - catch (Exception exc) - { - Debug.WriteLine("Cannot convert value: " + exc.Message); - return 0; - } - } - - /// - /// This method is not supported. - /// - /// - /// - /// - /// - /// - public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) - { - throw new NotSupportedException(); - } - } - - #endregion - - #region VerticalIntervalTopConverter - - /// - /// A converter to get the top y coordinate of each marker of . - /// - public class VerticalIntervalTopConverter : IValueConverter - { - /// - /// Gets the value of top y coordinate specified marker of by its . - /// - /// An instance of class describing specified marker. - /// - /// - /// - /// Top y coordinate of bar. Null if the value is null. - public object Convert(object value, Type targetType, object parameter, CultureInfo culture) - { - try - { - if (value == null) - return value; - DynamicMarkerViewModel model = value as DynamicMarkerViewModel; - if (model != null) - { - return Math.Max(System.Convert.ToDouble(model.Sources["Y1"], CultureInfo.InvariantCulture), - System.Convert.ToDouble(model.Sources["Y2"], CultureInfo.InvariantCulture)); - } - else - return 0; - } - catch (Exception exc) - { - Debug.WriteLine("Cannot convert value: " + exc.Message); - return 0; - } - } - - /// - /// This method is not supported. - /// - /// - /// - /// - /// - /// - public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) - { - throw new NotSupportedException(); - } - } - - #endregion - - #region VerticalIntervalBottomConverter - - /// - /// A converter to get the bottom y coordinate of each marker of . - /// - public class VerticalIntervalBottomConverter : IValueConverter - { - /// - /// Gets the value of bottom y coordinate specified marker of by its . - /// - /// An instance of class describing specified marker. - /// - /// - /// - /// Bottom y coordinate of bar. Null if the value is null. - public object Convert(object value, Type targetType, object parameter, CultureInfo culture) - { - try - { - if (value == null) - return value; - DynamicMarkerViewModel model = value as DynamicMarkerViewModel; - if (model != null) - { - return Math.Min(System.Convert.ToDouble(model.Sources["Y1"], CultureInfo.InvariantCulture), - System.Convert.ToDouble(model.Sources["Y2"], CultureInfo.InvariantCulture)); - } - else - return 0; - } - catch (Exception exc) - { - Debug.WriteLine("Cannot convert value: " + exc.Message); - return 0; - } - } - - /// - /// This method is not supported. - /// - /// - /// - /// - /// - /// - public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) - { - throw new NotSupportedException(); - } - } - - #endregion - - /// - /// Gets triangle points by its given height. - /// Is used in templates with triangle markers. - /// - public class DoubleToTrianglePointsConverter : IValueConverter - { - /// - /// Constructs a with triangle vertexes from a given height. - /// - /// A height of triangle. - /// - /// - /// - /// A collection of triangle vertexes. - public object Convert(object value, Type targetType, object parameter, CultureInfo culture) - { - double d = System.Convert.ToDouble(value, CultureInfo.InvariantCulture); - PointCollection pc = new PointCollection(); - pc.Add(new Point(-0.5 * d, 0.288675 * d)); - pc.Add(new Point(0, -0.711324865 * d)); - pc.Add(new Point(0.5 * d, 0.288675 * d)); - return pc; - } - - /// - /// This method is not supported. - /// - /// - /// - /// - /// - /// - public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) - { - throw new NotSupportedException("Cannot convert point collection to double"); - } - } -} - - diff --git a/vendors/optick/gui/InteractiveDataDisplay.WPF/Plots/Markers/MarkerGraph.cs b/vendors/optick/gui/InteractiveDataDisplay.WPF/Plots/Markers/MarkerGraph.cs deleted file mode 100644 index 4bf24d3d0..000000000 --- a/vendors/optick/gui/InteractiveDataDisplay.WPF/Plots/Markers/MarkerGraph.cs +++ /dev/null @@ -1,1185 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. -// Licensed under the MIT License. - -using System; -using System.Linq; -using System.Threading; -using System.Windows; -using System.Windows.Controls; -using System.Windows.Media; -using System.Windows.Media.Imaging; -using System.Windows.Threading; -using System.Collections.Generic; -using System.Windows.Data; -using System.Globalization; -using System.Windows.Markup; -using System.Collections.Specialized; -using System.ComponentModel; -using System.Reactive.Subjects; - -namespace InteractiveDataDisplay.WPF -{ - /// Displays supplied data series as a collection of markers. Coordinates of marker and its visual properties - /// are defined by different data series (sometimes called variables). Example is scatter plot where two data series - /// X and Y define cartesian coordinates of points on the screen. - /// Marker graph appearance is defined by three properties: , - /// and . Data series are specified using - /// property. - [ContentProperty("Sources")] - [Description("Plots scattered points")] - public partial class MarkerGraph : PlotBase - { - private List models = new List(); - private Type modelType; - private List batches = new List(); - /// Dispatchers invocation of method in background (e.g. all operations - /// with higher priority are complete. - private DispatcherTimer idleTask = new DispatcherTimer(); - private long plotVersion = 0; // Each visible change will increase plot version - private volatile bool isDrawing = false; - private long currentTaskId; - private long nextTaskId = 0; - private int markersDrawn = 0; // Number of drawn markers - /// ID of UI thread. Typically used to determine if BeginInvoke is required or not. - protected int UIThreadID; - /// - /// Initializes a new instance of the class. - /// - public MarkerGraph() - { - var rd = new ResourceDictionary(); - rd = (ResourceDictionary)Application.LoadComponent(new System.Uri("/InteractiveDataDisplay.WPF;component/Plots/Markers/MarkerTemplates.xaml", System.UriKind.Relative)); - Resources.MergedDictionaries.Add(rd); - UIThreadID = Thread.CurrentThread.ManagedThreadId; - - LegendTemplate = Resources["DefaultLegendTemplate"] as DataTemplate; - TooltipTemplate = Resources["DefaultTooltipTemplate"] as DataTemplate; - - idleTask.Interval = new TimeSpan(0); - idleTask.Tick += new EventHandler(IdleDraw); - - Sources = new DataCollection(); - } - #region MaxSnapshotSize - /// Gets or sets maximum bitmap size in pixels used as placeholder when navigating over marker graph. - /// Larger values result in crisper image when moving and scaling, - /// but higher memory consumption on marker graphs with a lot of batches. - /// Default value is 1920 x 1080. - [Category("InteractiveDataDisplay")] - public Size MaxSnapshotSize - { - get { return (Size)GetValue(MaxSnapshotSizeProperty); } - set { SetValue(MaxSnapshotSizeProperty, value); } - } - /// Identifies dependency property - public static readonly DependencyProperty MaxSnapshotSizeProperty = - DependencyProperty.Register("MaxSnapshotSize", typeof(Size), typeof(MarkerGraph), new PropertyMetadata(new Size(1920, 1080))); - #endregion - #region Templates - #region Default Templates - /// - /// Gets default template for legend. - /// - public DataTemplate DefaultLegendTemplate - { - get { return Resources["DefaultLegendTemplate"] as DataTemplate; } - } - /// - /// Gets default template for tooltip. - /// - public DataTemplate DefaultTooltipTemplate - { - get { return Resources["DefaultTooltipTemplate"] as DataTemplate; } - } - #endregion - #region Circle - /// - /// Gets template for circle markers. - /// - public DataTemplate Circle - { - get { return Resources["Circle"] as DataTemplate; } - } - /// - /// Gets simple legend template for circle markers. - /// - public DataTemplate CircleLegend - { - get { return Resources["CircleLegend"] as DataTemplate; } - } - /// - /// Gets legend template for circle markers with information about color. - /// - public DataTemplate CircleColorLegend - { - get { return Resources["CircleColorLegend"] as DataTemplate; } - } - /// - /// Gets legend template for circle markers with information about size. - /// - public DataTemplate CircleSizeLegend - { - get { return Resources["CircleSizeLegend"] as DataTemplate; } - } - /// - /// Gets legend template for circle markers with information about color and size. - /// - public DataTemplate CircleColorSizeLegend - { - get { return Resources["CircleColorSizeLegend"] as DataTemplate; } - } - #endregion - #region Box - /// - /// Gets template for box markers. - /// - public DataTemplate Box - { - get { return Resources["Box"] as DataTemplate; } - } - /// - /// Gets simple legend template for box markers. - /// - public DataTemplate BoxLegend - { - get { return Resources["BoxLegend"] as DataTemplate; } - } - /// - /// Gets legend template for box markers with information about color. - /// - public DataTemplate BoxColorLegend - { - get { return Resources["BoxColorLegend"] as DataTemplate; } - } - /// - /// Gets legend template for box markers with information about size. - /// - public DataTemplate BoxSizeLegend - { - get { return Resources["BoxSizeLegend"] as DataTemplate; } - } - /// - /// Gets legend template for box markers with information about color and size. - /// - public DataTemplate BoxColorSizeLegend - { - get { return Resources["BoxColorSizeLegend"] as DataTemplate; } - } - #endregion - #region Diamond - /// - /// Gets template for diamond markers. - /// - public DataTemplate Diamond - { - get { return Resources["Diamond"] as DataTemplate; } - } - /// - /// Gets simple legend template for diamond markers. - /// - public DataTemplate DiamondLegend - { - get { return Resources["DiamondLegend"] as DataTemplate; } - } - /// - /// Gets legend template for diamond markers with information about color. - /// - public DataTemplate DiamondColorLegend - { - get { return Resources["DiamondColorLegend"] as DataTemplate; } - } - /// - /// Gets legend template for diamond markers with information about size. - /// - public DataTemplate DiamondSizeLegend - { - get { return Resources["DiamondSizeLegend"] as DataTemplate; } - } - /// - /// Gets legend template for diamond markers with information about color and size. - /// - public DataTemplate DiamondColorSizeLegend - { - get { return Resources["DiamondColorSizeLegend"] as DataTemplate; } - } - #endregion - #region Triangle - /// - /// Gets template for triangle markers. - /// - public DataTemplate Triangle - { - get { return Resources["Triangle"] as DataTemplate; } - } - /// - /// Gets simple legend template for triangle markers. - /// - public DataTemplate TriangleLegend - { - get { return Resources["TriangleLegend"] as DataTemplate; } - } - /// - /// Gets legend template for triangle markers with information about color. - /// - public DataTemplate TriangleColorLegend - { - get { return Resources["TriangleColorLegend"] as DataTemplate; } - } - /// - /// Gets legend template for triangle markers with information about size. - /// - public DataTemplate TriangleSizeLegend - { - get { return Resources["TriangleSizeLegend"] as DataTemplate; } - } - /// - /// Gets legend template for triangle markers with information about color and size. - /// - public DataTemplate TriangleColorSizeLegend - { - get { return Resources["TriangleColorSizeLegend"] as DataTemplate; } - } - #endregion - #region Cross - /// - /// Gets template for cross markers. - /// - public DataTemplate Cross - { - get { return Resources["Cross"] as DataTemplate; } - } - /// - /// Gets simple legend template for cross markers. - /// - public DataTemplate CrossLegend - { - get { return Resources["CrossLegend"] as DataTemplate; } - } - /// - /// Gets legend template for cross markers with information about color. - /// - public DataTemplate CrossColorLegend - { - get { return Resources["CrossColorLegend"] as DataTemplate; } - } - /// - /// Gets legend template for cross markers with information about size. - /// - public DataTemplate CrossSizeLegend - { - get { return Resources["CrossSizeLegend"] as DataTemplate; } - } - /// - /// Gets legend template for cross markers with information about color and size. - /// - public DataTemplate CrossColorSizeLegend - { - get { return Resources["CrossColorSizeLegend"] as DataTemplate; } - } - #endregion - #region ErrorBar - /// - /// Gets template for error bar markers. - /// - public DataTemplate ErrorBar - { - get { return Resources["ErrorBar"] as DataTemplate; } - } - /// - /// Gets legend template for error bar markers. - /// - public DataTemplate ErrorBarLegend - { - get { return Resources["ErrorBarLegend"] as DataTemplate; } - } - #endregion - #region VerticalInterval - /// - /// Gets template for VerticalInterval markers. - /// - public DataTemplate VerticalIntervalBar - { - get { return Resources["VerticalInterval"] as DataTemplate; } - } - /// - /// Gets legend template for VerticalInterval markers. - /// - public DataTemplate VerticalIntervalLegend - { - get { return Resources["VerticalIntervalLegend"] as DataTemplate; } - } - /// - /// Gets tooltip template for VerticalInterval markers. - /// - public DataTemplate VerticalIntervalTooltip - { - get { return Resources["VerticalIntervalTooltip"] as DataTemplate; } - } - #endregion - #region BarGraph - /// - /// Gets template for bar graph. - /// - public DataTemplate BarGraph - { - get { return Resources["BarGraph"] as DataTemplate; } - } - /// - /// Gets legend template for bar graph. - /// - public DataTemplate BarGraphLegend - { - get { return Resources["BarGraphLegend"] as DataTemplate; } - } - /// - /// Gets tooltip template for bar graph. - /// - public DataTemplate BarGraphTooltip - { - get { return Resources["BarGraphTooltip"] as DataTemplate; } - } - #endregion - #region Tooltip Templates - /// - /// Gets tooltip template with information about color. - /// - public DataTemplate ColorTooltip - { - get { return Resources["ColorTooltip"] as DataTemplate; } - } - /// - /// Gets tooltip template with information about size. - /// - public DataTemplate SizeTooltip - { - get { return Resources["SizeTooltip"] as DataTemplate; } - } - /// - /// Gets tooltip template with information about color and size. - /// - public DataTemplate ColorSizeTooltip - { - get { return Resources["ColorSizeTooltip"] as DataTemplate; } - } - #endregion - #endregion - #region Sources - /// - /// Gets or sets the collection of describing appearance and behavior of markers. - /// Default value is null. - /// - [Category("Appearance")] - [Description("Collection of data series")] - public DataCollection Sources - { - get { return (DataCollection)GetValue(SourcesProperty); } - set { SetValue(SourcesProperty, value); } - } - - /// - /// Identifies the dependency property. - /// - public static readonly DependencyProperty SourcesProperty = - DependencyProperty.Register("Sources", typeof(DataCollection), typeof(MarkerGraph), new PropertyMetadata(null, OnSourcesChanged)); - - private static void OnSourcesChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) - { - MarkerGraph me = (MarkerGraph)d; - DataCollection col = (DataCollection)e.NewValue; - if (e.OldValue != null) - { - ((DataCollection)e.OldValue).CollectionChanged -= me.OnSourceCollectionChanged; - ((DataCollection)e.OldValue).DataSeriesUpdated -= me.OnSourceDataUpdated; - } - col.CollectionChanged += me.OnSourceCollectionChanged; - col.DataSeriesUpdated += me.OnSourceDataUpdated; - - // Signal about total change of collection - me.OnSourceCollectionChanged(me, new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset)); - } - - private void OnSourceDataUpdated(object s, DataSeriesUpdatedEventArgs e) - { - StartRenderTask(true); - foreach (var b in batches) - b.AddChangedProperties(new string[] { e.Key }); - InvalidateContentBounds(); // This will cause measure and arrange pass - } - - private void OnSourceCollectionChanged(object s, NotifyCollectionChangedEventArgs e) - { - if (e.NewItems != null) - { - foreach (DataSeries ds in e.NewItems) - { - ds.Owner = this; - //var pc = ds.Converter as IPlotValueConverter; - //if (pc != null) - // pc.Plot = masterField; - } - } - - modelType = null; - StartRenderTask(true); - InvalidateContentBounds(); // This will cause measure and arrange pass - } - - #endregion - #region Sample marker model - - /// - /// Identifies the dependency property. - /// - public static readonly DependencyProperty SampleMarkerModelProperty = - DependencyProperty.Register("SampleMarkerModel", - typeof(DynamicMarkerViewModel), - typeof(MarkerGraph), - new PropertyMetadata(null)); - - /// - /// Gets or sets the sample marker shown in default legend. - /// Default value is null. - [Browsable(false)] - public DynamicMarkerViewModel SampleMarkerModel - { - get - { - return (DynamicMarkerViewModel)GetValue(SampleMarkerModelProperty); - } - set - { - SetValue(SampleMarkerModelProperty, value); - } - } - #endregion - #region MarkersBatchSize - - /// - /// Identifies the dependency property. - /// - public static readonly DependencyProperty MarkersBatchSizeProperty = - DependencyProperty.Register("MarkersBatchSize", - typeof(int), - typeof(MarkerGraph), - new PropertyMetadata(500, OnMarkersBatchSizePropertyChanged)); - - private static void OnMarkersBatchSizePropertyChanged(object sender, DependencyPropertyChangedEventArgs e) - { - MarkerGraph m = sender as MarkerGraph; - m.Children.Clear(); - m.batches.Clear(); - m.StartRenderTask(false); - m.InvalidateBounds(); // This will cause new measure cycle - } - - /// - /// Gets or sets the number of markers to draw as a single batch operation. Large values for - /// complex marker templates may decrease application responsiveness. Small values may result in - /// longer times before marker graph fully updates. - /// Default value is 500. - /// - [Category("InteractiveDataDisplay")] - public int MarkersBatchSize - { - get - { - return (int)GetValue(MarkersBatchSizeProperty); - } - set - { - SetValue(MarkersBatchSizeProperty, value); - } - } - - - #endregion - #region Stroke - - /// - /// Identifies the dependency property. - /// - public static readonly DependencyProperty StrokeProperty = - DependencyProperty.Register("Stroke", - typeof(SolidColorBrush), - typeof(MarkerGraph), - new PropertyMetadata(new SolidColorBrush(Colors.Black), OnStrokePropertyChanged)); - - private static void OnStrokePropertyChanged(object sender, DependencyPropertyChangedEventArgs e) - { - MarkerGraph m = sender as MarkerGraph; - m.StartRenderTask(false); - foreach (var b in m.batches) - b.AddChangedProperties(new string[] { "Stroke" }); - m.InvalidateMeasure(); - } - - /// - /// Gets or sets the stroke for markers. - /// Default value is black color. - /// - [Category("Appearance")] - public SolidColorBrush Stroke - { - get { return (SolidColorBrush)GetValue(StrokeProperty); } - set { SetValue(StrokeProperty, value); } - } - - - #endregion - #region StrokeThickness - - /// - /// Identifies the dependency property. - /// - public static readonly DependencyProperty StrokeThicknessProperty = - DependencyProperty.Register("StrokeThickness", - typeof(double), - typeof(MarkerGraph), - new PropertyMetadata(1.0, OnStrokeThicknessPropertyChanged)); - - private static void OnStrokeThicknessPropertyChanged(object sender, DependencyPropertyChangedEventArgs e) - { - MarkerGraph m = sender as MarkerGraph; - m.StartRenderTask(false); - foreach (var b in m.batches) - b.AddChangedProperties(new string[] { "StrokeThickness" }); - m.InvalidateMeasure(); - } - - /// - /// Gets or sets stroke thickness of markers. - /// Default value is 1. - /// - [Category("Appearance")] - public double StrokeThickness - { - get { return (double)GetValue(StrokeThicknessProperty); } - set { SetValue(StrokeThicknessProperty, value); } - } - - - #endregion - /// Ensures that models array is up to date according to current collection - private void SyncMarkerViewModels() - { - int markerCount = (Sources != null && Sources.IsValid) ? (Sources.MarkerCount) : (0); - if (markerCount == 0) - { - if (models.Count > 0) - models.Clear(); - if (SampleMarkerModel != null) - SampleMarkerModel = null; - } - else - { - if (modelType == null) - { - modelType = DynamicTypeGenerator.GenerateMarkerViewModelType(Sources); - models.Clear(); - } - for (int i = models.Count; i < markerCount; i++) - models.Add(Activator.CreateInstance(modelType, i, Sources, true) as DynamicMarkerViewModel); - if (models.Count > markerCount) - models.RemoveRange(markerCount, models.Count - markerCount); - if (SampleMarkerModel != models[0]) - SampleMarkerModel = models[0]; - } - } - /// - /// Returns a converter used to transform specified marker graph to its data bounds. - /// - /// A marker graph's template to search converter. - /// - protected static IValueConverter GetDataBoundsConverter(DataTemplate markerTemplate) - { - if (markerTemplate == null) - return new DefaultDataBoundsConverter(); - - var marker = (FrameworkElement)markerTemplate.LoadContent(); - - IValueConverter conv = null; - if (marker.Resources.Contains("DataBoundsFunc")) - conv = marker.Resources["DataBoundsFunc"] as IValueConverter; - if (conv == null) - conv = new DefaultDataBoundsConverter(); - return conv; - } - /// - /// Returns a converter used to transform specified marker graph to its screen thickness. - /// - /// A marker graph's template to search converter. - /// - protected static IValueConverter GetScreenThicknessConverter(DataTemplate markerTemplate) - { - if (markerTemplate == null) - return new DefaultScreenThicknessConverter(); - var marker = (FrameworkElement)markerTemplate.LoadContent(); - IValueConverter conv = null; - if (marker.Resources.Contains("ScreenBoundsFunc")) - conv = marker.Resources["ScreenBoundsFunc"] as IValueConverter; - if (conv == null) - conv = new DefaultScreenThicknessConverter(); - return conv; - } - /// This method is invoked when application is in idle state - void IdleDraw(object sender, EventArgs e) - { - bool finished = true; - SyncMarkerViewModels(); - // Remove extra batches. Such removals take a lot of time, so we do it at idle handlers - if (batches.Count > Math.Ceiling(models.Count / (double)MarkersBatchSize)) - { - var b = batches[batches.Count - 1]; - Children.Remove(b.Panel); - Children.Remove(b.Image); - batches.RemoveAt(batches.Count - 1); - finished = false; - } - // Find first batch that is ready for Image updating - var batch = batches.FirstOrDefault(b => b.PanelVersion == plotVersion && - b.Panel.Visibility == System.Windows.Visibility.Visible && - b.IsLayoutUpdated && - b.ImageVersion != plotVersion); - if (batch != null) - { - batch.PlotRect = ActualPlotRect; - var panelSize = new Size(Math.Max(1, batch.Panel.RenderSize.Width), Math.Max(1, batch.Panel.RenderSize.Height)); - var renderSize = new Size( - Math.Min(MaxSnapshotSize.Width, panelSize.Width), - Math.Min(MaxSnapshotSize.Height, panelSize.Height)); - if (batch.Content == null || batch.Content.PixelWidth != (int)Math.Ceiling(renderSize.Width) || batch.Content.PixelHeight != (int)Math.Ceiling(renderSize.Height)) - batch.Content = new RenderTargetBitmap((int)renderSize.Width, (int)renderSize.Height, 96, 96, PixelFormats.Pbgra32); - else - batch.Content.Clear(); - - ScaleTransform transform = new ScaleTransform - { - ScaleX = renderSize.Width < panelSize.Width ? renderSize.Width / panelSize.Width : 1.0, - ScaleY = renderSize.Height < panelSize.Height ? renderSize.Height / panelSize.Height : 1.0 - }; - var panel = batch.Panel; - panel.RenderTransform = transform; - batch.Content = new RenderTargetBitmap((int)renderSize.Width, (int)renderSize.Height, 96, 96, PixelFormats.Pbgra32); - batch.Content.Render(panel); - batch.ImageVersion = plotVersion; - finished = false; - } - // Find first batch that should be rendered - batch = batches.FirstOrDefault(b => b.PanelVersion != plotVersion); - if (batch != null) - { - int idx = batches.IndexOf(batch); - if (!batch.Panel.IsMaster && idx * MarkersBatchSize < models.Count) - { - if (MarkerTemplate == null) - { - batch.Panel.Children.Clear(); - } - else - { - int batchSize = Math.Min(MarkersBatchSize, models.Count - idx * MarkersBatchSize); - while (batch.Panel.Children.Count > batchSize) - batch.Panel.Children.RemoveAt(batch.Panel.Children.Count - 1); - for (int i = 0; i < batch.Panel.Children.Count; i++) - { - var mvm = models[i + idx * MarkersBatchSize]; - var fe = batch.Panel.Children[i] as FrameworkElement; - if (fe.DataContext != mvm) - fe.DataContext = mvm; - else - mvm.Notify(batch.ChangedProperties); - } - for (int i = batch.Panel.Children.Count; i < batchSize; i++) - { - var fe = MarkerTemplate.LoadContent() as FrameworkElement; - fe.DataContext = models[i + idx * MarkersBatchSize]; - if (TooltipTemplate != null) - { - var tc = new ContentControl - { - Content = fe.DataContext, - ContentTemplate = TooltipTemplate - }; - ToolTipService.SetToolTip(fe, tc); - } - batch.Panel.Children.Add(fe); - } - markersDrawn += batchSize; - } - batch.IsLayoutUpdated = false; - batch.Image.Visibility = System.Windows.Visibility.Collapsed; - batch.Image.RenderTransform = null; - batch.Panel.Visibility = System.Windows.Visibility.Visible; - batch.Panel.InvalidateMeasure(); - batch.PanelVersion = plotVersion; - batch.ClearChangedProperties(); - } - finished = false; - } - if (finished) - { - idleTask.Stop(); - isDrawing = false; - if (currentTaskId != -1) - { - renderCompletion.OnNext(new MarkerGraphRenderCompletion(currentTaskId, markersDrawn)); - currentTaskId = -1; - } - } - } - /// - /// Updates data in data series and starts redrawing marker graph. This method returns before - /// marker graph is redrawn. This method is thread safe. - /// - /// List of new values for data series. Elements from are - /// assigned to data series in the order in which data series were defined in XAML or were added - /// to collection. - /// ID of rendering task. You can subscribe to to get notified when - /// marker graph is completely updated. - /// - /// Next code will set two arrays as values of two first data series: - /// - /// markerGraph.Plot(new int[] { 1,2,3 }, new double[] { -10.0, 0, 20.0 }); - /// - /// - public long Plot(params object[] list) - { - if (list == null) - throw new ArgumentNullException("list"); - long taskId = nextTaskId++; - if (Thread.CurrentThread.ManagedThreadId == UIThreadID) - { - PlotSync(taskId, list); - } - else - { - Dispatcher.BeginInvoke(new Action(() => - { - PlotSync(taskId, list); - })); - } - return taskId; - } - /// - /// This method is similar to method but can be called only from main thread. - /// - /// ID of rendering task. - /// List of new values for data series. Elements from are - /// assigned to data series in the order in which data series were defined in XAML or were added - /// to collection. - protected void PlotSync(long taskId, params object[] list) - { - if (list == null) - throw new ArgumentNullException("list"); - - if (currentTaskId != -1) - renderCompletion.OnNext(new MarkerGraphRenderCompletion(currentTaskId, markersDrawn)); - for (int i = 0; i < list.Length; i++) - { - if (Sources[i].Data == list[i]) - Sources[i].Update(); - else - Sources[i].Data = list[i]; - Sources[i].Owner = this; - } - currentTaskId = taskId; - } - #region Render completion notifications - private Subject renderCompletion = new Subject(); - /// - /// Gets the source of notification about render completion. - /// - public IObservable RenderCompletion - { - get - { - return renderCompletion; - } - } - /// - /// Gets the state indicating whether rendering is completed or not. - /// - public bool IsBusy - { - get - { - lock (this) - { - return isDrawing; - } - } - } - private void StartRenderTask(bool completeCurrent) - { - if (completeCurrent && currentTaskId != -1) - { - renderCompletion.OnNext(new MarkerGraphRenderCompletion(currentTaskId, markersDrawn)); - currentTaskId = -1; - } - isDrawing = true; - markersDrawn = 0; - plotVersion++; - idleTask.Start(); - } - #endregion - private bool isPaddingValid = false; - private Thickness localPadding; - private bool areContentBoundsValid = false; - private DataRect localPlotBounds; - /// - /// Invalidates effective plot coordinate ranges. - /// This usually schedules recalculation of plot layout. - /// - public override void InvalidateBounds() - { - areContentBoundsValid = false; - base.InvalidateBounds(); - } - private void InvalidateContentBounds() - { - isPaddingValid = false; - InvalidateBounds(); - } - private void UpdateLocalPadding() - { - if (!isPaddingValid) - { - IValueConverter screenThicknessConverter = GetScreenThicknessConverter(MarkerTemplate); - Thickness finalThickness = new Thickness(); - SyncMarkerViewModels(); - if (!(screenThicknessConverter is DefaultScreenThicknessConverter) || Sources.ContainsSeries("D")) - for (int i = 0; i < models.Count; i++) - { - Thickness thickness = (Thickness)screenThicknessConverter.Convert(models[i], typeof(Thickness), null, CultureInfo.InvariantCulture); - finalThickness = new Thickness( - Math.Max(finalThickness.Left, thickness.Left), - Math.Max(finalThickness.Top, thickness.Top), - Math.Max(finalThickness.Right, thickness.Right), - Math.Max(finalThickness.Bottom, thickness.Bottom) - ); - } - localPadding = finalThickness; - isPaddingValid = true; - } - } - /// - /// Gets the range of {x, y} plot coordinates that corresponds to all the markers shown on the plot. - /// - /// - protected override DataRect ComputeBounds() - { - if (!areContentBoundsValid) - { - IValueConverter boundsConverter = GetDataBoundsConverter(MarkerTemplate); - SyncMarkerViewModels(); - DataRect[] rects = new DataRect[models.Count]; - for (int i = 0; i < models.Count; i++) - { - rects[i] = (DataRect)boundsConverter.Convert(models[i], typeof(DataRect), null, CultureInfo.InvariantCulture); - } - DataRect union = rects.Length > 0 ? rects[0] : new DataRect(-0.5, -0.5, 0.5, 0.5); - for (int i = 1; i < rects.Length; i++) - union.Surround(rects[i]); - if (union.XMax == union.XMin) - union = new DataRect(union.XMin - 0.5, union.YMin, union.XMin - 0.5 + union.Width + 1.0, union.YMin + union.Height); - if (union.YMax == union.YMin) - union = new DataRect(union.XMin, union.YMin - 0.5, union.XMin + union.Width, union.YMin - 0.5 + union.Height + 1.0); - localPlotBounds = union; - areContentBoundsValid = true; - } - return localPlotBounds; - } - #region Marker Template - /// - /// Gets or sets the appearance of displaying markers. - /// Predefined static resources for marker template are: - /// Box, Circle, Diamond, Triangle, Cross, ErrorBar, BarGraph and VerticalInterval. - /// Default value is null. - /// - [Category("InteractiveDataDisplay")] - public DataTemplate MarkerTemplate - { - get { return (DataTemplate)GetValue(MarkerTemplateProperty); } - set { SetValue(MarkerTemplateProperty, value); } - } - - /// - /// Identifies the dependency property. - /// - public static readonly DependencyProperty MarkerTemplateProperty = - DependencyProperty.Register("MarkerTemplate", typeof(DataTemplate), - typeof(MarkerGraph), new PropertyMetadata(null, OnMarkerTemplatePropertyChanged)); - - private static void OnMarkerTemplatePropertyChanged(object sender, DependencyPropertyChangedEventArgs e) - { - MarkerGraph m = sender as MarkerGraph; - foreach (var b in m.batches) - { - b.Panel.Children.Clear(); - } - m.StartRenderTask(false); - m.InvalidateBounds(); - } - - #endregion - #region Legend Template - /// - /// Gets or sets the appearance of displaying legend. - /// Predefined static resources for legend template for each type of marker templates are: - /// DefaultLegendTemplate, simple Legend, ColorLegend, SizeLegend and ColorSizeLegend. - /// Default value is null. - /// - [Category("InteractiveDataDisplay")] - public DataTemplate LegendTemplate - { - get { return (DataTemplate)GetValue(LegendTemplateProperty); } - set { SetValue(LegendTemplateProperty, value); } - } - - /// - /// Identifies the dependency property. - /// - public static readonly DependencyProperty LegendTemplateProperty = - DependencyProperty.Register("LegendTemplate", typeof(DataTemplate), - typeof(MarkerGraph), new PropertyMetadata(null)); - #endregion - #region Tooltip Template - /// - /// Gets or sets the appearance of displaying tooltip. - /// Predefined static resources for tooltip template are: - /// DefaultTooltipTemplate, ColorTooltip, SizeTooltip and ColorSizeTooltip. - /// Default value is null. - /// - [Category("InteractiveDataDisplay")] - public DataTemplate TooltipTemplate - { - get { return (DataTemplate)GetValue(TooltipTemplateProperty); } - set { SetValue(TooltipTemplateProperty, value); } - } - - /// - /// Identifies the dependency property. - /// - public static readonly DependencyProperty TooltipTemplateProperty = - DependencyProperty.Register("TooltipTemplate", typeof(DataTemplate), - typeof(MarkerGraph), new PropertyMetadata(null, OnTooltipTemplatePropertyChanged)); - - private static void OnTooltipTemplatePropertyChanged(object sender, DependencyPropertyChangedEventArgs e) - { - MarkerGraph m = sender as MarkerGraph; - foreach (var b in m.batches) - { - b.Panel.Children.Clear(); - } - m.StartRenderTask(false); - m.InvalidateBounds(); - } - - #endregion - /// - /// Gets padding of marker graph. - /// - /// - protected override Thickness ComputePadding() - { - UpdateLocalPadding(); - return new Thickness( - Math.Max(Padding.Left, localPadding.Left), - Math.Max(Padding.Top, localPadding.Top), - Math.Max(Padding.Right, localPadding.Right), - Math.Max(Padding.Bottom, localPadding.Bottom)); - } - private double prevScaleX = Double.NaN, prevScaleY = Double.NaN, - prevOffsetX = Double.NaN, prevOffsetY = Double.NaN; - /// - /// Measures the size in layout required for child elements and determines a size for a . - /// - /// The available size that this element can give to child elements. Infinity can be specified as a value to indicate that the element will size to whatever content is available. - /// The size that this element determines it needs during layout, based on its calculations of child element sizes. - protected override Size MeasureOverride(Size availableSize) - { - // Update number of batches - SyncMarkerViewModels(); - int batchCount = (int)Math.Ceiling(models.Count / (double)MarkersBatchSize); - while (batches.Count < batchCount) - { - var b = new Batch(); - batches.Add(b); - Children.Add(b.Image); - Children.Add(b.Panel); - // Ensure inner plots have the same data transforms - b.Panel.SetBinding(PlotBase.XDataTransformProperty, - new Binding("XDataTransform") - { - Source = this - }); - b.Panel.SetBinding(PlotBase.YDataTransformProperty, - new Binding("YDataTransform") - { - Source = this - }); - } - availableSize = PerformAsMaster(availableSize); - // Request redraw of all batches if transform is changed - if (ScaleX != prevScaleX || ScaleY != prevScaleY || OffsetX != prevOffsetX || OffsetY != prevOffsetY) - { - prevScaleX = ScaleX; - prevScaleY = ScaleY; - prevOffsetX = OffsetX; - prevOffsetY = OffsetY; - idleTask.Start(); - plotVersion++; - foreach (var b in batches) - { - b.ChangedProperties = null; // Update all properties - b.Panel.Visibility = System.Windows.Visibility.Collapsed; - b.Image.Visibility = System.Windows.Visibility.Visible; - } - } - foreach (UIElement elt in Children) - { - Image img = elt as Image; - if (img != null) - { - Batch batch = img.Tag as Batch; - if (batch != null && batch.Image == elt) // Special algorithm for snapshot image - { - DataRect plotRect = batch.PlotRect; - var newLT = new Point(LeftFromX(plotRect.XMin), TopFromY(plotRect.YMax)); - var newRB = new Point(LeftFromX(plotRect.XMax), TopFromY(plotRect.YMin)); - batch.Image.Measure(new Size(newRB.X - newLT.X, newRB.Y - newLT.Y)); - } - else - elt.Measure(availableSize); - } - else - elt.Measure(availableSize); - } - return availableSize; - } - /// - /// Positions child elements and determines a size for a . - /// - /// The final area within the parent that Figure should use to arrange itself and its children. - /// The actual size used. - protected override Size ArrangeOverride(Size finalSize) - { - finalSize.Width = Math.Min(finalSize.Width, DesiredSize.Width); - finalSize.Height = Math.Min(finalSize.Height, DesiredSize.Height); - // Arranging child elements - foreach (UIElement elt in Children) - { - Image img = elt as Image; - if (img != null) - { - Batch batch = img.Tag as Batch; - if (batch != null && batch.Image == elt) // Special algorithm for snapshot image - { - DataRect plotRect = batch.PlotRect; - var newLT = new Point(LeftFromX(plotRect.XMin), TopFromY(plotRect.YMax)); - var newRB = new Point(LeftFromX(plotRect.XMax), TopFromY(plotRect.YMin)); - batch.Image.Arrange(new Rect(newLT.X, newLT.Y, newRB.X - newLT.X, newRB.Y - newLT.Y)); - } - else - elt.Arrange(new Rect(0, 0, finalSize.Width, finalSize.Height)); - } - else - elt.Arrange(new Rect(0, 0, finalSize.Width, finalSize.Height)); - } - if (ClipToBounds) - Clip = new RectangleGeometry - { - Rect = new Rect(new Point(0, 0), finalSize) - }; - else - Clip = null; - return finalSize; - } - } - /// - /// Information about completed rendering pass for . - /// - public class MarkerGraphRenderCompletion : RenderCompletion - { - private int markerCount; - /// - /// Initializes a new instance of class. - /// - /// ID of rendering task. - /// Number of markers actually rendered. - public MarkerGraphRenderCompletion(long taskId, int markerCount) - { - TaskId = taskId; - this.markerCount = markerCount; - } - /// - /// Gets the number of actually rendered markers. - /// - public int MarkerCount - { - get { return markerCount; } - } - } - internal class Batch - { - public Batch() - { - PanelVersion = -1; - ImageVersion = -1; - Image = new Image - { - Stretch = Stretch.Fill, - VerticalAlignment = VerticalAlignment.Stretch, - HorizontalAlignment = HorizontalAlignment.Stretch, - Tag = this - }; - Content = new RenderTargetBitmap(1, 1, 96, 96, PixelFormats.Pbgra32); - Panel = new SingleBatchPlot(); - Panel.LayoutUpdated += (s, a) => IsLayoutUpdated = true; - ChangedProperties = emptyArray; - } - public SingleBatchPlot Panel { get; set; } - public Image Image { get; set; } - public DataRect PlotRect { get; set; } - public RenderTargetBitmap Content - { - get { return (RenderTargetBitmap)Image.Source; } - set { Image.Source = value; } - } - public long PanelVersion { get; set; } - public long ImageVersion { get; set; } - /// List of properties that needs to be updated for this batch. Empty array means no - /// properties, null array means all properties - public string[] ChangedProperties { get; set; } - public bool IsLayoutUpdated { get; set; } - public void AddChangedProperties(IEnumerable props) - { - if (ChangedProperties == null) - ChangedProperties = props.ToArray(); - else - ChangedProperties = ChangedProperties.Concat(props.Where(p => !ChangedProperties.Contains(p))).ToArray(); - } - private static string[] emptyArray = new string[0]; - public void ClearChangedProperties() - { - ChangedProperties = emptyArray; - } - } - - /// Internal plotter with local plot rectangle control turned off - internal class SingleBatchPlot : Plot - { - public SingleBatchPlot() - { - ClipToBounds = false; - } - protected override DataRect ComputeBounds() - { - return DataRect.Empty; - } - public override void InvalidateBounds() - { - // Do nothing - } - } -} \ No newline at end of file diff --git a/vendors/optick/gui/InteractiveDataDisplay.WPF/Plots/Markers/MarkerGraphsWithTemplates.cs b/vendors/optick/gui/InteractiveDataDisplay.WPF/Plots/Markers/MarkerGraphsWithTemplates.cs deleted file mode 100644 index db67c25c9..000000000 --- a/vendors/optick/gui/InteractiveDataDisplay.WPF/Plots/Markers/MarkerGraphsWithTemplates.cs +++ /dev/null @@ -1,743 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. -// Licensed under the MIT License. - -using System.Windows; -using System.Windows.Media; -using System.ComponentModel; - -namespace InteractiveDataDisplay.WPF -{ - /// - /// A particular case of with circle markers. - /// - [Description("Circle markers graph")] - public class CircleMarkerGraph : CartesianSizeColorMarkerGraph - { - /// - /// Initializes a new instance of the class. - /// - public CircleMarkerGraph() - { - MarkerType = new CircleMarker(); - } - } - /// - /// A particular case of with box markers. - /// - [Description("Box markers graph")] - public class BoxMarkerGraph : CartesianSizeColorMarkerGraph - { - /// - /// Initializes a new instance of the class. - /// - public BoxMarkerGraph() - { - MarkerType = new BoxMarker(); - } - } - /// - /// A particular case of with diamond markers. - /// - [Description("Diamonds markers graph")] - public class DiamondMarkerGraph : CartesianSizeColorMarkerGraph - { - /// - /// Initializes a new instance of the class. - /// - public DiamondMarkerGraph() - { - MarkerType = new DiamondMarker(); - } - } - /// - /// A particular case of with triangle markers. - /// - [Description("Triangles markers graph")] - public class TriangleMarkerGraph : CartesianSizeColorMarkerGraph - { - /// - /// Initializes a new instance of the class. - /// - public TriangleMarkerGraph() - { - MarkerType = new TriangleMarker(); - } - } - /// - /// A particular case of with cross markers. - /// - [Description("Cross markers graph")] - public class CrossMarkerGraph : CartesianSizeColorMarkerGraph - { - /// - /// Initializes a new instance of the class. - /// - public CrossMarkerGraph() - { - MarkerType = new CrossMarker(); - } - } - /// - /// Displays error bar marker graph as a particular case of . - /// Has a set of additional data series: (key 'C') and (keys 'W' and 'H') to define width - /// (in screen coordinates) and height (in plot coordinates) of each marker. - /// - [Description("Marker graph showing verical intervals (center, error)")] - public class ErrorBarGraph : CartesianMarkerGraph - { - /// - /// Initializes a new instance of the class. - /// - public ErrorBarGraph() - { - Sources.Add(new DataSeries - { - Key = "H", - Description = "Observation error", - }); - Sources.Add(new DataSeries - { - Key = "W", - Description = "Width", - Data = 5 - }); - Sources.Add(new ColorSeries()); - - MarkerTemplate = ErrorBar; - LegendTemplate = ErrorBarLegend; - TooltipTemplate = DefaultTooltipTemplate; - - Description = "Observation error"; - } - /// - /// Updates data in data series and starts redrawing marker graph. This method returns before - /// marker graph is redrawn. This method is thread safe. - /// This version does not need specification of X . - /// Default value is a sequence of integers starting with zero. - /// - /// - /// Data for Y defining y coordinates of the center of each bar. - /// Can be a single value (to draw one marker or markers with the same y coordinates) - /// or an array or IEnumerable (to draw markers with different y coordinates) of any numeric type. - /// Can be null then no markers will be drawn. - /// - /// - /// Data for of observation error or the height of each bar. - /// Can be a single value (to draw markers of one height) - /// or an array or IEnumerable (to draw markers of different heights) of any numeric type. - /// Should be defined in plot coordinates. Can be null then no markers will be drawn. - /// - /// - /// Note that all vector data for should be of the same length. Otherwise no markers will be drawn. - /// - /// ID of rendering task. You can subscribe to notification about rendering completion events - /// as observer of RenderCompletion. - /// - public long PlotError(object y, object error) - { - return Plot(null, y, error); - } - /// - /// Updates data in data series and starts redrawing marker graph. This method returns before - /// marker graph is redrawn. This method is thread safe. - /// - /// - /// Data for X defining x coordinates of the center of each bar. - /// Can be a single value (to draw one marker or markers with the same x coordinates) - /// or an array or IEnumerable (to draw markers with different x coordinates) of any numeric type. - /// Can be null then x coordinates will be a sequence of integers starting with zero. - /// - /// - /// Data for Y defining y coordinates of the center of each bar. - /// Can be a single value (to draw one marker or markers with the same y coordinates) - /// or an array or IEnumerable (to draw markers with different y coordinates) of any numeric type. - /// Can be null then no markers will be drawn. - /// - /// - /// Data for of observation error or the height of each bar. - /// Can be a single value (to draw markers of one height) or an array or IEnumerable (to draw markers of different heights) of - /// any numeric type. Should be defined in plot coordinates. Can be null then no markers will be drawn. - /// - /// - /// Note that all vector data for should be of the same length. Otherwise no markers will be drawn. - /// - /// ID of rendering task. You can subscribe to notification about rendering completion events - /// as observer of RenderCompletion. - /// - public long PlotError(object x, object y, object error) - { - return Plot(x, y, error); - } - #region Size - /// - /// Identifies the dependency property. - /// - public static readonly DependencyProperty SizeProperty = DependencyProperty.Register( - "Size", typeof(object), typeof(ErrorBarGraph), new PropertyMetadata(5.0, OnSizeChanged)); - - /// - /// Gets or sets the data for width . - /// Can be a single value (to draw markers of one width) or an array or IEnumerable (to draw markers of different widths) of - /// any numeric type. Can be null then default value will be used for all markers. - /// Default value is 5. - /// - [Category("InteractiveDataDisplay")] - [Description("Screen width of intervals")] - public object Size - { - get { return (object)GetValue(SizeProperty); } - set { SetValue(SizeProperty, value); } - } - - private static void OnSizeChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) - { - ErrorBarGraph mg = (ErrorBarGraph)d; - mg.Sources["W"].Data = e.NewValue; - } - #endregion - #region Color - /// - /// Identifies the dependency property. - /// - public static readonly DependencyProperty ColorProperty = DependencyProperty.Register( - "Color", typeof(SolidColorBrush), typeof(ErrorBarGraph), new PropertyMetadata(new SolidColorBrush(Colors.Black), OnColorChanged)); - - /// - /// Gets or sets the data for . - /// Default value is black color. - /// - [Category("InteractiveDataDisplay")] - [Description("Color of interval markers")] - public SolidColorBrush Color - { - get { return (SolidColorBrush)GetValue(ColorProperty); } - set { SetValue(ColorProperty, value); } - } - - private static void OnColorChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) - { - ErrorBarGraph mg = (ErrorBarGraph)d; - mg.Sources["C"].Data = e.NewValue; - } - #endregion - #region Error - /// - /// Identifies the dependency property. - /// - public static readonly DependencyProperty ErrorProperty = DependencyProperty.Register( - "Error", typeof(object), typeof(ErrorBarGraph), new PropertyMetadata(null, OnErrorChanged)); - - /// - /// Gets or sets the data for of observation error or the height of each bar. - /// - /// Can be a single value (to draw markers of one height) or an array or IEnumerable (to draw markers of different heigths) of - /// any numeric type. Should be defined in plot coordinates. Can be null then no markers will be drawn. - /// - /// Default value is null. - /// - [Category("InteractiveDataDisplay")] - [Description("Half height of interval")] - public object Error - { - get { return (object)GetValue(ErrorProperty); } - set { SetValue(ErrorProperty, value); } - } - - private static void OnErrorChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) - { - ErrorBarGraph mg = (ErrorBarGraph)d; - mg.Sources["H"].Data = e.NewValue; - } - #endregion - #region ErrorDescription - /// - /// Identifies the dependency property. - /// - public static readonly DependencyProperty ErrorDescriptionProperty = DependencyProperty.Register( - "ErrorDescription", typeof(string), typeof(ErrorBarGraph), - new PropertyMetadata(null, OnErrorDescriptionChanged)); - - /// - /// Gets or sets the description for of the height of bars. - /// Is frequently used in legend and tooltip. - /// Default value is null. - /// - [Category("InteractiveDataDisplay")] - [Description("Description of interval series")] - public string ErrorDescription - { - get { return (string)GetValue(ErrorDescriptionProperty); } - set { SetValue(ErrorDescriptionProperty, value); } - } - - private static void OnErrorDescriptionChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) - { - ErrorBarGraph mg = (ErrorBarGraph)d; - mg.Sources["H"].Description = (string)e.NewValue; - mg.Sources["Y"].Description = (string)e.NewValue; - } - #endregion - } - /// - /// Displays bar chart graph as a particular case of marker graph. Has a set of data series: - /// X defining x coordinates of the center of each bar, - /// Y defining the value for each bar, - /// (key 'C') and (key 'W') to set width of each bar. - /// - [Description("Represents a bar chart")] - public class BarGraph : MarkerGraph - { - /// - /// Initializes a new instance of the class. - /// - public BarGraph() - { - Sources.Add (new DataSeries - { - Key = "X", - Description = "X" - }); - Sources.Add (new DataSeries - { - Key = "Y", - Description = "Y" - }); - Sources.Add(new DataSeries - { - Key = "W", - Description = "Width", - Data = 1.0 - }); - Sources.Add(new ColorSeries()); - Sources["C"].Data = "Blue"; - - LegendTemplate = BarGraphLegend; - TooltipTemplate = BarGraphTooltip; - MarkerTemplate = BarGraph; - - StrokeThickness = 2; // To compensate layout subpixel rounding - UseLayoutRounding = false; - } - /// - /// Updates data in data series and starts redrawing marker graph. This method returns before - /// marker graph is redrawn. This method is thread safe. - /// Color and width of markers are getting from and dependency properties. - /// - /// - /// Data for X defining x coordinates of the center of each bar. - /// Can be a single value (to draw one marker or markers with the same x coordinates) - /// or an array or IEnumerable (to draw markers with different x coordinates) of any numeric type. - /// Can be null then x coordinates will be a sequence of integers starting with zero. - /// - /// - /// Data for Y defining the value of each bar. - /// Can be a single value (to draw one marker or markers with the same y values) - /// or an array or IEnumerable (to draw markers with different y values) of any numeric type. - /// Can be null then no markers will be drawn. - /// - /// - /// Note that all vector data for should be of the same length. - /// Otherwise no markers will be drawn. - /// - /// ID of rendering task. You can subscribe to notification about rendering completion events - /// as observer of RenderCompletion. - /// - public long PlotBars(object x, object y) - { - return Plot(x, y, BarsWidth, Color); - } - /// - /// Updates data in data series and starts redrawing marker graph. This method returns before - /// marker graph is redrawn. This method is thread safe. - /// This version does not need specification of X . Default value is a sequence of integers starting with zero. - /// Color and width of markers are getting from and dependency properties. - /// - /// - /// Data for Y defining the value of each bar. - /// Can be a single value (to draw one marker or markers with the same y values) - /// or an array or IEnumerable (to draw markers with different y values) of any numeric type. - /// Can be null then no markers will be drawn. - /// - /// ID of rendering task. You can subscribe to notification about rendering completion events - /// as observer of RenderCompletion. - /// - public long PlotBars(object y) - { - return Plot(null, y, BarsWidth, Color); - } - #region X - /// - /// Identifies the dependency property. - /// - public static readonly DependencyProperty XProperty = DependencyProperty.Register( - "X", typeof(object), typeof(BarGraph), new PropertyMetadata(null, OnXChanged)); - - /// - /// Gets or sets the data of X defining x coordinates of the center of bars. - /// Can be a single value (to draw one marker or markers with the same x coordinates) - /// or an array or IEnumerable (to draw a set of different markers) of any numeric type. - /// Can be null then x coordinates will be a sequence of integers starting with zero. - /// Default value is null. - /// - [Category("InteractiveDataDisplay")] - [Description("Centers of vertical bars")] - public object X - { - get { return (object)GetValue(XProperty); } - set { SetValue(XProperty, value); } - } - - private static void OnXChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) - { - BarGraph mg = (BarGraph)d; - mg.Sources["X"].Data = e.NewValue; - } - #endregion - #region Y - /// - /// Identifies the dependency property. - /// - public static readonly DependencyProperty YProperty = DependencyProperty.Register( - "Y", typeof(object), typeof(BarGraph), new PropertyMetadata(null, OnYChanged)); - - /// - /// Gets or sets the data for Y defining the value of bars. - /// Can be a single value (to draw one marker or markers with the same y values) - /// or an array or IEnumerable (to draw markers with different y values) of any numeric type. - /// Can be null then no markers will be drawn. - /// Default value is null. - /// - [Category("InteractiveDataDisplay")] - [Description("Vertical sizes of vars")] - public object Y - { - get { return (object)GetValue(YProperty); } - set { SetValue(YProperty, value); } - } - - private static void OnYChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) - { - BarGraph mg = (BarGraph)d; - mg.Sources["Y"].Data = e.NewValue; - - } - #endregion - #region Description - /// - /// Identifies the dependency property. - /// - public static readonly DependencyProperty DescriptionProperty = DependencyProperty.Register( - "Description", typeof(string), typeof(BarGraph), new PropertyMetadata(null, OnDescriptionChanged)); - - /// - /// Gets or sets the description of Y . Is frequently used in legend and tooltip. - /// Default value is null. - /// - [Category("InteractiveDataDisplay")] - [Description("Text for legend and tooltip")] - public string Description - { - get { return (string)GetValue(DescriptionProperty); } - set { SetValue(DescriptionProperty, value); } - } - - private static void OnDescriptionChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) - { - BarGraph mg = (BarGraph)d; - mg.Sources["Y"].Description = (string)e.NewValue; - } - #endregion - #region BarsWidth - /// - /// Identifies the dependency property. - /// - public static readonly DependencyProperty BarsWidthProperty = DependencyProperty.Register( - "BarsWidth", typeof(object), typeof(BarGraph), new PropertyMetadata(1.0, OnBarsWidthChanged)); - - /// - /// Gets or sets the data for (key 'W') of width of bars in plot coordinates. - /// Can be a single value (to draw markers of one width) or an array or IEnumerable - /// (to draw markers with different widths) of any numeric type. - /// Default value is 1. - /// - [Category("InteractiveDataDisplay")] - [Description("Widths of bars in plot coordinates")] - public object BarsWidth - { - get { return (object)GetValue(BarsWidthProperty); } - set { SetValue(BarsWidthProperty, value); } - } - - private static void OnBarsWidthChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) - { - BarGraph mg = (BarGraph)d; - mg.Sources["W"].Data = e.NewValue; - } - #endregion - #region Color - /// - /// Identifies the dependency property. - /// - public static readonly DependencyProperty ColorProperty = DependencyProperty.Register( - "Color", typeof(SolidColorBrush), typeof(BarGraph), new PropertyMetadata(new SolidColorBrush(Colors.Blue), OnColorChanged)); - - /// - /// Gets or sets the color of bars. - /// Default value is blue color. - /// - [Category("InteractiveDataDisplay")] - [Description("Bars fill color")] - public SolidColorBrush Color - { - get { return (SolidColorBrush)GetValue(ColorProperty); } - set { SetValue(ColorProperty, value); } - } - - private static void OnColorChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) - { - BarGraph mg = (BarGraph)d; - mg.Sources["C"].Data = e.NewValue; - } - #endregion - } - /// - /// A particular case of marker graph that enables visualizations of vertical intervals (bars) - /// by defining top and bottom coordinates of each bar. - /// - [Description("Marker graph showing verical intervals (min,max)")] - public class VerticalIntervalGraph : MarkerGraph - { - /// - /// Initializes a new instance of the class. - /// - public VerticalIntervalGraph() - { - Sources.Add(new DataSeries - { - Key = "X", - Description = "X", - }); - Sources.Add(new DataSeries - { - Key = "Y1", - Description = "Interval bound" - }); - Sources.Add(new DataSeries - { - Key = "Y2", - Description = "Interval bound" - }); - Sources.Add(new DataSeries - { - Key = "W", - Description = "Width", - Data = 5 - }); - Sources.Add(new ColorSeries()); - - MarkerTemplate = VerticalIntervalBar; - LegendTemplate = VerticalIntervalLegend; - TooltipTemplate = VerticalIntervalTooltip; - - Description = "Interval"; - } - /// - /// Updates data in data series and starts redrawing marker graph. This method returns before - /// marker graph is redrawn. This method is thread safe. - /// This version does not need specification of X . - /// Default value is a sequence of integers starting with zero. - /// Color and width of markers are getting from and dependency properties. - /// - /// - /// Data for defining y coordinates of the bottom of each bar. - /// Can be a single value (to draw one marker or markers with the same bottom y coordinates) - /// or an array or IEnumerable (to draw markers with different bottom y coordinates) of any numeric type. - /// Can be null then no markers will be drawn. - /// - /// - /// Data for defining y coordinates of the top of each bar. - /// Can be a single value (to draw one marker or markers with the same top y coordinates) - /// or an array or IEnumerable (to draw markers with different top y coordinates) of any numeric type. - /// Can be null then no markers will be drawn. - /// - /// - /// Note that all vector data for should be of the same length. - /// Otherwise no markers will be drawn. - /// - /// ID of rendering task. You can subscribe to notification about rendering completion events - /// as observer of RenderCompletion. - /// - public long PlotIntervals(object y1, object y2) - { - return Plot(null, y1, y2); - } - /// - /// Updates data in data series and starts redrawing marker graph. This method returns before - /// marker graph is redrawn. This method is thread safe. - /// Color and width of markers are getting from and dependency properties. - /// - /// - /// Data for X defining x coordinates of the center of each bar. - /// Can be a single value (to draw one marker or markers with the same x coordinates) - /// or an array or IEnumerable (to draw markers with different x coordinates) of any numeric type. - /// Can be null then x coordinates will be a sequence of integers starting with zero. - /// - /// - /// Data for defining y coordinates of the bottom of each bar. - /// Can be a single value (to draw one marker or markers with the same bottom y coordinates) - /// or an array or IEnumerable (to draw markers with different bottom y coordinates) of any numeric type. - /// Can be null then no markers will be drawn. - /// - /// - /// Data for defining y coordinates of the top of each bar. - /// Can be a single value (to draw one marker or markers with the same top y coordinates) - /// or an array or IEnumerable (to draw markers with different top y coordinates) of any numeric type. - /// Can be null then no markers will be drawn. - /// - /// - /// Note that all vector data for should be of the same length. - /// Otherwise no markers will be drawn. - /// - /// ID of rendering task. You can subscribe to notification about rendering completion events - /// as observer of RenderCompletion. - /// - public long PlotIntervals(object x, object y1, object y2) - { - return Plot(x, y1, y2); - } - #region Size - /// - /// Identifies the dependency property. - /// - public static readonly DependencyProperty SizeProperty = DependencyProperty.Register( - "Size", typeof(object), typeof(VerticalIntervalGraph), new PropertyMetadata(5.0, OnSizeChanged)); - - /// - /// Gets or sets the data for width (key 'W'). - /// Can be a single value (to draw markers of one width) - /// or an array or IEnumerable (to draw markers of different widths) of - /// any numeric type. Can be null then no markers will be drawn. - /// Default value is 5. - /// - [Category("InteractiveDataDisplay")] - [Description("Screen width of intervals")] - public object Size - { - get { return (object)GetValue(SizeProperty); } - set { SetValue(SizeProperty, value); } - } - - private static void OnSizeChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) - { - VerticalIntervalGraph mg = (VerticalIntervalGraph)d; - mg.Sources["W"].Data = e.NewValue; - } - #endregion - #region Color - /// - /// Identifies the dependency property. - /// - public static readonly DependencyProperty ColorProperty = DependencyProperty.Register( - "Color", typeof(SolidColorBrush), typeof(VerticalIntervalGraph), new PropertyMetadata(new SolidColorBrush(Colors.Black), OnColorChanged)); - - /// - /// Gets or sets the data for . - /// Default value is black color. - /// - [Category("InteractiveDataDisplay")] - [Description("Color of interval markers")] - public SolidColorBrush Color - { - get { return (SolidColorBrush)GetValue(ColorProperty); } - set { SetValue(ColorProperty, value); } - } - - private static void OnColorChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) - { - VerticalIntervalGraph mg = (VerticalIntervalGraph)d; - mg.Sources["C"].Data = e.NewValue; - } - #endregion - #region Y1 - /// - /// Identifies the dependency property. - /// - public static readonly DependencyProperty Y1Property = DependencyProperty.Register( - "Y1", typeof(object), typeof(VerticalIntervalGraph), new PropertyMetadata(null, OnY1Changed)); - - /// - /// Gets or sets the data for (key 'Y1') defining y coordinates of the bottom of each bar. - /// Can be a single value (to draw one marker or markers with the same bottom y coordinates) - /// or an array or IEnumerable (to draw markers with different bottom y coordinates) of any numeric type. - /// Can be null then no markers will be drawn. - /// - [Category("InteractiveDataDisplay")] - [Description("Bound of interval")] - public object Y1 - { - get { return (object)GetValue(Y2Property); } - set { SetValue(Y2Property, value); } - } - - private static void OnY1Changed(DependencyObject d, DependencyPropertyChangedEventArgs e) - { - VerticalIntervalGraph mg = (VerticalIntervalGraph)d; - mg.Sources["Y1"].Data = e.NewValue; - } - #endregion - #region Y2 - /// - /// Identifies the dependency property. - /// - public static readonly DependencyProperty Y2Property = DependencyProperty.Register( - "Y2", typeof(object), typeof(VerticalIntervalGraph), new PropertyMetadata(null, OnY1Changed)); - - /// - /// Gets or sets the data for (key 'Y2') defining y coordinates of the top of each bar. - /// Can be a single value (to draw one marker or markers with the same top y coordinates) - /// or an array or IEnumerable (to draw markers with different top y coordinates) of any numeric type. - /// Can be null then no markers will be drawn. - /// - [Category("InteractiveDataDisplay")] - [Description("Bound of interval")] - public object Y2 - { - get { return (object)GetValue(Y2Property); } - set { SetValue(Y2Property, value); } - } - - private static void OnY2Changed(DependencyObject d, DependencyPropertyChangedEventArgs e) - { - VerticalIntervalGraph mg = (VerticalIntervalGraph)d; - mg.Sources["Y2"].Data = e.NewValue; - } - #endregion - #region Description - /// - /// Identifies the dependency property. - /// - public static readonly DependencyProperty DescriptionProperty = DependencyProperty.Register( - "Description", typeof(string), typeof(VerticalIntervalGraph), - new PropertyMetadata(null, OnDescriptionChanged)); - - /// - /// Gets or sets the description for of bounds of intervals. - /// Default value is null. - /// - [Category("InteractiveDataDisplay")] - [Description("Description of interval series")] - public string Description - { - get { return (string)GetValue(DescriptionProperty); } - set { SetValue(DescriptionProperty, value); } - } - - private static void OnDescriptionChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) - { - VerticalIntervalGraph mg = (VerticalIntervalGraph)d; - mg.Sources["Y1"].Description = (string)e.NewValue; - mg.Sources["Y2"].Description = (string)e.NewValue; - } - #endregion - } -} \ No newline at end of file diff --git a/vendors/optick/gui/InteractiveDataDisplay.WPF/Plots/Markers/MarkerTemplates.xaml b/vendors/optick/gui/InteractiveDataDisplay.WPF/Plots/Markers/MarkerTemplates.xaml deleted file mode 100644 index 4f3374c97..000000000 --- a/vendors/optick/gui/InteractiveDataDisplay.WPF/Plots/Markers/MarkerTemplates.xaml +++ /dev/null @@ -1,756 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/vendors/optick/gui/InteractiveDataDisplay.WPF/Properties/AssemblyInfo.cs b/vendors/optick/gui/InteractiveDataDisplay.WPF/Properties/AssemblyInfo.cs deleted file mode 100644 index 41a980404..000000000 --- a/vendors/optick/gui/InteractiveDataDisplay.WPF/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,32 +0,0 @@ -using System; -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using System.Windows; - -//// General Information about an assembly is controlled through the following -//// set of attributes. Change these attribute values to modify the information -//// associated with an assembly. -//[assembly: AssemblyTitle("InteractiveDataDisplay.WPF")] -//[assembly: AssemblyDescription("")] -//[assembly: AssemblyConfiguration("")] -//[assembly: AssemblyCompany("")] -//[assembly: AssemblyProduct("InteractiveDataDisplay.WPF")] -//[assembly: AssemblyCopyright("Copyright © 2017")] -//[assembly: AssemblyTrademark("")] -//[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] -[assembly: CLSCompliant(true)] - -[assembly: ThemeInfo( - ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located - //(used if a resource is not found in the page, - // or application resource dictionaries) - ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located - //(used if a resource is not found in the page, - // app, or any theme specific resource dictionaries) -)] diff --git a/vendors/optick/gui/InteractiveDataDisplay.WPF/Themes/Generic.xaml b/vendors/optick/gui/InteractiveDataDisplay.WPF/Themes/Generic.xaml deleted file mode 100644 index 7a1788d1b..000000000 --- a/vendors/optick/gui/InteractiveDataDisplay.WPF/Themes/Generic.xaml +++ /dev/null @@ -1,138 +0,0 @@ - - - - - - - - - - - - - - diff --git a/vendors/optick/gui/InteractiveDataDisplay.WPF/Transforms/DataTransforms.cs b/vendors/optick/gui/InteractiveDataDisplay.WPF/Transforms/DataTransforms.cs deleted file mode 100644 index a0779071c..000000000 --- a/vendors/optick/gui/InteractiveDataDisplay.WPF/Transforms/DataTransforms.cs +++ /dev/null @@ -1,231 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. -// Licensed under the MIT License. - -using System; -using System.Windows; - -namespace InteractiveDataDisplay.WPF { - /// - /// Performs transformations between data values and plot coordinates. - /// - public abstract class DataTransform : DependencyObject - { - /// Gets range of valid data values. method returns NaN for - /// values outside this range. - /// - public Range Domain { get; private set; } - - /// - /// Initializes a new instance of class. - /// - /// A range of valid data. - protected DataTransform(Range domain) - { - Domain = domain; - } - - /// - /// Converts value from data to plot coordinates. - /// - /// A value in data coordinates. - /// Value converted to plot coordinates or NaN if - /// falls outside of . - public abstract double DataToPlot(double dataValue); - - /// - /// Converts value from plot coordinates to data. - /// - /// A value in plot coordinates. - /// Value converted to data coordinates or NaN if no value in data coordinates - /// matches . - public abstract double PlotToData(double plotValue); - - /// Identity transformation - public static readonly DataTransform Identity = new IdentityDataTransform(); - } - - /// - /// Provides identity transformation between data and plot coordinates. - /// - public class IdentityDataTransform : DataTransform - { - /// - /// Initializes a new instance of class. - /// - public IdentityDataTransform() - : base(new Range(double.MinValue, double.MaxValue)) - { - } - - /// - /// Returns a value in data coordinates without convertion. - /// - /// A value in data coordinates. - /// - public override double DataToPlot(double dataValue) - { - return dataValue; - } - - /// - /// Returns a value in plot coordinates without convertion. - /// - /// A value in plot coordinates. - /// - public override double PlotToData(double plotValue) - { - return plotValue; - } - } - - /// - /// Represents a mercator transform, used in maps. - /// Transforms y coordinates. - /// - public sealed class MercatorTransform : DataTransform - { - /// - /// Initializes a new instance of the class. - /// - public MercatorTransform() - : base(new Range(-85, 85)) - { - CalcScale(maxLatitude); - } - - /// - /// Initializes a new instance of the class. - /// - /// The maximal latitude. - public MercatorTransform(double maxLatitude) - : base(new Range(-maxLatitude, maxLatitude)) - { - this.maxLatitude = maxLatitude; - CalcScale(maxLatitude); - } - - private void CalcScale(double inputMaxLatitude) - { - double maxLatDeg = inputMaxLatitude; - double maxLatRad = maxLatDeg * Math.PI / 180; - scale = maxLatDeg / Math.Log(Math.Tan(maxLatRad / 2 + Math.PI / 4)); - } - - private double scale; - /// - /// Gets the scale. - /// - /// The scale. - public double Scale - { - get { return scale; } - } - - private double maxLatitude = 85; - /// - /// Gets the maximal latitude. - /// - /// The max latitude. - public double MaxLatitude - { - get { return maxLatitude; } - } - - /// - /// Converts value from mercator to plot coordinates. - /// - /// A value in mercator coordinates. - /// Value converted to plot coordinates. - public override double DataToPlot(double dataValue) - { - if (-maxLatitude <= dataValue && dataValue <= maxLatitude) - { - dataValue = scale * Math.Log(Math.Tan(Math.PI * (dataValue + 90) / 360)); - } - return dataValue; - } - - /// - /// Converts value from plot to mercator coordinates. - /// - /// A value in plot coordinates. - /// Value converted to mercator coordinates. - public override double PlotToData(double plotValue) - { - if (-maxLatitude <= plotValue && plotValue <= maxLatitude) - { - double e = Math.Exp(plotValue / scale); - plotValue = 360 * Math.Atan(e) / Math.PI - 90; - } - return plotValue; - } - } - - /// - /// Provides linear transform u = * d + from data value d to plot coordinate u. - /// - public sealed class LinearDataTransform : DataTransform - { - /// - /// Gets or sets the scale factor. - /// - public double Scale - { - get { return (double)GetValue(ScaleProperty); } - set { SetValue(ScaleProperty, value); } - } - /// - /// Identifies the dependency property. - /// - public static readonly DependencyProperty ScaleProperty = - DependencyProperty.Register("Scale", typeof(double), typeof(LinearDataTransform), new PropertyMetadata(1.0)); - - /// - /// Gets or sets the distance to translate an value. - /// - public double Offset - { - get { return (double)GetValue(OffsetProperty); } - set { SetValue(OffsetProperty, value); } - } - /// - /// Identifies the dependency property. - /// - public static readonly DependencyProperty OffsetProperty = - DependencyProperty.Register("Offset", typeof(double), typeof(LinearDataTransform), new PropertyMetadata(0.0)); - - /// - /// Initializes a new instance of the class. - /// - public LinearDataTransform() - : base(new Range(double.MinValue, double.MaxValue)) - { - } - - /// - /// Transforms a value according to defined and . - /// - /// A value in data coordinates. - /// Transformed value. - public override double DataToPlot(double dataValue) - { - return dataValue * Scale + Offset; - } - - /// - /// Returns a value in data coordinates from its transformed value. - /// - /// Transformed value. - /// Original value or NaN if is 0. - public override double PlotToData(double plotValue) - { - if (Scale != 0) - { - return (plotValue - Offset) / Scale; - } - else - return double.NaN; - } - } -} - diff --git a/vendors/optick/gui/InteractiveDataDisplay.WPF/VerticalContentControl.cs b/vendors/optick/gui/InteractiveDataDisplay.WPF/VerticalContentControl.cs deleted file mode 100644 index 894163ef4..000000000 --- a/vendors/optick/gui/InteractiveDataDisplay.WPF/VerticalContentControl.cs +++ /dev/null @@ -1,69 +0,0 @@ -// Copyright © Microsoft Corporation. All Rights Reserved. -// Licensed under the MIT License. - -using System.Windows; -using System.Windows.Controls; -using System.ComponentModel; -using System.Windows.Media; - -namespace InteractiveDataDisplay.WPF -{ - /// - /// Provides control that presents its content rotated by 90 degrees counterclockwise - /// - [TemplatePart(Name = "Presenter", Type = typeof(ContentPresenter))] - [Description("Presents content vertically")] - public class VerticalContentControl : ContentControl - { - private FrameworkElement contentPresenter; - - /// - /// Initializes new instance of class - /// - public VerticalContentControl() - { - DefaultStyleKey = typeof(VerticalContentControl); - } - - /// - /// Invoked whenever application code or internal processes call ApplyTemplate - /// - public override void OnApplyTemplate() - { - base.OnApplyTemplate(); - contentPresenter = GetTemplateChild("Presenter") as FrameworkElement; - } - - /// - /// Positions child elements and determines a size for a VerticalContentControl - /// - /// The final area within the parent that VerticalContentControl should use to arrange itself and its children - /// The actual size used - protected override Size ArrangeOverride(Size finalSize) - { - if (contentPresenter != null) - contentPresenter.Arrange(new Rect(new Point(0, 0), new Size(finalSize.Height, finalSize.Width))); - return finalSize; - } - - /// - /// Measures the size in layout required for child elements and determines a size for the VerticalContentControl. - /// - /// The available size that this element can give to child elements. Infinity can be specified as a value to indicate that the element will size to whatever content is available. - /// The size that this element determines it needs during layout, based on its calculations of child element sizes. - protected override Size MeasureOverride(Size availableSize) - { - if (contentPresenter == null) - return Size.Empty; - contentPresenter.Measure(new Size(availableSize.Height, availableSize.Width)); - contentPresenter.RenderTransform = new TransformGroup - { - Children = new TransformCollection(new Transform[] { - new RotateTransform { Angle = -90 }, - new TranslateTransform { Y = contentPresenter.DesiredSize.Width } - }) - }; - return new Size(contentPresenter.DesiredSize.Height, contentPresenter.DesiredSize.Width); - } - } -} \ No newline at end of file diff --git a/vendors/optick/gui/Optick/App.xaml b/vendors/optick/gui/Optick/App.xaml deleted file mode 100644 index 3325c2eee..000000000 --- a/vendors/optick/gui/Optick/App.xaml +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/vendors/optick/gui/Optick/App.xaml.cs b/vendors/optick/gui/Optick/App.xaml.cs deleted file mode 100644 index 2ade8441f..000000000 --- a/vendors/optick/gui/Optick/App.xaml.cs +++ /dev/null @@ -1,56 +0,0 @@ -using System; -using System.Windows; -using System.Reflection; -using System.IO; -using System.Diagnostics; -using Sentry; - -namespace Profiler -{ - /// - /// Interaction logic for App.xaml - /// - public partial class App : Application - { - - static App() - { - - } - - protected override void OnStartup(StartupEventArgs e) - { - AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException; - base.OnStartup(e); - } - - private void CurrentDomain_UnhandledException(object sender, UnhandledExceptionEventArgs e) - { - Exception ex = e.ExceptionObject as Exception; - ReportError(ex); - } - - private void Optick_DispatcherUnhandledException(object sender, System.Windows.Threading.DispatcherUnhandledExceptionEventArgs e) - { - e.Handled = ReportError(e.Exception); - } - - bool ReportError(Exception ex) - { - Exception rootException = ex; - - while (rootException.InnerException != null) - rootException = rootException.InnerException; - - if (MessageBox.Show("Unhandled Exception:\n" + rootException.ToString(), "Optick Crashed! Send report?", MessageBoxButton.OKCancel, MessageBoxImage.Error) == MessageBoxResult.OK) - { - using (SentrySdk.Init("https://52c8ab53c0cf47f28263fc211ebd4d38@sentry.io/1493349")) - { - SentrySdk.CaptureException(rootException); - } - return true; - } - return false; - } - } -} diff --git a/vendors/optick/gui/Optick/AppBootStrapper.cs b/vendors/optick/gui/Optick/AppBootStrapper.cs deleted file mode 100644 index 1e7e3337f..000000000 --- a/vendors/optick/gui/Optick/AppBootStrapper.cs +++ /dev/null @@ -1,27 +0,0 @@ -using Autofac; -using Profiler.InfrastructureMvvm; -using Profiler.ViewModels; -using Profiler.Views; -using Profiler.Controls; - -namespace Profiler -{ - public class AppBootStrapper: BootStrapperBase - { - protected override void ConfigureContainer(ContainerBuilder builder) - { - base.ConfigureContainer(builder); - - builder.RegisterType().AsSelf().AsImplementedInterfaces().SingleInstance(); - builder.RegisterType().SingleInstance(); - builder.RegisterType().AsSelf().AsImplementedInterfaces().SingleInstance(); - builder.RegisterType().SingleInstance(); - builder.RegisterType().AsSelf().AsImplementedInterfaces(); - builder.RegisterType().AsSelf(); - builder.RegisterType().As(); - - builder.RegisterType().AsSelf().AsImplementedInterfaces(); - builder.RegisterType().AsSelf(); - } - } -} diff --git a/vendors/optick/gui/Optick/Controls/AttachmentViewControl.xaml b/vendors/optick/gui/Optick/Controls/AttachmentViewControl.xaml deleted file mode 100644 index 73113f5a1..000000000 --- a/vendors/optick/gui/Optick/Controls/AttachmentViewControl.xaml +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/vendors/optick/gui/Optick/Controls/AttachmentViewControl.xaml.cs b/vendors/optick/gui/Optick/Controls/AttachmentViewControl.xaml.cs deleted file mode 100644 index d8da4a9da..000000000 --- a/vendors/optick/gui/Optick/Controls/AttachmentViewControl.xaml.cs +++ /dev/null @@ -1,53 +0,0 @@ -using Profiler.Data; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Windows; -using System.Windows.Controls; -using System.Windows.Data; -using System.Windows.Documents; -using System.Windows.Input; -using System.Windows.Media; -using System.Windows.Media.Imaging; -using System.Windows.Navigation; -using System.Windows.Shapes; - -namespace Profiler.Controls -{ - public class AttachmnetTemplateSelector : DataTemplateSelector - { - public DataTemplate ImageTemplate { get; set; } - public DataTemplate TextTemplate { get; set; } - public DataTemplate OtherTemplate { get; set; } - - public override DataTemplate SelectTemplate(object item, DependencyObject container) - { - FileAttachment attachment = item as FileAttachment; - if (attachment != null) - { - switch (attachment.FileType) - { - case FileAttachment.Type.IMAGE: - return ImageTemplate; - - case FileAttachment.Type.TEXT: - return TextTemplate; - } - } - return OtherTemplate; - } - } - - /// - /// Interaction logic for AttachmentViewControl.xaml - /// - public partial class AttachmentViewControl : UserControl - { - public AttachmentViewControl() - { - InitializeComponent(); - } - } -} diff --git a/vendors/optick/gui/Optick/Controls/CaptureStats.xaml b/vendors/optick/gui/Optick/Controls/CaptureStats.xaml deleted file mode 100644 index 04bc28a29..000000000 --- a/vendors/optick/gui/Optick/Controls/CaptureStats.xaml +++ /dev/null @@ -1,63 +0,0 @@ - - - - 1.777777777 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/vendors/optick/gui/Optick/Controls/CaptureStats.xaml.cs b/vendors/optick/gui/Optick/Controls/CaptureStats.xaml.cs deleted file mode 100644 index 5058b5565..000000000 --- a/vendors/optick/gui/Optick/Controls/CaptureStats.xaml.cs +++ /dev/null @@ -1,134 +0,0 @@ -using LiveCharts; -using LiveCharts.Wpf; -using Profiler.Data; -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Windows; -using System.Windows.Controls; -using System.Windows.Media.Imaging; - -namespace Profiler.Controls -{ - /// - /// Interaction logic for CaptureStats.xaml - /// - public partial class CaptureStats : UserControl - { - const int HistogramStep = 5; - const int MinHistogramValue = 15; - const int MaxHistogramValue = 100; - - public CaptureStats() - { - InitializeComponent(); - DataContextChanged += OnDataContextChanged; - - FrameTimeAxis.LabelFormatter = Formatter; - } - - private void OnDataContextChanged(object sender, DependencyPropertyChangedEventArgs e) - { - if (DataContext is String) - { - Load(DataContext as String); - } - } - - public SummaryPack Summary { get; set; } - - public void Load(String path) - { - if (File.Exists(path)) - { - using (Stream stream = Capture.Open(path)) - { - DataResponse response = DataResponse.Create(stream); - if (response != null) - { - if (response.ResponseType == DataResponse.Type.SummaryPack) - { - Load(new SummaryPack(response)); - } - } - } - } - } - - public SeriesCollection FrameTimeSeriesCollection { get; set; } - public Func Formatter = l => l.ToString("N1"); - - private void Load(SummaryPack summary) - { - Summary = summary; - - // Image - foreach (FileAttachment attachment in summary.Attachments) - { - if (attachment.FileType == FileAttachment.Type.IMAGE) - { - attachment.Data.Position = 0; - - var imageSource = new BitmapImage(); - imageSource.BeginInit(); - imageSource.StreamSource = attachment.Data; - imageSource.EndInit(); - - ScreenshotThumbnail.Source = imageSource; - - break; - } - } - - // Frame Chart - FrameTimeChart.Series = new SeriesCollection - { - new LineSeries - { - Values = new ChartValues(summary.Frames), - LabelPoint = p => p.Y.ToString("N1"), - PointGeometrySize = 0, - LineSmoothness = 0, - }, - }; - - // Histogram - Dictionary histogramDict = new Dictionary(); - - for (int i = 0; i < summary.Frames.Count; ++i) - { - double duration = summary.Frames[i]; - - int bucket = Math.Min(MaxHistogramValue, Math.Max(MinHistogramValue, (int)Math.Round(duration))); - if (!histogramDict.ContainsKey(bucket)) - histogramDict.Add(bucket, 0); - - histogramDict[bucket] += 1; - } - - List values = new List(); - List labels = new List(); - - for (int i = MinHistogramValue; i <= MaxHistogramValue; ++i) - { - int val = 0; - histogramDict.TryGetValue(i, out val); - - values.Add(val); - labels.Add(i.ToString()); - } - - FrameHistogramChart.Series = new SeriesCollection - { - new ColumnSeries - { - Values = new ChartValues(values), - ColumnPadding = 0.5 - }, - }; - - FrameHistogramAxis.Labels = labels; - } - } -} diff --git a/vendors/optick/gui/Optick/Controls/CaptureThumbnail.xaml b/vendors/optick/gui/Optick/Controls/CaptureThumbnail.xaml deleted file mode 100644 index 76ebbe040..000000000 --- a/vendors/optick/gui/Optick/Controls/CaptureThumbnail.xaml +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - - - - - - - - - - - - - diff --git a/vendors/optick/gui/Optick/Controls/CaptureThumbnail.xaml.cs b/vendors/optick/gui/Optick/Controls/CaptureThumbnail.xaml.cs deleted file mode 100644 index 4cfb007f7..000000000 --- a/vendors/optick/gui/Optick/Controls/CaptureThumbnail.xaml.cs +++ /dev/null @@ -1,15 +0,0 @@ -using System.Windows.Controls; - -namespace Profiler.Controls -{ - /// - /// Interaction logic for CaptureThumbnail.xaml - /// - public partial class CaptureThumbnail : UserControl - { - public CaptureThumbnail() - { - InitializeComponent(); - } - } -} diff --git a/vendors/optick/gui/Optick/Controls/EditStorageListDialog.xaml b/vendors/optick/gui/Optick/Controls/EditStorageListDialog.xaml deleted file mode 100644 index 66a880144..000000000 --- a/vendors/optick/gui/Optick/Controls/EditStorageListDialog.xaml +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Red - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/vendors/optick/gui/Optick/Controls/FrameCapture.xaml.cs b/vendors/optick/gui/Optick/Controls/FrameCapture.xaml.cs deleted file mode 100644 index 29ae52b08..000000000 --- a/vendors/optick/gui/Optick/Controls/FrameCapture.xaml.cs +++ /dev/null @@ -1,305 +0,0 @@ -using MahApps.Metro.Controls; -using Profiler.Data; -using System; -using System.Collections.Generic; -using System.Diagnostics; -using System.Linq; -using System.Net; -using System.Text; -using System.Threading.Tasks; -using System.Windows; -using System.Windows.Controls; -using System.Windows.Data; -using System.Windows.Documents; -using System.Windows.Input; -using System.Windows.Media; -using System.Windows.Media.Imaging; -using System.Windows.Navigation; -using System.Windows.Shapes; -using System.Windows.Threading; -using System.ComponentModel; -using System.Runtime.CompilerServices; //CallerMemberName -using Profiler.ViewModels; -using Profiler.InfrastructureMvvm; -using Autofac; -using Profiler.Controls.ViewModels; - -namespace Profiler.Controls -{ - /// - /// Interaction logic for FrameCapture.xaml - /// - public partial class FrameCapture : UserControl, INotifyPropertyChanged - { - private string _captureName; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void OnPropertyChanged([CallerMemberName] string propertyName = null) - { - PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName)); - } - - SummaryViewerModel _summaryVM; - CaptureSettingsViewModel CaptureSettingsVM { get; set; } - - public SummaryViewerModel SummaryVM - { - get { return _summaryVM; } - set - { - _summaryVM = value; - OnPropertyChanged("SummaryVM"); - } - } - - AddressBarViewModel AddressBarVM { get; set; } - public double DefaultWarningTimerInSeconds { get; set; } = 15.0; - - public FrameCapture() - { - using (var scope = BootStrapperBase.Container.BeginLifetimeScope()) - { - SummaryVM = scope.Resolve(); - } - - - InitializeComponent(); - - this.AddHandler(GlobalEvents.FocusFrameEvent, new FocusFrameEventArgs.Handler(this.OpenFrame)); - this.AddHandler(ThreadViewControl.HighlightFrameEvent, new ThreadViewControl.HighlightFrameEventHandler(this.ThreadView_HighlightEvent)); - - ProfilerClient.Get().ConnectionChanged += MainWindow_ConnectionChanged; - - WarningTimer = new DispatcherTimer(TimeSpan.FromSeconds(DefaultWarningTimerInSeconds), DispatcherPriority.Background, OnWarningTimeout, Application.Current.Dispatcher); - - - timeLine.NewConnection += TimeLine_NewConnection; - timeLine.CancelConnection += TimeLine_CancelConnection; - timeLine.ShowWarning += TimeLine_ShowWarning; - warningBlock.Visibility = Visibility.Collapsed; - - AddressBarVM = (AddressBarViewModel)FindResource("AddressBarVM"); - FunctionSummaryVM = (FunctionSummaryViewModel)FindResource("FunctionSummaryVM"); - FunctionInstanceVM = (FunctionInstanceViewModel)FindResource("FunctionInstanceVM"); - CaptureSettingsVM = (CaptureSettingsViewModel)FindResource("CaptureSettingsVM"); - - FunctionSamplingVM = (SamplingViewModel)FindResource("FunctionSamplingVM"); - SysCallsSamplingVM = (SamplingViewModel)FindResource("SysCallsSamplingVM"); - - EventThreadViewControl.Settings = Settings.LocalSettings.Data.ThreadSettings; - Settings.LocalSettings.OnChanged += LocalSettings_OnChanged; - } - - private void LocalSettings_OnChanged() - { - EventThreadViewControl.Settings = Settings.LocalSettings.Data.ThreadSettings; - } - - private void CancelConnection() - { - StartButton.IsChecked = false; - } - - private void TimeLine_CancelConnection(object sender, RoutedEventArgs e) - { - CancelConnection(); - } - - FunctionSummaryViewModel FunctionSummaryVM { get; set; } - FunctionInstanceViewModel FunctionInstanceVM { get; set; } - - SamplingViewModel FunctionSamplingVM { get; set; } - SamplingViewModel SysCallsSamplingVM { get; set; } - - public bool LoadFile(string path) - { - timeLine.Clear(); - if (timeLine.LoadFile(path)) - { - _captureName = path; - return true; - } - return false; - } - - private void MainWindow_ConnectionChanged(IPAddress address, UInt16 port, ProfilerClient.State state, String message) - { - if (state == ProfilerClient.State.Disconnected) - { - CancelConnection(); - } - } - - private void TimeLine_ShowWarning(object sender, RoutedEventArgs e) - { - TimeLine.ShowWarningEventArgs args = e as TimeLine.ShowWarningEventArgs; - ShowWarning(args.Message, args.URL.ToString()); - } - - private void TimeLine_NewConnection(object sender, RoutedEventArgs e) - { - TimeLine.NewConnectionEventArgs args = e as TimeLine.NewConnectionEventArgs; - AddressBarVM?.Update(args.Connection); - } - - private void OpenFrame(object source, FocusFrameEventArgs args) - { - Data.Frame frame = args.Frame; - - if (frame is EventFrame) - EventThreadViewControl.Highlight(frame as EventFrame, null); - - if (frame is EventFrame) - { - EventFrame eventFrame = frame as EventFrame; - FrameGroup group = eventFrame.Group; - - if (eventFrame.RootEntry != null) - { - EventDescription desc = eventFrame.RootEntry.Description; - - FunctionSummaryVM.Load(group, desc); - FunctionInstanceVM.Load(group, desc); - - FunctionSamplingVM.Load(group, desc); - SysCallsSamplingVM.Load(group, desc); - - FrameInfoControl.SetFrame(frame, null); - } - } - - if (frame != null && frame.Group != null) - { - if (!ReferenceEquals(SummaryVM.Summary, frame.Group.Summary)) - { - SummaryVM.Summary = frame.Group.Summary; - SummaryVM.CaptureName = _captureName; - } - } - } - - private void ThreadView_HighlightEvent(object sender, HighlightFrameEventArgs e) - { - EventThreadViewControl.Highlight(e.Items); - } - - public void Close() - { - timeLine.Close(); - ProfilerClient.Get().Close(); - } - - private void Hyperlink_RequestNavigate(object sender, RequestNavigateEventArgs e) - { - Process.Start(new ProcessStartInfo(e.Uri.AbsoluteUri)); - e.Handled = true; - } - - DispatcherTimer WarningTimer { get; set; } - - void OnWarningTimeout(object sender, EventArgs e) - { - warningBlock.Visibility = Visibility.Collapsed; - } - - public void ShowWarning(String message, String url) - { - if (!String.IsNullOrEmpty(message)) - { - warningText.Text = message; - warningUrl.NavigateUri = !String.IsNullOrWhiteSpace(url) ? new Uri(url) : null; - warningBlock.Visibility = Visibility.Visible; - } - else - { - warningBlock.Visibility = Visibility.Collapsed; - } - } - - private void ClearButton_Click(object sender, System.Windows.RoutedEventArgs e) - { - timeLine.Clear(); - EventThreadViewControl.Group = null; - SummaryVM.Summary = null; - SummaryVM.CaptureName = null; - - FunctionSummaryVM.Load(null, null); - FunctionInstanceVM.Load(null, null); - - FunctionSamplingVM.Load(null, null); - SysCallsSamplingVM.Load(null, null); - - FrameInfoControl.DataContext = null; - SampleInfoControl.DataContext = null; - SysCallInfoControl.DataContext = null; - - //SamplingTreeControl.SetDescription(null, null); - - MainViewModel vm = DataContext as MainViewModel; - if (vm.IsCapturing) - { - ProfilerClient.Get().SendMessage(new CancelMessage()); - } - } - - private void ClearSamplingButton_Click(object sender, System.Windows.RoutedEventArgs e) - { - ProfilerClient.Get().SendMessage(new TurnSamplingMessage(-1, false)); - } - - private void StartButton_Unchecked(object sender, System.Windows.RoutedEventArgs e) - { - Task.Run(() => ProfilerClient.Get().SendMessage(new StopMessage())); - } - - private void StartButton_Checked(object sender, System.Windows.RoutedEventArgs e) - { - var platform = AddressBarVM.Selection; - - if (platform == null) - return; - - IPAddress address = null; - if (!IPAddress.TryParse(platform.Address, out address)) - return; - - CaptureSettings settings = CaptureSettingsVM.GetSettings(); - timeLine.StartCapture(address, platform.Port, settings, platform.Password); - } - - private void OnOpenCommandExecuted(object sender, ExecutedRoutedEventArgs args) - { - System.Windows.Forms.OpenFileDialog dlg = new System.Windows.Forms.OpenFileDialog(); - dlg.Filter = "Optick Capture (*.opt)|*.opt|Chrome Trace (*.json)|*.json|FTrace Capture (*.ftrace)|*.ftrace"; - dlg.Title = "Load profiler results?"; - if (dlg.ShowDialog() == System.Windows.Forms.DialogResult.OK) - { - RaiseEvent(new OpenCaptureEventArgs(dlg.FileName)); - } - } - - private void OnSaveCommandExecuted(object sender, ExecutedRoutedEventArgs args) - { - String path = timeLine.Save(); - if (path != null) - { - RaiseEvent(new SaveCaptureEventArgs(path)); - } - } - - private void OnSearchCommandExecuted(object sender, ExecutedRoutedEventArgs args) - { - EventThreadViewControl.OpenFunctionSearch(); - } - - private void OnShowDebugInfoCommandExecuted(object sender, ExecutedRoutedEventArgs args) - { - MemoryStatsViewModel vm = new MemoryStatsViewModel(); - timeLine.ForEachResponse((group, response) => vm.Load(response)); - vm.Update(); - DebugInfoPopup.DataContext = vm; - DebugInfoPopup.IsOpen = true; - } - } -} diff --git a/vendors/optick/gui/Optick/Controls/FunctionSearch.xaml b/vendors/optick/gui/Optick/Controls/FunctionSearch.xaml deleted file mode 100644 index 6639646a2..000000000 --- a/vendors/optick/gui/Optick/Controls/FunctionSearch.xaml +++ /dev/null @@ -1,64 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/vendors/optick/gui/Optick/Controls/FunctionSearch.xaml.cs b/vendors/optick/gui/Optick/Controls/FunctionSearch.xaml.cs deleted file mode 100644 index bee33455f..000000000 --- a/vendors/optick/gui/Optick/Controls/FunctionSearch.xaml.cs +++ /dev/null @@ -1,130 +0,0 @@ -using Profiler.Data; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Windows; -using System.Windows.Controls; -using System.Windows.Data; -using System.Windows.Documents; -using System.Windows.Input; -using System.Windows.Media; -using System.Windows.Media.Imaging; -using System.Windows.Navigation; -using System.Windows.Shapes; - -namespace Profiler.Controls -{ - /// - /// Interaction logic for FunctionSearch.xaml - /// - public partial class FunctionSearch : UserControl - { - public FunctionSearch() - { - InitializeComponent(); - DataContextChanged += FunctionSearch_DataContextChanged; - } - - FrameGroup Group { get; set; } - - private void FunctionSearch_DataContextChanged(object sender, DependencyPropertyChangedEventArgs e) - { - Group = (DataContext as FrameGroup); - FunctionSearchDataGrid.ItemsSource = Group != null ? Group.Board.Board.OrderBy(d => d.Name) : null; - } - - private void FunctionSearchBox_TextChanged(object sender, TextChangedEventArgs e) - { - String text = FunctionSearchBox.Text; - - CollectionView itemsView = (CollectionView)CollectionViewSource.GetDefaultView(FunctionSearchDataGrid.ItemsSource); - - if (!String.IsNullOrEmpty(text)) - itemsView.Filter = (item) => (item as EventDescription).Name.IndexOf(text, StringComparison.OrdinalIgnoreCase) != -1; - else - itemsView.Filter = null; - - FunctionSearchDataGrid.SelectedIndex = 0; - SearchPopup.IsOpen = true; - } - - private void FunctionSearchDataGrid_SelectionChanged(object sender, SelectionChangedEventArgs e) - { - - } - - public void Open() - { - FunctionSearchBox.Focus(); - FunctionSearchBox.SelectAll(); - SearchPopup.Visibility = Visibility.Visible; - SearchPopup.IsOpen = true; - } - - private void Flush() - { - EventDescription desc = FunctionSearchDataGrid.SelectedItem as EventDescription; - if (desc != null) - { - if (Group != null) - { - double maxDuration = 0; - EventFrame maxFrame = null; - Entry maxEntry = null; - - foreach (ThreadData thread in Group.Threads) - { - foreach (EventFrame frame in thread.Events) - { - List entries = null; - if (frame.ShortBoard.TryGetValue(desc, out entries)) - { - foreach (Entry entry in entries) - { - if (entry.Duration > maxDuration) - { - maxFrame = frame; - maxEntry = entry; - maxDuration = entry.Duration; - } - } - } - } - } - - if (maxFrame != null && maxEntry != null) - { - EventNode maxNode = maxFrame.Root.FindNode(maxEntry); - RaiseEvent(new FocusFrameEventArgs(GlobalEvents.FocusFrameEvent, new EventFrame(maxFrame, maxNode), null)); - } - } - } - } - - public void Close() - { - SearchPopup.IsOpen = false; - Flush(); - } - - private void FunctionSearchBox_KeyDown(object sender, KeyEventArgs e) - { - if (e.Key == Key.Down) - FunctionSearchDataGrid.SelectedIndex = FunctionSearchDataGrid.SelectedIndex + 1; - - if (e.Key == Key.Up) - if (FunctionSearchDataGrid.SelectedIndex > 0) - FunctionSearchDataGrid.SelectedIndex = FunctionSearchDataGrid.SelectedIndex - 1; - - if (e.Key == Key.Enter) - Close(); - } - - private void FunctionSearchDataGrid_MouseUp(object sender, MouseButtonEventArgs e) - { - Close(); - } - } -} diff --git a/vendors/optick/gui/Optick/Controls/RoutedEvents.cs b/vendors/optick/gui/Optick/Controls/RoutedEvents.cs deleted file mode 100644 index 9b6939ca1..000000000 --- a/vendors/optick/gui/Optick/Controls/RoutedEvents.cs +++ /dev/null @@ -1,35 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Windows; -using Profiler.Views; - -namespace Profiler.Controls -{ - public class OpenCaptureEventArgs : RoutedEventArgs - { - public String Path { get; set; } - public Data.SummaryPack Summary { get; set; } - - public OpenCaptureEventArgs(String path, Data.SummaryPack summary = null) - : base(MainView.OpenCaptureEvent) - { - Path = path; - Summary = summary; - } - } - - public class SaveCaptureEventArgs : RoutedEventArgs - { - public String Path { get; set; } - public Data.SummaryPack Summary { get; set; } - - public SaveCaptureEventArgs(String path) - : base(MainView.SaveCaptureEvent) - { - Path = path; - } - } -} diff --git a/vendors/optick/gui/Optick/Controls/Settings.cs b/vendors/optick/gui/Optick/Controls/Settings.cs deleted file mode 100644 index c37ba4267..000000000 --- a/vendors/optick/gui/Optick/Controls/Settings.cs +++ /dev/null @@ -1,67 +0,0 @@ -using Profiler.TaskManager; -using System; -using System.Collections.Generic; -using System.IO; -using System.ComponentModel.DataAnnotations; - -namespace Profiler.Controls -{ - public class GlobalSettings - { - const int CURRENT_VERSION = 1; - - public int Version { get; set; } - public bool IsCensored { get; set; } - - // Task Trackers - public class Tracker - { - public TrackerType Type { get; set; } - public String Address { get; set; } - } - public List Trackers { get; set; } = new List(); - public Tracker ActiveTracker { get; set; } - - // Storages - public class Storage - { - public String UploadURL { get; set; } - public String DownloadURL { get; set; } - } - public List Storages { get; set; } = new List(); - public String ActiveStorage { get; set; } - - public GlobalSettings() - { - Version = CURRENT_VERSION; - } - } - - public class LocalSettings - { - const int CURRENT_VERSION = 1; - - public int Version { get; set; } - - public List Connections { get; set; } = new List(); - public Platform.Connection LastConnection { get; set; } - public ThreadViewSettings ThreadSettings { get; set; } = new ThreadViewSettings(); - - public string TempDirectoryPath => Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "Optick\\Temp\\"); - - public LocalSettings() - { - Version = CURRENT_VERSION; - } - } - - public class Settings - { - private static SharedSettings globalSettings = new SharedSettings("Config.xml", SettingsType.Global); - public static SharedSettings GlobalSettings => globalSettings; - - private static SharedSettings localSettings = new SharedSettings("Optick.LocalConfig.xml", SettingsType.Local); - public static SharedSettings LocalSettings => localSettings; - } - -} diff --git a/vendors/optick/gui/Optick/Controls/SettingsControl.xaml b/vendors/optick/gui/Optick/Controls/SettingsControl.xaml deleted file mode 100644 index 7a546a58f..000000000 --- a/vendors/optick/gui/Optick/Controls/SettingsControl.xaml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - diff --git a/vendors/optick/gui/Optick/Controls/SettingsControl.xaml.cs b/vendors/optick/gui/Optick/Controls/SettingsControl.xaml.cs deleted file mode 100644 index c2c453c78..000000000 --- a/vendors/optick/gui/Optick/Controls/SettingsControl.xaml.cs +++ /dev/null @@ -1,28 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Windows; -using System.Windows.Controls; -using System.Windows.Data; -using System.Windows.Documents; -using System.Windows.Input; -using System.Windows.Media; -using System.Windows.Media.Imaging; -using System.Windows.Navigation; -using System.Windows.Shapes; - -namespace Profiler.Controls -{ - /// - /// Interaction logic for SettingsControl.xaml - /// - public partial class SettingsControl : UserControl - { - public SettingsControl() - { - InitializeComponent(); - } - } -} diff --git a/vendors/optick/gui/Optick/Controls/SharedSettings.cs b/vendors/optick/gui/Optick/Controls/SharedSettings.cs deleted file mode 100644 index 24274ac52..000000000 --- a/vendors/optick/gui/Optick/Controls/SharedSettings.cs +++ /dev/null @@ -1,116 +0,0 @@ -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Xml.Serialization; - -namespace Profiler.Controls -{ - public enum SettingsType - { - Global, - Local, - } - - public class SharedSettings where T : new() - { - public T Data { get; set; } - public String FileName { get; set; } - public String FilePath { get; set; } - public String DirectoryPath { get; set; } - public FileSystemWatcher Watcher { get; set; } - - public delegate void OnChangedHandler(); - public event OnChangedHandler OnChanged; - - - public SharedSettings(String name, SettingsType type) - { - FileName = name; - switch (type) - { - case SettingsType.Global: - DirectoryPath = System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location); - break; - - case SettingsType.Local: - DirectoryPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "Optick"); - break; - } - FilePath = System.IO.Path.Combine(DirectoryPath, name); - Directory.CreateDirectory(DirectoryPath); - Watcher = new FileSystemWatcher(DirectoryPath, name); - Watcher.Changed += Watcher_Changed; - Watcher.Created += Watcher_Created; - Watcher.EnableRaisingEvents = true; - Load(); - } - - private void Watcher_Created(object sender, FileSystemEventArgs e) - { - Load(); - } - - private void Watcher_Changed(object sender, FileSystemEventArgs e) - { - Load(); - } - - public void Reset() - { - Data = new T(); - } - - object cs = new object(); - - public void Save() - { - Task.Run(() => - { - lock (cs) - { - try - { - XmlSerializer serializer = new XmlSerializer(typeof(T)); - using (TextWriter writer = new StreamWriter(FilePath)) - { - serializer.Serialize(writer, Data); - } - } - catch (Exception) { } - } - }); - } - - public bool Load() - { - if (!File.Exists(FilePath)) - { - Data = new T(); - return false; - } - - lock (cs) - { - try - { - XmlSerializer serializer = new XmlSerializer(typeof(T)); - using (TextReader reader = new StreamReader(FilePath)) - { - Data = (T)serializer.Deserialize(reader); - } - } - catch (Exception) - { - Data = new T(); - return false; - } - } - - OnChanged?.Invoke(); - return true; - } - } -} diff --git a/vendors/optick/gui/Optick/Controls/TagsControl.xaml b/vendors/optick/gui/Optick/Controls/TagsControl.xaml deleted file mode 100644 index 7f669d0f3..000000000 --- a/vendors/optick/gui/Optick/Controls/TagsControl.xaml +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - diff --git a/vendors/optick/gui/Optick/Controls/TagsControl.xaml.cs b/vendors/optick/gui/Optick/Controls/TagsControl.xaml.cs deleted file mode 100644 index 3f80f979e..000000000 --- a/vendors/optick/gui/Optick/Controls/TagsControl.xaml.cs +++ /dev/null @@ -1,28 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Windows; -using System.Windows.Controls; -using System.Windows.Data; -using System.Windows.Documents; -using System.Windows.Input; -using System.Windows.Media; -using System.Windows.Media.Imaging; -using System.Windows.Navigation; -using System.Windows.Shapes; - -namespace Profiler.Controls -{ - /// - /// Interaction logic for TagsControl.xaml - /// - public partial class TagsControl : UserControl - { - public TagsControl() - { - InitializeComponent(); - } - } -} diff --git a/vendors/optick/gui/Optick/FodyWeavers.xml b/vendors/optick/gui/Optick/FodyWeavers.xml deleted file mode 100644 index 04ae76f2e..000000000 --- a/vendors/optick/gui/Optick/FodyWeavers.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/vendors/optick/gui/Optick/FodyWeavers.xsd b/vendors/optick/gui/Optick/FodyWeavers.xsd deleted file mode 100644 index 8ac6e9271..000000000 --- a/vendors/optick/gui/Optick/FodyWeavers.xsd +++ /dev/null @@ -1,111 +0,0 @@ - - - - - - - - - - - - A list of assembly names to exclude from the default action of "embed all Copy Local references", delimited with line breaks - - - - - A list of assembly names to include from the default action of "embed all Copy Local references", delimited with line breaks. - - - - - A list of unmanaged 32 bit assembly names to include, delimited with line breaks. - - - - - A list of unmanaged 64 bit assembly names to include, delimited with line breaks. - - - - - The order of preloaded assemblies, delimited with line breaks. - - - - - - This will copy embedded files to disk before loading them into memory. This is helpful for some scenarios that expected an assembly to be loaded from a physical file. - - - - - Controls if .pdbs for reference assemblies are also embedded. - - - - - Embedded assemblies are compressed by default, and uncompressed when they are loaded. You can turn compression off with this option. - - - - - As part of Costura, embedded assemblies are no longer included as part of the build. This cleanup can be turned off. - - - - - Costura by default will load as part of the module initialization. This flag disables that behavior. Make sure you call CosturaUtility.Initialize() somewhere in your code. - - - - - Costura will by default use assemblies with a name like 'resources.dll' as a satellite resource and prepend the output path. This flag disables that behavior. - - - - - A list of assembly names to exclude from the default action of "embed all Copy Local references", delimited with | - - - - - A list of assembly names to include from the default action of "embed all Copy Local references", delimited with |. - - - - - A list of unmanaged 32 bit assembly names to include, delimited with |. - - - - - A list of unmanaged 64 bit assembly names to include, delimited with |. - - - - - The order of preloaded assemblies, delimited with |. - - - - - - - - 'true' to run assembly verification (PEVerify) on the target assembly after all weavers have been executed. - - - - - A comma-separated list of error codes that can be safely ignored in assembly verification. - - - - - 'false' to turn off automatic generation of the XML Schema file. - - - - - \ No newline at end of file diff --git a/vendors/optick/gui/Optick/Frames/FrameDataTable.xaml b/vendors/optick/gui/Optick/Frames/FrameDataTable.xaml deleted file mode 100644 index 187fa48fd..000000000 --- a/vendors/optick/gui/Optick/Frames/FrameDataTable.xaml +++ /dev/null @@ -1,79 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/vendors/optick/gui/Optick/Frames/FrameDataTable.xaml.cs b/vendors/optick/gui/Optick/Frames/FrameDataTable.xaml.cs deleted file mode 100644 index 73b17840f..000000000 --- a/vendors/optick/gui/Optick/Frames/FrameDataTable.xaml.cs +++ /dev/null @@ -1,206 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Text; -using System.Windows; -using System.Windows.Controls; -using System.Windows.Data; -using System.Windows.Documents; -using System.Windows.Input; -using System.Windows.Media; -using System.Windows.Media.Imaging; -using System.Windows.Navigation; -using System.Windows.Shapes; -using System.ComponentModel; -using Profiler.Data; - -namespace Profiler -{ - using SamplingBoard = Board; - using EventBoard = Board; - using System.Timers; - using System.Collections; - - public delegate void ApplyFilterEventHandler(HashSet filter, FilterMode mode); - public delegate void ApplyDescriptionFilterEventHandler(HashSet filter); - - /// - /// Interaction logic for FrameDataTable.xaml - /// - public partial class FrameDataTable : UserControl - { - public FrameDataTable() - { - this.InitializeComponent(); - - FilterText.DelayedTextChanged += new SearchBox.DelayedTextChangedEventHandler(UpdateTableFilter); - FilterText.TextEnter += new SearchBox.TextEnterEventHandler(FilterText_TextEnter); - } - - public static void ApplyAutogeneratedColumnAttributes(DataGridAutoGeneratingColumnEventArgs e) - { - PropertyDescriptor pd = e.PropertyDescriptor as PropertyDescriptor; - if (pd.Attributes[typeof(HiddenColumn)] != null) - { - e.Cancel = true; - return; - } - - DisplayNameAttribute nameAttribute = pd.Attributes[typeof(DisplayNameAttribute)] as DisplayNameAttribute; - if (nameAttribute != null && !String.IsNullOrEmpty(nameAttribute.DisplayName)) - { - e.Column.Header = nameAttribute.DisplayName; - } - - ColumnWidth columnWidth = pd.Attributes[typeof(ColumnWidth)] as ColumnWidth; - if (columnWidth != null) - { - e.Column.Width = columnWidth.Width; - } - - if (e.PropertyType == typeof(double)) - { - (e.Column as DataGridTextColumn).Binding.StringFormat = "{0:0.###}"; - } - - if (e.PropertyType == typeof(bool) && !e.Column.IsReadOnly) - { - var checkboxFactory = new FrameworkElementFactory(typeof(CheckBox)); - checkboxFactory.SetValue(FrameworkElement.HorizontalAlignmentProperty, HorizontalAlignment.Center); - checkboxFactory.SetValue(FrameworkElement.VerticalAlignmentProperty, VerticalAlignment.Center); - checkboxFactory.SetBinding(CheckBox.IsCheckedProperty, new Binding(e.PropertyName) { UpdateSourceTrigger = UpdateSourceTrigger.PropertyChanged }); - e.Column = new DataGridTemplateColumn { Header = e.Column.Header, CellTemplate = new DataTemplate { VisualTree = checkboxFactory }, SortMemberPath = e.Column.SortMemberPath }; - } - } - - private void SummaryTable_AutoGeneratingColumn(object sender, System.Windows.Controls.DataGridAutoGeneratingColumnEventArgs e) - { - ApplyAutogeneratedColumnAttributes(e); - } - - void UpdateTableFilter(String text) - { - if (SummaryTable != null && SummaryTable.ItemsSource != null) - { - SummaryTable.SelectedItem = null; - - ICollectionView view = CollectionViewSource.GetDefaultView(SummaryTable.ItemsSource); - - if (String.IsNullOrWhiteSpace(text)) - { - view.Filter = null; - - DescriptionFilterApplied(null); - } - else - { - view.Filter = new Predicate((item) => { return (item is IBoardItem) ? (item as IBoardItem).Match(text) : true; }); - - HashSet descriptions = new HashSet(); - - foreach (object obj in view) - if (obj is IBoardItem) - (obj as IBoardItem).CollectDescriptionFilter(descriptions); - - DescriptionFilterApplied(descriptions); - } - } - } - - public ApplyFilterEventHandler FilterApplied; - public ApplyDescriptionFilterEventHandler DescriptionFilterApplied; - - - private void FilterText_TextEnter(string text) - { - if (SummaryTable.ItemsSource != null) - { - ICollectionView view = CollectionViewSource.GetDefaultView(SummaryTable.ItemsSource); - HashSet filter = null; - - if (!(view.SourceCollection is IList) || (view.SourceCollection as IList).Count != SummaryTable.Items.Count) - { - filter = new HashSet(); - - foreach (object obj in view) - if (obj is IBoardItem) - (obj as IBoardItem).CollectNodeFilter(filter); - } - - FilterApplied(filter != null && filter.Count > 0 ? filter : null, new FilterMode() { ChangeExpand = true }); - } - } - - public void RefreshFilter() - { - HashSet filter = new HashSet(); - - if (SummaryTable == null) - return; - - foreach (IBoardItem item in SummaryTable.SelectedItems) - if (item != null) - item.CollectNodeFilter(filter); - - if (FilterApplied != null) - { - FilterApplied(filter, new FilterMode() { ChangeExpand = true }); - } - } - - private void SummaryTable_SelectionChanged(object sender, SelectionChangedEventArgs e) - { - if (e.AddedItems.Count == 0) - return; - - RefreshFilter(); - } - - private void SummaryTable_KeyDown(object sender, KeyEventArgs e) - { - if (e.Key == Key.Escape) - { - SummaryTable.UnselectAll(); - FilterApplied(null, new FilterMode()); - } - } - - private void SummaryTable_Sorting(object sender, DataGridSortingEventArgs e) - { - if (e.Column.SortDirection == null) - { - ICollectionView view = CollectionViewSource.GetDefaultView(SummaryTable.ItemsSource); - if (view != null) - { - view.SortDescriptions.Clear(); - view.SortDescriptions.Add(new SortDescription(e.Column.SortMemberPath, ListSortDirection.Descending)); - e.Column.SortDirection = ListSortDirection.Descending; - e.Handled = true; - } - } - } - - private void Row_DoubleClick(object sender, RoutedEventArgs e) - { - if (!(sender is DataGridRow)) - return; - - Object rowDataContext = (sender as DataGridRow).DataContext; - - Object windowDataContext = null; - - if (rowDataContext is SamplingBoardItem) - { - windowDataContext = SourceView.Create(DataContext as Board, (rowDataContext as SamplingBoardItem).Description.Path); - } - else if (rowDataContext is EventBoardItem) - { - windowDataContext = SourceView.Create(DataContext as Board, (rowDataContext as EventBoardItem).Description.Path); - } - - if (windowDataContext != null) - { - new SourceWindow() { DataContext = windowDataContext }.Show(); - } - } - } -} \ No newline at end of file diff --git a/vendors/optick/gui/Optick/Frames/FrameInfo.xaml b/vendors/optick/gui/Optick/Frames/FrameInfo.xaml deleted file mode 100644 index 4cdfcb090..000000000 --- a/vendors/optick/gui/Optick/Frames/FrameInfo.xaml +++ /dev/null @@ -1,195 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - #FFC8C8C8 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/vendors/optick/gui/Optick/Frames/FrameInfo.xaml.cs b/vendors/optick/gui/Optick/Frames/FrameInfo.xaml.cs deleted file mode 100644 index 7a86b441b..000000000 --- a/vendors/optick/gui/Optick/Frames/FrameInfo.xaml.cs +++ /dev/null @@ -1,375 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Text; -using System.Windows; -using System.Windows.Controls; -using System.Windows.Data; -using System.Windows.Documents; -using System.Windows.Input; -using System.Windows.Media; -using System.Windows.Media.Imaging; -using System.Windows.Navigation; -using System.Windows.Shapes; -using System.ComponentModel; -using Profiler.Data; -using System.Threading; -using System.Windows.Threading; -using System.Diagnostics; -using System.Globalization; -using Profiler.ViewModels; -using Profiler.Controls.ViewModels; -using Profiler.Controls; - -namespace Profiler -{ - /// - /// Interaction logic for FrameInfo.xaml - /// - public partial class FrameInfo : UserControl - { - public FrameInfo() - { - this.InitializeComponent(); - SummaryTable.FilterApplied += new ApplyFilterEventHandler(ApplyFilterToEventTree); - SummaryTable.DescriptionFilterApplied += new ApplyDescriptionFilterEventHandler(ApplyDescriptionFilterToEventTree); - SummaryTable.DescriptionFilterApplied += new ApplyDescriptionFilterEventHandler(ApplyDescriptionFilterToFramesTimeLine); - - EventTreeView.SelectedItemChanged += new RoutedPropertyChangedEventHandler(EventTreeView_SelectedItemChanged); - } - - private Data.Frame frame; - - public virtual void SetFrame(Data.Frame frame, IDurable node) - { - if (this.frame != frame) - { - this.frame = frame; - this.DataContext = frame; - } - else if (node != null) - { - FocusOnNode(node); - } - } - - public void RefreshFilter(object sender, RoutedEventArgs e) - { - SummaryTable.RefreshFilter(); - } - - private void ApplyFilterToEventTree(HashSet filter, FilterMode mode) - { - if (FocusCallStack.IsChecked ?? true) - mode.HideNotRelative = true; - - if (FilterByTime.IsChecked ?? true) - { - double limit = 0.0; - if (Double.TryParse(TimeLimit.Text.Replace(',', '.'), NumberStyles.Any, CultureInfo.InvariantCulture, out limit)) - mode.TimeLimit = limit; - } - - HashSet roof = null; - - if (filter != null && filter.Count > 0) - { - roof = new HashSet(); - - foreach (Object node in filter) - { - BaseTreeNode current = (node as BaseTreeNode).Parent; - while (current != null) - { - if (!roof.Add(current)) - break; - - current = current.Parent; - } - } - } - - foreach (var node in EventTreeView.ItemsSource) - { - if (node is BaseTreeNode) - { - BaseTreeNode eventNode = node as BaseTreeNode; - - Application.Current.Dispatcher.BeginInvoke(new Action(() => - { - eventNode.ApplyFilter(roof, filter, mode); - }), DispatcherPriority.Loaded); - } - } - } - - - private void ApplyDescriptionFilterToFramesTimeLine(HashSet filter) - { - Application.Current.Dispatcher.BeginInvoke(new Action(() => - { - Data.Frame frame = DataContext as Data.Frame; - - EventFrame eventFrame = frame as EventFrame; - if (eventFrame != null) - { - if (filter == null) - { - eventFrame.FilteredDescription = ""; - } - else - { - double timeInMs = eventFrame.CalculateFilteredTime(filter); - if (timeInMs > 0) - eventFrame.FilteredDescription = String.Format("{0:0.000}", timeInMs); - else - eventFrame.FilteredDescription = ""; - } - } - })); - } - - private void ApplyDescriptionFilterToEventTree(HashSet filter) - { - if (filter == null) - { - SummaryTable.FilterSummaryControl.Visibility = Visibility.Collapsed; - } - else - { - Application.Current.Dispatcher.BeginInvoke(new Action(() => - { - if (frame is EventFrame) - { - double time = (frame as EventFrame).CalculateFilteredTime(filter); - SummaryTable.FilterSummaryText.Content = String.Format("Filter Coverage: {0:0.###}ms", time).Replace(',', '.'); - } - else if (frame is SamplingFrame) - { - SamplingFrame samplingFrame = frame as SamplingFrame; - double count = samplingFrame.Root.CalculateFilteredTime(filter); - SummaryTable.FilterSummaryText.Content = String.Format("Filter Coverage: {0:0.###}% ({1}/{2})", 100.0 * count / samplingFrame.Root.Duration, count, samplingFrame.Root.Duration).Replace(',', '.'); - } - SummaryTable.FilterSummaryControl.Visibility = Visibility.Visible; - })); - } - } - - void EventTreeView_SelectedItemChanged(object sender, RoutedPropertyChangedEventArgs e) - { - if (e.NewValue is EventNode && DataContext is Data.EventFrame) - { - RaiseEvent(new Controls.HighlightFrameEventArgs(new ThreadViewControl.Selection[] { new ThreadViewControl.Selection() { Frame = DataContext as Data.EventFrame, Focus = (e.NewValue as EventNode).Entry } })); - } - } - - public bool FocusOnNode(IDurable focusRange) - { - if (focusRange == null) - return false; - - if (EventTreeView == null) - return false; - - if (EventTreeView.ItemsSource == null) - return false; - - List treePath = new List(); - - foreach (var node in EventTreeView.ItemsSource) - { - BaseTreeNode baseTreeNode = node as BaseTreeNode; - if (baseTreeNode == null) - { - continue; - } - - baseTreeNode.ForEach((curNode, level) => - { - EventNode treeEventNode = curNode as EventNode; - if (treeEventNode == null) - { - return true; - } - - if (treeEventNode.Entry.Start > focusRange.Finish) - { - return false; - } - - if (treeEventNode.Entry.Contains(focusRange)) - { - treePath.Add(curNode); - - //find desired node in tree - if (treeEventNode.Entry.Start >= focusRange.Start && treeEventNode.Entry.Finish <= focusRange.Finish) - { - return false; - } - } - - - return true; - }); - - ItemsControl root = EventTreeView; - - int pathElementsCount = treePath.Count; - if (pathElementsCount > 0) - { - //expand path in tree - int index = 0; - for (index = 0; index < (pathElementsCount - 1); index++) - { - BaseTreeNode expandNode = treePath[index]; - - if (root != null) - { - root = root.ItemContainerGenerator.ContainerFromItem(expandNode) as ItemsControl; - } - - treePath[index].IsExpanded = true; - } - - BaseTreeNode finalNode = treePath[index]; - - // select target node - finalNode.IsExpanded = false; - finalNode.IsSelected = true; - - // focus on finalNode - if (root != null) - { - root = root.ItemContainerGenerator.ContainerFromItem(finalNode) as ItemsControl; - if (root != null) - { - root.BringIntoView(); - } - } - - EventTreeView.InvalidateVisual(); - - return true; - } - - } - - return false; - } - - private void MenuShowSourceCode(object sender, RoutedEventArgs e) - { - if (e.Source is FrameworkElement) - { - FrameworkElement item = e.Source as FrameworkElement; - - Application.Current.Dispatcher.Invoke(new Action(() => - { - Object windowDataContext = null; - if (item.DataContext is SamplingNode) - { - windowDataContext = SourceView.Create(SummaryTable.DataContext as Board, (item.DataContext as SamplingNode).Description.Path); - } - else - { - if (item.DataContext is EventNode) - { - windowDataContext = SourceView.Create(SummaryTable.DataContext as Board, (item.DataContext as EventNode).Description.Path); - } - } - - if (windowDataContext != null) - { - new SourceWindow() { DataContext = windowDataContext, Owner = Application.Current.MainWindow }.Show(); - } - })); - } - } - - private void SampleFunction(EventFrame eventFrame, CallStackReason callstackFilter, EventNode node) - { - List callstacks = new List(); - FrameGroup group = eventFrame.Group; - - EventDescription desc = node.Entry.Description; - callstacks = group.GetCallstacks(desc); - - if (callstacks.Count > 0) - { - SamplingFrame frame = new SamplingFrame(callstacks, group); - FocusFrameEventArgs args = new FocusFrameEventArgs(GlobalEvents.FocusFrameEvent, frame); - RaiseEvent(args); - } - } - - private void MenuSampleFunctions(object sender, RoutedEventArgs e) - { - if (frame is EventFrame && e.Source is FrameworkElement) - { - FrameworkElement item = e.Source as FrameworkElement; - Application.Current.Dispatcher.Invoke(new Action(() => - { - SampleFunction(frame as EventFrame, CallStackReason.AutoSample, item.DataContext as EventNode); - })); - } - } - - private void TreeViewCopy_Executed(object sender, ExecutedRoutedEventArgs e) - { - TreeView tree = (TreeView)sender; - Clipboard.SetText(tree.SelectedItem.ToString()); - } - } - - - public class SampleInfo : FrameInfo - { - public CallStackReason CallstackType { get; set; } - - public SampleInfo() - { - IsVisibleChanged += SampleInfo_IsVisibleChanged; - } - - private void SampleInfo_IsVisibleChanged(object sender, DependencyPropertyChangedEventArgs e) - { - VM.SetActive(IsVisible); - } - - private SamplingViewModel vm = null; - public SamplingViewModel VM - { - get { return vm; } - set - { - vm = value; - if (vm != null) - vm.OnLoaded += VM_OnLoaded; - } - } - - private void VM_OnLoaded(SamplingFrame frame) - { - SetFrame(frame, null); - } - - public Data.Frame SourceFrame { get; set; } - - public override void SetFrame(Data.Frame frame, IDurable node) - { - if (frame is EventFrame) - { - if (SourceFrame == frame) - return; - - SourceFrame = frame; - - SamplingFrame samplingFrame = frame.Group.CreateSamplingFrame((frame as EventFrame).RootEntry.Description, CallstackType); - base.SetFrame(samplingFrame, null); - } - else - { - base.SetFrame(frame, null); - } - } - } -} \ No newline at end of file diff --git a/vendors/optick/gui/Optick/Frames/SourceViewControl.xaml b/vendors/optick/gui/Optick/Frames/SourceViewControl.xaml deleted file mode 100644 index 8d10109da..000000000 --- a/vendors/optick/gui/Optick/Frames/SourceViewControl.xaml +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/vendors/optick/gui/Optick/Frames/SourceViewControl.xaml.cs b/vendors/optick/gui/Optick/Frames/SourceViewControl.xaml.cs deleted file mode 100644 index f5fc19446..000000000 --- a/vendors/optick/gui/Optick/Frames/SourceViewControl.xaml.cs +++ /dev/null @@ -1,78 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Text; -using System.Windows; -using System.Windows.Controls; -using System.Windows.Data; -using System.Windows.Documents; -using System.Windows.Input; -using System.Windows.Media; -using System.Windows.Media.Imaging; -using System.Windows.Navigation; -using System.Windows.Shapes; -using Profiler.Data; -using ICSharpCode.AvalonEdit.Search; - -namespace Profiler -{ - /// - /// Interaction logic for SourceViewControl.xaml - /// - public partial class SourceViewControl : UserControl - { - public SourceViewControl() - { - this.InitializeComponent(); - Init(); - SearchPanel.Install(textEditor.TextArea); - //textEditor.TextArea.DefaultInputHandler.NestedInputHandlers.Add(new SearchInputHandler(textEditor.TextArea)); - } - - private void DataGrid_AutoGeneratingColumn(object sender, System.Windows.Controls.DataGridAutoGeneratingColumnEventArgs e) - { - FrameDataTable.ApplyAutogeneratedColumnAttributes(e); - } - - void Init() - { - SourceViewBase view = DataContext as SourceViewBase; - if (view != null) - { - textEditor.Document.Text = view.Text; - textEditor.CustomColumns = SourceColumns.Default; - - var lines = textEditor.Document.Lines; - - foreach (var item in view.Lines) - { - int index = item.Key - 1; - if (index < lines.Count && lines[index].CustomData == null) - { - - var data = new Dictionary(); - lines[index].CustomData = data; - data.Add(SourceColumns.TotalPercent.Name, String.Format("{0:0.##}%", item.Value.TotalPercent)); - data.Add(SourceColumns.Total.Name, String.Format("{0:0.###}", item.Value.Total)); - data.Add(SourceColumns.SelfPercent.Name, String.Format("{0:0.##}%", item.Value.SelfPercent)); - data.Add(SourceColumns.Self.Name, String.Format("{0:0.###}", item.Value.Self)); - } - } - - if (lines.Count > 0) - { - lines[0].CustomData = new Dictionary(); - foreach (var column in SourceColumns.Default) - lines[0].CustomData.Add(column.Name, column.Name); - } - - textEditor.Loaded += new RoutedEventHandler((object o, RoutedEventArgs e) => textEditor.ScrollTo(view.SourceFile.Line, 0)); - } - } - - private void UserControl_DataContextChanged(object sender, System.Windows.DependencyPropertyChangedEventArgs e) - { - Init(); - } - - } -} \ No newline at end of file diff --git a/vendors/optick/gui/Optick/Optick.csproj b/vendors/optick/gui/Optick/Optick.csproj deleted file mode 100644 index f66660885..000000000 --- a/vendors/optick/gui/Optick/Optick.csproj +++ /dev/null @@ -1,609 +0,0 @@ - - - - - Debug - AnyCPU - 8.0.30703 - 2.0 - {97F462A6-7E81-4AD1-AE48-602F79F70169} - WinExe - Properties - Profiler - Optick - v4.6.2 - - - 512 - {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - Resources\icon.ico - true - 4.0.20525.0 - false - - - publish\ - true - Disk - false - Foreground - 7 - Days - false - false - true - 0 - 1.1.0.%2a - false - true - - - true - full - false - ..\Bin\Debug\ - TRACE;DEBUG;NDA_CODE_SECTION - prompt - 4 - x86 - true - 1668 - false - - - pdbonly - true - ..\Bin\Release\ - TRACE;NDA_CODE_SECTION - prompt - 4 - 1668 - false - - - true - ..\Bin\Debug\x64\ - TRACE;DEBUG;NDA_CODE_SECTION - full - x64 - prompt - true - true - false - 1668 - false - - - ..\Bin\Release\x64\ - TRACE;NDA_CODE_SECTION - true - pdbonly - x64 - prompt - true - true - false - - - true - ..\Bin\Debug\Win32\ - TRACE;DEBUG;NDA_CODE_SECTION - full - x86 - prompt - false - false - false - true - 1668 - false - false - - - ..\Bin\Release\Win32\ - TRACE;NDA_CODE_SECTION - true - pdbonly - x86 - prompt - false - false - false - true - 1668 - false - false - - - true - - - - - - - - - - ..\packages\Autofac.4.8.1\lib\net45\Autofac.dll - - - ..\packages\ControlzEx.3.0.2.4\lib\net45\ControlzEx.dll - - - ..\packages\Costura.Fody.3.3.3\lib\net40\Costura.dll - - - ..\packages\Google.Apis.1.37.0\lib\net45\Google.Apis.dll - - - ..\packages\Google.Apis.Auth.1.37.0\lib\net45\Google.Apis.Auth.dll - - - ..\packages\Google.Apis.Auth.1.37.0\lib\net45\Google.Apis.Auth.PlatformServices.dll - - - ..\packages\Google.Apis.Core.1.37.0\lib\net45\Google.Apis.Core.dll - - - ..\packages\Google.Apis.Drive.v3.1.37.0.1470\lib\net45\Google.Apis.Drive.v3.dll - - - ..\packages\Google.Apis.1.37.0\lib\net45\Google.Apis.PlatformServices.dll - - - False - ..\AutoEmbedLibs\ICSharpCode.AvalonEdit.dll - True - - - ..\packages\LiveCharts.0.9.7\lib\net45\LiveCharts.dll - - - ..\packages\LiveCharts.Wpf.0.9.7\lib\net45\LiveCharts.Wpf.dll - - - ..\packages\MahApps.Metro.1.6.5\lib\net46\MahApps.Metro.dll - - - ..\packages\Newtonsoft.Json.10.0.2\lib\net45\Newtonsoft.Json.dll - - - - ..\packages\Sentry.1.2.0\lib\net461\Sentry.dll - - - ..\packages\Sentry.PlatformAbstractions.1.0.0\lib\net45\Sentry.PlatformAbstractions.dll - - - ..\packages\Sentry.Protocol.1.0.6\lib\net46\Sentry.Protocol.dll - - - ..\AutoEmbedLibs\SharpDX.dll - - - ..\AutoEmbedLibs\SharpDX.D3DCompiler.dll - - - ..\AutoEmbedLibs\SharpDX.Direct2D1.dll - - - ..\AutoEmbedLibs\SharpDX.Direct3D11.dll - - - ..\AutoEmbedLibs\SharpDX.DXGI.dll - - - - ..\packages\System.Collections.Immutable.1.5.0\lib\netstandard2.0\System.Collections.Immutable.dll - - - - - - - - - ..\packages\System.Runtime.InteropServices.RuntimeInformation.4.3.0\lib\net45\System.Runtime.InteropServices.RuntimeInformation.dll - True - True - - - - - - - - - ..\packages\ControlzEx.3.0.2.4\lib\net45\System.Windows.Interactivity.dll - - - - - - - - 4.0 - - - - - - - - ..\packages\Dirkster.AvalonDock.Themes.VS2013.3.5.0.2\lib\net4\Xceed.Wpf.AvalonDock.dll - - - ..\packages\Dirkster.AvalonDock.Themes.VS2013.3.5.0.2\lib\net4\Xceed.Wpf.AvalonDock.Themes.VS2013.dll - - - - - MSBuild:Compile - Designer - - - - AttachmentViewControl.xaml - - - EditStorageListDialog.xaml - - - EditTaskTrackerListDialog.xaml - - - CaptureStats.xaml - - - CaptureThumbnail.xaml - - - FileHistory.xaml - - - FrameCapture.xaml - - - FunctionSearch.xaml - - - - SettingsControl.xaml - - - - TagsControl.xaml - - - SearchBox.xaml - - - - - - - - - - - AddressBarView.xaml - - - CaptureSettingsView.xaml - - - FunctionDescriptionView.xaml - - - FunctionHistoryTableView.xaml - - - FunctionHistoryChartView.xaml - - - FunctionInstanceView.xaml - - - FunctionSummaryView.xaml - - - ScreenShotView.xaml - - - SummaryViewer.xaml - - - - - - FrameDataTable.xaml - - - SourceViewControl.xaml - - - - - FrameInfo.xaml - - - SourceWindow.xaml - - - TimeLine.xaml - - - TimeLineItem.xaml - - - TaskTrackerView.xaml - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - MSBuild:Compile - Designer - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - MSBuild:Compile - Designer - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - MSBuild:Compile - Designer - - - MSBuild:Compile - Designer - - - MSBuild:Compile - Designer - - - MSBuild:Compile - Designer - - - App.xaml - Code - - - MainView.xaml - Code - - - MSBuild:Compile - Designer - true - - - MSBuild:Compile - Designer - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - MSBuild:Compile - Designer - - - MSBuild:Compile - Designer - - - Designer - MSBuild:Compile - - - MSBuild:Compile - Designer - - - MSBuild:Compile - Designer - - - - - Code - - - True - True - Resources.resx - - - ResXFileCodeGenerator - Resources.Designer.cs - - - - - - Designer - - - - - - - - - - - - - - - - - False - Microsoft .NET Framework 4 Client Profile %28x86 and x64%29 - true - - - False - .NET Framework 3.5 SP1 Client Profile - false - - - False - .NET Framework 3.5 SP1 - false - - - False - Windows Installer 3.1 - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - {2d34544c-2df2-4b20-a43a-6c8d2df3dd82} - InteractiveDataDisplay.WPF - - - {2b515f9a-27ed-4a0f-85f1-2e73b838bd81} - Profiler.Controls - - - {37d3fa6a-86fa-43b2-8a4f-681daa3c5e63} - Profiler.Data - - - {e86c057e-e135-4100-a4a4-c943c7f14c56} - Profiler.DirectX - - - {65cae3b7-6ea5-4fa4-8e83-4128ff73a40d} - Profiler.InfrastructureMvvm - - - - - - - This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - - - - \ No newline at end of file diff --git a/vendors/optick/gui/Optick/Platform/Platform.cs b/vendors/optick/gui/Optick/Platform/Platform.cs deleted file mode 100644 index 3abf41edd..000000000 --- a/vendors/optick/gui/Optick/Platform/Platform.cs +++ /dev/null @@ -1,64 +0,0 @@ -using Profiler.Data; -using System; -using System.Collections.Generic; -using System.Net; -using System.Net.Sockets; -using System.Security; -using System.Xml.Serialization; - -namespace Profiler -{ - public class Platform - { - public enum Type - { - Unknown, - Windows, - Linux, - MacOS, - XBox, - PS4, - Android, - iOS, - } - - public class Connection - { - public Platform.Type Target { get; set; } - public string Name { get; set; } - public string Address { get; set; } - public UInt16 Port { get; set; } - [XmlIgnore] - public SecureString Password { get; set; } - [XmlElement("Password")] - public string PasswordForXml - { - get { return Utils.GetUnsecureBase64String(Password); } - set { Password = Utils.GetSecureStringFromBase64String(value); } - } - } - - public static IPAddress GetPS4Address() - { - return IPAddress.None; - } - - public static IPAddress GetXONEAddress() - { - return IPAddress.None; - } - - public static List GetPCAddresses() - { - List result = new List(); - foreach (var ip in Dns.GetHostEntry(Dns.GetHostName()).AddressList) - if (ip.AddressFamily == AddressFamily.InterNetwork) - result.Add(ip); - - if (result.Count == 0) - result.Add(IPAddress.Parse("127.0.0.1")); - - return result; - } - } -} diff --git a/vendors/optick/gui/Optick/ProfilerClient.cs b/vendors/optick/gui/Optick/ProfilerClient.cs deleted file mode 100644 index d25a4b340..000000000 --- a/vendors/optick/gui/Optick/ProfilerClient.cs +++ /dev/null @@ -1,203 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using Profiler.Data; -using System.Net.Sockets; -using System.Threading; -using System.Net; -using System.IO; -using System.Windows; -using System.Runtime.CompilerServices; -using System.Diagnostics; - -namespace Profiler -{ - public class ProfilerClient - { - private Object criticalSection = new Object(); - private static ProfilerClient profilerClient = new ProfilerClient(); - - ProfilerClient() - { - - } - - private void Reconnect() - { - if (client.Client.Connected) - client.Client.Disconnect(true); - - client = new TcpClient(); - } - - public IPAddress IpAddress - { - get { return ipAddress; } - set - { - if (!value.Equals(ipAddress)) - { - ipAddress = value; - Reconnect(); - } - } - } - - public UInt16 Port - { - get { return port; } - set - { - if (port != value) - { - port = value; - Reconnect(); - } - } - } - - public static ProfilerClient Get() { return profilerClient; } - - TcpClient client = new TcpClient(); - - #region SocketWork - - public DataResponse RecieveMessage() - { - try - { - NetworkStream stream = null; - - lock (criticalSection) - { - if (!client.Connected) - return null; - - stream = client.GetStream(); - } - - return DataResponse.Create(stream, IpAddress, Port); - } - catch (System.IO.IOException ex) - { - lock (criticalSection) - { - Application.Current.Dispatcher.BeginInvoke(new Action(() => - { - ConnectionChanged?.Invoke(IpAddress, Port, State.Disconnected, ex.Message); - })); - - Reconnect(); - } - } - - return null; - } - - private IPAddress ipAddress; - private UInt16 port = UInt16.MaxValue; - - const UInt16 PORT_RANGE = 3; - - private bool CheckConnection() - { - lock (criticalSection) - { - if (!client.Connected) - { - for (UInt16 currentPort = port; currentPort < port + PORT_RANGE; ++currentPort) - { - try - { - Application.Current.Dispatcher.BeginInvoke(new Action(() => - { - ConnectionChanged?.Invoke(IpAddress, currentPort, State.Connecting, String.Empty); - })); - - client.Connect(new IPEndPoint(ipAddress, currentPort)); - NetworkStream stream = client.GetStream(); - - ConnectionChanged?.Invoke(ipAddress, currentPort, State.Connected, String.Empty); - - return true; - } - catch (SocketException ex) - { - Debug.Print(ex.Message); - } - } - } - } - return false; - } - - public enum State - { - Connecting, - Connected, - Disconnected, - } - public delegate void ConnectionStateEventHandler(IPAddress address, UInt16 port, State state, String message); - public event ConnectionStateEventHandler ConnectionChanged; - - public bool SendMessage(Message message, bool autoconnect = false) - { - try - { - if (!client.Connected && !autoconnect) - return false; - - CheckConnection(); - - lock (criticalSection) - { - MemoryStream buffer = new MemoryStream(); - message.Write(new BinaryWriter(buffer)); - buffer.Flush(); - - UInt32 length = (UInt32)buffer.Length; - - NetworkStream stream = client.GetStream(); - - BinaryWriter writer = new BinaryWriter(stream); - writer.Write(Message.MESSAGE_MARK); - writer.Write(length); - - buffer.WriteTo(stream); - stream.Flush(); - } - - return true; - } - catch (Exception ex) - { - lock (criticalSection) - { - Application.Current.Dispatcher.BeginInvoke(new Action(() => - { - ConnectionChanged?.Invoke(IpAddress, Port, State.Disconnected, ex.Message); - })); - - Reconnect(); - } - } - - return false; - } - - public void Close() - { - lock (criticalSection) - { - if (client != null) - { - client.Close(); - client = null; - } - } - } - - #endregion - } -} diff --git a/vendors/optick/gui/Optick/Properties/AssemblyInfo.cs b/vendors/optick/gui/Optick/Properties/AssemblyInfo.cs deleted file mode 100644 index c82d98e82..000000000 --- a/vendors/optick/gui/Optick/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,55 +0,0 @@ -using System.Reflection; -using System.Resources; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using System.Windows; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("Optick")] -[assembly: AssemblyDescription("Super Lightweight C++ Profiler for Games")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("https://optick.dev")] -[assembly: AssemblyProduct("Optick")] -[assembly: AssemblyCopyright("Copyright © Vadim Slyusarev 2022")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -//In order to begin building localizable applications, set -//CultureYouAreCodingWith in your .csproj file -//inside a . For example, if you are using US english -//in your source files, set the to en-US. Then uncomment -//the NeutralResourceLanguage attribute below. Update the "en-US" in -//the line below to match the UICulture setting in the project file. - -//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)] - - -[assembly: ThemeInfo( - ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located - //(used if a resource is not found in the page, - // or application resource dictionaries) - ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located - //(used if a resource is not found in the page, - // app, or any theme specific resource dictionaries) -)] - - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.4.0.0")] -[assembly: AssemblyFileVersion("1.4.0.0")] diff --git a/vendors/optick/gui/Optick/Properties/DesignTimeResources.xaml b/vendors/optick/gui/Optick/Properties/DesignTimeResources.xaml deleted file mode 100644 index 20f155667..000000000 --- a/vendors/optick/gui/Optick/Properties/DesignTimeResources.xaml +++ /dev/null @@ -1,5 +0,0 @@ - - - \ No newline at end of file diff --git a/vendors/optick/gui/Optick/Properties/Resources.Designer.cs b/vendors/optick/gui/Optick/Properties/Resources.Designer.cs deleted file mode 100644 index 253539aaf..000000000 --- a/vendors/optick/gui/Optick/Properties/Resources.Designer.cs +++ /dev/null @@ -1,63 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace Profiler.Properties { - using System; - - - /// - /// A strongly-typed resource class, for looking up localized strings, etc. - /// - // This class was auto-generated by the StronglyTypedResourceBuilder - // class via a tool like ResGen or Visual Studio. - // To add or remove a member, edit your .ResX file then rerun ResGen - // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class Resources { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal Resources() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Profiler.Properties.Resources", typeof(Resources).Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - } -} diff --git a/vendors/optick/gui/Optick/Properties/Resources.resx b/vendors/optick/gui/Optick/Properties/Resources.resx deleted file mode 100644 index 1af7de150..000000000 --- a/vendors/optick/gui/Optick/Properties/Resources.resx +++ /dev/null @@ -1,120 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - \ No newline at end of file diff --git a/vendors/optick/gui/Optick/Resources/Bug.ico b/vendors/optick/gui/Optick/Resources/Bug.ico deleted file mode 100644 index 0e661d6a8..000000000 Binary files a/vendors/optick/gui/Optick/Resources/Bug.ico and /dev/null differ diff --git a/vendors/optick/gui/Optick/Resources/icon.ico b/vendors/optick/gui/Optick/Resources/icon.ico deleted file mode 100644 index 9bf9f9923..000000000 Binary files a/vendors/optick/gui/Optick/Resources/icon.ico and /dev/null differ diff --git a/vendors/optick/gui/Optick/SamplingFrameControl.xaml b/vendors/optick/gui/Optick/SamplingFrameControl.xaml deleted file mode 100644 index 6544644fe..000000000 --- a/vendors/optick/gui/Optick/SamplingFrameControl.xaml +++ /dev/null @@ -1,11 +0,0 @@ - - - diff --git a/vendors/optick/gui/Optick/SamplingFrameControl.xaml.cs b/vendors/optick/gui/Optick/SamplingFrameControl.xaml.cs deleted file mode 100644 index 012161f7c..000000000 --- a/vendors/optick/gui/Optick/SamplingFrameControl.xaml.cs +++ /dev/null @@ -1,45 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Windows; -using System.Windows.Controls; -using System.Windows.Data; -using System.Windows.Documents; -using System.Windows.Input; -using System.Windows.Media; -using System.Windows.Media.Imaging; -using System.Windows.Navigation; -using System.Windows.Shapes; -using Profiler.Data; - -namespace Profiler -{ - /// - /// Interaction logic for SamplingFrameControl.xaml - /// - public partial class SamplingFrameControl : UserControl - { - public SamplingFrameControl() - { - InitializeComponent(); - Init(); - DataContextChanged += new DependencyPropertyChangedEventHandler(OnDataContextChanged); - } - - void Init() - { - if (DataContext is SamplingFrame) - { - SamplingFrame frame = DataContext as SamplingFrame; - - - } - } - - private void OnDataContextChanged(object sender, DependencyPropertyChangedEventArgs e) - { - Init(); - } - } -} diff --git a/vendors/optick/gui/Optick/SearchBox.xaml b/vendors/optick/gui/Optick/SearchBox.xaml deleted file mode 100644 index 54e52fdbf..000000000 --- a/vendors/optick/gui/Optick/SearchBox.xaml +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - - - - - - - - - - - diff --git a/vendors/optick/gui/Optick/SearchBox.xaml.cs b/vendors/optick/gui/Optick/SearchBox.xaml.cs deleted file mode 100644 index b79cc0eb7..000000000 --- a/vendors/optick/gui/Optick/SearchBox.xaml.cs +++ /dev/null @@ -1,82 +0,0 @@ -using System; -using System.Windows; -using System.Windows.Controls; -using System.Windows.Input; -using System.Timers; - -namespace Profiler -{ - - /// - /// Interaction logic for SearchBox.xaml - /// - public partial class SearchBox : UserControl - { - public SearchBox() - { - InitializeComponent(); - - delayedTextUpdateTimer.Elapsed += new ElapsedEventHandler(OnDelayedTextUpdate); - delayedTextUpdateTimer.AutoReset = false; - } - - private void FilterText_TextChanged(object sender, TextChangedEventArgs e) - { - if (!isFiltering) - return; - - delayedTextUpdateTimer.Stop(); - delayedTextUpdateTimer.Start(); - } - - bool isFiltering = false; - - public bool IsFiltering { get { return isFiltering; } } - - public void SetFilterText(string text) - { - isFiltering = true; - FilterText.Text = text; - delayedTextUpdateTimer.Stop(); - delayedTextUpdateTimer.Start(); - } - - - private void FilterText_GotFocus(object sender, RoutedEventArgs e) - { - if (!isFiltering) - { - FilterText.Text = String.Empty; - isFiltering = true; - } - } - - private void FilterText_PreviewKeyDown(object sender, KeyEventArgs e) - { - if (e.Key == Key.Enter || e.SystemKey == Key.Enter) - { - TextEnter?.Invoke(FilterText.Text); - } - } - - Timer delayedTextUpdateTimer = new Timer(300); - - public String Text { get { return FilterText.Text; } } - - void OnDelayedTextUpdate(object sender, ElapsedEventArgs e) - { - Application.Current.Dispatcher.BeginInvoke(new Action(() => { DelayedTextChanged(FilterText.Text); })); - } - - public delegate void DelayedTextChangedEventHandler(String text); - public event DelayedTextChangedEventHandler DelayedTextChanged; - - public delegate void TextEnterEventHandler(String text); - public event TextEnterEventHandler TextEnter; - - private void Button_Click(object sender, RoutedEventArgs e) - { - FilterText.Text = String.Empty; - } - } -} diff --git a/vendors/optick/gui/Optick/SourceWindow.xaml b/vendors/optick/gui/Optick/SourceWindow.xaml deleted file mode 100644 index c8b6742ee..000000000 --- a/vendors/optick/gui/Optick/SourceWindow.xaml +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/vendors/optick/gui/Optick/SourceWindow.xaml.cs b/vendors/optick/gui/Optick/SourceWindow.xaml.cs deleted file mode 100644 index b413db75a..000000000 --- a/vendors/optick/gui/Optick/SourceWindow.xaml.cs +++ /dev/null @@ -1,34 +0,0 @@ -using MahApps.Metro.Controls; -using System; -using System.Collections.Generic; -using System.Text; -using System.Windows; -using System.Windows.Controls; -using System.Windows.Data; -using System.Windows.Documents; -using System.Windows.Input; -using System.Windows.Media; -using System.Windows.Media.Imaging; -using System.Windows.Shapes; - -namespace Profiler -{ - /// - /// Interaction logic for SourceWindow.xaml - /// - public partial class SourceWindow : MetroWindow - { - public SourceWindow() - { - this.InitializeComponent(); - } - - private void Window_KeyDown(object sender, KeyEventArgs e) - { - if (e.Key == Key.Escape) - { - Close(); - } - } - } -} \ No newline at end of file diff --git a/vendors/optick/gui/Optick/TaskManager/AttachmentStorage.cs b/vendors/optick/gui/Optick/TaskManager/AttachmentStorage.cs deleted file mode 100644 index 101a894e3..000000000 --- a/vendors/optick/gui/Optick/TaskManager/AttachmentStorage.cs +++ /dev/null @@ -1,173 +0,0 @@ -using Google.Apis.Auth.OAuth2; -using Google.Apis.Drive.v3; -using Google.Apis.Drive.v3.Data; -using Google.Apis.Services; -using Profiler.Data; -using System; -using System.Collections.Generic; -using System.Diagnostics; -using System.Linq; -using System.Net; -using System.Reflection; -using System.Security.Cryptography.X509Certificates; -using System.Text; -using System.Threading; -using System.Threading.Tasks; - -namespace Profiler.TaskManager -{ - public abstract class ExternalStorage - { - public abstract String DisplayName { get; } - public abstract String Icon { get; } - public abstract bool IsPublic { get; } - - public abstract Uri UploadFile(String name, System.IO.Stream data, Action onProgress, CancellationToken token); - } - - class GDriveStorage : ExternalStorage - { - public override string DisplayName => "Public Google Drive Storage (Optick)"; - public override string Icon => "appbar_google"; - public override bool IsPublic => true; - - const string SERVICE_ACCOUNT_EMAIL = "upload@brofiler-github.iam.gserviceaccount.com"; - const string KEY_RESOURCE_NAME = "Profiler.TaskManager.brofiler-github-07994fd14248.p12"; - - private DriveService Connect() - { - Assembly assembly = Assembly.GetExecutingAssembly(); - using (System.IO.Stream stream = assembly.GetManifestResourceStream(KEY_RESOURCE_NAME)) - { - string[] scopes = new string[] { DriveService.Scope.Drive }; - - byte[] key = new byte[stream.Length]; - stream.Read(key, 0, (int)stream.Length); - - var certificate = new X509Certificate2(key, "notasecret", X509KeyStorageFlags.Exportable); - var credential = new ServiceAccountCredential(new ServiceAccountCredential.Initializer(SERVICE_ACCOUNT_EMAIL) - { - Scopes = scopes - }.FromCertificate(certificate)); - - return new DriveService(new BaseClientService.Initializer() - { - HttpClientInitializer = credential, - ApplicationName = "Optick Github Sample", - }); - } - } - - private static string GetMimeType(string fileName) - { - string mimeType = "application/unknown"; - string ext = System.IO.Path.GetExtension(fileName).ToLower(); - Microsoft.Win32.RegistryKey regKey = Microsoft.Win32.Registry.ClassesRoot.OpenSubKey(ext); - if (regKey != null && regKey.GetValue("Content Type") != null) - mimeType = regKey.GetValue("Content Type").ToString(); - return mimeType; - } - - private String UploadFile(DriveService service, String name, System.IO.Stream stream, Action onProgress, CancellationToken token) - { - File body = new File(); - body.Name = System.IO.Path.GetFileName(name); - body.Description = "File uploaded by Optick"; - body.MimeType = GetMimeType(name); - - // File's content. - System.IO.MemoryStream memoryStream = new System.IO.MemoryStream(); - stream.Position = 0; - stream.CopyTo(memoryStream); - memoryStream.Position = 0; - - try - { - var uploadRequest = service.Files.Create(body, memoryStream, GetMimeType(name)); - uploadRequest.ProgressChanged += (p) => onProgress?.Invoke((double)p.BytesSent / stream.Length); - uploadRequest.Fields = "id"; - uploadRequest.ChunkSize = Google.Apis.Upload.ResumableUpload.MinimumChunkSize; - uploadRequest.UploadAsync(token).Wait(token); - - String fileId = uploadRequest.ResponseBody.Id; - - Permission userPermission = new Permission() - { - Type = "anyone", - Role = "reader", - AllowFileDiscovery = false, - }; - var permissionsRequest = service.Permissions.Create(userPermission, fileId); - permissionsRequest.Execute(); - - //Permission domainPermission = new Permission() - //{ - // Type = "domain", - // Role = "reader", - - //}; - //permissionsRequest = service.Permissions.Create(domainPermission, fileId); - //permissionsRequest.Execute(); - - return fileId; - - } - catch (Exception e) - { - Debug.WriteLine("An error occurred: " + e.Message); - return null; - } - } - - public override Uri UploadFile(String name, System.IO.Stream data, Action onProgress, CancellationToken token) - { - DriveService service = Connect(); - - if (service != null) - { - String fileId = UploadFile(service, name, data, onProgress, token); - if (!String.IsNullOrEmpty(fileId)) - { - return new Uri("https://drive.google.com/uc?id=" + fileId); - } - } - - return null; - } - } - - class NetworkStorage : ExternalStorage - { - public String UploadURL { get; set; } - public String DownloadURL { get; set; } - - public String GUID { get; set; } = Utils.GenerateShortGUID(); - public DateTime Date { get; set; } = DateTime.Now; - - public String IntermediateFolder => String.Format("{0}/{1}", Date.ToString("yyyy-MM-dd"), GUID); - - public override string DisplayName => String.Format("{0} ({1})", DownloadURL, UploadURL); - public override string Icon => "appbar_folder"; - public override bool IsPublic => false; - - public NetworkStorage(String uploadURL, String downloadURL) - { - UploadURL = uploadURL; - DownloadURL = downloadURL; - } - - public override Uri UploadFile(string name, System.IO.Stream data, Action onProgress, CancellationToken token) - { - String uploadFolder = System.IO.Path.Combine(UploadURL, IntermediateFolder); - System.IO.Directory.CreateDirectory(uploadFolder); - - String uploadPath = System.IO.Path.Combine(uploadFolder, name); - data.Position = 0; - using (System.IO.FileStream outputStream = new System.IO.FileStream(uploadPath, System.IO.FileMode.Create)) - Utils.CopyStream(data, outputStream, (p) => { token.ThrowIfCancellationRequested(); onProgress(p); }); - - String downloadPath = String.Format("{0}/{1}/{2}", DownloadURL, IntermediateFolder, name); - return new Uri(downloadPath); - } - } -} diff --git a/vendors/optick/gui/Optick/TaskManager/TaskTracker.cs b/vendors/optick/gui/Optick/TaskManager/TaskTracker.cs deleted file mode 100644 index f51224672..000000000 --- a/vendors/optick/gui/Optick/TaskManager/TaskTracker.cs +++ /dev/null @@ -1,125 +0,0 @@ -using Profiler.Data; -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Web; - -namespace Profiler.TaskManager -{ - public class Attachment - { - public FileAttachment.Type Type { get; set; } - public String Name { get; set; } - public Uri URL { get; set; } - } - - public class Issue - { - public String Title { get; set; } - public String Body { get; set; } - public List Attachments { get; set; } = new List(); - } - - public enum TrackerType - { - GitHub, - Jira, - } - - public abstract class TaskTracker - { - public String Address { get; set; } - - public abstract TrackerType TrackerType { get; } - public abstract String ImageTemplate { get; } - public abstract String LinkTemplate { get; } - - public abstract String DisplayName { get; } - public abstract String Icon { get; } - public abstract void CreateIssue(Issue issue); - - - public static String BuildBody(TaskTracker tracker, Issue issue) - { - StringBuilder bodyBuilder = new StringBuilder(); - - if (issue.Attachments.Count > 0) - { - Attachment image = issue.Attachments.Find(i => i.Type == FileAttachment.Type.IMAGE); - if (image != null) - { - bodyBuilder.AppendFormat(tracker.ImageTemplate, image.Name, image.URL); - bodyBuilder.AppendLine(); - } - - bodyBuilder.Append("Attachments: "); - foreach (Attachment att in issue.Attachments) - { - if (att.Type != FileAttachment.Type.CAPTURE) - { - bodyBuilder.AppendFormat(tracker.LinkTemplate, att.Name, att.URL); - bodyBuilder.Append(" "); - } - } - bodyBuilder.AppendLine(); - - Attachment capture = issue.Attachments.Find(i => i.Type == FileAttachment.Type.CAPTURE); - if (capture != null) - { - bodyBuilder.AppendFormat("Capture: " + tracker.LinkTemplate, capture.Name, capture.URL); - bodyBuilder.AppendLine(); - } - } - - bodyBuilder.Append(issue.Body); - - return bodyBuilder.ToString(); - } - } - - - public class GithubTaskTracker : TaskTracker - { - public override string ImageTemplate => "![{0}]({1})"; - public override string LinkTemplate => "[[{0}]({1})]"; - public override string Icon => "appbar_social_github_octocat_solid"; - public override string DisplayName => Address; - public override TrackerType TrackerType => TrackerType.GitHub; - - public GithubTaskTracker(String address) - { - Address = address; - } - - public override void CreateIssue(Issue issue) - { - String body = BuildBody(this, issue); - String url = String.Format("{0}/issues/new?&title={1}&body={2}", Address, HttpUtility.UrlEncode(issue.Title), HttpUtility.UrlEncode(body)); - System.Diagnostics.Process.Start(url); - } - } - - public class JiraTaskTracker : TaskTracker - { - public override string ImageTemplate => "!{1}|width=100%!"; - public override string LinkTemplate => @"\[[{0}|{1}]\]"; - public override string Icon => "appbar_social_jira"; - public override string DisplayName => Address; - public override TrackerType TrackerType => TrackerType.Jira; - - public JiraTaskTracker(String address) - { - Address = address; - } - - public override void CreateIssue(Issue issue) - { - String body = BuildBody(this, issue); - String url = String.Format("{0}&summary={1}&description={2}", Address, HttpUtility.UrlEncode(issue.Title), HttpUtility.UrlEncode(body)); - System.Diagnostics.Process.Start(url); - } - } -} diff --git a/vendors/optick/gui/Optick/TaskManager/brofiler-github-07994fd14248.p12 b/vendors/optick/gui/Optick/TaskManager/brofiler-github-07994fd14248.p12 deleted file mode 100644 index eca117e0e..000000000 Binary files a/vendors/optick/gui/Optick/TaskManager/brofiler-github-07994fd14248.p12 and /dev/null differ diff --git a/vendors/optick/gui/Optick/TimeLine/Icons/CallStack-icon.png b/vendors/optick/gui/Optick/TimeLine/Icons/CallStack-icon.png deleted file mode 100644 index 0c2b20f96..000000000 Binary files a/vendors/optick/gui/Optick/TimeLine/Icons/CallStack-icon.png and /dev/null differ diff --git a/vendors/optick/gui/Optick/TimeLine/Icons/Clear-icon.png b/vendors/optick/gui/Optick/TimeLine/Icons/Clear-icon.png deleted file mode 100644 index f59ca818b..000000000 Binary files a/vendors/optick/gui/Optick/TimeLine/Icons/Clear-icon.png and /dev/null differ diff --git a/vendors/optick/gui/Optick/TimeLine/Icons/ClearSampling-icon.png b/vendors/optick/gui/Optick/TimeLine/Icons/ClearSampling-icon.png deleted file mode 100644 index 9ded44c70..000000000 Binary files a/vendors/optick/gui/Optick/TimeLine/Icons/ClearSampling-icon.png and /dev/null differ diff --git a/vendors/optick/gui/Optick/TimeLine/Icons/Eye-icon.png b/vendors/optick/gui/Optick/TimeLine/Icons/Eye-icon.png deleted file mode 100644 index d3cbce0bc..000000000 Binary files a/vendors/optick/gui/Optick/TimeLine/Icons/Eye-icon.png and /dev/null differ diff --git a/vendors/optick/gui/Optick/TimeLine/Icons/Filter-icon.png b/vendors/optick/gui/Optick/TimeLine/Icons/Filter-icon.png deleted file mode 100644 index 9c5d70427..000000000 Binary files a/vendors/optick/gui/Optick/TimeLine/Icons/Filter-icon.png and /dev/null differ diff --git a/vendors/optick/gui/Optick/TimeLine/Icons/Glasses-icon.png b/vendors/optick/gui/Optick/TimeLine/Icons/Glasses-icon.png deleted file mode 100644 index da87658f7..000000000 Binary files a/vendors/optick/gui/Optick/TimeLine/Icons/Glasses-icon.png and /dev/null differ diff --git a/vendors/optick/gui/Optick/TimeLine/Icons/Hook-icon.png b/vendors/optick/gui/Optick/TimeLine/Icons/Hook-icon.png deleted file mode 100644 index e3c69ec5d..000000000 Binary files a/vendors/optick/gui/Optick/TimeLine/Icons/Hook-icon.png and /dev/null differ diff --git a/vendors/optick/gui/Optick/TimeLine/Icons/Pause-icon.png b/vendors/optick/gui/Optick/TimeLine/Icons/Pause-icon.png deleted file mode 100644 index 5b7ac7071..000000000 Binary files a/vendors/optick/gui/Optick/TimeLine/Icons/Pause-icon.png and /dev/null differ diff --git a/vendors/optick/gui/Optick/TimeLine/Icons/Percent-icon.png b/vendors/optick/gui/Optick/TimeLine/Icons/Percent-icon.png deleted file mode 100644 index 3584f7a28..000000000 Binary files a/vendors/optick/gui/Optick/TimeLine/Icons/Percent-icon.png and /dev/null differ diff --git a/vendors/optick/gui/Optick/TimeLine/Icons/Play-icon.png b/vendors/optick/gui/Optick/TimeLine/Icons/Play-icon.png deleted file mode 100644 index 060553185..000000000 Binary files a/vendors/optick/gui/Optick/TimeLine/Icons/Play-icon.png and /dev/null differ diff --git a/vendors/optick/gui/Optick/TimeLine/Icons/Save-icon.png b/vendors/optick/gui/Optick/TimeLine/Icons/Save-icon.png deleted file mode 100644 index 5e1bf668a..000000000 Binary files a/vendors/optick/gui/Optick/TimeLine/Icons/Save-icon.png and /dev/null differ diff --git a/vendors/optick/gui/Optick/TimeLine/Icons/Search-icon.png b/vendors/optick/gui/Optick/TimeLine/Icons/Search-icon.png deleted file mode 100644 index 1ecbe627f..000000000 Binary files a/vendors/optick/gui/Optick/TimeLine/Icons/Search-icon.png and /dev/null differ diff --git a/vendors/optick/gui/Optick/TimeLine/Icons/Source-icon.png b/vendors/optick/gui/Optick/TimeLine/Icons/Source-icon.png deleted file mode 100644 index bea69653b..000000000 Binary files a/vendors/optick/gui/Optick/TimeLine/Icons/Source-icon.png and /dev/null differ diff --git a/vendors/optick/gui/Optick/TimeLine/Icons/Stop-icon.ico b/vendors/optick/gui/Optick/TimeLine/Icons/Stop-icon.ico deleted file mode 100644 index 1b283056d..000000000 Binary files a/vendors/optick/gui/Optick/TimeLine/Icons/Stop-icon.ico and /dev/null differ diff --git a/vendors/optick/gui/Optick/TimeLine/Icons/Stop-icon.png b/vendors/optick/gui/Optick/TimeLine/Icons/Stop-icon.png deleted file mode 100644 index 67b0bebd2..000000000 Binary files a/vendors/optick/gui/Optick/TimeLine/Icons/Stop-icon.png and /dev/null differ diff --git a/vendors/optick/gui/Optick/TimeLine/Icons/Timer-icon.png b/vendors/optick/gui/Optick/TimeLine/Icons/Timer-icon.png deleted file mode 100644 index afd0d1465..000000000 Binary files a/vendors/optick/gui/Optick/TimeLine/Icons/Timer-icon.png and /dev/null differ diff --git a/vendors/optick/gui/Optick/TimeLine/Icons/Trash2-icon.png b/vendors/optick/gui/Optick/TimeLine/Icons/Trash2-icon.png deleted file mode 100644 index a91d5f1e2..000000000 Binary files a/vendors/optick/gui/Optick/TimeLine/Icons/Trash2-icon.png and /dev/null differ diff --git a/vendors/optick/gui/Optick/TimeLine/Icons/Warning-icon.png b/vendors/optick/gui/Optick/TimeLine/Icons/Warning-icon.png deleted file mode 100644 index aacf5205a..000000000 Binary files a/vendors/optick/gui/Optick/TimeLine/Icons/Warning-icon.png and /dev/null differ diff --git a/vendors/optick/gui/Optick/TimeLine/TimeLine.xaml b/vendors/optick/gui/Optick/TimeLine/TimeLine.xaml deleted file mode 100644 index 2bee24d4a..000000000 --- a/vendors/optick/gui/Optick/TimeLine/TimeLine.xaml +++ /dev/null @@ -1,191 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/vendors/optick/gui/Optick/TimeLine/TimeLine.xaml.cs b/vendors/optick/gui/Optick/TimeLine/TimeLine.xaml.cs deleted file mode 100644 index 9847113bb..000000000 --- a/vendors/optick/gui/Optick/TimeLine/TimeLine.xaml.cs +++ /dev/null @@ -1,483 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Text; -using System.Windows; -using System.Windows.Controls; -using System.Windows.Data; -using System.Windows.Documents; -using System.Windows.Input; -using System.Windows.Media; -using System.Windows.Media.Imaging; -using System.Windows.Navigation; -using System.Windows.Shapes; -using System.Collections.ObjectModel; -using System.Net.Sockets; -using System.Threading; -using System.Net; -using System.IO; -using System.Windows.Threading; -using Profiler.Data; -using Frame = Profiler.Data.Frame; -using Microsoft.Win32; -using System.Xml; -using System.Net.Cache; -using System.Reflection; -using System.Diagnostics; -using System.Web; -using System.Net.NetworkInformation; -using System.ComponentModel; -using System.IO.Compression; -using System.Threading.Tasks; -using System.Security; -using Profiler.Controls; - -namespace Profiler -{ - public delegate void ClearAllFramesHandler(); - - /// - /// Interaction logic for TimeLine.xaml - /// - public partial class TimeLine : UserControl - { - FrameCollection frames = new FrameCollection(); - Thread socketThread = null; - - Object criticalSection = new Object(); - - public FrameCollection Frames - { - get - { - return frames; - } - } - - public TimeLine() - { - this.InitializeComponent(); - this.DataContext = frames; - - statusToError.Add(TracerStatus.TRACER_ERROR_ACCESS_DENIED, new KeyValuePair("ETW can't start: launch your Game/VisualStudio/UE4Editor as administrator to collect context switches", "https://github.com/bombomby/optick/wiki/Event-Tracing-for-Windows")); - statusToError.Add(TracerStatus.TRACER_ERROR_ALREADY_EXISTS, new KeyValuePair("ETW session already started (Reboot should help)", "https://github.com/bombomby/optick/wiki/Event-Tracing-for-Windows")); - statusToError.Add(TracerStatus.TRACER_FAILED, new KeyValuePair("ETW session failed (Run your Game or Visual Studio as Administrator to get ETW data)", "https://github.com/bombomby/optick/wiki/Event-Tracing-for-Windows")); - statusToError.Add(TracerStatus.TRACER_INVALID_PASSWORD, new KeyValuePair("Tracing session failed: invalid root password. Run the game as a root or pass a valid password through Optick GUI", "https://github.com/bombomby/optick/wiki/Event-Tracing-for-Windows")); - statusToError.Add(TracerStatus.TRACER_NOT_IMPLEMENTED, new KeyValuePair("Tracing sessions are not supported yet on the selected platform! Stay tuned!", "https://github.com/bombomby/optick")); - - ProfilerClient.Get().ConnectionChanged += TimeLine_ConnectionChanged; - - socketThread = new Thread(RecieveMessage); - socketThread.Start(); - } - - private void TimeLine_ConnectionChanged(IPAddress address, UInt16 port, ProfilerClient.State state, String message) - { - switch (state) - { - case ProfilerClient.State.Connecting: - StatusText.Text = String.Format("Connecting {0}:{1} ...", address.ToString(), port); - StatusText.Visibility = System.Windows.Visibility.Visible; - break; - - case ProfilerClient.State.Disconnected: - RaiseEvent(new ShowWarningEventArgs("Connection Failed! " + message, String.Empty)); - StatusText.Visibility = System.Windows.Visibility.Collapsed; - break; - - case ProfilerClient.State.Connected: - break; - } - } - - public bool LoadFile(string file) - { - if (File.Exists(file)) - { - using (new WaitCursor()) - { - if (System.IO.Path.GetExtension(file) == ".trace") - { - return OpenTrace(file); - } - else if (System.IO.Path.GetExtension(file) == ".json") - { - return OpenTrace(file); - } - else - { - using (Stream stream = Data.Capture.Open(file)) - { - return Open(file, stream); - } - } - } - } - return false; - } - - private bool Open(String name, Stream stream) - { - DataResponse response = DataResponse.Create(stream); - while (response != null) - { - if (!ApplyResponse(response)) - return false; - - response = DataResponse.Create(stream); - } - - frames.UpdateName(name); - frames.Flush(); - ScrollToEnd(); - - return true; - } - - private bool OpenTrace(String path) where T : ITrace, new() - { - if (File.Exists(path)) - { - using (Stream stream = File.OpenRead(path)) - { - T trace = new T(); - trace.Init(path, stream); - frames.AddGroup(trace.MainGroup); - frames.Add(trace.MainFrame); - FocusOnFrame(trace.MainFrame); - } - return true; - } - return false; - } - - Dictionary testResponses = new Dictionary(); - - private void SaveTestResponse(DataResponse response) - { - if (!testResponses.ContainsKey(response.ResponseType)) - testResponses.Add(response.ResponseType, 0); - - int count = testResponses[response.ResponseType]++; - - String data = response.SerializeToBase64(); - String path = response.ResponseType.ToString() + "_" + String.Format("{0:000}", count) + ".bin"; - File.WriteAllText(path, data); - - } - - public class ThreadDescription - { - public UInt32 ThreadID { get; set; } - public String Name { get; set; } - - public override string ToString() - { - return String.Format("[{0}] {1}", ThreadID, Name); - } - } - - enum TracerStatus - { - TRACER_OK = 0, - TRACER_ERROR_ALREADY_EXISTS = 1, - TRACER_ERROR_ACCESS_DENIED = 2, - TRACER_FAILED = 3, - TRACER_INVALID_PASSWORD = 4, - TRACER_NOT_IMPLEMENTED = 5, - } - - Dictionary> statusToError = new Dictionary>(); - - private bool ApplyResponse(DataResponse response) - { - if (response.Version >= NetworkProtocol.NETWORK_PROTOCOL_MIN_VERSION) - { - //SaveTestResponse(response); - - switch (response.ResponseType) - { - case DataResponse.Type.ReportProgress: - Int32 length = response.Reader.ReadInt32(); - StatusText.Text = new String(response.Reader.ReadChars(length)); - break; - - case DataResponse.Type.NullFrame: - RaiseEvent(new CancelConnectionEventArgs()); - StatusText.Visibility = System.Windows.Visibility.Collapsed; - lock (frames) - { - frames.Flush(); - ScrollToEnd(); - } - break; - - case DataResponse.Type.Handshake: - TracerStatus status = (TracerStatus)response.Reader.ReadUInt32(); - - KeyValuePair warning; - if (statusToError.TryGetValue(status, out warning)) - { - RaiseEvent(new ShowWarningEventArgs(warning.Key, warning.Value)); - } - - if (response.Version >= NetworkProtocol.NETWORK_PROTOCOL_VERSION_23) - { - Platform.Connection connection = new Platform.Connection() { - Address = response.Source.Address.ToString(), - Port = response.Source.Port - }; - Platform.Type target = Platform.Type.Unknown; - String targetName = Utils.ReadBinaryString(response.Reader); - Enum.TryParse(targetName, true, out target); - connection.Target = target; - connection.Name = Utils.ReadBinaryString(response.Reader); - RaiseEvent(new NewConnectionEventArgs(connection)); - } - - break; - - default: - lock (frames) - { - frames.Add(response); - //ScrollToEnd(); - } - break; - } - } - else - { - RaiseEvent(new ShowWarningEventArgs("Invalid NETWORK_PROTOCOL_VERSION", String.Empty)); - return false; - } - return true; - } - - private void ScrollToEnd() - { - if (frames.Count > 0) - { - frameList.SelectedItem = frames[frames.Count - 1]; - frameList.ScrollIntoView(frames[frames.Count - 1]); - } - } - - public void RecieveMessage() - { - while (true) - { - DataResponse response = ProfilerClient.Get().RecieveMessage(); - - if (response != null) - Application.Current.Dispatcher.BeginInvoke(new Action(() => ApplyResponse(response))); - else - Thread.Sleep(1000); - } - } - - #region FocusFrame - private void FocusOnFrame(Data.Frame frame) - { - FocusFrameEventArgs args = new FocusFrameEventArgs(GlobalEvents.FocusFrameEvent, frame); - RaiseEvent(args); - } - - public class ShowWarningEventArgs : RoutedEventArgs - { - public String Message { get; set; } - public String URL { get; set; } - - public ShowWarningEventArgs(String message, String url) : base(ShowWarningEvent) - { - Message = message; - URL = url; - } - } - - public class NewConnectionEventArgs : RoutedEventArgs - { - public Platform.Connection Connection { get; set; } - - public NewConnectionEventArgs(Platform.Connection connection) : base(NewConnectionEvent) - { - Connection = connection; - } - } - - public class CancelConnectionEventArgs : RoutedEventArgs - { - public CancelConnectionEventArgs() : base(CancelConnectionEvent) - { - } - } - - public delegate void ShowWarningEventHandler(object sender, ShowWarningEventArgs e); - public delegate void NewConnectionEventHandler(object sender, NewConnectionEventArgs e); - public delegate void CancelConnectionEventHandler(object sender, CancelConnectionEventArgs e); - - public static readonly RoutedEvent ShowWarningEvent = EventManager.RegisterRoutedEvent("ShowWarning", RoutingStrategy.Bubble, typeof(ShowWarningEventArgs), typeof(TimeLine)); - public static readonly RoutedEvent NewConnectionEvent = EventManager.RegisterRoutedEvent("NewConnection", RoutingStrategy.Bubble, typeof(NewConnectionEventHandler), typeof(TimeLine)); - public static readonly RoutedEvent CancelConnectionEvent = EventManager.RegisterRoutedEvent("CancelConnection", RoutingStrategy.Bubble, typeof(CancelConnectionEventHandler), typeof(TimeLine)); - - public event RoutedEventHandler FocusFrame - { - add { AddHandler(GlobalEvents.FocusFrameEvent, value); } - remove { RemoveHandler(GlobalEvents.FocusFrameEvent, value); } - } - - public event RoutedEventHandler ShowWarning - { - add { AddHandler(ShowWarningEvent, value); } - remove { RemoveHandler(ShowWarningEvent, value); } - } - - public event RoutedEventHandler NewConnection - { - add { AddHandler(NewConnectionEvent, value); } - remove { RemoveHandler(NewConnectionEvent, value); } - } - - public event RoutedEventHandler CancelConnection - { - add { AddHandler(CancelConnectionEvent, value); } - remove { RemoveHandler(CancelConnectionEvent, value); } - } - #endregion - - private void frameList_SelectionChanged(object sender, SelectionChangedEventArgs e) - { - if (frameList.SelectedItem is Data.Frame) - { - FocusOnFrame((Data.Frame)frameList.SelectedItem); - } - } - - public void ForEachResponse(Action action) - { - FrameGroup currentGroup = null; - foreach (Frame frame in frames) - { - if (frame is EventFrame) - { - EventFrame eventFrame = frame as EventFrame; - if (eventFrame.Group != currentGroup && currentGroup != null) - { - currentGroup.Responses.ForEach(response => action(currentGroup, response)); - } - currentGroup = eventFrame.Group; - } - else if (frame is SamplingFrame) - { - if (currentGroup != null) - { - currentGroup.Responses.ForEach(response => action(currentGroup, response)); - currentGroup = null; - } - - action(null, (frame as SamplingFrame).Response); - } - } - - currentGroup?.Responses.ForEach(response => action(currentGroup, response)); - } - - public void Save(Stream stream) - { - ForEachResponse((group, response) => response.Serialize(stream)); - } - - public String Save() - { - SaveFileDialog dlg = new SaveFileDialog(); - dlg.Filter = "Optick Performance Capture (*.opt)|*.opt"; - dlg.Title = "Where should I save profiler results?"; - - if (dlg.ShowDialog() == true) - { - lock (frames) - { - using (Stream stream = Capture.Create(dlg.FileName)) - Save(stream); - - frames.UpdateName(dlg.FileName, true); - } - return dlg.FileName; - } - - return null; - } - - public void Close() - { - if (socketThread != null) - { - socketThread.Abort(); - socketThread = null; - } - } - - public void Clear() - { - lock (frames) - { - frames.Clear(); - } - } - - //private void FrameFilterSlider_ValueChanged(object sender, RoutedPropertyChangedEventArgs e) - //{ - // ICollectionView view = CollectionViewSource.GetDefaultView(frameList.ItemsSource); - // view.Filter = new Predicate((item) => { return (item is Frame) ? (item as Frame).Duration >= FrameFilterSlider.Value : true; }); - //} - - public void StartCapture(IPAddress address, UInt16 port, CaptureSettings settings, SecureString password) - { - ProfilerClient.Get().IpAddress = address; - ProfilerClient.Get().Port = port; - - Application.Current.Dispatcher.BeginInvoke(new Action(() => - { - StatusText.Text = "Connecting..."; - StatusText.Visibility = System.Windows.Visibility.Visible; - })); - - Task.Run(() => { ProfilerClient.Get().SendMessage(new StartMessage() { Settings = settings, Password = password } , true); }); - } - } - - public class FrameHeightConverter : IValueConverter - { - public static double Convert(double value) - { - return 2.775 * value; - } - - public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) - { - return Convert((double)value); - } - - public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) - { - return null; - } - } - - - public class WaitCursor : IDisposable - { - private Cursor _previousCursor; - - public WaitCursor() - { - _previousCursor = Mouse.OverrideCursor; - - Mouse.OverrideCursor = Cursors.Wait; - } - - public void Dispose() - { - Mouse.OverrideCursor = _previousCursor; - } - } -} diff --git a/vendors/optick/gui/Optick/TimeLine/TimeLineItem.xaml b/vendors/optick/gui/Optick/TimeLine/TimeLineItem.xaml deleted file mode 100644 index 566a064ac..000000000 --- a/vendors/optick/gui/Optick/TimeLine/TimeLineItem.xaml +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/vendors/optick/gui/Optick/TimeLine/TimeLineItem.xaml.cs b/vendors/optick/gui/Optick/TimeLine/TimeLineItem.xaml.cs deleted file mode 100644 index e8cb75e6e..000000000 --- a/vendors/optick/gui/Optick/TimeLine/TimeLineItem.xaml.cs +++ /dev/null @@ -1,75 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Text; -using System.Windows; -using System.Windows.Controls; -using System.Windows.Data; -using System.Windows.Documents; -using System.Windows.Input; -using System.Windows.Media; -using System.Windows.Media.Imaging; -using System.Windows.Navigation; -using System.Windows.Shapes; -using Profiler.Data; - -namespace Profiler -{ - /// - /// Interaction logic for TimeLineItem.xaml - /// - public partial class TimeLineItem : UserControl - { - public TimeLineItem() - { - this.InitializeComponent(); - Init(); - - DataContextChanged += new DependencyPropertyChangedEventHandler(TimeLineItem_DataContextChanged); - } - - void TimeLineItem_DataContextChanged(object sender, DependencyPropertyChangedEventArgs e) - { - Init(); - } - - void InitNode(EventNode node, double frameStartMS, int level) - { - double duration = FrameHeightConverter.Convert(node.Entry.Duration); - - if (duration < 2.0 && level != 0) - return; - - Rectangle rect = new Rectangle(); - rect.Width = double.NaN; - rect.Height = duration; - rect.Fill = new SolidColorBrush(node.Entry.Description.ForceColor); - - double startTime = (node.Entry.StartMS - frameStartMS); - rect.Margin = new Thickness(0, 0, 0, FrameHeightConverter.Convert(startTime)); - rect.VerticalAlignment = VerticalAlignment.Bottom; - - LayoutRoot.Children.Add(rect); - - foreach (EventNode child in node.Children) - { - InitNode(child, frameStartMS, level + 1); - } - } - - void Init() - { - if (DataContext is Data.EventFrame) - { - Data.EventFrame frame = (Data.EventFrame)DataContext; - LayoutRoot.Children.Clear(); - - double frameStartMS = frame.Header.StartMS; - - foreach (EventNode node in frame.Root.Children) - { - InitNode(node, frameStartMS, 0); - } - } - } - } -} \ No newline at end of file diff --git a/vendors/optick/gui/Optick/ViewModels/AddressBarViewModel.cs b/vendors/optick/gui/Optick/ViewModels/AddressBarViewModel.cs deleted file mode 100644 index 705aa4992..000000000 --- a/vendors/optick/gui/Optick/ViewModels/AddressBarViewModel.cs +++ /dev/null @@ -1,207 +0,0 @@ -using Profiler.Controls; -using Profiler.Data; -using Profiler.InfrastructureMvvm; -using System; -using System.Collections.Generic; -using System.Collections.ObjectModel; -using System.Linq; -using System.Net; -using System.Security; -using System.Text; -using System.Threading.Tasks; - -namespace Profiler.ViewModels -{ - class ConnectionVM : BaseViewModel - { - const UInt16 DEFAULT_PORT = 31318; - - private String _name; - public String Name - { - get { return _name; } - set { SetProperty(ref _name, value); } - } - - private Platform.Type _target; - public Platform.Type Target - { - get { return _target; } - set { SetProperty(ref _target, value); OnPropertyChanged("Icon"); } - } - - private String _address; - public String Address - { - get { return _address; } - set { SetProperty(ref _address, value); } - } - - private SecureString _password; - public SecureString Password - { - get { return _password; } - set { SetProperty(ref _password, value); } - } - - private UInt16 _port = DEFAULT_PORT; - public UInt16 Port - { - get { return _port; } - set { SetProperty(ref _port, value); } - } - - private bool _canEdit; - public bool CanEdit - { - get { return _canEdit; } - set { SetProperty(ref _canEdit, value); } - } - - private bool _canDelete; - public bool CanDelete - { - get { return _canDelete; } - set { SetProperty(ref _canDelete, value); } - } - - public String Icon - { - get - { - switch (Target) - { - case Platform.Type.Unknown: - return "appbar_network"; - case Platform.Type.Windows: - return "appbar_os_windows_8"; - case Platform.Type.Linux: - return "appbar_os_ubuntu"; - case Platform.Type.MacOS: - return "appbar_social_apple"; - case Platform.Type.XBox: - return "appbar_controller_xbox"; - case Platform.Type.PS4: - return "appbar_social_playstation"; - case Platform.Type.Android: - return "appbar_os_android"; - case Platform.Type.iOS: - return "appbar_os_ios"; - default: - return "appbar_network"; - } - } - } - - public ConnectionVM() { } - public ConnectionVM(Platform.Connection con) - { - Name = con.Name; - Address = con.Address; - Target = con.Target; - Port = con.Port; - Password = con.Password; - CanDelete = true; - } - - public Platform.Connection GetConnection() - { - return new Platform.Connection() - { - Name = this.Name, - Address = this.Address, - Target = this.Target, - Port = this.Port, - Password = this.Password, - }; - } - } - - class AddressBarViewModel : BaseViewModel - { - public ObservableCollection Connections { get; set; } = new ObservableCollection(); - - private ConnectionVM _selection; - public ConnectionVM Selection - { - get { return _selection; } - set { SetProperty(ref _selection, value); } - } - - public AddressBarViewModel() - { - Load(); - } - - public void Load() - { - List addresses = Platform.GetPCAddresses(); - foreach (var ip in addresses) - Connections.Add(new ConnectionVM() { Name = Environment.MachineName, Address = ip.ToString(), Target = Platform.Type.Windows, CanDelete = false }); - - foreach (Platform.Connection con in Settings.LocalSettings.Data.Connections) - Connections.Add(new ConnectionVM(con)); - - AddEditableItem(); - - Select(Settings.LocalSettings.Data.LastConnection); - } - - void Select(Platform.Connection connection) - { - if (connection != null) - { - ConnectionVM item = Connections.FirstOrDefault(c => c.Address == connection.Address && c.Port == connection.Port); - if (item != null) - { - Selection = item; - return; - } - } - Selection = Connections.FirstOrDefault(); - } - - void AddEditableItem() - { - if (Connections.FirstOrDefault(c => c.CanEdit == true) == null) - { - List addresses = Platform.GetPCAddresses(); - Connections.Add(new ConnectionVM() { Name = "Network", Address = addresses.Count > 0 ? addresses[0].ToString() : "127.0.0.1", Target = Platform.Type.Unknown, CanDelete = false, CanEdit = true }); - } - } - - public void Save() - { - var connectionList = Settings.LocalSettings.Data.Connections; - connectionList.Clear(); - foreach (ConnectionVM con in Connections) - if (con.CanDelete) - connectionList.Add(con.GetConnection()); - Settings.LocalSettings.Data.LastConnection = Selection.GetConnection(); - Settings.LocalSettings.Save(); - } - - public void Update(Platform.Connection connection) - { - ConnectionVM item = Connections.FirstOrDefault(c => c.Address == connection.Address && c.Port == connection.Port); - if (item != null) - { - item.Name = String.IsNullOrEmpty(connection.Name) ? connection.Target.ToString() : connection.Name; - item.Target = connection.Target; - if (item.CanEdit) - { - item.CanEdit = false; - item.CanDelete = true; - } - } - else - { - item = new ConnectionVM(connection); - Connections.Add(item); - } - AddEditableItem(); - Selection = item; - Task.Run(()=>Save()); - } - } -} diff --git a/vendors/optick/gui/Optick/ViewModels/CaptureSettingsViewModel.cs b/vendors/optick/gui/Optick/ViewModels/CaptureSettingsViewModel.cs deleted file mode 100644 index 66722fb6e..000000000 --- a/vendors/optick/gui/Optick/ViewModels/CaptureSettingsViewModel.cs +++ /dev/null @@ -1,178 +0,0 @@ -using Profiler.Controls; -using Profiler.Data; -using Profiler.InfrastructureMvvm; -using System; -using System.Collections.Generic; -using System.Collections.ObjectModel; -using System.Linq; -using System.Security; -using System.Text; -using System.Threading.Tasks; -using System.Windows.Data; - -namespace Profiler.ViewModels -{ - class CaptureSettingsViewModel : BaseViewModel - { - public class Setting : BaseViewModel - { - public String Name { get; set; } - public String Description { get; set; } - - public Setting(String name, String description) - { - Name = name; - Description = description; - } - } - - public class Flag : Setting - { - public bool IsEnabled { get; set; } - - public Mode Mask { get; set; } - public Flag(String name, String description, Mode mask, bool isEnabled) : base(name, description) - { - - Mask = mask; - IsEnabled = isEnabled; - } - } - - - public class Numeric : Setting - { - public Numeric(String name, String description) : base(name, description) { } - public virtual double Value { get; set; } - } - - public class NumericDelegate : Numeric - { - public NumericDelegate(string name, string description) : base(name, description) { } - public Func Getter { get; set; } - public Action Setter { get; set; } - public override double Value { get { return Getter(); } set { Setter(value); } } - - } - - public enum SamplingFrequency - { - None = 0, - Low = 1000, - Medium = 10000, - High = 20000, - Max = 40000, - } - - public ObservableCollection FlagSettings { get; set; } = new ObservableCollection(new Flag[] - { - //new Flag("Categories", "Collect OPTICK_CATEGORY events", Mode.INSTRUMENTATION_CATEGORIES, true), - //new Flag("Events", "Collect OPTICK_EVENT events", Mode.INSTRUMENTATION_EVENTS, true), - new Flag("Tags", "Collect OPTICK_TAG events", Mode.TAGS, true), - new Flag("Switch Contexts", "Collect Switch Context events (kernel)", Mode.SWITCH_CONTEXT, true), - new Flag("Autosampling", "Sample all threads (kernel)", Mode.AUTOSAMPLING, true), - new Flag("SysCalls", "Collect system calls ", Mode.SYS_CALLS, true), - new Flag("GPU", "Collect GPU events", Mode.GPU, true), - new Flag("All Processes", "Collects information about other processes (thread pre-emption)", Mode.OTHER_PROCESSES, true), - }); - - public Array SamplingFrequencyList - { - get { return Enum.GetValues(typeof(SamplingFrequency)); } - } - - - private SamplingFrequency _samplingFrequency = SamplingFrequency.Low; - public SamplingFrequency SamplingFrequencyHz - { - get { return _samplingFrequency; } - set { SetProperty(ref _samplingFrequency, value); } - } - - // Frame Limits - Numeric FrameCountLimit = new Numeric("Frame Count Limit", "Automatically stops capture after selected number of frames") { Value = 0 }; - Numeric TimeLimitSec = new Numeric("Time Limit (sec)", "Automatically stops capture after selected number of seconds") { Value = 0 }; - Numeric MaxSpikeLimitMs = new Numeric("Max Spike (ms)", "Automatically stops capture after selected spike") { Value = 0 }; - public ObservableCollection CaptureLimits { get; set; } = new ObservableCollection(); - - // Timeline Settings - public NumericDelegate TimelineMinThreadDepth { get; private set; } = new NumericDelegate("Collapsed Thread Depth", "Limits the maximum visualization depth for each thread in collapsed mode") - { - Getter = () => Settings.LocalSettings.Data.ThreadSettings.CollapsedMaxThreadDepth, - Setter = (val) => { Settings.LocalSettings.Data.ThreadSettings.CollapsedMaxThreadDepth = (int)val; Settings.LocalSettings.Save(); } - }; - - public NumericDelegate TimelineMaxThreadDepth { get; private set; } = new NumericDelegate("Expanded Thread Depth", "Limits the maximum visualization depth for each thread in expanded modes") - { - Getter = ()=> Controls.Settings.LocalSettings.Data.ThreadSettings.ExpandedMaxThreadDepth, - Setter = (val) => { Controls.Settings.LocalSettings.Data.ThreadSettings.ExpandedMaxThreadDepth = (int)val; Settings.LocalSettings.Save(); } - }; - - public Array ExpandModeList - { - get { return Enum.GetValues(typeof(ExpandMode)); } - } - - public ExpandMode ExpandMode - { - get - { - return Controls.Settings.LocalSettings.Data.ThreadSettings.ThreadExpandMode; - } - set - { - Controls.Settings.LocalSettings.Data.ThreadSettings.ThreadExpandMode = value; - Controls.Settings.LocalSettings.Save(); - } - } - - public ObservableCollection TimelineSettings { get; set; } = new ObservableCollection(); - - public CaptureSettingsViewModel() - { - CaptureLimits.Add(FrameCountLimit); - CaptureLimits.Add(TimeLimitSec); - CaptureLimits.Add(MaxSpikeLimitMs); - - TimelineSettings.Add(TimelineMinThreadDepth); - TimelineSettings.Add(TimelineMaxThreadDepth); - } - - public CaptureSettings GetSettings() - { - CaptureSettings settings = new CaptureSettings(); - - foreach (Flag flag in FlagSettings) - if (flag.IsEnabled) - settings.Mode = settings.Mode | flag.Mask; - - settings.SamplingFrequencyHz = (uint)SamplingFrequencyHz; - - settings.FrameLimit = (uint)FrameCountLimit.Value; - settings.TimeLimitUs = (uint)(TimeLimitSec.Value * 1000000); - settings.MaxSpikeLimitUs = (uint)(MaxSpikeLimitMs.Value * 1000); - - settings.MemoryLimitMb = 0; - - return settings; - } - } - - public class SamplingFrequencyConverter : IValueConverter - { - public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) - { - if (value is CaptureSettingsViewModel.SamplingFrequency) - { - return String.Format("{0}/sec", (int)(value)); - } - - return null; - } - - public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) - { - throw new NotImplementedException(); - } - } -} diff --git a/vendors/optick/gui/Optick/ViewModels/FunctionSummaryViewModel.cs b/vendors/optick/gui/Optick/ViewModels/FunctionSummaryViewModel.cs deleted file mode 100644 index 46e424b7a..000000000 --- a/vendors/optick/gui/Optick/ViewModels/FunctionSummaryViewModel.cs +++ /dev/null @@ -1,244 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Collections.ObjectModel; -using System.ComponentModel; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Windows; -using System.Windows.Media; -using LiveCharts; -using LiveCharts.Wpf; -using Profiler.Controls; -using Profiler.Data; -using Profiler.InfrastructureMvvm; -using Profiler.Views; - -namespace Profiler.ViewModels -{ - public class FunctionViewModel : BaseViewModel - { - private FrameGroup Group { get; set; } - private EventDescription Description { get; set; } - - private String _title; - public String Title - { - get { return _title; } - set { SetProperty(ref _title, value); } - } - - private bool _isLoading = false; - public bool IsLoading - { - get { return _isLoading; } - set { SetProperty(ref _isLoading, value); } - } - - private FunctionStats _stats; - public FunctionStats Stats - { - get { return _stats; } - set { SetProperty(ref _stats, value); } - } - - private FunctionStats.Sample _hoverSample; - public FunctionStats.Sample HoverSample - { - get { return _hoverSample; } - set { SetProperty(ref _hoverSample, value); } - } - - public FunctionStats.Origin Origin { get; set; } - - public virtual void OnLoaded(FunctionStats stats) - { - Application.Current.Dispatcher.BeginInvoke(new Action(() => - { - Stats = stats; - IsLoading = false; - OnChanged?.Invoke(); - })); - } - - public void Load(FrameGroup group, EventDescription desc) - { - if (Group == group && Description == desc) - return; - - Group = group; - Description = desc; - - Task.Run(() => - { - Application.Current.Dispatcher.BeginInvoke(new Action(() => - { - IsLoading = true; - })); - - FunctionStats frameStats = null; - - if (group != null && desc != null) - { - frameStats = new FunctionStats(group, desc); - frameStats.Load(Origin); - } - - OnLoaded(frameStats); - }); - } - - public void OnDataClick(FrameworkElement parent, List indices) - { - if (Stats != null) - { - List samples = new List(); - indices.ForEach(i => { if (i > 0 && i < Stats.Samples.Count) samples.Add(Stats.Samples[i]); }); - - Entry maxEntry = null; - double maxDuration = 0; - - samples.ForEach(s => s.Entries.ForEach(e => { if (maxDuration < e.Duration) { maxDuration = e.Duration; maxEntry = e; } })); - - if (maxEntry != null) - { - EventNode maxNode = maxEntry.Frame.Root.FindNode(maxEntry); - parent.RaiseEvent(new FocusFrameEventArgs(GlobalEvents.FocusFrameEvent, new EventFrame(maxEntry.Frame, maxNode), null)); - } - } - } - - public void OnDataHover(FrameworkElement parent, int index) - { - if (Stats != null && 0 <= index && index < Stats.Samples.Count) - { - HoverSample = Stats.Samples[index]; - } - else - { - HoverSample = null; - } - } - - - public delegate void OnChangedHandler(); - public event OnChangedHandler OnChanged; - } - - public class FunctionInstanceViewModel : FunctionViewModel - { - } - - public class FunctionSummaryViewModel : FunctionViewModel - { - public FunctionSummaryViewModel() - { - } - - public class FunctionSummaryItem : BaseViewModel - { - public Style Icon { get; set; } - public String Name { get; set; } - public String Description { get; set; } - } - - public class MinMaxFunctionSummaryItem : FunctionSummaryItem - { - public Brush Foreground { get; set; } - public double MaxValue { get; set; } - public double MinValue { get; set; } - public double AvgValue { get; set; } - - public MinMaxFunctionSummaryItem(IEnumerable values) - { - int count = values.Count(); - - if (count > 0) - { - MinValue = values.Min(); - MaxValue = values.Max(); - AvgValue = values.Sum() / count; - } - } - } - - public class HyperlinkFunctionSummaryItem : FunctionSummaryItem - { - public FileLine Path { get; set; } - } - - private ObservableCollection _summaryItems = new ObservableCollection(); - public ObservableCollection SummaryItems - { - get { return _summaryItems; } - set { SetProperty(ref _summaryItems, value); } - } - - private ObservableCollection GenerateSummaryItems(FunctionStats frameStats) - { - ObservableCollection items = new ObservableCollection(); - - if (frameStats != null) - { - items.Add(new MinMaxFunctionSummaryItem(frameStats.Samples.Select(s => s.Total)) - { - Icon = (Style)Application.Current.FindResource("appbar_timer"), - Name = "Time\\Frame(ms)", - Description = "Total duration of the function per frame in milliseconds", - Foreground = Brushes.White, - - }); - - items.Add(new MinMaxFunctionSummaryItem(frameStats.Samples.Select(s => s.Work)) - { - Icon = (Style)Application.Current.FindResource("appbar_timer_play"), - Name = "Work\\Frame(ms)", - Description = "Total work time of the function per frame in milliseconds (excluding synchronization and pre-emption)", - Foreground = Brushes.LimeGreen, - }); - - - items.Add(new MinMaxFunctionSummaryItem(frameStats.Samples.Select(s => s.Wait)) - { - Icon = (Style)Application.Current.FindResource("appbar_timer_pause"), - Name = "Wait\\Frame(ms)", - Description = "Total wait time of the function per frame in milliseconds (synchronization and pre-emption)", - Foreground = Brushes.Tomato, - }); - - items.Add(new MinMaxFunctionSummaryItem(frameStats.Samples.Select(s => (double)s.Count)) - { - Icon = (Style)Application.Current.FindResource("appbar_cell_function"), - Name = "Calls\\Frame", - Description = "Average number of calls per frame", - Foreground = Brushes.Wheat, - }); - - items.Add(new HyperlinkFunctionSummaryItem() - { - Icon = (Style)Application.Current.FindResource("appbar_page_code"), - Name = "File", - Description = "Open Source Code", - Path = frameStats.Description.Path, - }); - } - - return items; - } - - public override void OnLoaded(FunctionStats frameStats) - { - ObservableCollection items = GenerateSummaryItems(frameStats); - - Application.Current.Dispatcher.BeginInvoke(new Action(() => - { - SummaryItems = items; - })); - - base.OnLoaded(frameStats); - } - - public double StrokeOpacity { get; set; } = 1.0; - public double StrokeThickness { get; set; } = 1.0; - } -} diff --git a/vendors/optick/gui/Optick/ViewModels/MainViewModel.cs b/vendors/optick/gui/Optick/ViewModels/MainViewModel.cs deleted file mode 100644 index 946ffedb5..000000000 --- a/vendors/optick/gui/Optick/ViewModels/MainViewModel.cs +++ /dev/null @@ -1,22 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Reflection; -using System.Text; -using System.Threading.Tasks; -using Profiler.InfrastructureMvvm; - -namespace Profiler.ViewModels -{ - public class MainViewModel: BaseViewModel - { - public String Version { get { return Assembly.GetEntryAssembly().GetName().Version.ToString(); } } - - private bool _isCapturing = false; - public bool IsCapturing - { - get { return _isCapturing; } - set { SetProperty(ref _isCapturing, value); } - } - } -} diff --git a/vendors/optick/gui/Optick/ViewModels/MemoryStatsViewModel.cs b/vendors/optick/gui/Optick/ViewModels/MemoryStatsViewModel.cs deleted file mode 100644 index 9ef871ee0..000000000 --- a/vendors/optick/gui/Optick/ViewModels/MemoryStatsViewModel.cs +++ /dev/null @@ -1,63 +0,0 @@ -using Profiler.Data; -using Profiler.InfrastructureMvvm; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace Profiler.ViewModels -{ - class MemoryStatsViewModel : BaseViewModel - { - public class StatsItem : BaseViewModel - { - public DataResponse.Type ResponseType { get; set; } - public UInt64 TotalMemory { get; set; } - public UInt64 TotalCount { get; set; } - - public void Add(UInt64 size) - { - TotalMemory = TotalMemory + size; - TotalCount = TotalCount + 1; - } - } - - Dictionary StatsDictionary { get; set; } = new Dictionary(); - - private List _stats = null; - public List Stats - { - get { return _stats; } - set { SetProperty(ref _stats, value); OnPropertyChanged("TotalMemory"); } - } - - public UInt64 TotalMemory - { - get - { - UInt64 total = 0; - Stats.ForEach(s => total += s.TotalMemory); - return total; - } - } - - public void Load(DataResponse response) - { - StatsItem item = null; - if (!StatsDictionary.TryGetValue(response.ResponseType, out item)) - { - item = new StatsItem() { ResponseType = response.ResponseType }; - StatsDictionary.Add(response.ResponseType, item); - } - item.Add((UInt64)response.Reader.BaseStream.Length); - } - - public void Update() - { - List items = new List(StatsDictionary.Values); - items.Sort((a, b) => -a.TotalMemory.CompareTo(b.TotalMemory)); - Stats = items; - } - } -} diff --git a/vendors/optick/gui/Optick/ViewModels/ScreenShotViewModel.cs b/vendors/optick/gui/Optick/ViewModels/ScreenShotViewModel.cs deleted file mode 100644 index a14307033..000000000 --- a/vendors/optick/gui/Optick/ViewModels/ScreenShotViewModel.cs +++ /dev/null @@ -1,48 +0,0 @@ -using System; -using System.Windows.Media; -using System.Windows.Media.Imaging; -using System.Windows.Input; //ICommand -using Profiler.InfrastructureMvvm; -using System.Windows; - -namespace Profiler.ViewModels -{ - public class ScreenShotViewModel: BaseViewModel - { - #region properties - - ImageSource _attachmentImage; - public ImageSource AttachmentImage - { - get { return _attachmentImage; } - set { SetProperty(ref _attachmentImage, value); } - } - - public string Title { get; set; } - - #endregion - - #region commands - - public ICommand CloseViewCommand { get; set; } - - #endregion - - #region constructor - public ScreenShotViewModel(BitmapImage image =null, string title=null) - { - AttachmentImage = image; - Title = title; - - CloseViewCommand = new RelayCommand(x => - { - if (x != null) - x.Close(); - - - }); - } - - #endregion - } -} diff --git a/vendors/optick/gui/Optick/ViewModels/SummaryViewerModel.cs b/vendors/optick/gui/Optick/ViewModels/SummaryViewerModel.cs deleted file mode 100644 index fbcf14739..000000000 --- a/vendors/optick/gui/Optick/ViewModels/SummaryViewerModel.cs +++ /dev/null @@ -1,284 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Collections.ObjectModel; -using System.IO; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Windows; -using System.Windows.Controls; -using System.Windows.Input; -using System.Windows.Media; -using System.Windows.Media.Imaging; -using Profiler.Data; -using Profiler.InfrastructureMvvm; -using Autofac; - -namespace Profiler.ViewModels -{ - public class SummaryViewerModel: BaseViewModel - { - #region private fields - - IFileDialogService _dialogService; - - #endregion - - #region properties - - SummaryPack _summary; - public SummaryPack Summary - { - get { return _summary; } - set { - if (value != null && value.Attachments.Count > 0) - { - Visible = Visibility.Visible; - Attachments = new ObservableCollection(value.Attachments); - } - else - Visible = Visibility.Collapsed; - - - SetProperty(ref _summary, value); - } - } - - ObservableCollection _attachments; - public ObservableCollection Attachments - { - get { return _attachments; } - set { - CurrentAttachment = value?.FirstOrDefault(x => x.FileType == FileAttachment.Type.IMAGE); - SetProperty(ref _attachments, value); - } - } - - FileAttachment _currentAttachment; - public FileAttachment CurrentAttachment - { - get { return _currentAttachment; } - set - { - if (value != null) - { - if (value.FileType == FileAttachment.Type.IMAGE) - { - AttachmentContent = new Image() { Source = GetImageFromAttachment(value), Stretch = Stretch.UniformToFill }; - IsEnableOpenScreenShotView = true; - } - - if (value.FileType == FileAttachment.Type.TEXT) - { - value.Data.Position = 0; - - StreamReader reader = new StreamReader(value.Data); - - AttachmentContent = new TextBox() - { - Text = reader.ReadToEnd(), - IsReadOnly = true - }; - - IsEnableOpenScreenShotView = false; - } - } - SetProperty(ref _currentAttachment, value); - } - } - - Visibility _visible; - public Visibility Visible - { - get { return _visible; } - set{SetProperty(ref _visible, value);} - } - - bool _isEnableOpenScreenShotView; - public bool IsEnableOpenScreenShotView - { - get { return _isEnableOpenScreenShotView; } - set { SetProperty(ref _isEnableOpenScreenShotView, value); } - } - - UIElement _attachmentContent; - public UIElement AttachmentContent - { - get { return _attachmentContent; } - set { SetProperty(ref _attachmentContent, value); } - } - - public string CaptureName { get; set; } - - #endregion - - #region Commands - - private ICommand _openScreenShotViewCommand; - public ICommand OpenScreenShotViewCommand - { - get - { - return _openScreenShotViewCommand ?? - (_openScreenShotViewCommand = new RelayCommand(obj => - { - if (IsEnableOpenScreenShotView && CurrentAttachment.FileType == FileAttachment.Type.IMAGE) - { - ScreenShotViewModel viewModel = new ScreenShotViewModel(); - viewModel.AttachmentImage = GetImageFromAttachment(CurrentAttachment); - viewModel.Title = (CaptureName?.Length > 0) ? String.Format("{0} ({1})", CurrentAttachment.Name, CaptureName) : CurrentAttachment.Name; - using (var scope = BootStrapperBase.Container.BeginLifetimeScope()) - { - var screenShotView = scope.Resolve().ShowWindow(viewModel); - } - } - }, - // Condition execute command - enable => CurrentAttachment != null - )); - } - } - - private ICommand _exportCurrentAttachmentCommand; - public ICommand ExportCurrentAttachmentCommand - { - get - { - return _exportCurrentAttachmentCommand ?? - (_exportCurrentAttachmentCommand = new RelayCommand(obj => - { - try - { - string defaultPath = Controls.Settings.LocalSettings.Data.TempDirectoryPath; - - // Generate unique folder name - string uniqueFolderName = Guid.NewGuid().ToString(); - defaultPath = Path.Combine(defaultPath, uniqueFolderName); - - DirectoryInfo dirInfo = new DirectoryInfo(defaultPath); - if (!dirInfo.Exists) - dirInfo.Create(); - - string filePath = Path.Combine(defaultPath, CurrentAttachment.Name); - - SaveAttachment(CurrentAttachment, filePath); - System.Diagnostics.Process.Start(filePath); - - // System.Diagnostics.Process.Start doesn't block file, - // the file can be removed immediately - // File.Delete(defaultPath); - } - catch (Exception ex) - { - _dialogService.ShowMessage(ex.Message); - } - }, - // Condition execute command - enable => CurrentAttachment != null - )); - } - } - - private ICommand _saveCurrentAttachmentCommand; - public ICommand SaveCurrentAttachmentCommand - { - get - { - return _saveCurrentAttachmentCommand ?? - (_saveCurrentAttachmentCommand = new RelayCommand(obj => - { - try - { - string defaultExt = Path.GetExtension(CurrentAttachment.Name); - string filter = String.Format("(*{0})|*{0}", defaultExt); - - if (_dialogService.SaveFileDialog(CurrentAttachment.Name, defaultExt, filter) == true) - { - SaveAttachment(CurrentAttachment, _dialogService.FilePath); - } - } - catch (Exception ex) - { - _dialogService.ShowMessage(ex.Message); - } - }, - // Condition execute command - enable => CurrentAttachment !=null - )); - } - } - - private ICommand _saveAllAttachmentCommand; - public ICommand SaveAllAttachmentCommand - { - get - { - return _saveAllAttachmentCommand ?? - (_saveAllAttachmentCommand = new RelayCommand(obj => - { - try - { - if (_dialogService.OpenFolderDialog() == true) - { - foreach (var attachment in Summary.Attachments) - SaveAttachment(attachment,String.Format("{0}\\{1}", _dialogService.FilePath, attachment.Name)); - } - } - catch (Exception ex) - { - _dialogService.ShowMessage(ex.Message); - } - }, - // Condition execute command - enable => Summary?.Attachments?.Count>0 - )); - } - } - - #endregion - - #region Constructor - - public SummaryViewerModel(IFileDialogService dialogService) - { - _dialogService = dialogService; - Visible = Visibility.Collapsed; - } - - - #endregion - - #region Private Methods - - private static BitmapImage GetImageFromAttachment(FileAttachment attachment) - { - attachment.Data.Position = 0; - var imageSource = new BitmapImage(); - imageSource.BeginInit(); - imageSource.StreamSource = attachment.Data; - imageSource.EndInit(); - - return imageSource; - } - - private void SaveAttachment(FileAttachment attachment, string filePath) - { - attachment.Data.Position = 0; - - try - { - using (FileStream fileStream = new FileStream(filePath, FileMode.OpenOrCreate)) - { - attachment.Data.CopyTo(fileStream); - fileStream.Flush(); - } - } - catch (Exception e) - { - throw new Exception(String.Format(@"Error create file (0)", e.Message)); - } - } - - #endregion - } -} diff --git a/vendors/optick/gui/Optick/ViewModels/TaskTrackerViewModel.cs b/vendors/optick/gui/Optick/ViewModels/TaskTrackerViewModel.cs deleted file mode 100644 index 88f4b707c..000000000 --- a/vendors/optick/gui/Optick/ViewModels/TaskTrackerViewModel.cs +++ /dev/null @@ -1,470 +0,0 @@ -using Profiler.Data; -using Profiler.InfrastructureMvvm; -using Profiler.TaskManager; -using System; -using System.Collections.Generic; -using System.Collections.ObjectModel; -using System.Diagnostics; -using System.IO; -using System.Linq; -using System.Text; -using System.Threading; -using System.Threading.Tasks; -using System.Windows; -using System.Windows.Input; -using MahApps.Metro.Controls.Dialogs; -using Profiler.Controls; - -namespace Profiler.ViewModels -{ - class TaskTrackerViewModel : BaseViewModel - { - private FrameGroup _group = null; - public FrameGroup Group - { - get { return _group; } - set { SetProperty(ref _group, value); } - } - - private ExternalStorage _storage = null; - public ExternalStorage Storage - { - get { return _storage; } - set { SetProperty(ref _storage, value); ResetUploadedFiles(); } - } - - private TaskTracker _tracker; - public TaskTracker Tracker - { - get { return _tracker; } - set { SetProperty(ref _tracker, value); } - } - - public class AttachmentVM : BaseViewModel - { - public FileAttachment Attachment { get; set; } - public bool IsChecked { get; set; } = true; - public bool IsExpanded { get; set; } - - private double _progress = 0.0; - public double Progress { get { return _progress; } set { SetProperty(ref _progress, value); OnPropertyChanged("ProgressUploaded"); } } - public long ProgressUploaded { get { return (long)(Attachment.Data.Length * Progress); } } - - private bool _isUploading = false; - public bool IsUploading { get { return _isUploading; } set { SetProperty(ref _isUploading, value); } } - - private String _status = String.Empty; - public String Status { get { return _status; } set { SetProperty(ref _status, value); } } - - private Uri _url = null; - public Uri URL { get { return _url; } set { SetProperty(ref _url, value); } } - - private long _size = 0; - public long Size { get { return _size; } set { SetProperty(ref _size, value); } } - - public AttachmentVM(FileAttachment attachment) - { - Attachment = attachment; - - if (attachment != null && attachment.Data != null) - Size = attachment.Data.Length; - } - } - - public ObservableCollection Attachments { get; set; } = new ObservableCollection(); - - public ObservableCollection Trackers { get; set; } = new ObservableCollection(); - public ObservableCollection Storages { get; set; } = new ObservableCollection(); - - private String _bodyTemplate = String.Empty; - public String BodyTemplate - { - get { return _bodyTemplate; } - set { SetProperty(ref _bodyTemplate, value); } - } - - private String _titleTemplate = String.Empty; - public String TitleTemplate - { - get { return _titleTemplate; } - set { SetProperty(ref _titleTemplate, value); } - } - - private String _uploadStatus = String.Empty; - public String UploadStatus - { - get { return _uploadStatus; } - set { SetProperty(ref _uploadStatus, value); } - } - - private double _uploadProgress = 0.0; - public double UploadProgress - { - get { return _uploadProgress; } - set { SetProperty(ref _uploadProgress, value); } - } - - private bool _isUploading = false; - public bool IsUploading - { - get { return _isUploading; } - set { SetProperty(ref _isUploading, value); OnPropertyChanged("IsNotUploading"); } - } - public bool IsNotUploading { get { return !IsUploading; } } - - private CancellationTokenSource TokenSource = null; - - private void SetActiveSettings() - { - Settings.GlobalSettings.Data.ActiveTracker = new GlobalSettings.Tracker() - { - Address = Tracker.Address, - Type = Tracker.TrackerType - }; - Settings.GlobalSettings.Data.ActiveStorage = Storage.DisplayName; - Settings.GlobalSettings.Save(); - } - - public ICommand CreateIssueCommand - { - get - { - return new RelayCommand(obj => - { - SetActiveSettings(); - - foreach (var att in Attachments) - if (att.IsUploading) - return; - - TokenSource?.Dispose(); - TokenSource = new CancellationTokenSource(); - CancellationToken token = TokenSource.Token; - - Task.Run(() => - { - try - { - Application.Current.Dispatcher.Invoke(() => { UploadProgress = 0.0; IsUploading = true; }); - - Issue issue = new Issue() - { - Title = TitleTemplate, - Body = BodyTemplate, - }; - - long totalSize = 0; - - foreach (var att in Attachments) - if (att.IsChecked) - totalSize += att.Attachment.Data.Length; - - double totalProgress = 0.0; - - foreach (var att in Attachments) - { - if (token.IsCancellationRequested) - break; - - if (att.IsChecked) - { - Application.Current.Dispatcher.Invoke(() => { - att.IsUploading = true; - UploadStatus = "Uploading " + att.Attachment.Name; - }); - - if (att.URL == null) - { - try - { - att.URL = Storage.UploadFile(att.Attachment.Name, att.Attachment.Data, (p) => - { - Application.Current.Dispatcher.Invoke(() => { - att.Progress = p; - UploadProgress = totalProgress + p * att.Attachment.Data.Length / totalSize; - }); - }, token); - } - catch (Exception /*ex*/) - { - att.Status = "Failed to upload!"; - } - } - - Application.Current.Dispatcher.Invoke(() => att.IsUploading = false); - - totalProgress += (double)att.Attachment.Data.Length / totalSize; - - if (att.URL != null) - { - issue.Attachments.Add(new Attachment() - { - Name = att.Attachment.Name, - URL = att.URL, - Type = att.Attachment.FileType - }); - } - } - } - - if (!token.IsCancellationRequested) - Tracker.CreateIssue(issue); - } - catch (AggregateException ex) - { - foreach (Exception e in ex.InnerExceptions) - Console.WriteLine(e.Message); - } - finally - { - Application.Current.Dispatcher.Invoke(() => IsUploading = false); - } - }, token); - }, - enable => Storage != null && Tracker != null - ); - } - } - - public ICommand CancelIssueCommand - { - get - { - return new RelayCommand(obj => - { - if (TokenSource != null) - { - TokenSource.Cancel(true); - } - }); - } - } - - void SaveTrackers() - { - List trackers = new List(); - foreach (TaskTracker tracker in Trackers) - trackers.Add(new GlobalSettings.Tracker() { Address = tracker.Address, Type = tracker.TrackerType }); - - Settings.GlobalSettings.Data.Trackers = trackers; - Settings.GlobalSettings.Save(); - } - - public ICommand AddNewTaskTrackerCommand - { - get - { - return new RelayCommand(obj => - { - var editDialog = new EditTaskTrackerListDialog(); - - editDialog.CancelPressed = new RelayCommand((o) => - { - dialogCoordinator.HideMetroDialogAsync(this, editDialog); - }); - - editDialog.OKPressed = new RelayCommand((o) => - { - TaskTracker tracker = editDialog.GetTaskTracker(); - Trackers.Add(tracker); - Tracker = tracker; - SaveTrackers(); - dialogCoordinator.HideMetroDialogAsync(this, editDialog); - }); - - dialogCoordinator.ShowMetroDialogAsync(this, editDialog); - - }); - } - } - - public ICommand RemoveTaskTrackerCommand - { - get - { - return new RelayCommand(obj => - { - Trackers.Remove(Tracker); - Tracker = Trackers.Count > 0 ? Trackers.First() : null; - SaveTrackers(); - }); - } - } - - void SaveStorages() - { - List storages = new List(); - foreach (ExternalStorage storage in Storages) - { - NetworkStorage networkStorage = storage as NetworkStorage; - if (networkStorage != null) - { - storages.Add(new GlobalSettings.Storage() { UploadURL = networkStorage.UploadURL, DownloadURL = networkStorage.DownloadURL }); - } - } - Settings.GlobalSettings.Data.Storages = storages; - Settings.GlobalSettings.Save(); - } - - public ICommand AddNewStorageCommand - { - get - { - return new RelayCommand(obj => - { - var editDialog = new EditStorageListDialog(); - - editDialog.CancelPressed = new RelayCommand((o) => - { - dialogCoordinator.HideMetroDialogAsync(this, editDialog); - }); - - editDialog.OKPressed = new RelayCommand((o) => - { - ExternalStorage storage = editDialog.GetStorage(); - Storages.Add(storage); - Storage = storage; - SaveStorages(); - dialogCoordinator.HideMetroDialogAsync(this, editDialog); - }); - - dialogCoordinator.ShowMetroDialogAsync(this, editDialog); - }); - } - } - - public ICommand RemoveStorageCommand - { - get - { - return new RelayCommand(obj => - { - Storages.Remove(Storage); - Storage = Storages.Count > 0 ? Storages.First() : null; - }); - } - } - - private void ResetUploadedFiles() - { - foreach (var att in Attachments) - { - att.URL = null; - att.Progress = 0.0; - } - - } - - private IDialogCoordinator dialogCoordinator; - - private void LoadTrackers() - { - foreach (var tracker in Settings.GlobalSettings.Data.Trackers) - { - switch (tracker.Type) - { - case TrackerType.GitHub: - Trackers.Add(new GithubTaskTracker(tracker.Address)); - break; - - case TrackerType.Jira: - Trackers.Add(new JiraTaskTracker(tracker.Address)); - break; - } - } - - if (Trackers.Count == 0) - { - Trackers.Add(new GithubTaskTracker("https://github.com/bombomby/optick")); - } - - var targetTracker = Settings.GlobalSettings.Data.ActiveTracker; - if (targetTracker != null) - { - Tracker = Trackers.FirstOrDefault(t => t.Address == targetTracker.Address && t.TrackerType == targetTracker.Type); - } - - if (Tracker == null && Trackers.Count > 0) - { - Tracker = Trackers[0]; - } - } - - private void LoadStorages() - { - foreach (var storage in Settings.GlobalSettings.Data.Storages) - { - Storages.Add(new NetworkStorage(storage.UploadURL, storage.DownloadURL)); - } - - Storages.Add(new GDriveStorage()); - - var targetStorage = Settings.GlobalSettings.Data.ActiveStorage; - if (!String.IsNullOrEmpty(targetStorage)) - { - Storage = Storages.FirstOrDefault(s => (s.DisplayName == targetStorage)); - } - - if (Storage == null && Storages.Count > 0) - Storage = Storages[0]; - } - - public TaskTrackerViewModel(IDialogCoordinator coordinator = null) - { - dialogCoordinator = coordinator; - - LoadTrackers(); - LoadStorages(); - } - - public void SetGroup(FrameGroup group) - { - if (group == null) - return; - - // Attaching capture - AttachmentVM capture = new AttachmentVM(new FileAttachment() { FileType = FileAttachment.Type.CAPTURE }); - if (!String.IsNullOrEmpty(group.Name) && File.Exists(group.Name) && false) - { - capture.Attachment.Name = Path.GetFileName(group.Name); - capture.Attachment.Data = new FileStream(group.Name, FileMode.Open); - } - else - { - capture.Attachment.Name = "Capture.opt"; - capture.Attachment.Data = new MemoryStream(); - capture.IsUploading = true; - Task.Run(()=> - { - Application.Current.Dispatcher.Invoke(() => { capture.IsUploading = true; capture.Status = "Saving capture..."; }); - - Stream captureStream = Capture.Create(capture.Attachment.Data, leaveStreamOpen: true); - group.Save(captureStream); - if (captureStream != capture.Attachment.Data) - { - // If Capture.Create made a new stream, Dispose that to ensure - // it finishes writing to the main MemoryStream - captureStream.Dispose(); - } - - Application.Current.Dispatcher.Invoke(() => { capture.IsUploading = false; capture.Status = String.Empty; capture.Size = capture.Attachment.Data.Length; }); - }); - } - Attachments.Add(capture); - - // Attaching all the extracted attachments - foreach (FileAttachment att in group.Summary.Attachments) - { - Attachments.Add(new AttachmentVM(att)); - } - } - - internal void AttachScreenshot(String name, Stream screenshot) - { - Attachments.Add(new AttachmentVM(new FileAttachment() { Data = screenshot, FileType = FileAttachment.Type.IMAGE, Name = name }) - { - IsExpanded = true, - }); - } - } -} diff --git a/vendors/optick/gui/Optick/Views/AddressBarView.xaml b/vendors/optick/gui/Optick/Views/AddressBarView.xaml deleted file mode 100644 index 6b892caff..000000000 --- a/vendors/optick/gui/Optick/Views/AddressBarView.xaml +++ /dev/null @@ -1,68 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/vendors/optick/gui/Optick/Views/AddressBarView.xaml.cs b/vendors/optick/gui/Optick/Views/AddressBarView.xaml.cs deleted file mode 100644 index 62c575ed4..000000000 --- a/vendors/optick/gui/Optick/Views/AddressBarView.xaml.cs +++ /dev/null @@ -1,55 +0,0 @@ -using Profiler.ViewModels; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Windows; -using System.Windows.Controls; -using System.Windows.Data; -using System.Windows.Documents; -using System.Windows.Input; -using System.Windows.Media; -using System.Windows.Media.Imaging; -using System.Windows.Navigation; -using System.Windows.Shapes; - -namespace Profiler.Views -{ - /// - /// Interaction logic for AddressBarView.xaml - /// - public partial class AddressBarView : UserControl - { - public AddressBarView() - { - InitializeComponent(); - } - - private void PasswordBox_PasswordChanged(object sender, RoutedEventArgs e) - { - if (DataContext is AddressBarViewModel) - { - ConnectionVM con = (DataContext as AddressBarViewModel).Selection; - if (con != null) - { - con.Password = PwdBox.SecurePassword; - } - } - } - - private void ComboBox_SelectionChanged(object sender, SelectionChangedEventArgs e) - { - ConnectionVM con = ConnectionComboBox.SelectedItem as ConnectionVM; - if (con != null && con.CanEdit) - PwdBox.Password = null; - } - - private void MenuItem_Remove(object sender, RoutedEventArgs e) - { - ConnectionVM connection = (e.Source as FrameworkElement).DataContext as ConnectionVM; - if (connection.CanDelete) - (DataContext as AddressBarViewModel).Connections.Remove(connection); - } - } -} diff --git a/vendors/optick/gui/Optick/Views/CaptureSettingsView.xaml b/vendors/optick/gui/Optick/Views/CaptureSettingsView.xaml deleted file mode 100644 index 4855ffcb0..000000000 --- a/vendors/optick/gui/Optick/Views/CaptureSettingsView.xaml +++ /dev/null @@ -1,94 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - 12 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 12 - - - - - - - - - - - - diff --git a/vendors/optick/gui/Optick/Views/CaptureSettingsView.xaml.cs b/vendors/optick/gui/Optick/Views/CaptureSettingsView.xaml.cs deleted file mode 100644 index 91a023d03..000000000 --- a/vendors/optick/gui/Optick/Views/CaptureSettingsView.xaml.cs +++ /dev/null @@ -1,28 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Windows; -using System.Windows.Controls; -using System.Windows.Data; -using System.Windows.Documents; -using System.Windows.Input; -using System.Windows.Media; -using System.Windows.Media.Imaging; -using System.Windows.Navigation; -using System.Windows.Shapes; - -namespace Profiler.Views -{ - /// - /// Interaction logic for CaptureSettingsView.xaml - /// - public partial class CaptureSettingsView : UserControl - { - public CaptureSettingsView() - { - InitializeComponent(); - } - } -} diff --git a/vendors/optick/gui/Optick/Views/FunctionDescriptionView.xaml b/vendors/optick/gui/Optick/Views/FunctionDescriptionView.xaml deleted file mode 100644 index 034dae02d..000000000 --- a/vendors/optick/gui/Optick/Views/FunctionDescriptionView.xaml +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - - - - - - - - - diff --git a/vendors/optick/gui/Optick/Views/FunctionDescriptionView.xaml.cs b/vendors/optick/gui/Optick/Views/FunctionDescriptionView.xaml.cs deleted file mode 100644 index 225f4a74c..000000000 --- a/vendors/optick/gui/Optick/Views/FunctionDescriptionView.xaml.cs +++ /dev/null @@ -1,28 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Windows; -using System.Windows.Controls; -using System.Windows.Data; -using System.Windows.Documents; -using System.Windows.Input; -using System.Windows.Media; -using System.Windows.Media.Imaging; -using System.Windows.Navigation; -using System.Windows.Shapes; - -namespace Profiler.Views -{ - /// - /// Interaction logic for FunctionDescriptionView.xaml - /// - public partial class FunctionDescriptionView : UserControl - { - public FunctionDescriptionView() - { - InitializeComponent(); - } - } -} diff --git a/vendors/optick/gui/Optick/Views/FunctionHistoryChartView.xaml b/vendors/optick/gui/Optick/Views/FunctionHistoryChartView.xaml deleted file mode 100644 index 2c11ec1d9..000000000 --- a/vendors/optick/gui/Optick/Views/FunctionHistoryChartView.xaml +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/vendors/optick/gui/Optick/Views/FunctionHistoryChartView.xaml.cs b/vendors/optick/gui/Optick/Views/FunctionHistoryChartView.xaml.cs deleted file mode 100644 index 9ee2c89ef..000000000 --- a/vendors/optick/gui/Optick/Views/FunctionHistoryChartView.xaml.cs +++ /dev/null @@ -1,180 +0,0 @@ -using InteractiveDataDisplay.WPF; -using Profiler.ViewModels; -using System; -using System.Collections.Generic; -using System.Diagnostics; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Windows; -using System.Windows.Controls; -using System.Windows.Data; -using System.Windows.Documents; -using System.Windows.Input; -using System.Windows.Media; -using System.Windows.Media.Imaging; -using System.Windows.Navigation; -using System.Windows.Shapes; - -namespace Profiler.Views -{ - - - - public class HoverTooltipLayer : Canvas - { - public HoverTooltipLayer() - { - Loaded += HoverTooltipLayer_Loaded; - Background = new SolidColorBrush(Color.FromArgb(0, 255, 255, 255)); - HoverLine = new Line() { Y1 = 0, Y2 = 0, X1 = 0, X2 = 0, Stroke = Brushes.LightGray, StrokeThickness = 2, StrokeDashArray = new DoubleCollection(new double[]{ 2.0, 1.0 }), Opacity = 0.5 }; - Children.Add(HoverLine); - } - - private PlotBase parent; - - private void HoverTooltipLayer_Loaded(object sender, RoutedEventArgs e) - { - var visualParent = VisualTreeHelper.GetParent(this); - parent = visualParent as PlotBase; - while (visualParent != null && parent == null) - { - visualParent = VisualTreeHelper.GetParent(visualParent); - parent = visualParent as PlotBase; - } - if (parent != null) - { - parent.MouseMove += Parent_MouseMove; - parent.MouseLeave += Parent_MouseLeave; - parent.PreviewMouseLeftButtonDown += Parent_PreviewMouseLeftButtonDown; - } - } - - public delegate void ItemClickedDelegate(int index); - public event ItemClickedDelegate ItemClicked; - - public delegate void ItemHoverDelegate(int index); - public event ItemHoverDelegate ItemHover; - - - private void Parent_PreviewMouseLeftButtonDown(object sender, MouseButtonEventArgs e) - { - int index = GetIndex(e.GetPosition(this)); - ItemClicked?.Invoke(index); - } - - public Line HoverLine { get; set; } - - private int hoverIndex = 0; - public int HoverIndex - { - get { return hoverIndex; } - set - { - if (hoverIndex != value) - { - hoverIndex = value; - double posX = parent.LeftFromX(parent.XDataTransform.DataToPlot(hoverIndex)); - posX = Math.Max(0, Math.Min(posX, this.ActualWidth)); - - HoverLine.X1 = posX; - HoverLine.X2 = posX; - HoverLine.Y1 = 0; - HoverLine.Y2 = this.ActualHeight; - - ItemHover?.Invoke(value); - } - } - } - - private void Parent_MouseLeave(object sender, MouseEventArgs e) - { - Visibility = Visibility.Hidden; - ItemHover?.Invoke(-1); - } - - private void Parent_MouseMove(object sender, MouseEventArgs e) - { - Visibility = Visibility.Visible; - - HoverIndex = GetIndex(e.GetPosition(this)); - } - - private int GetIndex(Point pos) - { - double plotX = parent.XFromLeft(pos.X); - int index = (int)Math.Round(parent.XDataTransform.PlotToData(plotX)); - return Math.Max(0, index); - } - - } - - - /// - /// Interaction logic for FunctionHistoryChartView.xaml - /// - public partial class FunctionHistoryChartView : UserControl - { - public FunctionHistoryChartView() - { - InitializeComponent(); - DataContextChanged += FunctionHistoryChartView_DataContextChanged; - HoverTooltip.ItemClicked += HoverTooltip_ItemClicked; - HoverTooltip.ItemHover += HoverTooltip_ItemHover; - } - - private void HoverTooltip_ItemHover(int index) - { - FunctionViewModel vm = DataContext as FunctionViewModel; - if (vm != null) - { - vm.OnDataHover(this, index); - } - } - - private void HoverTooltip_ItemClicked(int index) - { - FunctionViewModel vm = DataContext as FunctionViewModel; - if (vm != null) - { - vm.OnDataClick(this, new List() { index }); - } - } - - private void FunctionHistoryChartView_DataContextChanged(object sender, DependencyPropertyChangedEventArgs e) - { - FunctionSummaryViewModel vm = DataContext as FunctionSummaryViewModel; - if (vm != null) - { - vm.OnChanged += Update; - } - } - - public void Update() - { - FunctionSummaryViewModel vm = DataContext as FunctionSummaryViewModel; - if (vm != null && vm.Stats != null) - { - Chart.IsAutoFitEnabled = true; - WorkChart.PlotY(vm.Stats.Samples.Select(s => s.Work)); - WaitChart.PlotY(vm.Stats.Samples.Select(s => s.Wait)); - } - else - { - WorkChart.Plot(Array.Empty(), Array.Empty()); - WaitChart.Plot(Array.Empty(), Array.Empty()); - } - } - - //private void Chart_MouseLeftButtonUp(object sender, MouseButtonEventArgs e) - //{ - // int index = GetIndex(e.GetPosition(MouseNav)); - - // FunctionViewModel vm = DataContext as FunctionViewModel; - // if (vm != null) - // { - // vm.OnDataClick(this, index); - // } - //} - } -} diff --git a/vendors/optick/gui/Optick/Views/FunctionHistoryTableView.xaml b/vendors/optick/gui/Optick/Views/FunctionHistoryTableView.xaml deleted file mode 100644 index a88affaea..000000000 --- a/vendors/optick/gui/Optick/Views/FunctionHistoryTableView.xaml +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - diff --git a/vendors/optick/gui/Optick/Views/FunctionHistoryTableView.xaml.cs b/vendors/optick/gui/Optick/Views/FunctionHistoryTableView.xaml.cs deleted file mode 100644 index aa197ebfe..000000000 --- a/vendors/optick/gui/Optick/Views/FunctionHistoryTableView.xaml.cs +++ /dev/null @@ -1,45 +0,0 @@ -using Profiler.Data; -using Profiler.ViewModels; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Windows; -using System.Windows.Controls; -using System.Windows.Data; -using System.Windows.Documents; -using System.Windows.Input; -using System.Windows.Media; -using System.Windows.Media.Imaging; -using System.Windows.Navigation; -using System.Windows.Shapes; - -namespace Profiler.Views -{ - /// - /// Interaction logic for FunctionHistoryTableView.xaml - /// - public partial class FunctionHistoryTableView : UserControl - { - public FunctionHistoryTableView() - { - InitializeComponent(); - } - - private void FunctionInstanceDataGrid_SelectionChanged(object sender, SelectionChangedEventArgs e) - { - List indices = new List(); - - foreach (FunctionStats.Sample sample in FunctionInstanceDataGrid.SelectedItems) - indices.Add(sample.Index); - - if (indices.Count > 0) - { - FunctionViewModel vm = DataContext as FunctionViewModel; - if (vm != null) - vm.OnDataClick(this, indices); - } - } - } -} diff --git a/vendors/optick/gui/Optick/Views/FunctionInstanceView.xaml b/vendors/optick/gui/Optick/Views/FunctionInstanceView.xaml deleted file mode 100644 index a451617a7..000000000 --- a/vendors/optick/gui/Optick/Views/FunctionInstanceView.xaml +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - diff --git a/vendors/optick/gui/Optick/Views/FunctionInstanceView.xaml.cs b/vendors/optick/gui/Optick/Views/FunctionInstanceView.xaml.cs deleted file mode 100644 index b99b0a672..000000000 --- a/vendors/optick/gui/Optick/Views/FunctionInstanceView.xaml.cs +++ /dev/null @@ -1,45 +0,0 @@ -using Profiler.Data; -using Profiler.ViewModels; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Windows; -using System.Windows.Controls; -using System.Windows.Data; -using System.Windows.Documents; -using System.Windows.Input; -using System.Windows.Media; -using System.Windows.Media.Imaging; -using System.Windows.Navigation; -using System.Windows.Shapes; - -namespace Profiler.Views -{ - /// - /// Interaction logic for FunctionInstanceView.xaml - /// - public partial class FunctionInstanceView : UserControl - { - public FunctionInstanceView() - { - InitializeComponent(); - } - - private void FunctionInstanceDataGrid_SelectionChanged(object sender, SelectionChangedEventArgs e) - { - List indices = new List(); - - foreach (FunctionStats.Sample sample in FunctionInstanceDataGrid.SelectedItems) - indices.Add(sample.Index); - - if (indices.Count > 0) - { - FunctionViewModel vm = DataContext as FunctionViewModel; - if (vm != null) - vm.OnDataClick(this, indices); - } - } - } -} diff --git a/vendors/optick/gui/Optick/Views/FunctionSummaryView.xaml b/vendors/optick/gui/Optick/Views/FunctionSummaryView.xaml deleted file mode 100644 index fdbc3ffe6..000000000 --- a/vendors/optick/gui/Optick/Views/FunctionSummaryView.xaml +++ /dev/null @@ -1,91 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/vendors/optick/gui/Optick/Views/FunctionSummaryView.xaml.cs b/vendors/optick/gui/Optick/Views/FunctionSummaryView.xaml.cs deleted file mode 100644 index 0f2f8b7c0..000000000 --- a/vendors/optick/gui/Optick/Views/FunctionSummaryView.xaml.cs +++ /dev/null @@ -1,28 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Windows; -using System.Windows.Controls; -using System.Windows.Data; -using System.Windows.Documents; -using System.Windows.Input; -using System.Windows.Media; -using System.Windows.Media.Imaging; -using System.Windows.Navigation; -using System.Windows.Shapes; - -namespace Profiler.Views -{ - /// - /// Interaction logic for FunctionSummaryView.xaml - /// - public partial class FunctionSummaryView : UserControl - { - public FunctionSummaryView() - { - InitializeComponent(); - } - } -} diff --git a/vendors/optick/gui/Optick/Views/MainView.xaml b/vendors/optick/gui/Optick/Views/MainView.xaml deleted file mode 100644 index 1706d495c..000000000 --- a/vendors/optick/gui/Optick/Views/MainView.xaml +++ /dev/null @@ -1,70 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/vendors/optick/gui/Optick/Views/MainView.xaml.cs b/vendors/optick/gui/Optick/Views/MainView.xaml.cs deleted file mode 100644 index 8344382bf..000000000 --- a/vendors/optick/gui/Optick/Views/MainView.xaml.cs +++ /dev/null @@ -1,298 +0,0 @@ -using System; -using System.IO; -using System.Windows; -using System.Windows.Controls; -using System.Windows.Media; -using Profiler.Data; -using MahApps.Metro.Controls; -using System.Net; -using System.Xml; -using System.Diagnostics; -using System.Windows.Navigation; -using System.Reflection; -using System.Net.NetworkInformation; -using System.Collections.Generic; -using System.Text; -using System.Web; -using System.Net.Cache; -using Profiler.Controls; -using Profiler.InfrastructureMvvm; -using Autofac; -using System.Threading.Tasks; -using System.Windows.Threading; -using Profiler.TaskManager; -using Profiler.ViewModels; -using System.Drawing; -using System.Drawing.Imaging; -using MahApps.Metro.Controls.Dialogs; -using System.Net.Http; -using System.Net.Http.Headers; -using Newtonsoft.Json; - -namespace Profiler.Views -{ - /// - /// Interaction logic for MainView.xaml - /// - public partial class MainView : MetroWindow - { - public MainView() - { - InitializeComponent(); - - UpdateTitle(String.Empty); - - this.AddHandler(OpenCaptureEvent, new OpenCaptureEventHandler(MainWindow_OpenCapture)); - this.AddHandler(SaveCaptureEvent, new SaveCaptureEventHandler(MainWindow_SaveCapture)); - - this.Loaded += MainWindow_Loaded; - this.Closing += MainWindow_Closing; - - } - - private void MainWindow_Closing(object sender, System.ComponentModel.CancelEventArgs e) - { - FrameCaptureControl.Close(); - DeleteTempFiles(); - } - - public delegate void OpenCaptureEventHandler(object sender, OpenCaptureEventArgs e); - public static readonly RoutedEvent OpenCaptureEvent = EventManager.RegisterRoutedEvent("OpenCaptureEvent", RoutingStrategy.Bubble, typeof(OpenCaptureEventHandler), typeof(MainView)); - - public delegate void SaveCaptureEventHandler(object sender, SaveCaptureEventArgs e); - public static readonly RoutedEvent SaveCaptureEvent = EventManager.RegisterRoutedEvent("SaveCaptureEvent", RoutingStrategy.Bubble, typeof(SaveCaptureEventHandler), typeof(MainView)); - - private String DefaultTitle - { - get - { - return Settings.GlobalSettings.Data.IsCensored ? "Optick Profiler" : "What the hell is going on? - Optick Profiler"; - } - } - - private void UpdateTitle(String message) - { - Title = String.IsNullOrWhiteSpace(message) ? DefaultTitle : message; - } - - private void MainWindow_OpenCapture(object sender, OpenCaptureEventArgs e) - { - //HamburgerMenuControl.SelectedItem = CaptureMenuItem; - //HamburgerMenuControl.Content = CaptureMenuItem; - - if (FrameCaptureControl.LoadFile(e.Path)) - { - //FileHistory.Add(e.Path); - UpdateTitle(e.Path); - } - } - - private void MainWindow_SaveCapture(object sender, SaveCaptureEventArgs e) - { - //FileHistory.Add(e.Path); - UpdateTitle(e.Path); - } - - - private void MainWindow_Loaded(object sender, RoutedEventArgs e) - { - ParseCommandLine(); - CheckVersionOnGithub(); - } - - private void ParseCommandLine() - { - string[] args = Environment.GetCommandLineArgs(); - for (int i = 1; i < args.Length; ++i) - { - String fileName = args[i]; - if (File.Exists(fileName)) - RaiseEvent(new OpenCaptureEventArgs(fileName)); - } - } - - private void Window_Drop(object sender, System.Windows.DragEventArgs e) - { - string[] files = (string[])e.Data.GetData(System.Windows.DataFormats.FileDrop); - foreach (string file in files) - { - RaiseEvent(new OpenCaptureEventArgs(file)); - } - } - - private void Window_DragEnter(object sender, DragEventArgs e) - { - if (e.Data.GetDataPresent(DataFormats.FileDrop)) - e.Effects = DragDropEffects.Copy; - } - - - Version CurrentVersion { get { return Assembly.GetExecutingAssembly().GetName().Version; } } - - - const String LatestVersionGithubURL = "http://api.github.com/repos/bombomby/optick/releases/latest"; - - - class NewVersionVM : BaseViewModel - { - public String Version { get; set; } - public String Name { get; set; } - public String Body { get; set; } - } - - - public void CheckVersionOnGithub() - { - Task.Run(() => - { - try - { - using (WebClient client = new WebClient()) - { - client.Headers.Add("user-agent", "Optick"); - String data = client.DownloadString(new Uri(LatestVersionGithubURL)); - - dynamic array = JsonConvert.DeserializeObject(data); - - Application.Current.Dispatcher.BeginInvoke(new Action(() => - { - NewVersionVM vm = new NewVersionVM() - { - Version = array["tag_name"], - Name = array["name"], - Body = array["body"], - }; - VersionTooltip.DataContext = vm; - NewVersionButtonTooltip.DataContext = vm; - Version version = Version.Parse(vm.Version); - if (version > CurrentVersion) - OpenLatestRelease.Visibility = Visibility.Visible; - })); - - - SendReportToGoogleAnalytics(); - } - } - catch (Exception ex) - { - Debug.WriteLine(ex.Message); - } - }); - } - - String GetUniqueID() - { - NetworkInterface[] nics = NetworkInterface.GetAllNetworkInterfaces(); - return nics.Length > 0 ? nics[0].GetPhysicalAddress().ToString().GetHashCode().ToString() : new Random().Next().ToString(); - } - - void SendReportToGoogleAnalytics() - { - var postData = new Dictionary - { - { "v", "1" }, - { "tid", "UA-58006599-1" }, - { "cid", GetUniqueID() }, - { "t", "pageview" }, - { "dh", "brofiler.com" }, - { "dp", "/app.html" }, - { "dt", CurrentVersion.ToString() } - }; - - StringBuilder text = new StringBuilder(); - - foreach (var pair in postData) - { - if (text.Length != 0) - text.Append("&"); - - text.Append(String.Format("{0}={1}", pair.Key, HttpUtility.UrlEncode(pair.Value))); - } - - using (WebClient client = new WebClient()) - { - client.UploadStringAsync(new Uri("http://www.google-analytics.com/collect"), "POST", text.ToString()); - } - } - - private void SafeCopy(Stream from, Stream to) - { - long pos = from.Position; - from.Seek(0, SeekOrigin.Begin); - from.CopyTo(to); - from.Seek(pos, SeekOrigin.Begin); - } - - private void DeleteTempFiles() - { - string defaultPath = Settings.LocalSettings.Data.TempDirectoryPath; - - DirectoryInfo dirInfo = new DirectoryInfo(defaultPath); - - if (dirInfo.Exists) - try - { - foreach (FileInfo file in dirInfo.GetFiles()) - file.Delete(); - - foreach (DirectoryInfo dir in dirInfo.GetDirectories()) - dir.Delete(true); - } - catch (Exception) - { - - } - } - - private void ReportBugIcon_Click(object sender, RoutedEventArgs e) - { - TaskTrackerViewModel viewModel = new TaskTrackerViewModel(DialogCoordinator.Instance); - - Stream screenshot = ControlUtils.CaptureScreenshot(this, ImageFormat.Png); - if (screenshot != null) - viewModel.AttachScreenshot("OptickApp.png", screenshot); - - viewModel.SetGroup(FrameCaptureControl.EventThreadViewControl.Group); - - using (var scope = BootStrapperBase.Container.BeginLifetimeScope()) - { - var screenShotView = scope.Resolve().ShowWindow(viewModel); - } - } - - private void ContactDeveloperIcon_Click(object sender, RoutedEventArgs e) - { - Process.Start("mailto:support@optick.dev"); - } - - private void OpenWikiIcon_Click(object sender, RoutedEventArgs e) - { - Process.Start("https://github.com/bombomby/optick/wiki"); - } - - private void OpenLatestRelease_Click(object sender, RoutedEventArgs e) - { - Process.Start("https://github.com/bombomby/optick/releases"); - } - } - - - public static class Extensions - { - // extension method - public static T GetChildOfType(this DependencyObject depObj) where T : DependencyObject - { - if (depObj == null) return null; - - for (int i = 0; i < VisualTreeHelper.GetChildrenCount(depObj); i++) - { - var child = VisualTreeHelper.GetChild(depObj, i); - var result = (child as T) ?? GetChildOfType(child); - if (result != null) return result; - } - return null; - } - } - - -} diff --git a/vendors/optick/gui/Optick/Views/ScreenShotView.xaml b/vendors/optick/gui/Optick/Views/ScreenShotView.xaml deleted file mode 100644 index 69174b9b5..000000000 --- a/vendors/optick/gui/Optick/Views/ScreenShotView.xaml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - diff --git a/vendors/optick/gui/Optick/Views/ScreenShotView.xaml.cs b/vendors/optick/gui/Optick/Views/ScreenShotView.xaml.cs deleted file mode 100644 index d186dc7ac..000000000 --- a/vendors/optick/gui/Optick/Views/ScreenShotView.xaml.cs +++ /dev/null @@ -1,28 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Windows; -using System.Windows.Controls; -using System.Windows.Data; -using System.Windows.Documents; -using System.Windows.Input; -using System.Windows.Media; -using System.Windows.Media.Imaging; -using System.Windows.Shapes; -using MahApps.Metro.Controls; - -namespace Profiler.Views -{ - /// - /// Interaction logic for ScreenshotView.xaml - /// - public partial class ScreenShotView : MetroWindow - { - public ScreenShotView() - { - InitializeComponent(); - } - } -} diff --git a/vendors/optick/gui/Optick/Views/SummaryViewer.xaml b/vendors/optick/gui/Optick/Views/SummaryViewer.xaml deleted file mode 100644 index 9cea618ba..000000000 --- a/vendors/optick/gui/Optick/Views/SummaryViewer.xaml +++ /dev/null @@ -1,94 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/vendors/optick/gui/Optick/Views/SummaryViewer.xaml.cs b/vendors/optick/gui/Optick/Views/SummaryViewer.xaml.cs deleted file mode 100644 index 8be17f8cc..000000000 --- a/vendors/optick/gui/Optick/Views/SummaryViewer.xaml.cs +++ /dev/null @@ -1,22 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Windows; -using System.Windows.Controls; -using Profiler.ViewModels; - -namespace Profiler.Views -{ - /// - /// Interaction logic for SummaryViewer.xaml - /// - public partial class SummaryViewer : UserControl - { - public SummaryViewer() - { - InitializeComponent(); - } - } -} diff --git a/vendors/optick/gui/Optick/Views/TaskTrackerView.xaml b/vendors/optick/gui/Optick/Views/TaskTrackerView.xaml deleted file mode 100644 index ff2a4c639..000000000 --- a/vendors/optick/gui/Optick/Views/TaskTrackerView.xaml +++ /dev/null @@ -1,162 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Orange - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/vendors/optick/gui/Optick/themes/Steel.xaml b/vendors/optick/gui/Optick/themes/Steel.xaml deleted file mode 100644 index a4a7f5eb8..000000000 --- a/vendors/optick/gui/Optick/themes/Steel.xaml +++ /dev/null @@ -1,55 +0,0 @@ - - - #FF3399FF - - #FF3399FF - - - - #FF3399FF - #993399FF - #663399FF - #333399FF - - - - - - - - - - - - - - - - - - - - White - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/vendors/optick/gui/Optick/themes/Window.xaml b/vendors/optick/gui/Optick/themes/Window.xaml deleted file mode 100644 index a37edc021..000000000 --- a/vendors/optick/gui/Optick/themes/Window.xaml +++ /dev/null @@ -1,91 +0,0 @@ - - - \ No newline at end of file diff --git a/vendors/optick/gui/OptickVSIX/BuildProgressState.cs b/vendors/optick/gui/OptickVSIX/BuildProgressState.cs deleted file mode 100644 index 4a1adac17..000000000 --- a/vendors/optick/gui/OptickVSIX/BuildProgressState.cs +++ /dev/null @@ -1,13 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace OptickVSIX -{ - public class BuildProgressState - { - public EnvDTE80.DTE2 DTE { get; set; } - } -} diff --git a/vendors/optick/gui/OptickVSIX/BuildProgressWindow.cs b/vendors/optick/gui/OptickVSIX/BuildProgressWindow.cs deleted file mode 100644 index 238f96bd2..000000000 --- a/vendors/optick/gui/OptickVSIX/BuildProgressWindow.cs +++ /dev/null @@ -1,37 +0,0 @@ -namespace OptickVSIX -{ - using System; - using System.Runtime.InteropServices; - using Microsoft.VisualStudio.Shell; - - /// - /// This class implements the tool window exposed by this package and hosts a user control. - /// - /// - /// In Visual Studio tool windows are composed of a frame (implemented by the shell) and a pane, - /// usually implemented by the package implementer. - /// - /// This class derives from the ToolWindowPane class provided from the MPF in order to use its - /// implementation of the IVsUIElementPane interface. - /// - /// - [Guid(WindowGuidString)] - public class BuildProgressWindow : ToolWindowPane - { - public const string WindowGuidString = "86d4c770-4241-4cb2-a4b2-c79ac8b95834"; - public const string Title = "Build Progress Window"; - - /// - /// Initializes a new instance of the class. - /// - public BuildProgressWindow(BuildProgressState state) : base(null) - { - this.Caption = Title; - - // This is the user control hosted by the tool window; Note that, even if this class implements IDisposable, - // we are not calling Dispose on this object. This is because ToolWindowPane calls Dispose on - // the object returned by the Content property. - this.Content = new BuildProgressWindowControl(state); - } - } -} diff --git a/vendors/optick/gui/OptickVSIX/BuildProgressWindowCommand.cs b/vendors/optick/gui/OptickVSIX/BuildProgressWindowCommand.cs deleted file mode 100644 index 1cd5ef83e..000000000 --- a/vendors/optick/gui/OptickVSIX/BuildProgressWindowCommand.cs +++ /dev/null @@ -1,113 +0,0 @@ -using System; -using System.ComponentModel.Design; -using System.Globalization; -using System.Threading; -using System.Threading.Tasks; -using Microsoft.VisualStudio.Shell; -using Microsoft.VisualStudio.Shell.Interop; -using Task = System.Threading.Tasks.Task; - -namespace OptickVSIX -{ - /// - /// Command handler - /// - internal sealed class BuildProgressWindowCommand - { - /// - /// Command ID. - /// - public const int CommandId = 0x0100; - - /// - /// Command menu group (command set GUID). - /// - public static readonly Guid CommandSet = new Guid("153ff35a-c840-4305-bed2-526ab3a64c8c"); - - /// - /// VS Package that provides this command, not null. - /// - private readonly AsyncPackage package; - - /// - /// Initializes a new instance of the class. - /// Adds our command handlers for menu (commands must exist in the command table file) - /// - /// Owner package, not null. - /// Command service to add command to, not null. - private BuildProgressWindowCommand(AsyncPackage package, OleMenuCommandService commandService) - { - this.package = package ?? throw new ArgumentNullException(nameof(package)); - commandService = commandService ?? throw new ArgumentNullException(nameof(commandService)); - - var menuCommandID = new CommandID(CommandSet, CommandId); - var menuItem = new MenuCommand(this.Execute, menuCommandID); - commandService.AddCommand(menuItem); - } - - /// - /// Gets the instance of the command. - /// - public static BuildProgressWindowCommand Instance - { - get; - private set; - } - - /// - /// Gets the service provider from the owner package. - /// - private Microsoft.VisualStudio.Shell.IAsyncServiceProvider ServiceProvider - { - get - { - return this.package; - } - } - - /// - /// Initializes the singleton instance of the command. - /// - /// Owner package, not null. - public static async Task InitializeAsync(AsyncPackage package) - { - // Switch to the main thread - the call to AddCommand in BuildProgressWindowCommand's constructor requires - // the UI thread. - await ThreadHelper.JoinableTaskFactory.SwitchToMainThreadAsync(package.DisposalToken); - - OleMenuCommandService commandService = await package.GetServiceAsync(typeof(IMenuCommandService)) as OleMenuCommandService; - Instance = new BuildProgressWindowCommand(package, commandService); - } - - /// - /// Shows the tool window when the menu item is clicked. - /// - /// The event sender. - /// The event args. - private void Execute(object sender, EventArgs e) - { - ThreadHelper.ThrowIfNotOnUIThread(); - - // Get the instance number 0 of this tool window. This window is single instance so this instance - // is actually the only one. - // The last flag is set to true so that if the tool window does not exists it will be created. - //ToolWindowPane window = this.package.FindToolWindow(typeof(BuildProgressWindow), 0, true); - //if ((null == window) || (null == window.Frame)) - //{ - // throw new NotSupportedException("Cannot create tool window"); - //} - - //IVsWindowFrame windowFrame = (IVsWindowFrame)window.Frame; - //Microsoft.VisualStudio.ErrorHandler.ThrowOnFailure(windowFrame.Show()); - - package.JoinableTaskFactory.RunAsync(async () => - { - ToolWindowPane window = await package.ShowToolWindowAsync( - typeof(BuildProgressWindow), - 0, - create: true, - cancellationToken: package.DisposalToken); - }); - } - } -} diff --git a/vendors/optick/gui/OptickVSIX/OptickVSIX.csproj b/vendors/optick/gui/OptickVSIX/OptickVSIX.csproj deleted file mode 100644 index d81a64cea..000000000 --- a/vendors/optick/gui/OptickVSIX/OptickVSIX.csproj +++ /dev/null @@ -1,134 +0,0 @@ - - - - 16.0 - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) - - - - Debug - AnyCPU - 2.0 - {82b43b9b-a64c-4715-b499-d71e9ca2bd60};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - {DFFEC445-0F80-4B7D-8305-58229FE40875} - Library - Properties - OptickVSIX - OptickVSIX - v4.7.2 - true - true - true - false - false - true - true - Program - $(DevEnvDir)devenv.exe - /rootsuffix Exp - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - BuildProgressWindowControl.xaml - - - - - - - - Designer - - - - - - - - - - - - - - - - - - 3.0.2.4 - - - 1.6.5 - - - - - - - MSBuild:Compile - Designer - - - Designer - MSBuild:Compile - - - - - Menus.ctmenu - - - - - - {2b515f9a-27ed-4a0f-85f1-2e73b838bd81} - Profiler.Controls - - - {37D3FA6A-86FA-43B2-8A4F-681DAA3C5E63} - Profiler.Data - - - {e86c057e-e135-4100-a4a4-c943c7f14c56} - Profiler.DirectX - - - {65CAE3B7-6EA5-4FA4-8E83-4128FF73A40D} - Profiler.InfrastructureMvvm - - - {9ADF36AE-023D-4D81-A13C-9A18A9E84359} - Profiler.Trace - - - - - - - \ No newline at end of file diff --git a/vendors/optick/gui/OptickVSIX/OptickVSIXPackage.cs b/vendors/optick/gui/OptickVSIX/OptickVSIXPackage.cs deleted file mode 100644 index f8da95a27..000000000 --- a/vendors/optick/gui/OptickVSIX/OptickVSIXPackage.cs +++ /dev/null @@ -1,80 +0,0 @@ -using System; -using System.Runtime.InteropServices; -using System.Threading; -using System.Threading.Tasks; -using Microsoft.VisualStudio.Shell; -using Microsoft.VisualStudio.Shell.Interop; -using Task = System.Threading.Tasks.Task; - -namespace OptickVSIX -{ - /// - /// This is the class that implements the package exposed by this assembly. - /// - /// - /// - /// The minimum requirement for a class to be considered a valid package for Visual Studio - /// is to implement the IVsPackage interface and register itself with the shell. - /// This package uses the helper classes defined inside the Managed Package Framework (MPF) - /// to do it: it derives from the Package class that provides the implementation of the - /// IVsPackage interface and uses the registration attributes defined in the framework to - /// register itself and its components with the shell. These attributes tell the pkgdef creation - /// utility what data to put into .pkgdef file. - /// - /// - /// To get loaded into VS, the package must be referred by <Asset Type="Microsoft.VisualStudio.VsPackage" ...> in .vsixmanifest file. - /// - /// - [PackageRegistration(UseManagedResourcesOnly = true, AllowsBackgroundLoading = true)] - [Guid(OptickVSIXPackage.PackageGuidString)] - [ProvideMenuResource("Menus.ctmenu", 1)] - [ProvideToolWindow(typeof(BuildProgressWindow), Style = VsDockStyle.Tabbed, DockedHeight = 400, Window = "DocumentWell", Orientation = ToolWindowOrientation.Bottom)] - public sealed class OptickVSIXPackage : AsyncPackage - { - /// - /// OptickVSIXPackage GUID string. - /// - public const string PackageGuidString = "3153e222-1c3a-4d8e-bfad-31065f37a2d4"; - - #region Package Members - - /// - /// Initialization of the package; this method is called right after the package is sited, so this is the place - /// where you can put all the initialization code that rely on services provided by VisualStudio. - /// - /// A cancellation token to monitor for initialization cancellation, which can occur when VS is shutting down. - /// A provider for progress updates. - /// A task representing the async work of package initialization, or an already completed task if there is none. Do not return null from this method. - protected override async Task InitializeAsync(CancellationToken cancellationToken, IProgress progress) - { - // When initialized asynchronously, the current thread may be a background thread at this point. - // Do any initialization that requires the UI thread after switching to the UI thread. - await this.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken); - await BuildProgressWindowCommand.InitializeAsync(this); - } - - public override IVsAsyncToolWindowFactory GetAsyncToolWindowFactory(Guid toolWindowType) - { - return toolWindowType.Equals(Guid.Parse(BuildProgressWindow.WindowGuidString)) ? this : null; - } - - protected override string GetToolWindowTitle(Type toolWindowType, int id) - { - return toolWindowType == typeof(BuildProgressWindow) ? BuildProgressWindow.Title : base.GetToolWindowTitle(toolWindowType, id); - } - - protected override async Task InitializeToolWindowAsync(Type toolWindowType, int id, CancellationToken cancellationToken) - { - // Perform as much work as possible in this method which is being run on a background thread. - // The object returned from this method is passed into the constructor of the SampleToolWindow - var dte = await GetServiceAsync(typeof(EnvDTE.DTE)) as EnvDTE80.DTE2; - - return new BuildProgressState - { - DTE = dte - }; - } - - #endregion - } -} diff --git a/vendors/optick/gui/OptickVSIX/OptickVSIXPackage.vsct b/vendors/optick/gui/OptickVSIX/OptickVSIXPackage.vsct deleted file mode 100644 index 33d5bd432..000000000 --- a/vendors/optick/gui/OptickVSIX/OptickVSIXPackage.vsct +++ /dev/null @@ -1,83 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/vendors/optick/gui/OptickVSIX/Properties/AssemblyInfo.cs b/vendors/optick/gui/OptickVSIX/Properties/AssemblyInfo.cs deleted file mode 100644 index faf2a999d..000000000 --- a/vendors/optick/gui/OptickVSIX/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,33 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("OptickVSIX")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("OptickVSIX")] -[assembly: AssemblyCopyright("")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/vendors/optick/gui/OptickVSIX/Resources/BuildProgressWindowCommand.png b/vendors/optick/gui/OptickVSIX/Resources/BuildProgressWindowCommand.png deleted file mode 100644 index b22d975cb..000000000 Binary files a/vendors/optick/gui/OptickVSIX/Resources/BuildProgressWindowCommand.png and /dev/null differ diff --git a/vendors/optick/gui/OptickVSIX/Resources/Style.xaml b/vendors/optick/gui/OptickVSIX/Resources/Style.xaml deleted file mode 100644 index ec3d9857d..000000000 --- a/vendors/optick/gui/OptickVSIX/Resources/Style.xaml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - 22 - \ No newline at end of file diff --git a/vendors/optick/gui/OptickVSIX/ViewModels/BuildViewModel.cs b/vendors/optick/gui/OptickVSIX/ViewModels/BuildViewModel.cs deleted file mode 100644 index 1de922f82..000000000 --- a/vendors/optick/gui/OptickVSIX/ViewModels/BuildViewModel.cs +++ /dev/null @@ -1,69 +0,0 @@ -using EnvDTE; -using Profiler.Data; -using Profiler.InfrastructureMvvm; -using Profiler.Trace; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace OptickVSIX.ViewModels -{ - class BuildViewModel : BaseViewModel - { - public BuildViewModel() - { - Collector = new DataCollector(new Config() - { - ProcessFilters = new String[] { "CL.exe", "link.exe", "MSBuild.exe" } - }); - } - - public DataCollector Collector { get; private set; } - - private FrameGroup _group; - public FrameGroup Group { get { return _group; } private set { _group = value; OnPropertyChanged(); } } - - private String _name = String.Empty; - public String Name { get { return _name; } set { _name = value; OnPropertyChanged(); } } - - private DateTime _startTime; - public DateTime StartTime { get { return _startTime; } set { _startTime = value; OnPropertyChanged(); } } - - private DateTime _finishTime; - public DateTime FinishTime { get { return _finishTime; } set { _finishTime = value; OnPropertyChanged(); } } - - public void Start(vsBuildScope Scope, vsBuildAction Action) - { - StartTime = DateTime.Now; - Collector.Start(); - } - - public void Finish(vsBuildScope Scope, vsBuildAction Action) - { - FinishTime = DateTime.Now; - Collector.Stop(); - GenerateData(); - } - - private void GenerateData() - { - EventDescriptionBoard board = new EventDescriptionBoard() { TimeSettings = new TimeSettings() { Origin = 0, PrecisionCut = 0, TicksToMs = 0.0001 }, TimeSlice = new Durable(StartTime.Ticks, FinishTime.Ticks), CPUCoreCount = Environment.ProcessorCount }; - FrameGroup group = new FrameGroup(board); - - List syncEvents = new List(Collector.SwitchContexts.Events.Count); - foreach (SwitchContextData sc in Collector.SwitchContexts.Events) - { - if (board.TimeSlice.Start <= sc.Timestamp.Ticks && sc.Timestamp.Ticks <= board.TimeSlice.Finish) - syncEvents.Add(new SyncEvent() { CPUID = sc.CPUID, NewThreadID = sc.NewThreadID, OldThreadID = sc.OldThreadID, Timestamp = new Tick() { Start = sc.Timestamp.Ticks } }); - } - - SynchronizationMap syncMap = new SynchronizationMap(syncEvents); - - group.AddSynchronization(syncMap); - - Group = group; - } - } -} diff --git a/vendors/optick/gui/OptickVSIX/Views/BuildProgressWindowControl.xaml b/vendors/optick/gui/OptickVSIX/Views/BuildProgressWindowControl.xaml deleted file mode 100644 index de80373f7..000000000 --- a/vendors/optick/gui/OptickVSIX/Views/BuildProgressWindowControl.xaml +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - - - - - - - - - - - - - - Started: - - Finished: - -