// Copyright 2018 Dolphin Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include #include #include "Common/AndroidAnalytics.h" namespace Common { std::function s_android_send_report; void AndroidSetReportHandler(std::function func) { s_android_send_report = std::move(func); } AndroidAnalyticsBackend::AndroidAnalyticsBackend(std::string passed_endpoint) : m_endpoint{std::move(passed_endpoint)} { } AndroidAnalyticsBackend::~AndroidAnalyticsBackend() = default; void AndroidAnalyticsBackend::Send(std::string report) { s_android_send_report(m_endpoint, report); } } // namespace Common