diff -r 000000000000 -r ccd0fd43f247 searchui/stateproviders/searchstateprovider/inc/searchinitstate.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/searchui/stateproviders/searchstateprovider/inc/searchinitstate.h Mon Apr 19 14:40:05 2010 +0300 @@ -0,0 +1,69 @@ +/* + * Copyright (c) 2009 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: Declaration of the SEARCH init state. + * + */ + +#ifndef SEARCH_STATES_INITSTATE_H +#define SEARCH_STATES_INITSTATE_H + +#include +#include "Search_global.h" + +SEARCH_CLASS( SearchStateProviderTest) +class SearchInitState : public QState + { +Q_OBJECT + +public: + + /** + * Constructor. + * @since S60 ?S60_version. + * @param aParent Owner. + */ + SearchInitState(QState *aParent = 0); + + /** + * Destructor. + * @since S60 ?S60_version. + */ + virtual ~SearchInitState(); + +private: + + /** + * Constructs this state. + * @since S60 ?S60_version. + */ + void construct(); + +protected: + + /** + * @copydoc QState::onEntry() + */ + void onEntry(QEvent *event); + + /** + * @copydoc QState::onExit() + */ + void onExit(QEvent *event); + +private: +SEARCH_FRIEND_CLASS ( SearchStateProviderTest) + + }; + +#endif //SEARCH_STATES_INITSTATE_H