Change how we link classes that aren't otherwise linked.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5462 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -34,13 +34,13 @@ import com.threerings.crowd.data.CrowdPermissionPolicy;
|
||||
*/
|
||||
public class CrowdClient extends Client
|
||||
{
|
||||
// statically reference classes we require
|
||||
BodyMarshaller;
|
||||
CrowdPermissionPolicy;
|
||||
|
||||
public function CrowdClient (creds :Credentials)
|
||||
{
|
||||
super(creds);
|
||||
|
||||
// ensure that the compiler includes these necessary symbols
|
||||
var i :int = BodyMarshaller.SET_IDLE;
|
||||
var c :Class = CrowdPermissionPolicy;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -52,7 +52,8 @@ import com.threerings.crowd.util.CrowdContext;
|
||||
public class LocationDirector extends BasicDirector
|
||||
implements Subscriber, LocationReceiver
|
||||
{
|
||||
private static const log :Log = Log.getLog(LocationDirector);
|
||||
// statically reference classes we require
|
||||
LocationMarshaller;
|
||||
|
||||
/**
|
||||
* Constructs a location director which will configure itself for operation using the supplied
|
||||
@@ -67,9 +68,6 @@ public class LocationDirector extends BasicDirector
|
||||
|
||||
// register for location notifications
|
||||
_cctx.getClient().getInvocationDirector().registerReceiver(new LocationDecoder(this));
|
||||
|
||||
// ensure that the compiler includes these necessary symbols
|
||||
var i :int = LocationMarshaller.LEAVE_PLACE;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -540,6 +538,8 @@ public class LocationDirector extends BasicDirector
|
||||
});
|
||||
}
|
||||
|
||||
protected const log :Log = Log.getLog(this);
|
||||
|
||||
/** The context through which we access needed services. */
|
||||
protected var _cctx :CrowdContext;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user