uidesigner/com.nokia.sdt.component.symbian.test/data/scripts/test1.js
author timkelly
Wed, 24 Jun 2009 14:21:31 -0500
changeset 297 192fda8b2d77
parent 0 fb279309251b
permissions -rw-r--r--
update test for plat macros to use newer SDK (S60 5th ed.)


// this test uses only globals

function Test() {
}

Test.prototype.getInstance = function() {
	return instance;
}

Test.prototype.getProperties = function() {
	return properties;
}

Test.prototype.getNamePlusFoo = function() {
	return properties["name"] + "foo";
}

Test.prototype.getSizeFormatted = function() {
	return properties["size"].x + "," + properties["size"].y;
}