summaryrefslogtreecommitdiff
path: root/libopie2/examples/opiecore/oprocessdemo/oprocessdemo.cpp
Side-by-side diff
Diffstat (limited to 'libopie2/examples/opiecore/oprocessdemo/oprocessdemo.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/examples/opiecore/oprocessdemo/oprocessdemo.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/libopie2/examples/opiecore/oprocessdemo/oprocessdemo.cpp b/libopie2/examples/opiecore/oprocessdemo/oprocessdemo.cpp
index 0abf53e..2193565 100644
--- a/libopie2/examples/opiecore/oprocessdemo/oprocessdemo.cpp
+++ b/libopie2/examples/opiecore/oprocessdemo/oprocessdemo.cpp
@@ -1,11 +1,13 @@
#include <opie2/oprocess.h>
-#include <iostream.h>
+#include <iostream>
+
+using namespace Opie::Core;
int main( int argc, char** argv )
{
printf( "my own PID seems to be '%d'\n", OProcess::processPID( "oprocessdemo" ) );
printf( "the PID of process 'Mickey' seems to be '%d'\n\n", OProcess::processPID( "Mickey" ) );
return 0;
}