Diffstat (limited to 'examples/opiecore/oglobalsettingsdemo/oglobalsettingsdemo.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | examples/opiecore/oglobalsettingsdemo/oglobalsettingsdemo.cpp | 15 |
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 @@ | |||
1 | #include <opie2/oglobalsettings.h> | ||
2 | #include <stdio.h> | ||
3 | |||
4 | using namespace Opie::Core; | ||
5 | |||
6 | int main( int argc, char** argv ) | ||
7 | { | ||
8 | printf( "current debugmode seems to be '%d'\n", OGlobalSettings::debugMode() ); | ||
9 | printf( "output information for this mode is '%s'\n", (const char*) OGlobalSettings::debugOutput() ); | ||
10 | |||
11 | return 0; | ||
12 | |||
13 | } | ||
14 | |||
15 | //#include "moc/oconfigdemo.moc" | ||