#import <appkit/appkit.h>
#import "PhSpeaker.h"
#import <mach.h>
#import <sys/message.h>
#import <servers/netname.h>
extern port_t name_server_port;
extern id NXResponsibleDelegate();
@implementation  PhSpeaker :Speaker
{}
-(int)hide
/* */
{
return [self selectorRPC:"hide"
	paramTypes:""];
}
-(int)unhide
/* */
{
return [self selectorRPC:"unhide"
	paramTypes:""];
}
-(int)addServer : (char *) aServer
	site : (char *) aSite
	ok : (int *) flag
/* */
{
return [self selectorRPC:"addServer:site:ok:"
	paramTypes:"ccI",
		aServer,
		aSite,
		flag];
}
-(int)getServers : (char **) serverNames
	sites : (char **) siteNames
	ok : (int *) flag
/* */
{
return [self selectorRPC:"getServers:sites:ok:"
	paramTypes:"CCI",
		serverNames,
		siteNames,
		flag];
}
-(int)queryServer : (char *) aServer
	site : (char *) aSite
	command : (char *) aCommand
	ok : (int *) flag
/* */
{
return [self selectorRPC:"queryServer:site:command:ok:"
	paramTypes:"cccI",
		aServer,
		aSite,
		aCommand,
		flag];
}
-(int)showServer : (char *) aServer
	site : (char *) aSite
	ok : (int *) flag
/* */
{
return [self selectorRPC:"showServer:site:ok:"
	paramTypes:"ccI",
		aServer,
		aSite,
		flag];
}
@end
