log0.3
This commit is contained in:
17
src/devices/base/IDevice.h
Normal file
17
src/devices/base/IDevice.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#pragma once
|
||||
|
||||
#include "core/device/DeviceTypes.h"
|
||||
|
||||
namespace softbus::devices
|
||||
{
|
||||
|
||||
class IDevice
|
||||
{
|
||||
public:
|
||||
virtual ~IDevice() = default;
|
||||
|
||||
virtual softbus::core::device::DeviceInfo deviceInfo() const = 0;
|
||||
};
|
||||
|
||||
} // namespace softbus::devices
|
||||
|
||||
14
src/devices/devicesType.h
Normal file
14
src/devices/devicesType.h
Normal file
@@ -0,0 +1,14 @@
|
||||
#pragma once
|
||||
|
||||
#include <QString>
|
||||
|
||||
namespace softbus::devices::physical
|
||||
{
|
||||
enum class Type
|
||||
{
|
||||
Serial,
|
||||
Can,
|
||||
Tcp,
|
||||
Udp,
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user