logsui/logsapp/inc/logsservicehandler.h
changeset 6 41c0a814d878
parent 0 4a5361db8937
child 8 6c9acdc6adc0
equal deleted inserted replaced
4:e52d42f9500c 6:41c0a814d878
    24 
    24 
    25 class LogsServiceHandler : public XQServiceProvider
    25 class LogsServiceHandler : public XQServiceProvider
    26     {
    26     {
    27         Q_OBJECT
    27         Q_OBJECT
    28     public:
    28     public:
       
    29         
    29         explicit LogsServiceHandler(LogsMainWindow& mainWindow);
    30         explicit LogsServiceHandler(LogsMainWindow& mainWindow);
    30         ~LogsServiceHandler();
    31         ~LogsServiceHandler();
    31     
    32     
    32     public slots:
    33     public slots:
    33         int start(int activatedView, bool showDialpad);
    34 
    34         int startWithNum(int activatedView, bool showDialpad, QString dialpadText);
    35         int show(const QVariantMap& params);
    35         
    36         
    36     signals:
    37     signals:
    37     
    38     
    38         void activateView(LogsServices::LogsView activatedView, bool showDialpad);
    39         void activateView(LogsServices::LogsView activatedView, bool showDialpad);
    39         void activateView(QString dialpadText);
    40         void activateView(QString dialpadText);
    40     
    41     
    41     public:
    42     public:
    42         
    43         
    43         LogsServices::LogsView currentlyActivatedView();
       
    44         bool isStartedUsingService() const;
    44         bool isStartedUsingService() const;
    45         
    45         
    46     private:
    46     private:
    47         int mActivatedView;
    47 
    48         LogsMainWindow& mMainWindow;
    48         LogsMainWindow& mMainWindow;
    49         bool mIsAppStartedUsingService;
    49         bool mIsAppStartedUsingService;
    50         
    50         
    51     private:
    51     private:
    52         friend class UT_LogsServiceHandler;
    52         friend class UT_LogsServiceHandler;