move code to instantiate network devices to NetworkDeviceInstantiator class
This commit is contained in:
12
src/util/NetworkDeviceInstantiator.h
Normal file
12
src/util/NetworkDeviceInstantiator.h
Normal file
@@ -0,0 +1,12 @@
|
||||
#pragma once
|
||||
|
||||
#include "../networkDevices/NetworkDevice.h"
|
||||
#include "../enums/NetworkDeviceType.h"
|
||||
#include <string>
|
||||
#include <Preferences.h>
|
||||
|
||||
class NetworkDeviceInstantiator
|
||||
{
|
||||
public:
|
||||
static NetworkDevice* Create(NetworkDeviceType networkDeviceType, String hostname, Preferences* preferences, IPConfiguration* ipConfiguration);
|
||||
};
|
||||
Reference in New Issue
Block a user