messagingapp/msgservices/msgserviceapp/inc/msgservicewindow.h
author hgs
Tue, 07 Sep 2010 13:28:39 +0530
changeset 62 fdbe8253b596
parent 56 f42d9a78f435
child 73 ecf6a73a9186
permissions -rw-r--r--
201035_03

/*
 * 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: Message service application main window. 
 *
 */

#ifndef __MSG_SERVICE_WINDOW_H__
#define __MSG_SERVICE_WINDOW_H__

#include <hbmainwindow.h>

// FORWARD DECLARATIONS
class MsgViewInterface;
class MsgStoreHandler;
class MsgServiceViewManager;
class MsgShareUiInterface;
class MsgSendInterface;
class MsgUriHandlerInterface;

class MsgServiceWindow : public HbMainWindow
    {
    Q_OBJECT
    
public:
    /**
     * Constructor
     */
    MsgServiceWindow();
    
    /**
     * Destructor
     */
    ~MsgServiceWindow();
    
protected:

    /**
     * Key press event handler
     * @see QGraphicsItem
     */
    void keyPressEvent(QKeyEvent *event);

private:
    /**
     * View interface object
     * Owned
     */
    MsgSendInterface* mSendInterface;
    
    /**
     * View interface object
     * Owned
     */
    MsgViewInterface*  mViewInterface;
    
    /**
     * View interface object
     * Owned
     */
    MsgShareUiInterface*  mShareUiInterface;

    /**
     * URI handler interface object
     * Owned
     */
    MsgUriHandlerInterface*  mUriInterface;
    
    /**
     * Message store handler
     * Owned.
     */
    MsgStoreHandler* mStoreHandler;
    
    /**
     * View manager
     * Owned.
     */
    MsgServiceViewManager* mViewManager;
    
    };

#endif // __MSG_SERVICE_WINDOW_H__