| 37 |      1 | /*
 | 
|  |      2 |  * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
 | 
|  |      3 |  * All rights reserved.
 | 
|  |      4 |  * This component and the accompanying materials are made available
 | 
|  |      5 |  * under the terms of "Eclipse Public License v1.0"
 | 
|  |      6 |  * which accompanies this distribution, and is available
 | 
|  |      7 |  * at the URL "http://www.eclipse.org/legal/epl-v10.html".
 | 
|  |      8 |  *
 | 
|  |      9 |  * Initial Contributors:
 | 
|  |     10 |  * Nokia Corporation - initial contribution.
 | 
|  |     11 |  *
 | 
|  |     12 |  * Contributors:
 | 
|  |     13 |  * 
 | 
|  |     14 |  * Description: Message service application main window. 
 | 
|  |     15 |  *
 | 
|  |     16 |  */
 | 
|  |     17 | 
 | 
|  |     18 | #ifndef __MSG_SERVICE_WINDOW_H__
 | 
|  |     19 | #define __MSG_SERVICE_WINDOW_H__
 | 
|  |     20 | 
 | 
|  |     21 | #include <hbmainwindow.h>
 | 
|  |     22 | 
 | 
|  |     23 | // FORWARD DECLARATIONS
 | 
|  |     24 | class MsgViewInterface;
 | 
|  |     25 | class MsgStoreHandler;
 | 
|  |     26 | class MsgServiceViewManager;
 | 
|  |     27 | class MsgShareUiInterface;
 | 
|  |     28 | class MsgSendInterface;
 | 
| 56 |     29 | class MsgUriHandlerInterface;
 | 
| 37 |     30 | 
 | 
|  |     31 | class MsgServiceWindow : public HbMainWindow
 | 
|  |     32 |     {
 | 
|  |     33 |     Q_OBJECT
 | 
|  |     34 |     
 | 
|  |     35 | public:
 | 
|  |     36 |     /**
 | 
|  |     37 |      * Constructor
 | 
|  |     38 |      */
 | 
|  |     39 |     MsgServiceWindow();
 | 
|  |     40 |     
 | 
|  |     41 |     /**
 | 
|  |     42 |      * Destructor
 | 
|  |     43 |      */
 | 
|  |     44 |     ~MsgServiceWindow();
 | 
|  |     45 |     
 | 
| 62 |     46 | protected:
 | 
|  |     47 | 
 | 
|  |     48 |     /**
 | 
|  |     49 |      * Key press event handler
 | 
|  |     50 |      * @see QGraphicsItem
 | 
|  |     51 |      */
 | 
|  |     52 |     void keyPressEvent(QKeyEvent *event);
 | 
|  |     53 | 
 | 
| 37 |     54 | private:
 | 
|  |     55 |     /**
 | 
|  |     56 |      * View interface object
 | 
|  |     57 |      * Owned
 | 
|  |     58 |      */
 | 
|  |     59 |     MsgSendInterface* mSendInterface;
 | 
|  |     60 |     
 | 
|  |     61 |     /**
 | 
|  |     62 |      * View interface object
 | 
|  |     63 |      * Owned
 | 
|  |     64 |      */
 | 
|  |     65 |     MsgViewInterface*  mViewInterface;
 | 
|  |     66 |     
 | 
|  |     67 |     /**
 | 
|  |     68 |      * View interface object
 | 
|  |     69 |      * Owned
 | 
|  |     70 |      */
 | 
|  |     71 |     MsgShareUiInterface*  mShareUiInterface;
 | 
| 56 |     72 | 
 | 
|  |     73 |     /**
 | 
|  |     74 |      * URI handler interface object
 | 
|  |     75 |      * Owned
 | 
|  |     76 |      */
 | 
|  |     77 |     MsgUriHandlerInterface*  mUriInterface;
 | 
| 37 |     78 |     
 | 
|  |     79 |     /**
 | 
|  |     80 |      * Message store handler
 | 
|  |     81 |      * Owned.
 | 
|  |     82 |      */
 | 
|  |     83 |     MsgStoreHandler* mStoreHandler;
 | 
|  |     84 |     
 | 
|  |     85 |     /**
 | 
|  |     86 |      * View manager
 | 
|  |     87 |      * Owned.
 | 
|  |     88 |      */
 | 
|  |     89 |     MsgServiceViewManager* mViewManager;
 | 
|  |     90 |     
 | 
|  |     91 |     };
 | 
|  |     92 | 
 | 
|  |     93 | #endif // __MSG_SERVICE_WINDOW_H__ 
 |