|
1 /* |
|
2 * Copyright (c) 2003 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: smilpresentation.inl* |
|
15 */ |
|
16 |
|
17 |
|
18 |
|
19 inline TBool CSmilPresentation::TwoWayNavigation() const |
|
20 { |
|
21 return iTwoWayNavigation; |
|
22 } |
|
23 |
|
24 inline void CSmilPresentation::SetTwoWayNavigation(TBool aEnable) |
|
25 { |
|
26 iTwoWayNavigation = aEnable; |
|
27 } |
|
28 |
|
29 inline void CSmilPresentation::SetMaxDownUpScaling( TReal aDown, TReal aUp ) |
|
30 { |
|
31 iDown = aDown; |
|
32 iUp = aUp; |
|
33 } |
|
34 |
|
35 inline TInt CSmilPresentation::Volume() |
|
36 { |
|
37 return iVolume; |
|
38 } |
|
39 |
|
40 |
|
41 inline MSmilPlayer* CSmilPresentation::GetPlayer() |
|
42 { |
|
43 return iPlayer; |
|
44 } |
|
45 |
|
46 |
|
47 inline |
|
48 TBool CSmilPresentation::SlideModeEnabled() const |
|
49 { |
|
50 return iSlideModeEnabled; |
|
51 } |
|
52 |
|
53 inline |
|
54 void CSmilPresentation::SetSlideModeEnabled(TBool aEnable) |
|
55 { |
|
56 iSlideModeEnabled = aEnable; |
|
57 } |
|
58 |
|
59 //not part of public API! |
|
60 |
|
61 inline CSmilRootRegion* CSmilPresentation::GetLayout() |
|
62 { |
|
63 return iLayout; |
|
64 } |
|
65 |
|
66 inline CSmilTimeContainer* CSmilPresentation::GetTimegraph() |
|
67 { |
|
68 return iTimegraph; |
|
69 } |
|
70 |
|
71 |
|
72 |
|
73 inline void CSmilPresentation::SetEndAction(TEndAction aEndAction) |
|
74 { |
|
75 iEndAction = aEndAction; |
|
76 } |
|
77 |
|
78 inline CSmilPresentation::TEndAction CSmilPresentation::GetEndAction() const |
|
79 { |
|
80 return iEndAction; |
|
81 } |
|
82 |
|
83 inline void CSmilPresentation::SetStartAction(TStartAction aStartAction) |
|
84 { |
|
85 iStartAction = aStartAction; |
|
86 } |
|
87 |
|
88 inline CSmilPresentation::TStartAction CSmilPresentation::GetStartAction() const |
|
89 { |
|
90 return iStartAction; |
|
91 } |
|
92 |
|
93 inline void CSmilPresentation::SetRTLNavigation(TBool aRTL) |
|
94 { |
|
95 iRTL = aRTL; |
|
96 } |
|
97 |
|
98 inline TBool CSmilPresentation::RTLNavigation() const |
|
99 { |
|
100 return iRTL; |
|
101 } |
|
102 |
|
103 inline TBool CSmilPresentation::MediaSelected() const |
|
104 { |
|
105 return iMediaSelected; |
|
106 } |
|
107 |