homescreenapp/hsdomainmodel/inc/hsgui.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 11 Jun 2010 13:30:16 +0300
changeset 55 03646e8da489
parent 51 4785f57bf3d4
child 69 87476091b3f5
permissions -rw-r--r--
Revision: 201021 Kit: 2010123

/*
* Copyright (c) 2010 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 HSGUI_H
#define HSGUI_H

#include <QPointer>

#include "hsdomainmodel_global.h"
#include "hstest_global.h"

HOMESCREEN_TEST_CLASS(HomeScreenStatePluginTest)

class HbView;
class HbMainWindow;

class HSDOMAINMODEL_EXPORT HsGui
{
public:
	static HbView *idleView();	
	static HbView *takeIdleView();
	static void setIdleView(HbView *idleView);	
	
    static HbMainWindow *mainWindow();

private:
    HsGui() {}

private:
	static QPointer<HbView> mIdleView;
	
    HOMESCREEN_TEST_FRIEND_CLASS(HomeScreenStatePluginTest)
};

Q_DECLARE_METATYPE(HsGui*)

#endif // HSGUI_H