| 1 | /* |
| 2 | * Copyright (C) 2005-2021 Team Kodi (https://kodi.tv) |
| 3 | * |
| 4 | * SPDX-License-Identifier: GPL-2.0-or-later |
| 5 | * See LICENSE.md for more information. |
| 6 | */ |
| 7 | |
| 8 | #pragma once |
| 9 | |
| 10 | #include <cstdint> |
| 11 | #include <string> |
| 12 | |
| 13 | namespace tvheadendcxx . . $ tvheadend/ |
| 14 | { |
| 15 | namespace statuscxx . . $ tvheadend/status/ |
| 16 | { |
| 17 | |
| 18 | /** |
| 19 | * Contains information about the descrambler used |
| 20 | */ |
| 21 | class DescrambleInfocxx . . $ tvheadend/status/DescrambleInfo# |
| 22 | { |
| 23 | public: |
| 24 | DescrambleInfocxx . . $ tvheadend/status/DescrambleInfo#DescrambleInfo(49f6e7a06ebc5aa8).(); |
| 25 | void Clearcxx . . $ tvheadend/status/DescrambleInfo#Clear(49f6e7a06ebc5aa8).(); |
| 26 | |
| 27 | int64_tcxx . . $ int64_t# GetPidcxx . . $ tvheadend/status/DescrambleInfo#GetPid(57a65ae535d7db84).() const; |
| 28 | void SetPidcxx . . $ tvheadend/status/DescrambleInfo#SetPid(cb2f890c2fdad230).(uint32_tcxx . . $ uint32_t# pid); |
| 29 | |
| 30 | int64_tcxx . . $ int64_t# GetCaidcxx . . $ tvheadend/status/DescrambleInfo#GetCaid(57a65ae535d7db84).() const; |
| 31 | void SetCaidcxx . . $ tvheadend/status/DescrambleInfo#SetCaid(cb2f890c2fdad230).(uint32_tcxx . . $ uint32_t# caid); |
| 32 | |
| 33 | int64_tcxx . . $ int64_t# GetProvidcxx . . $ tvheadend/status/DescrambleInfo#GetProvid(57a65ae535d7db84).() const; |
| 34 | void SetProvidcxx . . $ tvheadend/status/DescrambleInfo#SetProvid(cb2f890c2fdad230).(uint32_tcxx . . $ uint32_t# provid); |
| 35 | |
| 36 | int64_tcxx . . $ int64_t# GetEcmTimecxx . . $ tvheadend/status/DescrambleInfo#GetEcmTime(57a65ae535d7db84).() const; |
| 37 | void SetEcmTimecxx . . $ tvheadend/status/DescrambleInfo#SetEcmTime(cb2f890c2fdad230).(uint32_tcxx . . $ uint32_t# ecmTime); |
| 38 | |
| 39 | int64_tcxx . . $ int64_t# GetHopscxx . . $ tvheadend/status/DescrambleInfo#GetHops(57a65ae535d7db84).() const; |
| 40 | void SetHopscxx . . $ tvheadend/status/DescrambleInfo#SetHops(cb2f890c2fdad230).(uint32_tcxx . . $ uint32_t# hops); |
| 41 | |
| 42 | stdcxx . . $ std/::stringcxx . . $ std/string# GetCardSystemcxx . . $ tvheadend/status/DescrambleInfo#GetCardSystem(219584694fe2b248).() const; |
| 43 | void SetCardSystemcxx . . $ tvheadend/status/DescrambleInfo#SetCardSystem(9c546c94e5fcce4e).(const stdcxx . . $ std/::stringcxx . . $ std/string#& cardSystem); |
| 44 | |
| 45 | stdcxx . . $ std/::stringcxx . . $ std/string# GetReadercxx . . $ tvheadend/status/DescrambleInfo#GetReader(219584694fe2b248).() const; |
| 46 | void SetReadercxx . . $ tvheadend/status/DescrambleInfo#SetReader(9c546c94e5fcce4e).(const stdcxx . . $ std/::stringcxx . . $ std/string#& reader); |
| 47 | |
| 48 | stdcxx . . $ std/::stringcxx . . $ std/string# GetFromcxx . . $ tvheadend/status/DescrambleInfo#GetFrom(219584694fe2b248).() const; |
| 49 | void SetFromcxx . . $ tvheadend/status/DescrambleInfo#SetFrom(9c546c94e5fcce4e).(const stdcxx . . $ std/::stringcxx . . $ std/string#& from); |
| 50 | |
| 51 | stdcxx . . $ std/::stringcxx . . $ std/string# GetProtocolcxx . . $ tvheadend/status/DescrambleInfo#GetProtocol(219584694fe2b248).() const; |
| 52 | void SetProtocolcxx . . $ tvheadend/status/DescrambleInfo#SetProtocol(9c546c94e5fcce4e).(const stdcxx . . $ std/::stringcxx . . $ std/string#& protocol); |
| 53 | |
| 54 | private: |
| 55 | int64_tcxx . . $ int64_t# m_pidcxx . . $ tvheadend/status/DescrambleInfo#m_pid.; |
| 56 | int64_tcxx . . $ int64_t# m_caidcxx . . $ tvheadend/status/DescrambleInfo#m_caid.; |
| 57 | int64_tcxx . . $ int64_t# m_providcxx . . $ tvheadend/status/DescrambleInfo#m_provid.; |
| 58 | int64_tcxx . . $ int64_t# m_ecmTimecxx . . $ tvheadend/status/DescrambleInfo#m_ecmTime.; |
| 59 | int64_tcxx . . $ int64_t# m_hopscxx . . $ tvheadend/status/DescrambleInfo#m_hops.; |
| 60 | stdcxx . . $ std/::stringcxx . . $ std/string# m_cardSystemcxx . . $ tvheadend/status/DescrambleInfo#m_cardSystem.; |
| 61 | stdcxx . . $ std/::stringcxx . . $ std/string# m_readercxx . . $ tvheadend/status/DescrambleInfo#m_reader.; |
| 62 | stdcxx . . $ std/::stringcxx . . $ std/string# m_fromcxx . . $ tvheadend/status/DescrambleInfo#m_from.; |
| 63 | stdcxx . . $ std/::stringcxx . . $ std/string# m_protocolcxx . . $ tvheadend/status/DescrambleInfo#m_protocol.; |
| 64 | }; |
| 65 | |
| 66 | } // namespace status |
| 67 | } // namespace tvheadend |