FreeRDP/client/Mac/cli/AppDelegate.h
Benoît LeBlanc 81626c8741 MacFreeRDP cli fixes:
- added ErrorInfo handling.
- Showing alert message on main thread.
- Autorelease pool for background thread.
2013-07-22 15:33:30 -04:00

27 lines
461 B
Objective-C

//
// AppDelegate.h
// MacClient2
//
// Created by Benoît et Kathy on 2013-05-08.
//
//
#import <Cocoa/Cocoa.h>
#import <MacFreeRDP/MRDPView.h>
#import <MacFreeRDP/mfreerdp.h>
@interface AppDelegate : NSObject <NSApplicationDelegate>
{
@public
NSWindow* window;
rdpContext* context;
MRDPView* mrdpView;
}
- (void) rdpConnectError: (NSString*) customMessage;
@property (assign) IBOutlet NSWindow *window;
@property (assign) rdpContext *context;
@end