2002-03-11 13:49:50 +00:00
|
|
|
/**
|
2005-08-31 13:16:21 +00:00
|
|
|
* construct an application object so that we can use
|
|
|
|
* skins for non-active applications too
|
|
|
|
* @arg name
|
|
|
|
*/
|
|
|
|
function constructor(name) {
|
|
|
|
this.name = name;
|
2002-03-11 13:49:50 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2002-09-23 12:22:13 +00:00
|
|
|
/**
|
|
|
|
* of no use, just to avoid error message
|
|
|
|
*/
|
2005-08-31 13:16:21 +00:00
|
|
|
function onRequest() {
|
2002-09-23 12:22:13 +00:00
|
|
|
}
|
|
|
|
|
2002-03-11 13:49:50 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* return true/false to determine if application is running
|
|
|
|
*/
|
2005-08-31 13:16:21 +00:00
|
|
|
function isActive() {
|
|
|
|
if (root.getApplication(this.name) == null)
|
|
|
|
return false;
|
|
|
|
else
|
|
|
|
return true;
|
2002-03-11 13:49:50 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|