homescreenapp/hsdomainmodel/inc/hsgui.h
changeset 51 4785f57bf3d4
child 55 03646e8da489
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/homescreenapp/hsdomainmodel/inc/hsgui.h	Thu May 27 12:46:08 2010 +0300
@@ -0,0 +1,47 @@
+/*
+* 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 HSVIEW_H
+#define HSVIEW_H
+
+#include <QPointer>
+
+#include "hsdomainmodel_global.h"
+#include "hstest_global.h"
+
+HOMESCREEN_TEST_CLASS(HomeScreenStatePluginTest)
+
+class HbView;
+class HbMainWindow;
+
+class HSDOMAINMODEL_EXPORT HsGui
+{
+public:
+	HsGui();
+	~HsGui();
+	static HbView *idleView();	
+	static HbView *takeIdleView();
+	static void setIdleView(HbView *idleView);	
+	static HbMainWindow *mainWindow();
+
+private:
+	static QPointer<HbView> mIdleView;
+	HOMESCREEN_TEST_FRIEND_CLASS(HomeScreenStatePluginTest)
+};
+
+Q_DECLARE_METATYPE(HsGui*)
+#endif //HSVIEW_H