Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/processserver_8h_source.html
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/processserver_8h_source.html Tue Mar 30 16:16:55 2010 +0100
@@ -0,0 +1,80 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<title>TB9.2 Example Applications: examples/Base/IPC/AdvancedClientServerExample/ProcessServer/inc/processserver.h Source File</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<link href="doxygen.css" rel="stylesheet" type="text/css"/>
+</head>
+<body>
+<!-- Generated by Doxygen 1.6.2 -->
+<h1>examples/Base/IPC/AdvancedClientServerExample/ProcessServer/inc/processserver.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).</span>
+<a name="l00002"></a>00002 <span class="comment">// All rights reserved.</span>
+<a name="l00003"></a>00003 <span class="comment">// This component and the accompanying materials are made available</span>
+<a name="l00004"></a>00004 <span class="comment">// under the terms of "Eclipse Public License v1.0"</span>
+<a name="l00005"></a>00005 <span class="comment">// which accompanies this distribution, and is available</span>
+<a name="l00006"></a>00006 <span class="comment">// at the URL "http://www.eclipse.org/legal/epl-v10.html".</span>
+<a name="l00007"></a>00007 <span class="comment">//</span>
+<a name="l00008"></a>00008 <span class="comment">// Initial Contributors:</span>
+<a name="l00009"></a>00009 <span class="comment">// Nokia Corporation - initial contribution.</span>
+<a name="l00010"></a>00010 <span class="comment">//</span>
+<a name="l00011"></a>00011 <span class="comment">// Contributors:</span>
+<a name="l00012"></a>00012 <span class="comment">//</span>
+<a name="l00013"></a>00013 <span class="comment">// Description:</span>
+<a name="l00014"></a>00014 <span class="comment">//</span>
+<a name="l00015"></a>00015
+<a name="l00016"></a>00016 <span class="preprocessor">#ifndef __PROCESSSERVER_H__</span>
+<a name="l00017"></a>00017 <span class="preprocessor"></span><span class="preprocessor">#define __PROCESSSERVER_H__</span>
+<a name="l00018"></a>00018 <span class="preprocessor"></span>
+<a name="l00019"></a>00019 <span class="preprocessor">#include <e32base.h></span>
+<a name="l00020"></a>00020 <span class="preprocessor">#include <e32std.h></span>
+<a name="l00021"></a>00021 <span class="preprocessor">#include "shutdownserver.h"</span>
+<a name="l00022"></a>00022 <span class="preprocessor">#include "processclientserver.h"</span>
+<a name="l00023"></a>00023 <span class="preprocessor">#include "<a class="code" href="driver1_8h.html">driver1.h</a>"</span>
+<a name="l00024"></a>00024
+<a name="l00025"></a>00025 <span class="keyword">class </span>CAsyncHandler;
+<a name="l00029"></a><a class="code" href="class_c_process_server.html">00029</a> <span class="keyword">class </span><a class="code" href="class_c_process_server.html">CProcessServer</a> : <span class="keyword">public</span> CServer2
+<a name="l00030"></a>00030 {
+<a name="l00031"></a>00031 <span class="keyword">public</span>:
+<a name="l00035"></a><a class="code" href="class_c_process_server.html#a82cab30ea5d500e0abc51d39a0889b38">00035</a> <span class="keyword">enum</span> <a class="code" href="class_c_process_server.html#a82cab30ea5d500e0abc51d39a0889b38">TDriverState</a>
+<a name="l00036"></a>00036 {
+<a name="l00037"></a>00037 EStateUnknown,
+<a name="l00038"></a>00038 EDriverLoaded,
+<a name="l00039"></a>00039 ELogicalChannelOpened,
+<a name="l00040"></a>00040 ESendingData,
+<a name="l00041"></a>00041 ELogicalChannelClosed,
+<a name="l00042"></a>00042 EDriverUnloaded
+<a name="l00043"></a>00043 };
+<a name="l00047"></a>00047 <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_c_process_server.html#a239278f30e2253b2d0827752355dbef2">NewLC</a>();
+<a name="l00052"></a>00052 <a class="code" href="class_c_process_server.html#af9cff6818110c62a7ad6a1c19984297b">~CProcessServer</a>();
+<a name="l00057"></a>00057 CSession2* <a class="code" href="class_c_process_server.html#a0025005d37f3cc34dc8e181373980ce9">NewSessionL</a>(<span class="keyword">const</span> TVersion& aVersion,<span class="keyword">const</span> RMessage2& aMessage) <span class="keyword">const</span>;
+<a name="l00062"></a>00062 <span class="keywordtype">void</span> <a class="code" href="class_c_process_server.html#ad113263093aaa3489308e2ecc6f20c87">IncrementRefCount</a>();
+<a name="l00067"></a>00067 <span class="keywordtype">void</span> <a class="code" href="class_c_process_server.html#acc9e2e8092c07e6fbf8aa4f866a1ba89">DecrementRefCount</a>();
+<a name="l00071"></a>00071 TInt <a class="code" href="class_c_process_server.html#a9333ba960d07b42c72d98466b01788ce">LoadDevice</a>();
+<a name="l00075"></a>00075 TInt <a class="code" href="class_c_process_server.html#a3e78b0766ff78223d4ccf77fa717b269">UnloadDevice</a>();
+<a name="l00079"></a>00079 TInt <a class="code" href="class_c_process_server.html#a1861af3b7073acf002b55520397c4678">OpenLogicalChannel</a>();
+<a name="l00083"></a>00083 <span class="keywordtype">void</span> <a class="code" href="class_c_process_server.html#ac381e3ac102f3c720ca1cffec2ab570d">CloseLogicalChannel</a>();
+<a name="l00087"></a>00087 TInt <a class="code" href="class_c_process_server.html#aa1e3677c879b6a531f67267ff63ec214">SendDataToDevice</a>(TRequestStatus& aStatus, <span class="keyword">const</span> TDesC8& aData);
+<a name="l00091"></a>00091 <span class="keywordtype">void</span> <a class="code" href="class_c_process_server.html#a853cb371c075e2f74ac3e28a9a66f38e">CancelSendData</a>();
+<a name="l00095"></a>00095 <span class="keywordtype">void</span> <a class="code" href="class_c_process_server.html#a6af5450445ef1f12826f88a24ec83043">UpdateDriverState</a>(<a class="code" href="class_c_process_server.html#a82cab30ea5d500e0abc51d39a0889b38">TDriverState</a> aState);
+<a name="l00096"></a>00096
+<a name="l00097"></a>00097 <span class="keyword">private</span>:
+<a name="l00098"></a>00098 <a class="code" href="class_c_process_server.html">CProcessServer</a>();
+<a name="l00099"></a>00099 <span class="keywordtype">void</span> ConstructL();
+<a name="l00100"></a>00100
+<a name="l00101"></a>00101 <span class="keyword">private</span>:
+<a name="l00102"></a>00102 TInt iRefCount;
+<a name="l00103"></a>00103 <a class="code" href="class_c_delay_server_shut_down.html">CDelayServerShutDown</a>* iDelayProcessServerShutDown;
+<a name="l00104"></a>00104 <a class="code" href="class_r_driver1.html">RDriver1</a> iDriver;
+<a name="l00105"></a>00105 <a class="code" href="class_c_process_server.html#a82cab30ea5d500e0abc51d39a0889b38">TDriverState</a> iDriverState;
+<a name="l00106"></a>00106 };
+<a name="l00107"></a>00107
+<a name="l00108"></a>00108
+<a name="l00109"></a>00109
+<a name="l00110"></a>00110 <span class="preprocessor">#endif</span>
+</pre></div></div>
+<hr size="1"/><address style="text-align: right;"><small>Generated by
+<a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address>
+</body>
+</html>