appinstaller/AppinstUi/sisxsilentinstallindicatorplugin/inc/sisxsilentinstallindicator.h
branchRCL_3
changeset 26 8b7f4e561641
parent 25 7333d7932ef7
child 27 e8965914fac7
equal deleted inserted replaced
25:7333d7932ef7 26:8b7f4e561641
     1 /*
       
     2  * Copyright (c) 2010 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 SISXSILENTINSTALLINDICATOR_H
       
    19 #define SISXSILENTINSTALLINDICATOR_H
       
    20 
       
    21 #include <QObject>
       
    22 #include <hbindicatorinterface.h>
       
    23 
       
    24 /**
       
    25  * SWI Daemon sisx silent install universal indicator class. 
       
    26  * Handles client request and showing the indications. 
       
    27  */
       
    28 class SisxSilentInstallIndicator : public HbIndicatorInterface
       
    29 {
       
    30 public:
       
    31     /**
       
    32      * Constructor
       
    33      */
       
    34     SisxSilentInstallIndicator(const QString &indicatorType);
       
    35     
       
    36     /**
       
    37      * Destructor
       
    38      */
       
    39     ~SisxSilentInstallIndicator();
       
    40     
       
    41     /**
       
    42      * @see HbIndicatorInterface
       
    43      */
       
    44     bool handleInteraction(InteractionType type);
       
    45     
       
    46     /**
       
    47      * @see HbIndicatorInterface
       
    48      */
       
    49     QVariant indicatorData(int role) const;
       
    50     
       
    51 protected:
       
    52     /**
       
    53      * @see HbIndicatorInterface
       
    54      */
       
    55     bool handleClientRequest(RequestType type, const QVariant &parameter);
       
    56     
       
    57 private: 
       
    58     
       
    59 private:
       
    60     
       
    61     int mUpdateValue;
       
    62     bool mIsInstallProcess;
       
    63     
       
    64 };
       
    65 
       
    66 #endif // SISXSILENTINSTALLINDICATOR_H
       
    67