forked from eden-emu/eden
[frontend, android] Move update_checker to frontend_common and add Android support
This commit is contained in:
parent
d24db9c3cb
commit
41bcf39d08
20 changed files with 230 additions and 27 deletions
16
src/frontend_common/update_checker.h
Normal file
16
src/frontend_common/update_checker.h
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
// SPDX-FileCopyrightText: Copyright 2025 Eden Emulator Project
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
// Copyright Citra Emulator Project / Azahar Emulator Project
|
||||
// Licensed under GPLv2 or any later version
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <optional>
|
||||
#include <string>
|
||||
|
||||
namespace UpdateChecker {
|
||||
std::optional<std::string> GetResponse(std::string url, std::string path);
|
||||
std::optional<std::string> GetLatestRelease(bool include_prereleases);
|
||||
} // namespace UpdateChecker
|
||||
Loading…
Add table
Add a link
Reference in a new issue