linklayerprotocols/tundriver/te_tundriver/Dummy3rdPartyApp/inc/Dummy3rdPartyApp.h
branchRCL_3
changeset 63 425d8f4f7fa5
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/linklayerprotocols/tundriver/te_tundriver/Dummy3rdPartyApp/inc/Dummy3rdPartyApp.h	Wed Sep 15 00:18:51 2010 +0300
@@ -0,0 +1,56 @@
+/*
+ ============================================================================
+ Name		 : Dummy3rdPartyApp.h
+ Author	     : Gurpreet Singh Nagi
+ Copyright   : Your copyright notice
+ Description : Exe header file
+ ============================================================================
+ */
+
+#ifndef __DUMMY3RDPARTYAPP_H__
+#define __DUMMY3RDPARTYAPP_H__
+
+//  Include Files
+
+#include <e32base.h>
+#include <es_sock.h>
+#include <commdbconnpref.h>
+#include <in_sock.h>
+
+//  Function Prototypes
+
+GLDEF_C TInt E32Main();
+
+//functions:
+
+class Dummy3rdPartyApp
+    {
+public:
+    Dummy3rdPartyApp::Dummy3rdPartyApp()
+        {
+
+        }
+
+    Dummy3rdPartyApp::~Dummy3rdPartyApp()
+        {
+
+        }
+    void InitConn();
+    void StartConn();
+    void ProcessData();
+    void CloseConn();
+
+    TRequestStatus iStatus;
+    TInetAddr iVirtAddr, iRealAddr;
+    RSocketServ iVirtSocketServ, iRealSocketServ, iHookSocketServ;
+    RSocket iVirtSocket, iRealSocket, iHookSocket;
+    RConnection iVirtConnection, iRealConnection;
+    TBuf8<2048> iSendBuf, iRecvBuf;
+
+    TCommDbConnPref iVirtCommDbPref, iRealCommDbPref;
+    };
+
+
+
+#endif  // __DUMMY3RDPARTYAPP_H__
+