summaryrefslogtreecommitdiffstats
path: root/tdecore/kglobal.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-29 17:11:06 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-29 17:11:06 -0500
commit22f8381c08ec2c39dbafb9d9851c2b55d94be4a8 (patch)
tree030156035a2203c377221fbf50e0ad2c9ed1f6ce /tdecore/kglobal.cpp
parent2b5fed5f0e79c29ad49b0926cf4433114abe335c (diff)
downloadtdelibs-22f8381c08ec2c39dbafb9d9851c2b55d94be4a8.tar.gz
tdelibs-22f8381c08ec2c39dbafb9d9851c2b55d94be4a8.zip
Add initial tdehardwaredevices skeleton to tdecore
Do not use the added classes yet, as the API and ABI are still under heavy construction!
Diffstat (limited to 'tdecore/kglobal.cpp')
-rw-r--r--tdecore/kglobal.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/tdecore/kglobal.cpp b/tdecore/kglobal.cpp
index 6a4702853..efb9d803f 100644
--- a/tdecore/kglobal.cpp
+++ b/tdecore/kglobal.cpp
@@ -34,6 +34,7 @@
#include <klocale.h>
#include <kcharsets.h>
#include <kiconloader.h>
+#include <tdehardwaredevices.h>
#include <kstandarddirs.h>
#include <kinstance.h>
#include "kstaticdeleter.h"
@@ -79,6 +80,13 @@ KIconLoader *KGlobal::iconLoader()
return _instance->iconLoader();
}
+TDEHardwareDevices *KGlobal::hardwareDevices()
+{
+ MYASSERT(_instance);
+
+ return _instance->hardwareDevices();
+}
+
KInstance *KGlobal::instance()
{
MYASSERT(_instance);