mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
Mac client: close app on window close. Renamed header.
This commit is contained in:
@@ -42,6 +42,7 @@
|
||||
* -
|
||||
*/
|
||||
|
||||
#include "mf_client.h"
|
||||
#import "MRDPView.h"
|
||||
#import "MRDPCursor.h"
|
||||
#import "PasswordDialog.h"
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
@synthesize mrdpView = mrdpView;
|
||||
|
||||
- (void)applicationDidFinishLaunching:(NSNotification*)aNotification
|
||||
- (void) applicationDidFinishLaunching:(NSNotification*)aNotification
|
||||
{
|
||||
[mrdpView rdpConnect];
|
||||
}
|
||||
@@ -29,4 +29,9 @@
|
||||
[mrdpView releaseResources];
|
||||
}
|
||||
|
||||
- (BOOL)applicationShouldTerminateAfterLastWindowClosed:(NSApplication *)sender
|
||||
{
|
||||
return YES;
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
@@ -19,8 +19,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef __MF_INTERFACE_H
|
||||
#define __MF_INTERFACE_H
|
||||
#ifndef __MF_CLIENT_H
|
||||
#define __MF_CLIENT_H
|
||||
|
||||
#include <freerdp/client.h>
|
||||
|
||||
Reference in New Issue
Block a user