homescreenapp/stateplugins/hsmenuworkerstateplugin/inc/hsuinstallfailedstate.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 17 Sep 2010 08:27:54 +0300
changeset 92 6727c5d0afc7
child 90 3ac3aaebaee5
permissions -rw-r--r--
Revision: 201036 Kit: 201037

/*
 * 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:
 *
 */

#ifndef HSUINSTALLFAILEDSTATE_H_
#define HSUINSTALLFAILEDSTATE_H_


// System includes
#include <QState>

#include "hsmenustates_global.h"

HS_STATES_TEST_CLASS(MenuStatesTest)

class HbMessageBox;

class HsUninstallFailedState: public QState
{
    Q_OBJECT

    HS_STATES_TEST_FRIEND_CLASS(MenuStatesTest)

public:

    HsUninstallFailedState(QState *parent = 0);

    virtual ~HsUninstallFailedState();

protected:

    void onEntry(QEvent *event);
    void onExit(QEvent *event);

private slots:

    void stateExited();
    void cleanUp();
    
signals:

    void exit();

private:

    void construct();

private:

    HbMessageBox *mBox;
};

#endif /* HSUINSTALLFAILEDSTATE_H_ */