Mac client: close app on window close. Renamed header.

This commit is contained in:
Benoît LeBlanc 2013-06-18 12:03:22 -04:00
parent aed02baf89
commit 3541ecb2ff
3 changed files with 9 additions and 3 deletions

View File

@ -42,6 +42,7 @@
* -
*/
#include "mf_client.h"
#import "MRDPView.h"
#import "MRDPCursor.h"
#import "PasswordDialog.h"

View File

@ -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

View File

@ -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>