logsui/logsapp/inc/logsservicehandlerold.h
changeset 21 2f0af9ba7665
parent 18 acd4e87b24b4
equal deleted inserted replaced
18:acd4e87b24b4 21:2f0af9ba7665
     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 LOGSSERVICEHANDLEROLD_H
       
    18 #define LOGSSERVICEHANDLEROLD_H
       
    19 
       
    20 #include <xqserviceprovider.h>
       
    21 #include <xqaiwdecl.h>
       
    22 
       
    23 class LogsServiceHandlerOld : public XQServiceProvider
       
    24     {
       
    25         Q_OBJECT
       
    26     public:
       
    27         explicit LogsServiceHandlerOld();
       
    28         ~LogsServiceHandlerOld();
       
    29     
       
    30     public slots:
       
    31         int start(int activatedView, bool showDialpad);
       
    32         int startWithNum(int activatedView, bool showDialpad, QString dialpadText);
       
    33         
       
    34     signals:
       
    35     
       
    36         void activateView(XQService::LogsViewIndex activatedView, bool showDialpad, QString dialpadText);
       
    37         void activateView(QString dialpadText);
       
    38     
       
    39     public:
       
    40         
       
    41         bool isStartedUsingService() const;
       
    42         
       
    43     private:
       
    44         bool mIsAppStartedUsingService;
       
    45         
       
    46     private:
       
    47         friend class UT_LogsServiceHandler;
       
    48         friend class UT_LogsViewManager;
       
    49     };
       
    50 
       
    51 #endif //LOGSSERVICEHANDLEROLD_H