messagingapp/msgui/msgapp/inc/msgapplication.h
author hgs
Tue, 19 Oct 2010 11:30:16 +0530
changeset 76 60a8a215b0ec
parent 67 fc91263aee62
permissions -rw-r--r--
201041

/*
* 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:   ?Description
*
*/

#ifndef MSGAPPLICATION_H_
#define MSGAPPLICATION_H_

#include <hbApplication.h>

class MsgApplication: public HbApplication
{

Q_OBJECT
	
public:
	
	/**
	 * Constructor
	 */
	MsgApplication( int &argc, char *argv[] );
	
	/**
	 * Destructor
	 */
	virtual ~MsgApplication();
	
	/**
	 * initMattiAutomation
	 * connects viewReady signal to handleAppReady slot
	 */
	void initViewReady();
	
	/**
	 * symbianEventFilter
	 * handles S60 events
	 */
    bool symbianEventFilter(const QSymbianEvent *event);
    
private slots:
	void handleAppReady();

signals:
	void applicationReady();

signals:
    // emitted when close event is handled
    void closeEvent();
};
    
#endif // MSGAPPLICATION_H_