controlpanelui/src/cpserviceprovider/src/cplauncherservice.h
branchRCL_3
changeset 14 5f281e37a2f5
parent 13 90fe62538f66
equal deleted inserted replaced
13:90fe62538f66 14:5f281e37a2f5
     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:  
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef CPLAUNCHERSERVICE_H
       
    19 #define CPLAUNCHERSERVICE_H
       
    20 
       
    21 #include <xqserviceprovider.h>
       
    22 
       
    23 class HbMainWindow;
       
    24 
       
    25 class CpLauncherService : public XQServiceProvider
       
    26 {
       
    27     Q_OBJECT
       
    28 public:
       
    29     explicit CpLauncherService(HbMainWindow *mainWindow = 0);
       
    30     virtual ~CpLauncherService();
       
    31     bool complete();
       
    32 public slots:
       
    33     bool launchSettingView(const QString &pluginFile,const QVariant &hint);
       
    34 private slots:
       
    35     void setReturnValue(const QVariant &returnValue);
       
    36     void handleClientDisconnected();
       
    37 private:
       
    38     HbMainWindow *mMainWindow;
       
    39     int mAsyncRequestIndex;
       
    40     QVariant mReturnValue;
       
    41 };
       
    42 
       
    43 #endif //CPLAUNCHERSERVICE_H
       
    44 
       
    45 //End of File