homescreenapp/stateplugins/hsapplibrarystateplugin/inc/hsovistorehandler_p.h
changeset 46 23b5d6a29cce
parent 39 4e8ebe173323
child 48 11a8fa9275d5
child 51 4785f57bf3d4
equal deleted inserted replaced
39:4e8ebe173323 46:23b5d6a29cce
     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: Hs Ovi Store Handler Private.
       
    15  *
       
    16  */
       
    17 
       
    18 #ifndef HSOVISTOREHANDLER_P_H_
       
    19 #define HSOVISTOREHANDLER_P_H_
       
    20 
       
    21 #ifndef NO_QT_EXTENSIONS
       
    22 
       
    23 #include <QObject>
       
    24 #include "hbicon.h"
       
    25 #include "hsmenustates_global.h"
       
    26 
       
    27 class CaEntry;
       
    28 class XQSettingsManager;
       
    29 
       
    30 class HsOviStoreHandlerPrivate: public QObject
       
    31 {
       
    32     Q_OBJECT
       
    33 
       
    34     HS_STATES_TEST_FRIEND_CLASS(MenuStatesTest)
       
    35 
       
    36 public:
       
    37     HsOviStoreHandlerPrivate(QObject *parent = 0);
       
    38     virtual ~HsOviStoreHandlerPrivate();
       
    39     HbIcon icon();
       
    40     void action();
       
    41 
       
    42 private:
       
    43     void readCentralRepository();
       
    44     HbIcon createIcon(XQSettingsManager *crManager);
       
    45     CaEntry *createAppEntry(XQSettingsManager *crManager);
       
    46     CaEntry *createUrlEntry(XQSettingsManager *crManager);
       
    47 
       
    48 private:
       
    49     CaEntry *mOviStore;
       
    50 
       
    51     HbIcon mIcon;
       
    52 };
       
    53 
       
    54 #endif
       
    55 
       
    56 #endif /* HSOVISTOREHANDLER_P_H_ */
       
    57