d25d5e53f1
interfaces, and Marshallers for same. The remaining snag has to do with the annoyance of ActionScript not supporting inner classes, which means that ChatService.TellListener for example has to become ChatService_TellListener. The code for generating the Java marshaller knows to add an import for ChatService if some random invocation service interface happens to reference ChatService.TellListener, but now it needs to be made to know to add an import for ChatService_TellListener in ActionScript land and it has to do it in a way that doesn't fuck up the Java code generation. Whee! git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4397 542714f4-19e9-0310-aa3c-eee0fc999fb1
21 lines
374 B
Cheetah
21 lines
374 B
Cheetah
package $package {
|
|
|
|
#foreach ($import in $imports)
|
|
import $import;
|
|
#end
|
|
|
|
/**
|
|
* An ActionScript version of the Java ${name}Service interface.
|
|
*/
|
|
public interface ${name}Service extends InvocationService
|
|
{
|
|
#foreach ($m in $methods)
|
|
#if ($velocityCount > 1)
|
|
|
|
#end
|
|
// from Java interface ${name}Service
|
|
function $m.method.name ($m.getASArgList(false)) :void;
|
|
#end
|
|
}
|
|
}
|