some 'const' specifications, putting the code to determine the default device

in its own file
This commit is contained in:
Arnout Engelen
2011-07-12 21:53:54 +00:00
parent a50b249438
commit ff8151fe96
9 changed files with 37 additions and 24 deletions

7
devices.cpp Normal file
View File

@@ -0,0 +1,7 @@
#include "devices.h"
device * determine_default_device()
{
return new device("eth0");
}