messagingapp/msgsettings/settingsview/inc/msgsettingsview.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 16 Apr 2010 14:56:15 +0300
changeset 23 238255e8b033
child 25 84d9eb65b26f
permissions -rw-r--r--
Revision: 201011 Kit: 201015

/*
 * 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:This is the first view for msgsettings plugin  
 *
 */

#ifndef MSGSETTINGSVIEW_H
#define MSGSETTINGSVIEW_H

#ifdef  SETTINGSVIEW_DLL
#define MSG_SETTING_VIEW_EXPORT Q_DECL_EXPORT
#else
#define MSG_SETTING_VIEW_EXPORT Q_DECL_IMPORT
#endif

#include "msgbaseview.h"

class HbMainWindow;
class HbAction;
class MsgSettingsViewManager;

class MSG_SETTING_VIEW_EXPORT MsgSettingsView: public MsgBaseView
{
    Q_OBJECT
public:
    MsgSettingsView(QGraphicsItem *parent = 0);
    ~MsgSettingsView();

public slots:
    void closeSettings();
    void connectCloseAction();
    
private:
    //Settings View Manager
    MsgSettingsViewManager* mSettingsViewManager;
    
    HbMainWindow* mMainWindow;
    HbAction* mBackAction;
};
#endif // MSGSETTINGSVIEW_H