provide installation instructions
[extjs.git] / air / samples / tasks / adobe / AIRAliases.js
1 /*\r
2  * Ext JS Library 0.30\r
3  * Copyright(c) 2006-2009, Ext JS, LLC.\r
4  * licensing@extjs.com\r
5  * \r
6  * http://extjs.com/license\r
7  */\r
8 \r
9 /* AIRAliases.js - Revision: 0.15 */\r
10 \r
11 // Copyright (c) 2007. Adobe Systems Incorporated.\r
12 // All rights reserved.\r
13 //\r
14 // Redistribution and use in source and binary forms, with or without\r
15 // modification, are permitted provided that the following conditions are met:\r
16 //\r
17 //   * Redistributions of source code must retain the above copyright notice,\r
18 //     this list of conditions and the following disclaimer.\r
19 //   * Redistributions in binary form must reproduce the above copyright notice,\r
20 //     this list of conditions and the following disclaimer in the documentation\r
21 //     and/or other materials provided with the distribution.\r
22 //   * Neither the name of Adobe Systems Incorporated nor the names of its\r
23 //     contributors may be used to endorse or promote products derived from this\r
24 //     software without specific prior written permission.\r
25 //\r
26 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"\r
27 // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\r
28 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\r
29 // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE\r
30 // LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\r
31 // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\r
32 // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\r
33 // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\r
34 // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\r
35 // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\r
36 // POSSIBILITY OF SUCH DAMAGE.\r
37 \r
38 \r
39 var air;\r
40 if (window.runtime) \r
41 {\r
42     if (!air) air = {};\r
43     // functions\r
44     air.trace = window.runtime.trace;\r
45     air.navigateToURL = window.runtime.flash.net.navigateToURL;\r
46     air.sendToURL = window.runtime.flash.net.sendToURL;\r
47 \r
48 \r
49     // file\r
50     air.File = window.runtime.flash.filesystem.File;\r
51     air.FileStream = window.runtime.flash.filesystem.FileStream;\r
52     air.FileMode = window.runtime.flash.filesystem.FileMode;\r
53 \r
54     // events\r
55     air.AsyncErrorEvent = window.runtime.flash.events.AsyncErrorEvent;\r
56     air.DataEvent = window.runtime.flash.events.DataEvent;\r
57     air.DRMAuthenticateEvent = window.runtime.flash.events.DRMAuthenticateEvent;\r
58     air.DRMStatusEvent = window.runtime.flash.events.DRMStatusEvent;\r
59     air.Event = window.runtime.flash.events.Event;\r
60     air.EventDispatcher = window.runtime.flash.events.EventDispatcher;\r
61     air.FileListEvent = window.runtime.flash.events.FileListEvent;\r
62     air.HTTPStatusEvent = window.runtime.flash.events.HTTPStatusEvent;\r
63     air.IOErrorEvent = window.runtime.flash.events.IOErrorEvent;\r
64     air.InvokeEvent = window.runtime.flash.events.InvokeEvent;\r
65     air.NetStatusEvent = window.runtime.flash.events.NetStatusEvent;\r
66     air.OutputProgressEvent = window.runtime.flash.events.OutputProgressEvent;\r
67     air.ProgressEvent = window.runtime.flash.events.ProgressEvent;\r
68     air.SecurityErrorEvent = window.runtime.flash.events.SecurityErrorEvent;\r
69     air.StatusEvent = window.runtime.flash.events.StatusEvent;\r
70     air.TimerEvent = window.runtime.flash.events.TimerEvent;\r
71     air.NativeDragEvent = window.runtime.flash.events.NativeDragEvent;\r
72     air.ActivityEvent = window.runtime.flash.events.ActivityEvent;\r
73     air.KeyboardEvent = window.runtime.flash.events.KeyboardEvent;    \r
74     air.MouseEvent = window.runtime.flash.events.MouseEvent;    \r
75     \r
76     // native window\r
77     air.NativeWindow = window.runtime.flash.display.NativeWindow;\r
78     air.NativeWindowDisplayState = window.runtime.flash.display.NativeWindowDisplayState;\r
79     air.NativeWindowInitOptions = window.runtime.flash.display.NativeWindowInitOptions;\r
80     air.NativeWindowSystemChrome = window.runtime.flash.display.NativeWindowSystemChrome;\r
81     air.NativeWindowResize = window.runtime.flash.display.NativeWindowResize;\r
82     air.NativeWindowType = window.runtime.flash.display.NativeWindowType;\r
83 \r
84     air.NativeWindowBoundsEvent = window.runtime.flash.events.NativeWindowBoundsEvent;\r
85     air.NativeWindowDisplayStateEvent = window.runtime.flash.events.NativeWindowDisplayStateEvent;\r
86 \r
87     // geom\r
88     air.Point = window.runtime.flash.geom.Point;\r
89     air.Rectangle = window.runtime.flash.geom.Rectangle;\r
90     air.Matrix = window.runtime.flash.geom.Matrix;\r
91 \r
92     // net\r
93     air.FileFilter = window.runtime.flash.net.FileFilter;\r
94     \r
95     air.LocalConnection = window.runtime.flash.net.LocalConnection;\r
96     air.NetConnection = window.runtime.flash.net.NetConnection;\r
97 \r
98     air.URLLoader = window.runtime.flash.net.URLLoader;\r
99     air.URLLoaderDataFormat = window.runtime.flash.net.URLLoaderDataFormat;\r
100     air.URLRequest = window.runtime.flash.net.URLRequest;\r
101     air.URLRequestDefaults = window.runtime.flash.net.URLRequestDefaults;\r
102     air.URLRequestHeader = window.runtime.flash.net.URLRequestHeader;\r
103     air.URLRequestMethod = window.runtime.flash.net.URLRequestMethod;\r
104     air.URLStream = window.runtime.flash.net.URLStream;\r
105     air.URLVariables = window.runtime.flash.net.URLVariables;\r
106     air.Socket = window.runtime.flash.net.Socket;\r
107     air.XMLSocket = window.runtime.flash.net.XMLSocket;\r
108 \r
109     air.Responder = window.runtime.flash.net.Responder;\r
110     air.ObjectEncoding = window.runtime.flash.net.ObjectEncoding;\r
111 \r
112     air.NetStream = window.runtime.flash.net.NetStream;\r
113     air.SharedObject = window.runtime.flash.net.SharedObject;\r
114     air.SharedObjectFlushStatus = window.runtime.flash.net.SharedObjectFlushStatus;\r
115 \r
116     // system\r
117     air.Capabilities = window.runtime.flash.system.Capabilities;\r
118     air.System = window.runtime.flash.system.System;\r
119     air.Security = window.runtime.flash.system.Security;\r
120     air.Updater = window.runtime.flash.desktop.Updater;\r
121 \r
122     air.LoaderContext = window.runtime.flash.system.LoaderContext;\r
123     air.ApplicationDomain = window.runtime.flash.system.ApplicationDomain;      \r
124 \r
125 \r
126     // desktop\r
127     air.Clipboard = window.runtime.flash.desktop.Clipboard;\r
128     air.ClipboardFormats = window.runtime.flash.desktop.ClipboardFormats;\r
129     air.ClipboardTransferMode = window.runtime.flash.desktop.ClipboardTransferMode;\r
130 \r
131     air.NativeDragManager = window.runtime.flash.desktop.NativeDragManager;\r
132     air.NativeDragOptions = window.runtime.flash.desktop.NativeDragOptions;\r
133     air.NativeDragActions = window.runtime.flash.desktop.NativeDragActions;\r
134 \r
135     air.Icon = window.runtime.flash.desktop.Icon;\r
136     air.DockIcon = window.runtime.flash.desktop.DockIcon;\r
137     air.InteractiveIcon = window.runtime.flash.desktop.InteractiveIcon;\r
138     air.NotificationType = window.runtime.flash.desktop.NotificationType;\r
139     air.SystemTrayIcon = window.runtime.flash.desktop.SystemTrayIcon;\r
140 \r
141     air.NativeApplication = window.runtime.flash.desktop.NativeApplication;\r
142 \r
143     // display\r
144     air.NativeMenu = window.runtime.flash.display.NativeMenu;\r
145     air.NativeMenuItem = window.runtime.flash.display.NativeMenuItem;\r
146     air.Screen = window.runtime.flash.display.Screen;\r
147     \r
148     air.Loader  = window.runtime.flash.display.Loader;\r
149     air.Bitmap = window.runtime.flash.display.Bitmap;\r
150     air.BitmapData = window.runtime.flash.display.BitmapData;\r
151 \r
152     // ui\r
153     air.Keyboard = window.runtime.flash.ui.Keyboard;\r
154     air.KeyEquivalent = window.runtime.flash.ui.KeyEquivalent;\r
155     air.Mouse = window.runtime.flash.ui.Mouse;\r
156 \r
157 \r
158     // utils\r
159     air.ByteArray = window.runtime.flash.utils.ByteArray;\r
160     air.CompressionAlgorithm = window.runtime.flash.utils.CompressionAlgorithm;\r
161     air.Endian = window.runtime.flash.utils.Endian;\r
162     air.Timer = window.runtime.flash.utils.Timer;\r
163     air.XMLSignatureValidator = window.runtime.flash.security.XMLSignatureValidator;\r
164 \r
165     air.HTMLLoader = window.runtime.flash.html.HTMLLoader;    \r
166 \r
167     // media\r
168     air.ID3Info = window.runtime.flash.media.ID3Info;\r
169     air.Sound = window.runtime.flash.media.Sound;\r
170     air.SoundChannel = window.runtime.flash.media.SoundChannel;\r
171     air.SoundLoaderContext = window.runtime.flash.media.SoundLoaderContext;\r
172     air.SoundMixer = window.runtime.flash.media.SoundMixer;\r
173     air.SoundTransform = window.runtime.flash.media.SoundTransform;\r
174     air.Microphone = window.runtime.flash.media.Microphone;\r
175     air.Video = window.runtime.flash.media.Video;\r
176     air.Camera = window.runtime.flash.media.Camera;\r
177 \r
178     // data\r
179     air.EncryptedLocalStore = window.runtime.flash.data.EncryptedLocalStore;\r
180     air.SQLCollationType = window.runtime.flash.data.SQLCollationType;\r
181     air.SQLColumnNameStyle = window.runtime.flash.data.SQLColumnNameStyle;\r
182     air.SQLColumnSchema = window.runtime.flash.data.SQLColumnSchema;\r
183     air.SQLConnection = window.runtime.flash.data.SQLConnection;\r
184     air.SQLError = window.runtime.flash.errors.SQLError;\r
185     air.SQLErrorEvent = window.runtime.flash.events.SQLErrorEvent;\r
186     air.SQLErrorOperation = window.runtime.flash.errors.SQLErrorOperation;\r
187     air.SQLEvent = window.runtime.flash.events.SQLEvent;\r
188     air.SQLIndexSchema = window.runtime.flash.data.SQLIndexSchema;\r
189     air.SQLMode = window.runtime.flash.data.SQLMode;\r
190     air.SQLResult = window.runtime.flash.data.SQLResult;\r
191     air.SQLSchema = window.runtime.flash.data.SQLSchema;\r
192     air.SQLSchemaResult = window.runtime.flash.data.SQLSchemaResult;\r
193     air.SQLStatement = window.runtime.flash.data.SQLStatement;\r
194     air.SQLTableSchema = window.runtime.flash.data.SQLTableSchema;\r
195     air.SQLTransactionLockType = window.runtime.flash.data.SQLTransactionLockType;\r
196     air.SQLTriggerSchema = window.runtime.flash.data.SQLTriggerSchema;\r
197     air.SQLUpdateEvent = window.runtime.flash.events.SQLUpdateEvent;\r
198     air.SQLViewSchema = window.runtime.flash.data.SQLViewSchema;\r
199 \r
200     // service monitoring framework\r
201     air.__defineGetter__("ServiceMonitor", function() { return window.runtime.air.net.ServiceMonitor; })\r
202     air.__defineGetter__("SocketMonitor", function() { return window.runtime.air.net.SocketMonitor; })\r
203     air.__defineGetter__("URLMonitor", function() { return window.runtime.air.net.URLMonitor; })\r
204 }