mtpfws/mtpfw/dataproviders/devdp/inc/cmtpdevdpexclusionmgr.h
changeset 0 d0791faffa3f
equal deleted inserted replaced
-1:000000000000 0:d0791faffa3f
       
     1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 /**
       
    17  @file
       
    18  @internalTechnology
       
    19 */
       
    20 
       
    21 #ifndef CMTPDEVDPEXCLUSIONMGR_H
       
    22 #define CMTPDEVDPEXCLUSIONMGR_H
       
    23 
       
    24 #include <e32base.h>
       
    25 #include "cmtpfsexclusionmgr.h"
       
    26 
       
    27 /** 
       
    28 @internalTechnology
       
    29 */
       
    30 class CMTPDevDpExclusionMgr :
       
    31 	public CMTPFSExclusionMgr
       
    32 	{
       
    33 public:
       
    34 	static CMTPDevDpExclusionMgr* NewL(MMTPDataProviderFramework& aFramework);
       
    35 	~CMTPDevDpExclusionMgr();
       
    36 	
       
    37 	// CMTPFSExclusionMgr
       
    38 	TBool IsFileAcceptedL(const TDesC& aFileName, TUint32 aStorageID) const;
       
    39 	TBool IsFormatValid(TMTPFormatCode aFormat) const;
       
    40 	TBool IsExtensionValid(const TDesC& aExtension) const;
       
    41     
       
    42 protected:
       
    43 	CMTPDevDpExclusionMgr(MMTPDataProviderFramework& aFramework);
       
    44 
       
    45 	};
       
    46 	
       
    47 #endif // CMTPDEVDPEXCLUSIONMGR_H