logsui/logsapp/inc/logsservicehandler.h
changeset 27 de1630741fbe
parent 25 76a2435edfd4
child 28 3fad710701f2
child 31 2a11b5b00470
equal deleted inserted replaced
25:76a2435edfd4 27:de1630741fbe
     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 #ifndef LOGSSERVICEHANDLER_H
       
    18 #define LOGSSERVICEHANDLER_H
       
    19 
       
    20 #include <xqserviceprovider.h>
       
    21 #include <logsservices.h>
       
    22 
       
    23 class LogsServiceHandler : public XQServiceProvider
       
    24     {
       
    25         Q_OBJECT
       
    26     public:
       
    27         LogsServiceHandler();
       
    28         ~LogsServiceHandler();
       
    29     
       
    30     public slots:
       
    31         int start(int activatedView, bool showDialpad);
       
    32         
       
    33     signals:
       
    34     
       
    35         void activateView(LogsServices::LogsView activatedView, bool showDialpad);
       
    36     
       
    37     public:
       
    38         
       
    39         LogsServices::LogsView currentlyActivatedView();
       
    40         bool isStartedUsingService() const;
       
    41         
       
    42     private:
       
    43         int mActivatedView;
       
    44         bool mIsAppStartedUsingService;
       
    45         
       
    46     private:
       
    47         friend class UT_LogsServiceHandler;
       
    48         friend class UT_LogsViewManager;
       
    49     };
       
    50 
       
    51 #endif //LOGSSERVICEHANDLER_H