File indexing completed on 2024-05-12 04:58:53

0001 /**
0002  * SPDX-FileCopyrightText: 2013 Albert Vaca <albertvaka@gmail.com>
0003  *
0004  * SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
0005  */
0006 
0007 #ifndef LOOPBACKDEVICELINK_H
0008 #define LOOPBACKDEVICELINK_H
0009 
0010 #include "../devicelink.h"
0011 #include "deviceinfo.h"
0012 
0013 class LoopbackLinkProvider;
0014 
0015 class LoopbackDeviceLink : public DeviceLink
0016 {
0017     Q_OBJECT
0018 public:
0019     LoopbackDeviceLink(LoopbackLinkProvider *a);
0020 
0021     virtual bool sendPacket(NetworkPacket &np) override;
0022 
0023     virtual DeviceInfo deviceInfo() const override;
0024 };
0025 
0026 #endif