Symbian3/SDK/Source/GUID-92DF40DF-3C7C-5052-A78A-A47B8A455C32.dita
changeset 8 ae94777fff8f
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Symbian3/SDK/Source/GUID-92DF40DF-3C7C-5052-A78A-A47B8A455C32.dita	Fri Jun 11 12:39:03 2010 +0100
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. -->
+<!-- This component and the accompanying materials are made available under the terms of the License 
+"Eclipse Public License v1.0" which accompanies this distribution, 
+and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". -->
+<!-- Initial Contributors:
+    Nokia Corporation - initial contribution.
+Contributors: 
+-->
+<!DOCTYPE concept
+  PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd">
+<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>
\ No newline at end of file