idlefw/inc/framework/aipluginstate.h
branchRCL_3
changeset 8 d0529222e3f0
parent 4 1a2a00e78665
child 11 bd874ee5e5e2
--- a/idlefw/inc/framework/aipluginstate.h	Tue Feb 02 00:23:10 2010 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,74 +0,0 @@
-/*
-* Copyright (c) 2005-2006 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of "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:
-*
-* Description:  Plugin state main class
-*
-*/
-
-
-#ifndef M_AIPLUGINSTATE_H
-#define M_AIPLUGINSTATE_H
-
-#include "aipluginstatemachine.h"
-
-/**
- * Plugin state interface.
- * 
- *  @lib aifw
- *  @since S60 3.2
- */
-class MAiPluginState
-    {
-public:
-    
-    /**
-     * This method is called when state is entered.
-     * 
-     * @param aStateMachine reference to the owning state machine.
-     * @param aStateChange the system state variable change that caused this 
-     *        state change.
-     */
-    virtual void Enter( MAiPluginStateMachine& aStateMachine,
-                        TAiStateChanges aStateChange ) = 0;
-    
-    /**
-     * This method handles system state variable state changes
-     * handles events in the current state.
-     * 
-     * @param aStateMachine reference to the owning state machine.
-     * @param aStateChange the system state variable change that is the cause
-     *        of this event.
-     * @return TBool did the state handle the event.
-     */
-    virtual TBool HandleEvent( MAiPluginStateMachine& aStateMachine,
-                              TAiStateChanges aStateChange ) = 0;
-    
-    /**
-     * This method is called when state is exited.
-     * 
-     * @param aStateMachine reference to the owning state machine.
-     * @param aStateChange the system state variable change that caused this 
-     *        state change.
-     */
-    virtual void Exit( MAiPluginStateMachine& aStateMachine,
-                       TAiStateChanges aStateChange ) = 0;
-
-protected:
-
-    ~MAiPluginState()
-        {
-        };
-    
-    };
-
-#endif // M_AIPLUGINSTATE_H