homescreensrv_plat/ai_content_model_api/inc/aicontentrequest.h
changeset 0 79c6a41cd166
child 8 d0529222e3f0
equal deleted inserted replaced
-1:000000000000 0:79c6a41cd166
       
     1 /*
       
     2 * Copyright (c) 2005-2006 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:  Content item refresh request interface
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef M_AICONTENTREQUEST_H
       
    20 #define M_AICONTENTREQUEST_H
       
    21 
       
    22 /**
       
    23  * Interface for requesting a content publisher to refresh its published
       
    24  * content to the UI.
       
    25  *
       
    26  * @since S60 3.2
       
    27  * @see MAiPropertyExtension
       
    28  */
       
    29 class MAiContentRequest
       
    30     {
       
    31 public:
       
    32     /**
       
    33      * Requests AI content publisher to publish specific content item.
       
    34      *
       
    35      * @param aContentId content identifier in target plug-ins content model.
       
    36      * @return ETrue if the plugin will refresh the content by calling its 
       
    37      *         content observer, EFalse otherwise.
       
    38      */
       
    39     virtual TBool RefreshContent( TInt aContentId ) = 0;
       
    40     
       
    41 protected:
       
    42     /**
       
    43      * Protected destructor prevents deletion through this interface.
       
    44      */
       
    45     ~MAiContentRequest() { }
       
    46     };
       
    47     
       
    48 #endif
       
    49