~aleteoryx/muditaos

ref: 433322b582957fbfc5888c11b303fa816f28a8f9 muditaos/module-services/service-cellular/src/volte/OperatorInfo.hpp -rw-r--r-- 583 bytes
433322b5 — Dawid Wojtas [BH-1671] Reinit eMMC driver 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md

#pragma once

#include <string>

namespace cellular::service
{
    struct OperatorInfo
    {
        OperatorInfo(const std::string &mcc, const std::string &mnc) : MCC(mcc), MNC(mnc)
        {}
        std::string MCC;
        std::string MNC;

        friend bool operator==(const OperatorInfo &lhs, const OperatorInfo &rhs)
        {
            return lhs.MCC == rhs.MCC && lhs.MNC == rhs.MNC;
        }
    };
} // namespace cellular::service