homescreenapp/hsmenucontentpublish/inc/hsmenucontentpublish_p.h
changeset 36 cdae8c6c3876
equal deleted inserted replaced
35:f9ce957a272c 36:cdae8c6c3876
       
     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: hsmenucontentpublish_p.h
       
    15  *
       
    16  */
       
    17 
       
    18 #ifndef HSMENUCONTENTPUBLISH_PRIVATE_H
       
    19 #define HSMENUCONTENTPUBLISH_PRIVATE_H
       
    20 
       
    21 // hidden
       
    22 const QString hsItemId("id");
       
    23 
       
    24 class HsMenuContentPublish;
       
    25 
       
    26 class HsMenuContentPublishPrivate
       
    27 {
       
    28 
       
    29 public:
       
    30 
       
    31     explicit HsMenuContentPublishPrivate(HsMenuContentPublish *publishPublic);
       
    32     ~HsMenuContentPublishPrivate();
       
    33     bool add(const QVariantMap &entryPreference = QVariantMap());
       
    34     bool remove(const QVariantMap &queryPreference = QVariantMap()) const;    
       
    35     QList<QVariantMap > getList(const QVariantMap &queryPreference = QVariantMap());
       
    36     
       
    37 private:
       
    38     /**
       
    39      * Points to the HsMenuContentPublish instance that uses this private implementation.
       
    40      */
       
    41     HsMenuContentPublish *const m_q;    
       
    42 };
       
    43 
       
    44 #endif //HSMENUCONTENTPUBLISH_PRIVATE_H