Files
narya/src/as/com/threerings/presents/client/ConfirmAdapter.as
T
Ray Greenwell 947db5851d Renamed the InvocationListeners to the standard way I've been naming
inner classes over here on the actionscript side.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4265 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-07-13 19:08:18 +00:00

28 lines
646 B
ActionScript

package com.threerings.presents.client {
public class ConfirmAdapter
implements InvocationService_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;
}
}