epoc32/include/mw/mclfchangeditemobserver.h
branchSymbian2
changeset 2 2fe1408b6811
parent 1 666f914201fb
child 4 837f303aceeb
     1.1 --- a/epoc32/include/mw/mclfchangeditemobserver.h	Tue Nov 24 13:55:44 2009 +0000
     1.2 +++ b/epoc32/include/mw/mclfchangeditemobserver.h	Tue Mar 16 16:12:26 2010 +0000
     1.3 @@ -1,1 +1,78 @@
     1.4 -mclfchangeditemobserver.h
     1.5 +/*
     1.6 +* Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies). 
     1.7 +* All rights reserved.
     1.8 +* This component and the accompanying materials are made available
     1.9 +* under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
    1.10 +* which accompanies this distribution, and is available
    1.11 +* at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
    1.12 +*
    1.13 +* Initial Contributors:
    1.14 +* Nokia Corporation - initial contribution.
    1.15 +*
    1.16 +* Contributors:
    1.17 +*
    1.18 +* Description: 
    1.19 +*
    1.20 +*/
    1.21 +
    1.22 +
    1.23 +#ifndef MCLFCHANGEDITEMOBSERVER_H
    1.24 +#define MCLFCHANGEDITEMOBSERVER_H
    1.25 +
    1.26 +//  INCLUDES
    1.27 +#include <CLFContentListing.h>
    1.28 +#include <e32std.h>
    1.29 +
    1.30 +// FORWARD DECLARATIONS
    1.31 +class MCLFChangedItemObserverExt;
    1.32 +
    1.33 +// CLASS DECLARATION
    1.34 +
    1.35 +/**
    1.36 +*  Changed Item Observer interface.
    1.37 +*  Implement this interface to get notifications of changed,
    1.38 +*  new or deleted items.
    1.39 +*
    1.40 +*  @lib ContentListingFramework.lib
    1.41 +*  @since S60 3.1
    1.42 +*/
    1.43 +class MCLFChangedItemObserver
    1.44 +    {
    1.45 +    public: // New functions
    1.46 +
    1.47 +        /**
    1.48 +        * Abstract method for handling item change event. This method is
    1.49 +        * called when, for example, some item is renamed.
    1.50 +        * @since S60 3.1
    1.51 +        * @param aItemIDArray List of Item IDs of changed items.
    1.52 +        */
    1.53 +        virtual void HandleItemChangeL(
    1.54 +                            const TArray<TCLFItemId>& aItemIDArray ) = 0;
    1.55 +
    1.56 +        /**
    1.57 +        * Abstract method for handling errors. This method can be used to
    1.58 +        * handle errors in changed item event.
    1.59 +        * @since S60 3.1
    1.60 +        * @param aError System wide error code.
    1.61 +        */
    1.62 +        virtual void HandleError( TInt aError ) = 0;
    1.63 +
    1.64 +    protected:
    1.65 +
    1.66 +        /**
    1.67 +        * Destructor.
    1.68 +        */
    1.69 +        virtual ~MCLFChangedItemObserver() {}
    1.70 +
    1.71 +    private: // Extension interface
    1.72 +
    1.73 +        /**
    1.74 +        * This member is internal and not intended for use.
    1.75 +        */
    1.76 +        virtual MCLFChangedItemObserverExt* Extension() { return NULL; }
    1.77 +
    1.78 +    };
    1.79 +
    1.80 +#endif      // MCLFCHANGEDITEMOBSERVER_H
    1.81 +
    1.82 +// End of File