|
1 /* |
|
2 * Copyright (c) 2006 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: Implementation of MultimediaDataSource inline. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 inline TInt CMultimediaDataSource::SetPrioritySettings( |
|
20 const TMMFPrioritySettings& /*aPrioritySettings*/ ) |
|
21 { |
|
22 return KErrNotSupported; |
|
23 } |
|
24 |
|
25 inline TInt CMultimediaDataSource::GetDRMProtection( TBool& aIsProtected ) |
|
26 { |
|
27 aIsProtected = EFalse; |
|
28 return KErrNone; |
|
29 } |
|
30 |
|
31 inline TInt CMultimediaDataSource::EvaluateIntent( |
|
32 ContentAccess::TIntent /*aIntent*/ ) |
|
33 { |
|
34 return KErrNotSupported; |
|
35 }; |
|
36 |
|
37 inline TInt CMultimediaDataSource::ExecuteIntent( |
|
38 ContentAccess::TIntent /*aIntent*/ ) |
|
39 { |
|
40 return KErrNotSupported; |
|
41 }; |
|
42 |
|
43 inline TInt CMultimediaDataSource::SetAgentProperty( |
|
44 ContentAccess::TAgentProperty /*aProperty*/, |
|
45 TInt /*aValue*/) |
|
46 { |
|
47 return KErrNotSupported; |
|
48 }; |
|
49 |
|
50 inline void CMultimediaDataSource::GetState( TState& aState ) |
|
51 { |
|
52 aState = iState; |
|
53 }; |
|
54 |
|
55 inline TInt CMultimediaDataSource::GetSeekingSupport( TBool& aSeekSupport ) |
|
56 { |
|
57 aSeekSupport = EFalse; |
|
58 return KErrNone; |
|
59 }; |
|
60 |
|
61 inline TInt CMultimediaDataSource::GetRandomSeekingSupport( |
|
62 TBool& aSeekSupport ) |
|
63 { |
|
64 aSeekSupport = EFalse; |
|
65 return KErrNone; |
|
66 }; |
|
67 |
|
68 inline TInt CMultimediaDataSource::Seek(TUint /*aPosInBytes*/) |
|
69 { |
|
70 return KErrNotSupported; |
|
71 }; |
|
72 |
|
73 inline CMultimediaDataSource::~CMultimediaDataSource() |
|
74 { |
|
75 // No impl |
|
76 }; |
|
77 |
|
78 inline TInt CMultimediaDataSource::GetInterface( |
|
79 TUid /*aInterfaceId*/, |
|
80 TVersion& /*aVer*/, |
|
81 TAny*& aInterfaceImpl ) |
|
82 { |
|
83 aInterfaceImpl = NULL; |
|
84 return KErrNotFound; |
|
85 } |
|
86 |
|
87 // End of file |