searchui/stateproviders/searchstateprovider/inc/searchinitstate.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Mon, 19 Apr 2010 14:40:05 +0300
changeset 0 ccd0fd43f247
child 2 208a4ba3894c
permissions -rw-r--r--
Revision: 201011 Kit: 201015

/*
 * 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 <qstate.h>
#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