FreeRDP
AppDelegate Class Reference
Inheritance diagram for AppDelegate:
Collaboration diagram for AppDelegate:

Instance Methods

(void) - rdpConnectError:
 

Data Fields

NSWindow * window
 
MRDPViewmrdpView
 

Protected Attributes

MainTabBarController_tabBarController
 

Properties

IBOutlet UIWindow * window
 
IBOutlet MainTabBarControllertabBarController
 
IBOutlet NSWindow * window
 
rdpContext * context
 

Detailed Description

Definition at line 15 of file iOS/AppDelegate.h.

Method Documentation

◆ rdpConnectError:

- (void) rdpConnectError: (NSString *)  withMessage

called when we fail to connect to a RDP server - Make sure this is called from the main thread.

Definition at line 304 of file Mac/cli/AppDelegate.m.

187  :(NSString *)withMessage
188 {
189  mfContext *mfc;
190  MRDPView *view;
191  mfc = (mfContext *)context;
192  view = (MRDPView *)mfc->view;
193  [view exitFullScreenModeWithOptions:nil];
194  NSString *message = withMessage ? withMessage : @"Error connecting to server";
195  NSAlert *alert = [[NSAlert alloc] init];
196  [alert setMessageText:message];
197  [alert beginSheetModalForWindow:[self window]
198  modalDelegate:self
199  didEndSelector:@selector(alertDidEnd:returnCode:contextInfo:)
200  contextInfo:nil];
201 }

References freerdp_settings_get_bool(), and freerdp_settings_get_uint32().

Here is the call graph for this function:

The documentation for this class was generated from the following files: