epoc32/include/mw/mclfprocessobserver.h
branchSymbian2
changeset 2 2fe1408b6811
parent 1 666f914201fb
child 4 837f303aceeb
     1.1 --- a/epoc32/include/mw/mclfprocessobserver.h	Tue Nov 24 13:55:44 2009 +0000
     1.2 +++ b/epoc32/include/mw/mclfprocessobserver.h	Tue Mar 16 16:12:26 2010 +0000
     1.3 @@ -1,1 +1,81 @@
     1.4 -mclfprocessobserver.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 MCLFPROCESSOBSERVER_H
    1.24 +#define MCLFPROCESSOBSERVER_H
    1.25 +
    1.26 +//  INCLUDES
    1.27 +#include <e32std.h>
    1.28 +
    1.29 +// DATA TYPES
    1.30 +/**
    1.31 +* Content Listing Framework process events
    1.32 +*/
    1.33 +enum TCLFProcessEvent
    1.34 +    {
    1.35 +    /// CLF server starts update process
    1.36 +    ECLFUpdateStart = 0x0,
    1.37 +    /// CLF server update process is end
    1.38 +    ECLFUpdateStop = 0x1
    1.39 +    };
    1.40 +
    1.41 +// FORWARD DECLARATIONS
    1.42 +class MCLFProcessObserverExt;
    1.43 +
    1.44 +// CLASS DECLARATION
    1.45 +
    1.46 +/**
    1.47 +*  Process observer interface for Content Listing Framework.
    1.48 +*  Implement this interface to get notified of process events. These process
    1.49 +*  events are generated when update process of CLF server is started
    1.50 +*  and finished.
    1.51 +*
    1.52 +*  @lib ContentListingFramework.lib
    1.53 +*  @since S60 3.1
    1.54 +*/
    1.55 +class MCLFProcessObserver
    1.56 +    {
    1.57 +    public: // New functions
    1.58 +
    1.59 +        /**
    1.60 +        * Abstract method to handle CLF process event. This method is called
    1.61 +        * when process events are generated.
    1.62 +        * @since S60 3.1
    1.63 +        * @param aProcessEvent The process event that was generated.
    1.64 +        */
    1.65 +        virtual void HandleCLFProcessEventL( TCLFProcessEvent aProcessEvent ) = 0;
    1.66 +
    1.67 +    protected:
    1.68 +
    1.69 +        /**
    1.70 +        * Destructor.
    1.71 +        */
    1.72 +        virtual ~MCLFProcessObserver() {}
    1.73 +
    1.74 +    private: // Extension interface
    1.75 +
    1.76 +        /**
    1.77 +        * This member is internal and not intended for use.
    1.78 +        */
    1.79 +        virtual MCLFProcessObserverExt* Extension() { return NULL; }
    1.80 +
    1.81 +    };
    1.82 +
    1.83 +#endif      // MCLFProcessObserver_H
    1.84 +
    1.85 +// End of File