Symbian3/SDK/Source/GUID-711C387D-E10C-5469-872A-5B2BDACC9B91.dita
changeset 7 51a74ef9ed63
parent 0 89d6a7a84779
equal deleted inserted replaced
6:43e37759235e 7:51a74ef9ed63
       
     1 <?xml version="1.0" encoding="utf-8"?>
       
     2 <!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. -->
       
     3 <!-- This component and the accompanying materials are made available under the terms of the License 
       
     4 "Eclipse Public License v1.0" which accompanies this distribution, 
       
     5 and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". -->
       
     6 <!-- Initial Contributors:
       
     7     Nokia Corporation - initial contribution.
       
     8 Contributors: 
       
     9 -->
       
    10 <!DOCTYPE concept
       
    11   PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd">
       
    12 <concept id="GUID-711C387D-E10C-5469-872A-5B2BDACC9B91" xml:lang="en"><title>InterfaceImplementation:
       
    13 ECom Interface Implementation Example Code</title><prolog><metadata><keywords/></metadata></prolog><conbody>
       
    14 <section id="GUID-5A40D777-312C-520F-AE12-310723E8D1F2"><title>Download</title> <p>Click
       
    15 on the following link to download the example: <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/zips/guid-4d91db5b-1dd7-43ba-9ce8-1c2a1f08a120.zip" scope="external">ECom.zip</xref></p>Download some additional files required
       
    16 by the example: <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/zips/guid-89fa6105-e749-4e5f-a233-a000e3b9390b.zip" scope="external">CommonFramework</xref><p>Click: <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/guid-4d91db5b-1dd7-43ba-9ce8-1c2a1f08a120.html" scope="peer">browse</xref> to view the example code. </p>View the additional
       
    17 files: <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/guid-89fa6105-e749-4e5f-a233-a000e3b9390b.html" scope="peer">browse</xref>.  </section>
       
    18 <section><title>Description</title> <p> <codeph>InterfaceImplementation</codeph> provides
       
    19 two implementations of the <codeph>CExampleInterface</codeph> interface that
       
    20 is defined in the <filepath>InterfaceDefinition</filepath> example. </p> <p>The
       
    21 implementations, <codeph>CImplementationClassOne</codeph> and <codeph>CImplementationClassTwo</codeph>,
       
    22 each define <codeph>CExampleInterface</codeph>'s virtual <codeph>DoMethodL()</codeph> function
       
    23 to return a string, and to set an integer parameter passed by the client. </p> <p>The <filepath>10009DB1.rss</filepath> file
       
    24 contains a <codeph>REGISTRY_INFO</codeph> resource that declares ECom registration
       
    25 information for the two implementations. </p> </section>
       
    26 <section><title>Usage</title> <p>Building <filepath>InterfaceImplementation</filepath> produces
       
    27 a DLL, <filepath>EComExample.dll</filepath>, and compiled resource file, <filepath>EComExample.rsc</filepath>,
       
    28 in the <filepath>\resource\plugins\</filepath> directory. </p> <p>A
       
    29 client program that accesses these implementations is provided in the <xref href="GUID-7B4A78D8-64BB-550E-ABC0-255312351215.dita">Interface Client</xref> example. </p> </section>
       
    30 </conbody></concept>