Mac OS X gamepad emulator for serial RC transmitters
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

AppDelegate.m 658B

12345678910111213141516171819202122232425262728293031323334
  1. //
  2. // AppDelegate.m
  3. // SerialGamepad
  4. //
  5. // Created by Thomas Buck on 14.12.15.
  6. // Copyright © 2015 xythobuz. All rights reserved.
  7. //
  8. #import "AppDelegate.h"
  9. #import "MainWindow.h"
  10. @interface AppDelegate ()
  11. @property (weak) IBOutlet MainWindow *window;
  12. @end
  13. @implementation AppDelegate
  14. @synthesize window;
  15. - (BOOL)applicationShouldTerminateAfterLastWindowClosed:(NSApplication *)application {
  16. return YES;
  17. }
  18. - (void)applicationDidFinishLaunching:(NSNotification *)aNotification {
  19. [window populatePortList];
  20. }
  21. - (void)applicationWillTerminate:(NSNotification *)aNotification {
  22. // Insert code here to tear down your application
  23. }
  24. @end