Spot stuff in AbjectScript.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4144 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2006-05-24 00:20:00 +00:00
parent a6746bc04f
commit c143e93554
23 changed files with 1868 additions and 0 deletions
@@ -0,0 +1,27 @@
package com.threerings.presents.client {
public class ConfirmAdapter
implements ConfirmListener
{
public function ConfirmAdapter (processed :Function, failed :Function)
{
_processed = processed;
_failed = failed;
}
// documentation inherited from interface ConfirmListener
public function requestProcessed () :void
{
_processed();
}
// documentation inherited from interface ConfirmListener
public function requestFailed (cause :String) :void
{
_failed(cause);
}
protected var _processed :Function;
protected var _failed :Function;
}
}