mtpdataproviders/mtpfileandfolderdp/inc/cmtpfiledpexclusionmgr.h
changeset 0 d0791faffa3f
equal deleted inserted replaced
-1:000000000000 0:d0791faffa3f
       
     1 // Copyright (c) 2007-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 CMTPFILEDPEXCLUSIONMGR_H
       
    22 #define CMTPFILEDPEXCLUSIONMGR_H
       
    23 
       
    24 #include <e32base.h>
       
    25 #include "cmtpfsexclusionmgr.h"
       
    26 #include "rmtpframework.h"
       
    27 #include "rmtpdpsingletons.h"
       
    28 
       
    29 
       
    30 /** 
       
    31 @internalTechnology
       
    32 
       
    33 */
       
    34 class CMTPFileDpExclusionMgr : public CMTPFSExclusionMgr
       
    35 	{
       
    36 public:
       
    37 	static CMTPFileDpExclusionMgr* NewL(MMTPDataProviderFramework& aFramework);
       
    38 	~CMTPFileDpExclusionMgr();
       
    39 	
       
    40 	// CMTPFSExclusionMgr
       
    41 	TBool IsFormatValid(TMTPFormatCode aFormat) const;
       
    42     TBool IsExtensionValid(const TDesC& aPath) const;
       
    43     
       
    44     //Append all DPs format exclusion list string in File DP
       
    45     void AppendFormatExclusionListL();
       
    46 private:
       
    47     CMTPFileDpExclusionMgr(MMTPDataProviderFramework& aFramework);
       
    48     void ConstructL();
       
    49 private:
       
    50     RArray<TUint> iExcludedFormats;
       
    51 
       
    52 
       
    53 private:
       
    54     /**
       
    55     The MTP framework singletons.
       
    56     */
       
    57     RMTPFramework iFrameworkSingletons;
       
    58     RMTPDpSingletons        iDpSingletons;
       
    59     };
       
    60 
       
    61 #endif // CMTPFILEDPEXCLUSIONMGR_H