messagingapp/msgsettings/settingsserviceapp/inc/settingsserviceinterface.h
changeset 46 b1f0785c289d
equal deleted inserted replaced
41:25fe1fe642e3 46:b1f0785c289d
       
     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: Interface for launching settings view as 
       
    15  * Qthighway service
       
    16  *
       
    17  */
       
    18 
       
    19 #ifndef __SETTINGS_VIEW_INTERFACE_H__
       
    20 #define __SETTINGS_VIEW_INTERFACE_H__
       
    21 
       
    22 #include <QObject>
       
    23 #include <xqserviceprovider.h>
       
    24 
       
    25 class HbMainWindow;
       
    26 class HbAction;
       
    27 
       
    28 class SettingsViewInterface : public XQServiceProvider
       
    29     {
       
    30     Q_OBJECT
       
    31     
       
    32 public:
       
    33     /**
       
    34      * Constructor
       
    35      */
       
    36     SettingsViewInterface(HbMainWindow *mainWindow,QObject* parent=0);
       
    37     
       
    38     /**
       
    39      * Destructor
       
    40      */
       
    41     ~SettingsViewInterface();
       
    42     
       
    43 public slots:
       
    44     /**
       
    45      * Function which launches the settings view
       
    46      * @param view, holds MsgSettingsView::SettingsView enum
       
    47      */
       
    48     void launchSettings(int view);
       
    49 
       
    50 private:    
       
    51     /**
       
    52      * Main Window instance
       
    53      * Not owned
       
    54      */
       
    55     HbMainWindow *mMainWindow;
       
    56     
       
    57     HbAction* mBackAction;
       
    58 
       
    59     };
       
    60 
       
    61 #endif /* __SETTINGS_VIEW_INTERFACE_H__ */