clock/clockui/clockviewmanager/inc/clockviewmanager.h
changeset 18 c198609911f9
child 26 a949c2543c15
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/clock/clockui/clockviewmanager/inc/clockviewmanager.h	Fri Apr 16 14:57:40 2010 +0300
@@ -0,0 +1,62 @@
+/*
+* 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:
+* Header file for class ClockViewManager.
+*
+*/
+
+#ifndef CLOCKVIEWMANAGER_H
+#define CLOCKVIEWMANAGER_H
+
+// System includes
+#include <QObject>
+
+// User includes
+#include "clockviewmanagerdefines.h"
+#include "clockdatatypes.h"
+
+// Forward declarations
+class ClockAppControllerIf;
+class ClockMainView;
+class ClockWorldView;
+
+class ClockViewManager : public QObject
+{
+	Q_OBJECT
+
+public:
+	CLOCKVIEWMANAGER_EXPORT ClockViewManager(
+			ClockAppControllerIf &controllerIf, QObject *parent = 0);
+	CLOCKVIEWMANAGER_EXPORT ~ClockViewManager();
+
+public:
+	CLOCKVIEWMANAGER_EXPORT void showView(ClockViews view);
+
+private:
+	void loadViews();
+	void loadMainView();
+	void loadWorldClockView();
+
+private:
+	ClockAppControllerIf &mAppControllerIf;
+	ClockMainView *mMainView;
+	ClockWorldView *mWorldClockView;
+
+private:
+	Q_DISABLE_COPY(ClockViewManager)
+};
+
+#endif // CLOCKVIEWMANAGER_H
+
+// End of file	--Don't remove this.