examples/Graphics/WS/PtBuffer/PointerMoveBuffer.h

00001 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
00002 // All rights reserved.
00003 // This component and the accompanying materials are made available
00004 // under the terms of "Eclipse Public License v1.0"
00005 // which accompanies this distribution, and is available
00006 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
00007 //
00008 // Initial Contributors:
00009 // Nokia Corporation - initial contribution.
00010 //
00011 // Contributors:
00012 //
00013 // Description:
00014 //
00015 
00016 
00017 #if !defined(__WINORD1_H__)
00018 #define __WINORD1_H__
00019 
00020 #include "Base.h"
00021 
00023 //                                              Derived window classes
00025 
00026 class CMainWindow : public CWindow
00027         {
00028 public:
00029         CMainWindow (CWsClient* aClient);
00030         ~CMainWindow ();
00031         void Draw (const TRect& aRect);
00032         void HandlePointerEvent (TPointerEvent& aPointerEvent);
00033         void HandlePointerMoveBufferReady ();
00034         };
00035 
00037 //                                              Derived client class
00039 
00040 class CExampleWsClient : public CWsClient
00041         {
00042 public:
00043         static CExampleWsClient* NewL(const TRect& aRect);
00044         ~CExampleWsClient ();
00045 private:
00046         CExampleWsClient (const TRect& aRect);
00047         void ConstructMainWindowL();
00048         void RunL ();
00049         void HandleKeyEventL (TKeyEvent& aKeyEvent);
00050 private:
00051         CMainWindow*    iMainWindow;
00052         const TRect& iRect;
00053         };
00054 
00055 #endif

Generated by  doxygen 1.6.2