equal
deleted
inserted
replaced
|
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 #include "cmtpdevdpexclusionmgr.h" |
|
17 |
|
18 CMTPDevDpExclusionMgr* CMTPDevDpExclusionMgr::NewL(MMTPDataProviderFramework& aFramework) |
|
19 { |
|
20 CMTPDevDpExclusionMgr* self = new (ELeave) CMTPDevDpExclusionMgr(aFramework); |
|
21 return self; |
|
22 } |
|
23 |
|
24 CMTPDevDpExclusionMgr::CMTPDevDpExclusionMgr(MMTPDataProviderFramework& aFramework) : |
|
25 CMTPFSExclusionMgr(aFramework) |
|
26 { |
|
27 } |
|
28 |
|
29 CMTPDevDpExclusionMgr::~CMTPDevDpExclusionMgr() |
|
30 { |
|
31 } |
|
32 |
|
33 // Methods from CMTPFSExclusionMgr |
|
34 TBool CMTPDevDpExclusionMgr::IsFileAcceptedL(const TDesC& /*aFileName*/, TUint32 /*aStorageID*/) const |
|
35 { |
|
36 return EFalse; |
|
37 } |
|
38 |
|
39 TBool CMTPDevDpExclusionMgr::IsFormatValid(TMTPFormatCode aFormat) const |
|
40 { |
|
41 return (aFormat == EMTPFormatCodeAssociation); |
|
42 } |
|
43 |
|
44 TBool CMTPDevDpExclusionMgr::IsExtensionValid(const TDesC& /*aExtension*/) const |
|
45 { |
|
46 // No extensions allowed - folders don't have them. |
|
47 return EFalse; |
|
48 } |
|
49 |
|
50 |