Update contrib.
1 // Copyright (c) 2005-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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // CAF wrapper classes for Multimedia.
20 EXPORT_C TMMSource::TMMSource(TUid aSourceType, const TDesC& aUniqueID, ContentAccess::TIntent aIntent)
21 : iSourceType(aSourceType),
28 EXPORT_C TMMSource::TMMSource(TUid aSourceType, const TDesC& aUniqueID, ContentAccess::TIntent aIntent, TBool aEnableUI)
29 : iSourceType(aSourceType),
36 EXPORT_C const TDesC& TMMSource::UniqueId() const
41 EXPORT_C ContentAccess::TIntent TMMSource::Intent() const
46 EXPORT_C TUid TMMSource::SourceType() const
51 EXPORT_C TBool TMMSource::IsUIEnabled() const
56 EXPORT_C TMMFileSource::TMMFileSource(const TDesC& aName)
57 : TMMSource(KUidMMFileSource, ContentAccess::KDefaultContentObject, ContentAccess::EUnknown),
62 EXPORT_C TMMFileSource::TMMFileSource(const TDesC& aName, const TDesC& aUniqueId)
63 : TMMSource(KUidMMFileSource, aUniqueId, ContentAccess::EUnknown),
68 EXPORT_C TMMFileSource::TMMFileSource(const TDesC& aName, const TDesC& aUniqueId, ContentAccess::TIntent aIntent)
69 : TMMSource(KUidMMFileSource, aUniqueId, aIntent),
74 EXPORT_C TMMFileSource::TMMFileSource(const TDesC& aName, const TDesC& aUniqueId, ContentAccess::TIntent aIntent, TBool aEnableUI)
75 : TMMSource(KUidMMFileSource, aUniqueId, aIntent, aEnableUI),
80 EXPORT_C TMMFileHandleSource::TMMFileHandleSource(RFile& aFile)
81 : TMMSource(KUidMMFileHandleSource, ContentAccess::KDefaultContentObject, ContentAccess::EUnknown),
86 EXPORT_C TMMFileHandleSource::TMMFileHandleSource(RFile& aFile, const TDesC& aUniqueId)
87 : TMMSource(KUidMMFileHandleSource, aUniqueId, ContentAccess::EUnknown),
92 EXPORT_C TMMFileHandleSource::TMMFileHandleSource(RFile& aFile, const TDesC& aUniqueId, ContentAccess::TIntent aIntent)
93 : TMMSource(KUidMMFileHandleSource, aUniqueId, aIntent),
98 EXPORT_C TMMFileHandleSource::TMMFileHandleSource(RFile& aFile, const TDesC& aUniqueId, ContentAccess::TIntent aIntent, TBool aEnableUI)
99 : TMMSource(KUidMMFileHandleSource, aUniqueId, aIntent, aEnableUI),
104 EXPORT_C const TDesC& TMMFileSource::Name() const
109 EXPORT_C RFile& TMMFileHandleSource::Handle() const