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-C9BEF1C4-F14A-5386-9DA8-29358694D7AA" xml:lang="en"><title>CClasses: |
12 <concept id="GUID-C9BEF1C4-F14A-5386-9DA8-29358694D7AA" xml:lang="en"><title>CClasses: typical ‘C’ class</title><prolog><metadata><keywords/></metadata></prolog><conbody> |
13 typical ‘C’ class</title><prolog><metadata><keywords/></metadata></prolog><conbody> |
13 <section id="GUID-7137F634-A1D6-46F8-BEAC-9A5DA7368F67"><title>Description</title> <p>This shows a typical ‘C’ class, |
14 <section><title>Description</title> <p>This shows a typical ‘C’ class, derived |
14 derived from <codeph>CBase</codeph>, and highlights the use of two |
15 from <codeph>CBase</codeph>, and highlights the use of two phase construction |
15 phase construction and use of the cleanup stack to implement the complete |
16 and use of the cleanup stack to implement the complete construction of an |
16 construction of an instance of that class on the heap. </p> </section> |
17 instance of that class on the heap. </p> </section> |
17 <section id="GUID-C2E2DB97-35FE-4EB4-868E-BAE01C3C1D54"><title>Download</title> <p>Click on the following link to |
18 <section><title>Download</title> <p>Click on the following link to download |
18 download the example: <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/zips/guid-f7ec77dd-0d09-4301-be78-4c7fb7b8b3e9.zip" scope="external"> CClasses.zip</xref></p><p>Click on the following |
19 the example: <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/zips/guid-f7ec77dd-0d09-4301-be78-4c7fb7b8b3e9.zip" scope="external"> CClasses.zip</xref></p><p>Click on the following link to |
19 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 <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/guid-f7ec77dd-0d09-4301-be78-4c7fb7b8b3e9.html" scope="peer"> browse CClasses</xref> to view the example code. </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 additional files.</p></section> |
20 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 <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/guid-f7ec77dd-0d09-4301-be78-4c7fb7b8b3e9.html" scope="peer"> browse CClasses</xref> to view the example code. </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 additional |
20 <section id="GUID-8D419ABB-3FC2-4DD4-9814-EF952F962869"><title>Class summary</title><p><xref href="GUID-8F6FE089-E2A8-30F4-B67E-10F286347681.dita"><apiname>CBase </apiname></xref> <xref href="GUID-0DD554D7-B9B1-3FD3-898F-4D855144FCEA.dita"><apiname>CleanupStack </apiname></xref> </p></section> |
21 files.</p></section> |
21 <section id="GUID-920B0AEB-7E47-49DF-8F10-00CD759BEF5B"><title>Build</title> <p>The example source code includes |
22 <section><title>Class summary</title><p><xref href="GUID-8F6FE089-E2A8-30F4-B67E-10F286347681.dita"><apiname>CBase </apiname></xref> <xref href="GUID-0DD554D7-B9B1-3FD3-898F-4D855144FCEA.dita"><apiname>CleanupStack </apiname></xref> </p></section> |
22 the two project files needed for building: <filepath>bld.inf</filepath> and the <filepath>.mmp</filepath> file. </p> <p> The Symbian platform |
23 <section><title>Build</title> <p>The example source code includes the two |
23 build process describes how to build this application, which results |
24 project 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 |
24 in an executable called: </p> <p> <filepath>\epoc32\release\<target>\<urel |
25 process</xref> describes how to build this application, which results in an |
|
26 executable called: </p> <p> <filepath>\epoc32\release\<target>\<urel |
|
27 or udeb>\CCLASSES.EXE</filepath>. </p> </section> |
25 or udeb>\CCLASSES.EXE</filepath>. </p> </section> |
28 <section><title>Usage</title> <p>Run the executable <filepath>CCLASSES.EXE</filepath>. </p> <p>Executables |
26 <section id="GUID-741B2C92-DE6A-406C-9371-050618B1DEFF"><title>Usage</title> <p>Run the executable <filepath>CCLASSES.EXE</filepath>. </p> <p>Executables for the emulator targets <filepath>wins</filepath> and <filepath>winscw</filepath> can be run on your PC. Executables |
29 for the emulator targets <filepath>wins</filepath> and <filepath>winscw</filepath> can |
27 for ARM targets must be copied to your target platform before being |
30 be run on your PC. Executables for ARM targets must be copied to your target |
28 run. </p> </section> |
31 platform before being run. </p> </section> |
|
32 </conbody></concept> |
29 </conbody></concept> |