some 'const' specifications, putting the code to determine the default device
in its own file
This commit is contained in:
7
devices.cpp
Normal file
7
devices.cpp
Normal file
@@ -0,0 +1,7 @@
|
||||
#include "devices.h"
|
||||
|
||||
device * determine_default_device()
|
||||
{
|
||||
return new device("eth0");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user