diff -r 000000000000 -r 094583676ce7 presadap12/impsplugin/inc/impsstatehandlerbase.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/presadap12/impsplugin/inc/impsstatehandlerbase.h Thu Dec 17 08:41:52 2009 +0200 @@ -0,0 +1,77 @@ +/* +* Copyright (c) 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: Connection Manager have different states +* +*/ + +#ifndef __MConnectionManagerStateHandlerBase_H__ +#define __MConnectionManagerStateHandlerBase_H__ + + +#include "impsconnectionmanagercontrolif.h" + + +/** + * ?one_line_short_description + * + * ?more_complete_description + * + * @lib ?library + * @since S60 v4.0 + */ +class MConnectionManagerStateHandlerBase + { + + public: + + /** + * ?description + * + * @since S60 3.2 + * @return TBool Return value tells if there's still substates to advance + * to in this state handler. + */ + virtual TBool AdvanceState() = 0; + + + /** + * ?description + * + * @since S60 3.2 + * @return TBool Return value tells if SetActive needs to be called for this + * state. + */ + virtual void ActivateStateL() = 0; + + + virtual void DeleteStateD() = 0; + + + virtual TInt StateIndex() = 0; + + + protected: + + /** + * Protected destructor. + * Instancies can't be destroyed via this interface. + */ + virtual ~MConnectionManagerStateHandlerBase() {} + + }; + + +#endif // MConnectionManagerStateHandlerBase + +