mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_rosemary
synced 2026-01-27 18:07:31 +00:00
* hwname is required for detecting actual device, maltose having same region (Global) with rosemary Change-Id: I6aa1f9d856db6e7e0195c511bbb35e987d51c1fc
27 lines
505 B
C++
27 lines
505 B
C++
/*
|
|
* Copyright (C) 2021 The LineageOS Project
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#ifndef LIBINIT_VARIANT_H
|
|
#define LIBINIT_VARIANT_H
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
typedef struct variant_info {
|
|
std::string hwc_value;
|
|
std::string hwname_value;
|
|
std::string sku_value;
|
|
std::string device;
|
|
|
|
bool nfc;
|
|
} variant_info_t;
|
|
|
|
void search_variant(const std::vector<variant_info_t> variants);
|
|
|
|
void set_variant_props(const variant_info_t variant);
|
|
|
|
#endif // LIBINIT_VARIANT_H
|