summaryrefslogtreecommitdiffstats
path: root/src/fbgui.cpp
diff options
context:
space:
mode:
authorNiklas Goby2011-03-23 17:54:26 +0100
committerNiklas Goby2011-03-23 17:54:26 +0100
commit58e234ffcded954047436365667ad91a54a61847 (patch)
tree2f4371e4f48ac39fad9a75bacf14e184ddf7db54 /src/fbgui.cpp
parentloadURL() called when trigger file found (diff)
downloadfbgui-58e234ffcded954047436365667ad91a54a61847.tar.gz
fbgui-58e234ffcded954047436365667ad91a54a61847.tar.xz
fbgui-58e234ffcded954047436365667ad91a54a61847.zip
a new classes sysinfolibsysfs
it uses the libsysfs.c to gater informations about the system not finished yet
Diffstat (limited to 'src/fbgui.cpp')
-rw-r--r--src/fbgui.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/fbgui.cpp b/src/fbgui.cpp
index 1a13b1a..8cd6520 100644
--- a/src/fbgui.cpp
+++ b/src/fbgui.cpp
@@ -3,6 +3,7 @@
#include "loggerengine.h"
#include "downloadmanager.h"
#include "javascriptinterface.h"
+#include "sysinfolibsysfs.h"
#include <iostream>
#include <QtWebKit>
@@ -19,6 +20,11 @@ int debugMode = -1;
//-------------------------------------------------------------------------------------------
fbgui::fbgui()
{
+ // test for libsys function
+ SysInfoLibsysfs* sil = new SysInfoLibsysfs();
+ sil->getInfoAboutNetworkInterface();
+ sil->getInfoAboutClassNet();
+
// setup basic debug
qxtLog->disableLoggerEngine("DEFAULT");
//qxtLog->enableLogLevels(QxtLogger::DebugLevel);