Symbian3/SDK/Source/GUID-92DF40DF-3C7C-5052-A78A-A47B8A455C32.dita
changeset 8 ae94777fff8f
equal deleted inserted replaced
7:51a74ef9ed63 8:ae94777fff8f
       
     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 xml:lang="en" id="GUID-92DF40DF-3C7C-5052-A78A-A47B8A455C32"><title>About the Window server example code</title><prolog><metadata><keywords/></metadata></prolog><conbody><p>These examples show how to use the Window Server Client-Side API. Note that these examples create windows directly rather than going through the UI Control Framework, as standard applications would do. </p> <p>The source files for the examples can be found under: <filepath>examples\Graphics\WS\</filepath>. The following files are common to several of them: </p> <ul><li id="GUID-E1C16CA2-D759-5BB9-A4F4-FF6ED569C7E2"><p> <filepath>AppHolder.cpp</filepath> provides the standard GUI application framework classes. The only command handling provided is a menu with a <codeph>Close</codeph> command. </p> </li> <li id="GUID-D5B94922-F499-5E9A-B591-2DD414D204E9"><p> <filepath>Base.cpp</filepath> provides base classes that use the window server. <codeph>CWsClient</codeph> handles the connection to the window server: it is an active object that issues a request for window server events, and handles them in its <codeph>RunL()</codeph>. <codeph>CWindow</codeph> encapsulates a basic window. </p> </li> <li id="GUID-ED0CD7E0-464B-5B01-9DA0-CA6EB04990D5"><p> <varname>project-name</varname> <filepath>.cpp</filepath> provides most of the code specific to a particular example. Typically, they sub-class <codeph>CWsClient</codeph> and <codeph>CWindow</codeph>. </p> </li> </ul> </conbody></concept>