FreeRDP
Loading...
Searching...
No Matches
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 306 of file Mac/cli/AppDelegate.m.

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

References freerdp_settings_get_bool(), and freerdp_settings_get_uint32().

Here is the call graph for this function:

Field Documentation

◆ _tabBarController

- (MainTabBarController*) _tabBarController
protected

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

◆ mrdpView

- (MRDPView*) mrdpView

Definition at line 19 of file Mac/cli/AppDelegate.h.

◆ window

- (NSWindow*) window

Definition at line 17 of file Mac/cli/AppDelegate.h.

Property Documentation

◆ context

- (rdpContext *) context
readwriteatomicassign

Definition at line 18 of file Mac/cli/AppDelegate.h.

◆ tabBarController

- (IBOutlet MainTabBarController*) tabBarController
readwritenonatomicretain

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

◆ window [1/2]

- (IBOutlet UIWindow*) window
readwritenonatomicretain

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

◆ window [2/2]

- (IBOutlet NSWindow*) window
readwriteatomicassign

Definition at line 24 of file Mac/cli/AppDelegate.h.


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