equal
deleted
inserted
replaced
|
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". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 inline |
|
17 void CGenericImageDisplayPlugin::SetStatusFlag(TUint aFlagOption) |
|
18 { |
|
19 iPluginStatus |= aFlagOption; |
|
20 } |
|
21 |
|
22 inline |
|
23 void CGenericImageDisplayPlugin::ClearStatusFlag(TUint aFlagOption) |
|
24 { |
|
25 iPluginStatus &= ~TUint(aFlagOption); |
|
26 } |
|
27 |
|
28 inline |
|
29 TBool CGenericImageDisplayPlugin::IsStatusSet(TUint aFlagOption) const |
|
30 { |
|
31 return (iPluginStatus & aFlagOption)==aFlagOption; |
|
32 } |
|
33 |
|
34 inline |
|
35 const TSize& CGenericImageDisplayPlugin::MaxUnscaledSize() const |
|
36 { |
|
37 return iMaxUnscaledSize; |
|
38 } |
|
39 |
|
40 inline |
|
41 TDisplayMode CGenericImageDisplayPlugin::EffectiveDispMode() const |
|
42 { |
|
43 ASSERT(iDecoder); |
|
44 return DisplayMode() == ENone ? iDecoder->FrameInfo().iFrameDisplayMode : DisplayMode(); |
|
45 } |
|
46 |
|
47 |
|
48 inline |
|
49 TBool CGenericImageDisplayPlugin::ThumbnailRequested() const |
|
50 { |
|
51 return iImageIsThumbnail; |
|
52 } |
|
53 |
|
54 inline |
|
55 CDelayedCallback::CDelayedCallback(MCallbackClient& aClient): |
|
56 CTimer(EPriorityNormal), |
|
57 iClient(aClient) |
|
58 { |
|
59 CActiveScheduler::Add(this); |
|
60 } |
|
61 |
|
62 inline |
|
63 TExtTie::TExtTie(CGenericImageDisplayPlugin& aImplementor):iImplementor(aImplementor) |
|
64 { |
|
65 } |
|
66 |