Symbian3/PDK/Source/GUID-7CFE584D-B605-5A3E-9294-84A28003000B.dita
changeset 14 578be2adaf3e
parent 5 f345bda72bc4
--- a/Symbian3/PDK/Source/GUID-7CFE584D-B605-5A3E-9294-84A28003000B.dita	Tue Jul 20 12:00:49 2010 +0100
+++ b/Symbian3/PDK/Source/GUID-7CFE584D-B605-5A3E-9294-84A28003000B.dita	Fri Aug 13 16:47:46 2010 +0100
@@ -1,17 +1,17 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. -->
-<!-- This component and the accompanying materials are made available under the terms of the License 
-"Eclipse Public License v1.0" which accompanies this distribution, 
-and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". -->
-<!-- Initial Contributors:
-    Nokia Corporation - initial contribution.
-Contributors: 
--->
-<!DOCTYPE concept
-  PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd">
-<concept xml:lang="en" id="GUID-7CFE584D-B605-5A3E-9294-84A28003000B"><title>Implementing a Filter</title><prolog><metadata><keywords/></metadata></prolog><conbody><p>A Filter authenticates incoming requests. It is an ECOM plug-in loaded by the PTP-IP Controller process. This section describes how to implement a Filter. </p> <section><title>Procedure</title> <ol id="GUID-220811B8-5875-57F1-BA13-5AD5A9D5F1EE"><li id="GUID-2451B847-E41F-54D9-99D5-CF9D31BD94EF"><p>implement the <codeph>MPTPIPHostFilter::Accept()</codeph> function. </p> <p>The filter examines the parameters such as <b>Host GUID</b> and <b>Host Friendly Name</b> from PTP-IP Controller process to filter the requests. </p> <codeblock id="GUID-40E8954E-956F-579A-8203-151B71F66430" xml:space="preserve">void Accept ( 
-                  const TDesC&amp; aHostFriendlyName,
-                  TDesC8&amp; aHostGUID,
-                  TRequestStatus&amp; aStatus);</codeblock> <p>You must include the <filepath>ptpipfilterapi.lib</filepath> and <filepath>cptpiphostfilter.h</filepath> files. </p> <p> <b>Note</b>: A filter can also be used to invoke a dialog box to accept or reject an incoming request. </p> </li> </ol> </section> </conbody><related-links><link href="GUID-2D872656-7FD3-56D2-B084-8CC84E8453A4.dita"><linktext>MTP over
-                PTP-IP Overview</linktext> </link> <link href="GUID-143DAD71-9BCA-52D3-8BC8-AE80DBF05636.dita"><linktext>Using PTP-IP
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. -->
+<!-- This component and the accompanying materials are made available under the terms of the License 
+"Eclipse Public License v1.0" which accompanies this distribution, 
+and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". -->
+<!-- Initial Contributors:
+    Nokia Corporation - initial contribution.
+Contributors: 
+-->
+<!DOCTYPE concept
+  PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd">
+<concept xml:lang="en" id="GUID-7CFE584D-B605-5A3E-9294-84A28003000B"><title>Implementing a Filter</title><prolog><metadata><keywords/></metadata></prolog><conbody><p>A Filter authenticates incoming requests. It is an ECOM plug-in loaded by the PTP-IP Controller process. This section describes how to implement a Filter. </p> <section><title>Procedure</title> <ol id="GUID-220811B8-5875-57F1-BA13-5AD5A9D5F1EE"><li id="GUID-2451B847-E41F-54D9-99D5-CF9D31BD94EF"><p>implement the <codeph>MPTPIPHostFilter::Accept()</codeph> function. </p> <p>The filter examines the parameters such as <b>Host GUID</b> and <b>Host Friendly Name</b> from PTP-IP Controller process to filter the requests. </p> <codeblock id="GUID-40E8954E-956F-579A-8203-151B71F66430" xml:space="preserve">void Accept ( 
+                  const TDesC&amp; aHostFriendlyName,
+                  TDesC8&amp; aHostGUID,
+                  TRequestStatus&amp; aStatus);</codeblock> <p>You must include the <filepath>ptpipfilterapi.lib</filepath> and <filepath>cptpiphostfilter.h</filepath> files. </p> <p> <b>Note</b>: A filter can also be used to invoke a dialog box to accept or reject an incoming request. </p> </li> </ol> </section> </conbody><related-links><link href="GUID-2D872656-7FD3-56D2-B084-8CC84E8453A4.dita"><linktext>MTP over
+                PTP-IP Overview</linktext> </link> <link href="GUID-143DAD71-9BCA-52D3-8BC8-AE80DBF05636.dita"><linktext>Using PTP-IP
                 Controller</linktext> </link> <link href="GUID-24CF2B94-5F10-57D9-B0D4-E56A80266595.dita"><linktext>Implementing a Listener</linktext> </link> </related-links></concept>
\ No newline at end of file