FreeRDP
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Modules Pages
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:

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: