| 1 |
/* |
| 2 |
* Copyright (C) 2005-2024 Team Kodi |
| 3 |
* This file is part of Kodi - https://kodi.tv |
| 4 |
* |
| 5 |
* SPDX-License-Identifier: GPL-2.0-or-later |
| 6 |
* See LICENSES/README.md for more information. |
| 7 |
*/ |
| 8 |
|
| 9 |
#include "PeripheralNIC.h" |
| 10 |
|
| 11 |
#include "guilib/LocalizeStrings.h" |
| 12 |
|
| 13 |
using namespace PERIPHERALS; |
| 14 |
|
| 15 |
CPeripheralNIC::CPeripheralNIC(CPeripherals& manager, |
| 16 |
const PeripheralScanResult& scanResult, |
| 17 |
CPeripheralBus* bus) |
| 18 |
: CPeripheral(manager, scanResult, bus) |
| 19 |
{ |
| 20 |
m_strDeviceName = scanResult.m_strDeviceName.empty() ? g_localizeStrings.Get(35002) |
| 21 |
: scanResult.m_strDeviceName; |
| 22 |
m_features.push_back(FEATURE_NIC); |
| 23 |
} |