filemanager/App/inc/CFileManagerFileSelectionFilter.h
changeset 0 6a9f87576119
equal deleted inserted replaced
-1:000000000000 0:6a9f87576119
       
     1 /*
       
     2 * Copyright (c) 2002-2007 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:  Filters PlatSec dirs from file selection
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef CFILEMANAGERFILESELECTIONFILTER_H
       
    21 #define CFILEMANAGERFILESELECTIONFILTER_H
       
    22 
       
    23 //  INCLUDES
       
    24 #include <e32base.h>
       
    25 #include <MAknFileFilter.h>
       
    26 
       
    27 // FORWARD DECLARATIONS
       
    28 class CFileManagerEngine;
       
    29 
       
    30 // CLASS DECLARATION
       
    31 /**
       
    32  *
       
    33  */
       
    34 class CFileManagerFileSelectionFilter : public CBase,
       
    35                                         public MAknFileFilter
       
    36     {
       
    37     public:
       
    38         CFileManagerFileSelectionFilter( CFileManagerEngine& aEngine );
       
    39 
       
    40     public: // From MAknFileFilter
       
    41         TBool Accept( const TDesC& aDriveAndPath, const TEntry& aEntry ) const;
       
    42 
       
    43     private: // Data
       
    44         /// Ref: Reference to engine of the application.
       
    45         CFileManagerEngine& iEngine;
       
    46     };
       
    47 
       
    48 #endif // CFILEMANAGERFILESELECTIONFILTER_H
       
    49 
       
    50 // End of File