81626c8741
- added ErrorInfo handling. - Showing alert message on main thread. - Autorelease pool for background thread.
27 lines
461 B
Objective-C
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
|