summaryrefslogtreecommitdiff
path: root/examples/opiecore/oglobalsettingsdemo/oglobalsettingsdemo.cpp
Side-by-side diff
Diffstat (limited to 'examples/opiecore/oglobalsettingsdemo/oglobalsettingsdemo.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--examples/opiecore/oglobalsettingsdemo/oglobalsettingsdemo.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/examples/opiecore/oglobalsettingsdemo/oglobalsettingsdemo.cpp b/examples/opiecore/oglobalsettingsdemo/oglobalsettingsdemo.cpp
new file mode 100644
index 0000000..37bcf13
--- a/dev/null
+++ b/examples/opiecore/oglobalsettingsdemo/oglobalsettingsdemo.cpp
@@ -0,0 +1,15 @@
+#include <opie2/oglobalsettings.h>
+#include <stdio.h>
+
+using namespace Opie::Core;
+
+int main( int argc, char** argv )
+{
+ printf( "current debugmode seems to be '%d'\n", OGlobalSettings::debugMode() );
+ printf( "output information for this mode is '%s'\n", (const char*) OGlobalSettings::debugOutput() );
+
+ return 0;
+
+}
+
+//#include "moc/oconfigdemo.moc"