blob: f0b3222565abbbcc39e3ce9922694546b9f00afb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
/*
* Copyright (C) 2022 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 model_value;
std::string brand;
std::string device;
std::string marketname;
std::string model;
std::string name;
std::string build_fingerprint;
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
|