equal
deleted
inserted
replaced
|
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 task |
|
11 PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"> |
|
12 <task id="GUID-BA1FA926-8511-4D31-AD01-4A8BCABB825D" xml:lang="en"><title>Retrieving |
|
13 the status of the lights</title><prolog><metadata><keywords/></metadata></prolog><taskbody> |
|
14 <context> <p>Retrieve the status of various lights by calling <codeph>LightStatus()</codeph> method. |
|
15 This method can be used to find the status of only one target at a time. The |
|
16 function is called by passing a target as a parameter.</p><p>The following |
|
17 code snippet demonstrates how a client retrieves the status of the primary |
|
18 display on the device:</p><codeblock xml:space="preserve">CHWRMExtendedLight::TLightStatus lightstatus = iLight->LightStatus( CHWRMExtendedlight::EPrimaryDisplay );</codeblock></context> |
|
19 </taskbody></task> |