//
//  AppController.h
//  DO
//
//  Created by Dr. H. Nikolaus Schaller on 23.10.06.
//  Copyright 2006 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>

@protocol Respond
- (oneway void) passMessage:(NSString *) str;
- (bycopy NSString *) pleaseRespond;
@end

@interface AppController : NSObject
{
	IBOutlet NSTextView *server;
	IBOutlet NSTextView *result;
	IBOutlet NSTextField *message;
	id <Respond> rootProxy;
}

- (IBAction) registerAsServer:(id) sender;
- (IBAction) registerAsMSGPortServer:(id) sender;
- (IBAction) connectToServer:(id) sender;
- (IBAction) connectToMSGServer:(id) sender;
- (IBAction) sendMessage:(id) sender;
- (IBAction) getResponse:(id) sender;

@end
