equal
deleted
inserted
replaced
12 <concept id="GUID-A15EDC87-A6EF-40D8-AA78-B52449465FEA" xml:lang="en"><title>Receiving |
12 <concept id="GUID-A15EDC87-A6EF-40D8-AA78-B52449465FEA" xml:lang="en"><title>Receiving |
13 long-tap events</title><prolog><metadata><keywords/></metadata></prolog><conbody> |
13 long-tap events</title><prolog><metadata><keywords/></metadata></prolog><conbody> |
14 <p>To receive long-tap events in your application using the Touch UI utilities |
14 <p>To receive long-tap events in your application using the Touch UI utilities |
15 API, follow the steps below:</p> |
15 API, follow the steps below:</p> |
16 <ol> |
16 <ol> |
17 <li id="GUID-4726E563-99AA-42E8-8AED-63BC9F176A83"><p>Link the Avkon libraries <codeph>avkon.lib</codeph> and <codeph>eikcoctl.lib</codeph> to |
17 <li id="GUID-4726E563-99AA-42E8-8AED-63BC9F176A83"><p>Link the AVKON libraries <codeph>avkon.lib</codeph> and <codeph>eikcoctl.lib</codeph> to |
18 the project file of the application.</p></li> |
18 the project file of the application.</p></li> |
19 <li id="GUID-95DE053E-A494-4C33-8FDB-125C77370EC1"><p>Provide an observer |
19 <li id="GUID-95DE053E-A494-4C33-8FDB-125C77370EC1"><p>Provide an observer |
20 class that implements the <codeph>MAknLongTapDetectorCallBack</codeph> interface.</p></li> |
20 class that implements the <codeph>MAknLongTapDetectorCallBack</codeph> interface.</p></li> |
21 <li id="GUID-3E2B0808-78F8-48B6-8A58-B1A41C8DB5D6"><p>Create an instance of |
21 <li id="GUID-3E2B0808-78F8-48B6-8A58-B1A41C8DB5D6"><p>Create an instance of |
22 the class <codeph>CAknLongTapDetector</codeph> and pass pointer events to |
22 the class <codeph>CAknLongTapDetector</codeph> and pass pointer events to |
27 detector.</p></li> |
27 detector.</p></li> |
28 </ol> |
28 </ol> |
29 <p>Use cases for the long-tap detector are shown in the figure below.</p> |
29 <p>Use cases for the long-tap detector are shown in the figure below.</p> |
30 <fig id="GUID-1439445E-81AB-4AA4-86E0-00F53CD46D8F"> |
30 <fig id="GUID-1439445E-81AB-4AA4-86E0-00F53CD46D8F"> |
31 <title>Touch UI utilities API use cases</title> |
31 <title>Touch UI utilities API use cases</title> |
32 <image href="GUID-B4834A49-587E-41AD-B0D3-0622B173B2AD_d0e75730_href.png" scale="70" placement="inline"/> |
32 <image href="GUID-B4834A49-587E-41AD-B0D3-0622B173B2AD_d0e108503_href.png" scale="70" placement="inline"/> |
33 </fig> |
33 </fig> |
34 <p>To use the Touch UI utilities long-tap detector in your application, implement |
34 <p>To use the Touch UI utilities long-tap detector in your application, implement |
35 the following use cases.</p> |
35 the following use cases.</p> |
36 <ul> |
36 <ul> |
37 <li><p><xref href="GUID-4102F39E-6215-44AD-9E30-6D8E86114D7D.dita">Creating the |
37 <li><p><xref href="GUID-4102F39E-6215-44AD-9E30-6D8E86114D7D.dita">Creating the |