filemanager/GFLM/inc/MGflmItemFilter.h
author Pat Downey <patd@symbian.org>
Wed, 01 Sep 2010 12:31:07 +0100
branchRCL_3
changeset 21 65326cf895ed
parent 0 6a9f87576119
permissions -rw-r--r--
Revert incorrect RCL_3 drop: Revision: 201033 Kit: 201035

/*
* Copyright (c) 2002-2007 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0""
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:  Defines an interface for making a custom filter to GFLM
*
*/



#ifndef MGFLMITEMFILTER_H
#define MGFLMITEMFILTER_H


// INCLUDES
#include <e32def.h>


// FORWARD DECLARATIONS
class CGflmGroupItem;
class CGflmDriveItem;


// CLASS DECLARATION

/**
*  Defines an interface for making a custom filter to GFLM.
*
*  @lib GFLM.lib
*  @since 2.0
*/
class MGflmItemFilter
    {
    public: // New functions

        /**
        * This method is called for every item to be filtered
        * Note that the method is run in work thread space
        * @since 2.0
        * @param aItem Group item to be filtered
		* @param aGroupId Id of the group to which the item belongs
		* @param aDrive The drive where item is located, NULL if data is unavailable
        * @return True if item was accepted, false if not
        */
        virtual TBool FilterItemL(
            CGflmGroupItem* aItem,
            TInt aGroupId,
            CGflmDriveItem* aDrive ) = 0;

    };

#endif      // MGFLMITEMFILTER_H

// End of File