Symbian platform (C++)
SDK native APIs, runtime and tooling
Loading...
Searching...
No Matches
firmware.h
Go to the documentation of this file.
1// SPDX-License-Identifier: GPL-3.0-or-later
2// Adapter to pinned EKA2L1 installers; kept outside the Python wheel.
3#ifndef SYMBIAN_EMULATOR_FIRMWARE_H_
4#define SYMBIAN_EMULATOR_FIRMWARE_H_
5
6#include <string>
7#include <vector>
8
9#include "absl/status/status.h"
10#include "absl/status/statusor.h"
11#include "common/archive.h"
12#include "nlohmann/json.hpp"
13
14namespace symbian::emulator {
15absl::Status ValidateArchive(
16 const std::vector<eka2l1::common::archive_entry_info>& entries);
17// Runs synchronously in a new, owned working directory. Never loads an
18// existing device database (loading it can delete pending-deletion devices).
19absl::StatusOr<nlohmann::json> ImportFirmware(const std::string& form,
20 const std::string& source,
21 const std::string& companion,
22 int variant);
23} // namespace symbian::emulator
24#endif // SYMBIAN_EMULATOR_FIRMWARE_H_
Definition control.cc:34
absl::Status ValidateArchive(const std::vector< eka2l1::common::archive_entry_info > &entries)
Definition firmware.cc:102
absl::StatusOr< nlohmann::json > ImportFirmware(const std::string &form, const std::string &source, const std::string &companion, int variant)
Definition firmware.cc:149