61b1f23303
clean action script files with no unnecessary imports * New class ImportSet to facilitate the operations being performed manually throughout the code. Also removes the need for rawimports * Threaded ImportSet through all places where imports and rawimports were used and removed magic parameters to control import generation * Added an ImportSet instance to ServiceListener, this was key to the action script fixes * Moved all the import tweaking and munging logic into the generate* methods and made specific to code being generated (removed overreaching stuff from ServiceMethod, this was part of the problem) * Removed blanket imports from tmpl files * Removed unused methods * Fixed tabs from last commit * Quick and dirty script to check for unused imports git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5041 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
|
|
}
|
|
}
|