Diffstat (limited to 'examples/opiecore/opcmciademo') (more/less context) (ignore whitespace changes)
-rw-r--r-- | examples/opiecore/opcmciademo/main.cpp | 9 |
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,26 +1,31 @@ #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; OPcmciaSystem::CardIterator it = sys->iterator(); OPcmciaSocket* sock = 0; while ( sock = it.current() ) { odebug << "card in socket # " << sock->number() << " is '" << sock->identity() << "'" << oendl; odebug << "card status is " << sock->status() << oendl; odebug << "card function is " << sock->function() << oendl; ++it; } - odebug << "end" << oendl; + odebug << "APP end" << oendl; return 0; } |