lafagnosticuifoundation/cone/src/coepriv.h
changeset 0 2f259fa3e83a
child 51 fcdfafb36fe7
equal deleted inserted replaced
-1:000000000000 0:2f259fa3e83a
       
     1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 #ifndef __COEPRIV_H__
       
    17 #define __COEPRIV_H__
       
    18 
       
    19 #include <e32base.h>
       
    20 #include <w32std.h>
       
    21 #include <coemain.h>
       
    22 #include <coedef.h>
       
    23 #include <coeaui.h>
       
    24 
       
    25 
       
    26 class RWsSession;
       
    27 
       
    28 /**
       
    29  * The CCoeRedrawer class implements an active monitor of redraw events from the
       
    30  * window server for internal use by Cone.
       
    31  *
       
    32  */ 
       
    33 class CCoeRedrawer : public CActive
       
    34 	{
       
    35 public:
       
    36 	CCoeRedrawer(RWsSession& aWsSession);
       
    37 	~CCoeRedrawer();
       
    38 private:
       
    39 	void Queue();
       
    40 	// from CActive
       
    41 	virtual void RunL();
       
    42 	virtual void DoCancel();
       
    43 private:
       
    44 	RWsSession& iWsSession;
       
    45 	TBool iFirstRunL;
       
    46 	};
       
    47 
       
    48 class CCoeEnv;
       
    49 
       
    50 
       
    51 /**
       
    52  * The CCoeView class encapsulates a view with its own control stack for use in internal view management.
       
    53  *
       
    54  */
       
    55 class CCoeView : public CBase
       
    56 	{
       
    57 public:
       
    58 	static CCoeView* NewLC(MCoeView& aView);
       
    59 private:
       
    60 	CCoeView(MCoeView& aView);
       
    61 public:
       
    62 	MCoeView& iView;
       
    63 	TBool iConstructed;
       
    64 	};
       
    65 
       
    66 
       
    67 const TUid KUidTopViewId = {270559570};// as special command, i.e., hacking
       
    68 #endif	// __COEPRIV_H__