Ext.Loader.setConfig({
	"IceCap": "/mule-apps/IceCap/app"
});

sp.declare("Peter.foo", {
	requires: [
		"IceCap.view.Main"
	],
	onInitialize: function(i_self) {


		var i_emulator = Ext.create("IceCap.view.Main", {
			func: "wrksplf"
		});

		var i_window = Ext.widget("window", {
			layout: "fit",
			resizable: false,
			closable: false,
			items: [
				i_emulator
			],
			onESC: Ext.emptyFn
		});

		i_window.show();

		return null;
	}
});
