Mac client: close app on window close. Renamed header.
This commit is contained in:
parent
aed02baf89
commit
3541ecb2ff
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user