|
1 /* |
|
2 * Copyright (c) 2006-2010 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: Flash Netscape Plugin Parameter Definitions |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef NPNFLASH_DEFS_H |
|
20 #define NPNFLASH_DEFS_H |
|
21 |
|
22 //These definitions are used for sending paramter to flash plug-in through |
|
23 //web pages. |
|
24 |
|
25 //Atribute to be set during newp call only |
|
26 _LIT( KFlashInteractionMode , "interactionmode" ); |
|
27 _LIT(KFlashSwfSrc, "src"); |
|
28 _LIT(KFlashSwfMovie, "movie"); |
|
29 _LIT(KFlashBase, "base"); |
|
30 _LIT(KLoop, "loop"); |
|
31 _LIT(KQuality, "quality"); |
|
32 _LIT(KBackgroundcolor, "backgroundcolor"); |
|
33 _LIT(KBgcolor, "bgcolor"); |
|
34 _LIT(KWMode,"wmode"); |
|
35 _LIT(KWAlpha,"alpha"); |
|
36 _LIT(KFlashVars,"flashvars"); |
|
37 _LIT(KFlashName,"name"); |
|
38 _LIT(KFlashPlay,"play"); |
|
39 _LIT(KFlashAllowFullScreen,"allowFullScreen"); |
|
40 _LIT(KFlashAllowMobiFullScreen,"allowMobiFullScreen"); |
|
41 _LIT(KScale, "scale"); |
|
42 _LIT(KAlign,"align"); |
|
43 _LIT(KSAlign,"salign"); |
|
44 |
|
45 _LIT(KShowAll,"showall"); |
|
46 _LIT(KNoBorder,"noborder"); |
|
47 _LIT(KExactFit,"exactfit"); |
|
48 _LIT(KNoScale,"noscale"); |
|
49 |
|
50 _LIT(KLeft,"left"); |
|
51 _LIT(KRight,"right"); |
|
52 _LIT(KTop,"top"); |
|
53 _LIT(KBottom,"bottom"); |
|
54 |
|
55 _LIT(KTopLeft,"TL"); |
|
56 _LIT(KLeftTop,"LT"); |
|
57 _LIT(KTopRight,"TR"); |
|
58 _LIT(KRightTop,"RT"); |
|
59 _LIT(KBottomLeft,"BL"); |
|
60 _LIT(KLeftBottom,"LB"); |
|
61 _LIT(KBottomRight,"BR"); |
|
62 _LIT(KRightBottom,"RB"); |
|
63 |
|
64 //interaction mode Values |
|
65 _LIT( KValueFlashAnimation, "anim" ); |
|
66 _LIT( KValueScreensaverMode, "screensaver" ); |
|
67 |
|
68 //values for quality |
|
69 _LIT(KHigh,"high"); |
|
70 _LIT(KMedium,"medium"); |
|
71 _LIT(KLow,"low"); |
|
72 |
|
73 //values for Loop |
|
74 _LIT(KOn,"on"); |
|
75 _LIT(KOff,"off"); |
|
76 _LIT(KTrue,"true"); |
|
77 _LIT(KFalse,"false"); |
|
78 _LIT(KYes,"yes"); |
|
79 _LIT(KNo,"no"); |
|
80 |
|
81 //value for background transparency |
|
82 _LIT(KWModeTransparent,"transparent"); |
|
83 _LIT(KWModeOpaque,"opaque"); |
|
84 _LIT(KWModeWindow,"window"); |
|
85 |
|
86 _LIT(KSCriptAccess, "allowscriptaccess"); |
|
87 |
|
88 _LIT(KSCriptAccessAlways, "always"); |
|
89 _LIT(KSCriptAccessnever, "never"); |
|
90 _LIT(KSCriptAccessSameDomain, "SameDomain"); |
|
91 |
|
92 /** |
|
93 * Value sent by plug-in for player status. |
|
94 * |
|
95 * @lib |
|
96 * @since Series 60 3rd Edition, Feature Pack 1 |
|
97 */ |
|
98 /** |
|
99 * Value sent by plug-in for player status. |
|
100 * |
|
101 * @lib |
|
102 * @since Series 60 3rd Edition, Feature Pack 1 |
|
103 */ |
|
104 enum TFlashPlayerState // |
|
105 { |
|
106 EContentError = -2, |
|
107 EInstanceError = -1, |
|
108 EEngineNotInitialized, |
|
109 EEngineInitialized, |
|
110 EContentClosed = 2, |
|
111 EContentOpening, |
|
112 EContentOpen, |
|
113 EContentPreparing, |
|
114 EContentReady, // player's stopped state |
|
115 EContentPlaying, |
|
116 EPlayerPaused, |
|
117 EPlayerStopped, |
|
118 EPlayComplete |
|
119 }; |
|
120 |
|
121 #endif //NPNFLASH_DEFS_H |