7 Nokia Corporation - initial contribution. |
7 Nokia Corporation - initial contribution. |
8 Contributors: |
8 Contributors: |
9 --> |
9 --> |
10 <!DOCTYPE concept |
10 <!DOCTYPE concept |
11 PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd"> |
11 PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd"> |
12 <concept id="GUID-07791D92-4B0F-5D11-9874-4C03FA1A2C02" xml:lang="en"><title>MClasses1-3: |
12 <concept id="GUID-07791D92-4B0F-5D11-9874-4C03FA1A2C02" xml:lang="en"><title>MClasses1-3: abstract interface classes</title><prolog><metadata><keywords/></metadata></prolog><conbody> |
13 abstract interface classes</title><prolog><metadata><keywords/></metadata></prolog><conbody> |
13 <section id="GUID-98902784-1ACF-4AD3-B63B-E0F5583469AE"><title>Description</title> <p>The three examples show the |
14 <section><title>Description</title> <p>The three examples show the use of |
14 use of ‘M’ (abstract interface) classes, the only type of multiple |
15 ‘M’ (abstract interface) classes, the only type of multiple inheritance used |
15 inheritance used on the Symbian platform. </p> <p>They show how interfaces |
16 on the Symbian platform. </p> <p>They show how interfaces can be used to define |
16 can be used to define a protocol. The interface is implemented by |
17 a protocol. The interface is implemented by a protocol provider, and called |
17 a protocol provider, and called by a protocol user. The user is not |
18 by a protocol user. The user is not supposed to know anything about the provider's |
18 supposed to know anything about the provider's implementation, only |
19 implementation, only about the protocol it's interested in. </p> </section> |
19 about the protocol it's interested in. </p> </section> |
20 <section><title>Download</title> <p>Click on the following links to download |
20 <section id="GUID-0695D4FF-9177-4005-A21E-29EDE8D7E8B9"><title>Download</title> <p>Click on the following links to |
21 the examples: </p><p><xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/zips/guid-58f282fd-d552-4f00-a0db-9d15054c1f1b.zip" scope="external">MClasses1.zip </xref></p><p><xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/zips/guid-7c247e26-e8e4-4d94-9dc8-287b73e6ccb7.zip" scope="external">MClasses2.zip </xref></p><p><xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/zips/guid-e67b5701-f1ec-4c9a-85f0-a44117c97673.zip" scope="external">MClasses3.zip </xref></p><p>Click on the following link to |
21 download the examples: </p><p><xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/zips/guid-58f282fd-d552-4f00-a0db-9d15054c1f1b.zip" scope="external">MClasses1.zip </xref></p><p><xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/zips/guid-7c247e26-e8e4-4d94-9dc8-287b73e6ccb7.zip" scope="external">MClasses2.zip </xref></p><p><xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/zips/guid-e67b5701-f1ec-4c9a-85f0-a44117c97673.zip" scope="external">MClasses3.zip </xref></p><p>Click on the following |
22 download additional files: <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/zips/guid-bd05bfa4-e51c-4cf7-b327-646b0b9e814d.zip" scope="external">CommonFramework.zip</xref>.</p><p>Click the following links |
22 link to download additional files: <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/zips/guid-bd05bfa4-e51c-4cf7-b327-646b0b9e814d.zip" scope="external">CommonFramework.zip</xref>.</p><p>Click the following |
23 to view the example code.</p><p><xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/guid-58f282fd-d552-4f00-a0db-9d15054c1f1b.html" scope="peer">MClasses1 </xref> </p><p><xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/guid-7c247e26-e8e4-4d94-9dc8-287b73e6ccb7.html" scope="peer">MClasses2 </xref></p><p><xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/guid-e67b5701-f1ec-4c9a-85f0-a44117c97673.html" scope="peer">MClasses3 </xref> </p><p>Click <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/guid-bd05bfa4-e51c-4cf7-b327-646b0b9e814d.html" scope="peer">browse CommonFramework</xref> to view the additional |
23 links to view the example code.</p><p><xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/guid-58f282fd-d552-4f00-a0db-9d15054c1f1b.html" scope="peer">MClasses1 </xref> </p><p><xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/guid-7c247e26-e8e4-4d94-9dc8-287b73e6ccb7.html" scope="peer">MClasses2 </xref></p><p><xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/guid-e67b5701-f1ec-4c9a-85f0-a44117c97673.html" scope="peer">MClasses3 </xref> </p><p>Click <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/guid-bd05bfa4-e51c-4cf7-b327-646b0b9e814d.html" scope="peer">browse CommonFramework</xref> to view the additional |
24 files.</p> </section> |
24 files.</p> </section> |
25 <section><title>Build</title> <p>The examples each include the two project |
25 <section id="GUID-62AED2C3-EB1E-45EB-AE2E-1817FB4D72A4"><title>Build</title> <p>The examples each include the two |
26 files needed for building: <filepath>bld.inf</filepath> and the <filepath>.mmp</filepath> file. </p> <p><xref href="GUID-3100800B-B2F7-50EF-BD4C-3C345ECCB2A5.dita">The Symbian platform build |
26 project files needed for building: <filepath>bld.inf</filepath> and |
27 process</xref> describes how to build these applications. They results in |
27 the <filepath>.mmp</filepath> file. </p> <p> The Symbian platform |
28 executables called: </p> <p> <filepath>\epoc32\release\<target>\<urel |
28 build process describes how to build these applications. They result |
|
29 in executables called: </p> <p> <filepath>\epoc32\release\<target>\<urel |
29 or udeb>\MCLASSES1.EXE</filepath>. </p> <p> <filepath>\epoc32\release\<target>\<urel |
30 or udeb>\MCLASSES1.EXE</filepath>. </p> <p> <filepath>\epoc32\release\<target>\<urel |
30 or udeb>\MCLASSES2.EXE</filepath>. </p> <p> <filepath>\epoc32\release\<target>\<urel |
31 or udeb>\MCLASSES2.EXE</filepath>. </p> <p> <filepath>\epoc32\release\<target>\<urel |
31 or udeb>\MCLASSES3.EXE</filepath>. </p> </section> |
32 or udeb>\MCLASSES3.EXE</filepath>. </p> </section> |
32 <section><title>Usage</title> <p>Run the executables <filepath>MCLASSES1.EXE</filepath>, <filepath>MCLASSES2.EXE</filepath> and <filepath>MCLASSES3.EXE</filepath>. </p> <p>Executables for the emulator targets <filepath>wins</filepath> and <filepath>winscw</filepath> can |
33 <section id="GUID-F7654084-81BB-453C-BEE9-0E05F7CF2415"><title>Usage</title> <p>Run the executables <filepath>MCLASSES1.EXE</filepath>, <filepath>MCLASSES2.EXE</filepath> and <filepath>MCLASSES3.EXE</filepath>. </p> <p>Executables for the emulator targets <filepath>wins</filepath> and <filepath>winscw</filepath> can be run on your PC. Executables |
33 be run on your PC. Executables for ARM targets must be copied to your target |
34 for ARM targets must be copied to your target platform before being |
34 platform before being run. </p> </section> |
35 run. </p> </section> |
35 </conbody></concept> |
36 </conbody></concept> |