appfw/viewserver/inc/vwsinternal.h
changeset 0 2e3d3ce01487
equal deleted inserted replaced
-1:000000000000 0:2e3d3ce01487
       
     1 // Copyright (c) 1999-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 __viewsrv_internal_H__
       
    17 #define __viewsrv_internal_H__
       
    18 
       
    19 #include <e32base.h>
       
    20 #include <gdi.h>
       
    21 #include <vwsdef.h>
       
    22 
       
    23 // Forward declarations.
       
    24 class MVwsAppStarter;
       
    25 class TVwsViewIdAndMessage;
       
    26 class TVwsViewEvent; 
       
    27 
       
    28 //
       
    29 // Panic.
       
    30 //
       
    31 /**
       
    32 @internalComponent
       
    33 */
       
    34 enum TVwsPanic
       
    35 	{
       
    36 	EVwsCreateScheduler=1,
       
    37 	EVwsThreadRename
       
    38 	};
       
    39 
       
    40 /**
       
    41 @internalComponent
       
    42 */
       
    43 GLREF_C void Panic(TVwsPanic aPanic);
       
    44 
       
    45 /**
       
    46 Server thread start.
       
    47 
       
    48 @internalComponent
       
    49 */
       
    50 GLDEF_C TInt ViewServerThreadStart(TAny* aPtr);
       
    51 
       
    52 /**
       
    53 @internalComponent
       
    54 */
       
    55 struct SVwsCommandLine
       
    56 	{
       
    57 	MVwsAppStarter* iAppStarter;
       
    58 	};
       
    59 
       
    60 //
       
    61 // Typedefs.
       
    62 //
       
    63 /**
       
    64 @internalComponent
       
    65 @released
       
    66 */
       
    67 typedef TPckgBuf<TVwsViewIdAndMessage> TVwsViewIdAndMessageBuf;
       
    68 
       
    69 /**
       
    70 @internalComponent
       
    71 @released
       
    72 */
       
    73 typedef TPckgBuf<TVwsViewEvent> TVwsViewEventBuf;
       
    74 
       
    75 #endif
       
    76