commit extjs-2.2.1
[extjs.git] / air / src / App.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 Ext.air.App = function() {
10     return {
11         launchOnStartup: function(launch) {
12             air.NativeApplication.nativeApplication.startAtLogin = !!launch;
13         },
14         getActiveWindow: function() {
15             return air.NativeApplication.activeWindow;
16         }
17     };
18 }();