From be0849f17e8939c0a17a6f93e8cfa8a1adc2747a Mon Sep 17 00:00:00 2001 From: Ray Greenwell Date: Tue, 16 Sep 2008 22:50:15 +0000 Subject: [PATCH] In with the new. Or rather the old. The original incarnation. Does not allow null 'processed' functions. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5377 542714f4-19e9-0310-aa3c-eee0fc999fb1 --- .../client/{ResultWrapper.as => ResultAdapter.as} | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) rename src/as/com/threerings/presents/client/{ResultWrapper.as => ResultAdapter.as} (82%) diff --git a/src/as/com/threerings/presents/client/ResultWrapper.as b/src/as/com/threerings/presents/client/ResultAdapter.as similarity index 82% rename from src/as/com/threerings/presents/client/ResultWrapper.as rename to src/as/com/threerings/presents/client/ResultAdapter.as index af1bb527d..6af94c694 100644 --- a/src/as/com/threerings/presents/client/ResultWrapper.as +++ b/src/as/com/threerings/presents/client/ResultAdapter.as @@ -22,15 +22,12 @@ package com.threerings.presents.client { /** - * ResultAdapter... I mean Wrapper! - * - * Flash cannot cope with two classes with the same basename in the same .swc - * and there's already a ResultAdapter in util/. + * ResultAdapter adapts functions to work as a ResultListener. */ -public class ResultWrapper extends InvocationAdapter +public class ResultAdapter extends InvocationAdapter implements InvocationService_ResultListener { - public function ResultWrapper (failed :Function, processed :Function) + public function ResultAdapter (failed :Function, processed :Function) { super(failed); _processed = processed;