controlpanelui/src/cpserviceprovider/src/cplauncherservice.h
changeset 19 36aa4756ee82
parent 12 624337f114fe
child 22 a5692c68d772
equal deleted inserted replaced
12:624337f114fe 19:36aa4756ee82
    19 #define CPLAUNCHERSERVICE_H
    19 #define CPLAUNCHERSERVICE_H
    20 
    20 
    21 #include <xqserviceprovider.h>
    21 #include <xqserviceprovider.h>
    22 
    22 
    23 class HbMainWindow;
    23 class HbMainWindow;
       
    24 
    24 class CpLauncherService : public XQServiceProvider
    25 class CpLauncherService : public XQServiceProvider
    25 {
    26 {
    26     Q_OBJECT
    27     Q_OBJECT
    27 public:
    28 public:
    28     explicit CpLauncherService(HbMainWindow *mainWindow = 0);
    29     explicit CpLauncherService(HbMainWindow *mainWindow = 0);
    29     virtual ~CpLauncherService();
    30     virtual ~CpLauncherService();
    30     void complete();
    31     void complete();
    31 public slots:
    32 public slots:
    32     bool launchSettingView(const QString &pluginFile,const QVariant &hint);
    33     bool launchSettingView(const QString &pluginFile,const QVariant &hint);
       
    34 private slots:
       
    35     void setReturnValue(const QVariant &returnValue);
    33 private:
    36 private:
    34     HbMainWindow *mMainWindow;
    37     HbMainWindow *mMainWindow;
    35     int mAsyncRequestIndex;
    38     int mAsyncRequestIndex;
    36     QVariant mReturnValue;
    39     QVariant mReturnValue;
    37 };
    40 };