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 reference |
|
11 PUBLIC "-//OASIS//DTD DITA Reference//EN" "reference.dtd"> |
|
12 <reference id="GUID-79B02562-B6E6-5DF9-BF98-F015C73A448C-GENID-1-8-1-6-1-1-4-1-9-1-4-1" xml:lang="en"><title>Clock: |
|
13 Analog and Digital Clocks example</title><shortdesc> </shortdesc><prolog><metadata><keywords/></metadata></prolog><refbody> |
|
14 <section id="GUID-4DE456B7-D724-5591-93BE-ECDDC2CDFF89-GENID-1-8-1-6-1-1-4-1-9-1-4-1-3-1"><title>Purpose</title> <p>This |
|
15 example shows how to create and display a digital and analog clock. For more |
|
16 information about the API, see <xref href="GUID-A36C2DE6-21D8-5558-B223-1E81CEB16891-GENID-1-8-1-3-1-1-6-1-3-1.dita">Clock |
|
17 Overview</xref>. </p> </section> |
|
18 <section id="GUID-1C52A2F4-43C6-5C58-8FC1-0B90BAEAFCC7-GENID-1-8-1-6-1-1-4-1-9-1-4-1-3-2"><title>Download</title> <p>Click |
|
19 on the following link to download the example: <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/zips/guid-c26b23db-9a81-4fff-859b-ef08686838eb.zip" scope="external"> ClockExample.zip</xref></p><p>Click: <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/guid-c26b23db-9a81-4fff-859b-ef08686838eb.html" scope="peer">browse</xref> to view the example code. </p> </section> |
|
20 <section><title>Class Summary</title><p><xref href="GUID-30479BE3-296E-3B4D-914D-B080ABD733E4.dita"><apiname> CWsScreenDevice </apiname></xref></p><p><xref href="GUID-DE966D8B-6E00-39B6-B136-6CF29EA384D3.dita"><apiname> CFbsFont</apiname></xref></p><p><xref href="GUID-F84C7F40-6DEB-39D1-B172-CB0CC3918E27.dita"><apiname> |
|
21 TRgb</apiname></xref></p><p><xref href="GUID-0D6ECBF5-EC03-3BF7-9C74-C0EC9BAF0CE6.dita"><apiname> TAnalogDisplayHand</apiname></xref></p><p><xref href="GUID-8197A30D-29FD-3325-810D-EBCC2F970588.dita"><apiname> |
|
22 STimeDeviceShadow</apiname></xref></p><p><xref href="GUID-800B3667-F45F-391F-A8A9-F876FB4ABC34.dita"><apiname> RAnimDll</apiname></xref></p><p><xref href="GUID-17CFBF88-1C4A-3CAD-9299-C1698FA20401.dita"><apiname> |
|
23 RDigitalClock</apiname></xref></p><p><xref href="GUID-6D7509CD-7AD9-3C5D-AFDB-6F23D17224C7.dita"><apiname> RAnalogClock </apiname></xref></p></section> |
|
24 <section id="GUID-92648AEA-CFFA-559E-908E-5BA84FF0C984-GENID-1-8-1-6-1-1-4-1-9-1-4-1-3-4"><title>Building and |
|
25 configuring</title> <p>To build the example: </p> <ul> |
|
26 <li id="GUID-6CB77721-3A36-541D-B994-73D89D487678-GENID-1-8-1-6-1-1-4-1-9-1-4-1-3-4-3-1"><p>You can build the example |
|
27 from your IDE or the command line. </p> <p>If you use an IDE, import the <filepath>bld.inf</filepath> file |
|
28 of the example into your IDE, and use the build command of the IDE. </p> <p>If |
|
29 you use the command line, open a command prompt, and set the current directory |
|
30 to the source code directory of the example. You can then build the example |
|
31 with the SBSv1 build tools with the following commands: </p> <p><userinput>bldmake |
|
32 bldfiles</userinput> </p> <p><userinput>abld build</userinput> </p> <p><xref href="GUID-793A5EF9-CC16-5EEB-9011-6431EA76EB15.dita">How to use bldmake</xref> and <xref href="GUID-B6B54E07-3B34-5D5C-8815-93383FA8FB4B.dita">How to use abld</xref> describe |
|
33 how to use the SBSv1 build tools. </p> </li> |
|
34 <li id="GUID-7995C8BC-28D3-59A8-94E1-2957C1C3729A-GENID-1-8-1-6-1-1-4-1-9-1-4-1-3-4-3-2"><p>For the emulator, the |
|
35 example builds an executable called <filepath>clockexample.exe</filepath> in |
|
36 the <filepath>epoc32\release\winscw\<udeb or urel>\</filepath> folder. </p> </li> |
|
37 </ul> </section> |
|
38 </refbody><related-links> |
|
39 <link href="GUID-A36C2DE6-21D8-5558-B223-1E81CEB16891-GENID-1-8-1-3-1-1-6-1-3-1.dita"><linktext>Clock Overview</linktext> |
|
40 </link> |
|
41 </related-links></reference> |
|