summaryrefslogtreecommitdiff
path: root/examples/opiecore/opcmciademo/main.cpp
Side-by-side diff
Diffstat (limited to 'examples/opiecore/opcmciademo/main.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--examples/opiecore/opcmciademo/main.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/examples/opiecore/opcmciademo/main.cpp b/examples/opiecore/opcmciademo/main.cpp
index dfc4287..a10c862 100644
--- a/examples/opiecore/opcmciademo/main.cpp
+++ b/examples/opiecore/opcmciademo/main.cpp
@@ -1,11 +1,16 @@
#include <opie2/opcmciasystem.h>
#include <opie2/odebug.h>
using namespace Opie::Core;
+#include <qmap.h>
+#include <qtextstream.h>
+#include <qdir.h>
+#include <qfile.h>
+
int main( int argc, char** argv )
{
- odebug << "start" << oendl;
+ odebug << "APP start" << oendl;
OPcmciaSystem* sys = OPcmciaSystem::instance();
odebug << "number of detected sockets is = " << sys->count() << oendl;
odebug << "number of populated sockets is = " << sys->cardCount() << oendl;
@@ -19,8 +24,8 @@ int main( int argc, char** argv )
odebug << "card function is " << sock->function() << oendl;
++it;
}
- odebug << "end" << oendl;
+ odebug << "APP end" << oendl;
return 0;
}