uiacceltk/hitchcock/plugins/alftranseffect/alftranseffectplugin/inc/states.h
changeset 0 15bf7259bb7c
equal deleted inserted replaced
-1:000000000000 0:15bf7259bb7c
       
     1 /*
       
     2 * Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:   State machine state implementations
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef _STATES_H_
       
    20 #define _STATES_H_
       
    21 
       
    22 #include "statehandler.h"
       
    23 
       
    24 /**
       
    25  * Resting state
       
    26  */
       
    27 NONSHARABLE_CLASS(CRestingState) : public CStateBase
       
    28 	{
       
    29 	CRestingState(MAlfDrawerEngine& aEngine, CStateHandler& aHandler);
       
    30 public:	
       
    31 	static CStateBase* NewL(MAlfDrawerEngine& aEngine, CStateHandler& aHandler);
       
    32 	CStateBase* SignalL(TSignal aSignal);
       
    33 	};
       
    34 
       
    35 /**
       
    36  * Control Transition ongoing
       
    37  */
       
    38 NONSHARABLE_CLASS(CControlState) : public CStateBase
       
    39 	{
       
    40 	CControlState(MAlfDrawerEngine& aEngine, CStateHandler& aHandler);
       
    41 public:	
       
    42 	static CStateBase* NewL(MAlfDrawerEngine& aEngine, CStateHandler& aHandler);
       
    43 	CStateBase* SignalL(TSignal aSignal);
       
    44 	};
       
    45 
       
    46 /**
       
    47  * First phase of fullscreen transition 
       
    48  * (BeginFullscreen received, but not yet EndFullscreen)
       
    49  */
       
    50 NONSHARABLE_CLASS(CPhase1State) : public CStateBase
       
    51 	{
       
    52 	CPhase1State(MAlfDrawerEngine& aEngine, CStateHandler& aHandler);
       
    53 public:	
       
    54 	static CStateBase* NewL(MAlfDrawerEngine& aEngine, CStateHandler& aHandler);
       
    55 	CStateBase* SignalL(TSignal aSignal);
       
    56 	};
       
    57 
       
    58 /**
       
    59  * Second phase of fullscreen transition
       
    60  * (EndFullscreen has been received.)
       
    61  */
       
    62 NONSHARABLE_CLASS(CPhase2State) : public CStateBase
       
    63 	{
       
    64 	CPhase2State(MAlfDrawerEngine& aEngine, CStateHandler& aHandler);
       
    65 public:	
       
    66 	static CStateBase* NewL(MAlfDrawerEngine& aEngine, CStateHandler& aHandler);
       
    67 	CStateBase* SignalL(TSignal aSignal);
       
    68 	};
       
    69 
       
    70 
       
    71 
       
    72 #endif