Symbian3/SDK/Source/GUID-52D2B0A4-1535-5D41-BF4C-06745C0588F6.dita
changeset 7 51a74ef9ed63
parent 0 89d6a7a84779
equal deleted inserted replaced
6:43e37759235e 7:51a74ef9ed63
       
     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 concept
       
    11   PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd">
       
    12 <concept id="GUID-52D2B0A4-1535-5D41-BF4C-06745C0588F6" xml:lang="en"><title>How
       
    13 to use a notifier to display a single line message, synchronously</title><shortdesc>Provides a code snippet to show you how to use a notifier to display
       
    14 a single line message synchronously.</shortdesc><prolog><metadata><keywords/></metadata></prolog><conbody>
       
    15 <p>To display a single line message synchronously, use the static function <xref href="GUID-C197C9A7-EA05-3F24-9854-542E984C612D.dita#GUID-C197C9A7-EA05-3F24-9854-542E984C612D/GUID-EEF84AA0-A277-390D-BFAB-CF50C94DF18D"><apiname>User::InfoPrint()</apiname></xref>.
       
    16 The following code fragment shows how: </p>
       
    17 <codeblock id="GUID-AFACC095-EA67-5926-AC2C-BDF14C7BCF4A" xml:space="preserve">{
       
    18 ...
       
    19 _LIT(KTxtMsg,"A message");
       
    20 ...
       
    21 User::InfoPrint(KTxtMsg);
       
    22 ...
       
    23 }</codeblock>
       
    24 <p> <xref href="GUID-C197C9A7-EA05-3F24-9854-542E984C612D.dita#GUID-C197C9A7-EA05-3F24-9854-542E984C612D/GUID-EEF84AA0-A277-390D-BFAB-CF50C94DF18D"><apiname>User::InfoPrint()</apiname></xref> uses an <xref href="GUID-A6B66713-FECA-3BE7-BB81-1AE5551AD83D.dita"><apiname>RNotifier</apiname></xref> object
       
    25 in its implementation, but you do <i>not</i> need to use the object to display
       
    26 the message. </p>
       
    27 </conbody></concept>