summaryrefslogtreecommitdiff
path: root/examples/opiecore
authormickeyl <mickeyl>2005-07-10 00:18:16 (UTC)
committer mickeyl <mickeyl>2005-07-10 00:18:16 (UTC)
commit031a4fd69392d064052f0da4236b4d44624343e3 (patch) (side-by-side diff)
tree8aa5aa5be9b59b0c3e2262da3511d683901d373d /examples/opiecore
parent6beec504619fec654e06c4242892a9f858636ffe (diff)
downloadopie-031a4fd69392d064052f0da4236b4d44624343e3.zip
opie-031a4fd69392d064052f0da4236b4d44624343e3.tar.gz
opie-031a4fd69392d064052f0da4236b4d44624343e3.tar.bz2
Add skeleton for opieshower examples
Diffstat (limited to 'examples/opiecore') (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
@@ -2,9 +2,14 @@
#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;
@@ -20,7 +25,7 @@ int main( int argc, char** argv )
++it;
}
- odebug << "end" << oendl;
+ odebug << "APP end" << oendl;
return 0;
}