messagingapp/msgui/msgapp/inc/msgmainwindow.h
branchRCL_3
changeset 57 ebe688cedc25
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/messagingapp/msgui/msgapp/inc/msgmainwindow.h	Tue Aug 31 15:11:31 2010 +0300
@@ -0,0 +1,64 @@
+/*
+ * 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:
+ * Main window of the messaging application. Activates the default view.
+ *
+ */
+
+#ifndef MSG_MAIN_WINDOW_H
+#define MSG_MAIN_WINDOW_H
+
+// INCLUDES
+#include <qobject.h>
+#include <hbmainwindow.h>
+
+// FORWARD DECLARATIONS
+class MsgViewManager;
+class MsgServiceInterface;
+class MsgSendServiceInterface;
+
+/**
+ * Main window of the messaging application. Activates the
+ * default view which is the messaging list view.
+ */
+class MsgMainWindow : public HbMainWindow
+{
+Q_OBJECT
+
+public:
+    /**
+     * Constructor
+     */
+    MsgMainWindow(bool serviceRequest, 
+                  int activityMsgId = -1,
+                   QWidget *parent = 0);
+
+    /**
+     * Destructor
+     */
+    virtual ~MsgMainWindow();
+    
+    /**
+     * Returns view manager.
+     */
+    MsgViewManager* viewManager();
+private:
+    MsgServiceInterface* mMsgSI;
+    MsgSendServiceInterface* mMsgSendSI;
+    MsgViewManager* mViewManager;
+};
+
+#endif // MSG_MAIN_WINDOW_H
+
+// EOF