epoc32/include/mw/mclfchangeditemobserver.h
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:33:34 +0100
branchSymbian3
changeset 4 837f303aceeb
parent 2 2fe1408b6811
permissions -rw-r--r--
Current Symbian^3 public API header files (from PDK 3.0.h)
This is the epoc32/include tree with the "platform" subtrees removed, and
all but a selected few mbg and rsg files removed.
     1 /*
     2 * Copyright (c) 2002-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 
    18 
    19 #ifndef MCLFCHANGEDITEMOBSERVER_H
    20 #define MCLFCHANGEDITEMOBSERVER_H
    21 
    22 //  INCLUDES
    23 #include <CLFContentListing.h>
    24 #include <e32std.h>
    25 
    26 // FORWARD DECLARATIONS
    27 class MCLFChangedItemObserverExt;
    28 
    29 // CLASS DECLARATION
    30 
    31 /**
    32 *  Changed Item Observer interface.
    33 *  Implement this interface to get notifications of changed,
    34 *  new or deleted items.
    35 *
    36 *  @lib ContentListingFramework.lib
    37 *  @since S60 3.1
    38 */
    39 class MCLFChangedItemObserver
    40     {
    41     public: // New functions
    42 
    43         /**
    44         * Abstract method for handling item change event. This method is
    45         * called when, for example, some item is renamed.
    46         * @since S60 3.1
    47         * @param aItemIDArray List of Item IDs of changed items.
    48         */
    49         virtual void HandleItemChangeL(
    50                             const TArray<TCLFItemId>& aItemIDArray ) = 0;
    51 
    52         /**
    53         * Abstract method for handling errors. This method can be used to
    54         * handle errors in changed item event.
    55         * @since S60 3.1
    56         * @param aError System wide error code.
    57         */
    58         virtual void HandleError( TInt aError ) = 0;
    59 
    60     protected:
    61 
    62         /**
    63         * Destructor.
    64         */
    65         virtual ~MCLFChangedItemObserver() {}
    66 
    67     private: // Extension interface
    68 
    69         /**
    70         * This member is internal and not intended for use.
    71         */
    72         virtual MCLFChangedItemObserverExt* Extension() { return NULL; }
    73 
    74     };
    75 
    76 #endif      // MCLFCHANGEDITEMOBSERVER_H
    77 
    78 // End of File