Diffstat (limited to 'libopie2/examples/opiecore/oglobalsettingsdemo/oglobalsettingsdemo.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie2/examples/opiecore/oglobalsettingsdemo/oglobalsettingsdemo.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/libopie2/examples/opiecore/oglobalsettingsdemo/oglobalsettingsdemo.cpp b/libopie2/examples/opiecore/oglobalsettingsdemo/oglobalsettingsdemo.cpp new file mode 100644 index 0000000..2f5220b --- a/dev/null +++ b/libopie2/examples/opiecore/oglobalsettingsdemo/oglobalsettingsdemo.cpp | |||
@@ -0,0 +1,13 @@ | |||
1 | #include <opie2/oglobalsettings.h> | ||
2 | #include <iostream.h> | ||
3 | |||
4 | int main( int argc, char** argv ) | ||
5 | { | ||
6 | printf( "current debugmode seems to be '%d'\n", OGlobalSettings::debugMode() ); | ||
7 | printf( "output information for this mode is '%s'\n", (const char*) OGlobalSettings::debugOutput() ); | ||
8 | |||
9 | return 0; | ||
10 | |||
11 | } | ||
12 | |||
13 | //#include "moc/oconfigdemo.moc" | ||