github.com/secoba/wails/v2@v2.6.4/internal/frontend/desktop/darwin/ApDelegate.h (about) 1 // 2 // ApDelegate.h 3 // test 4 // 5 // Created by Lea Anthony on 10/10/21. 6 // 7 8 #ifndef ApDelegate_h 9 #define ApDelegate_h 10 11 #import <Cocoa/Cocoa.h> 12 #import "WailsContext.h" 13 14 @interface ApDelegate : NSResponder <NSApplicationDelegate, NSTouchBarProvider> 15 16 @property bool alwaysOnTop; 17 @property bool startHidden; 18 @property (retain) NSString* singleInstanceUniqueId; 19 @property bool singleInstanceLockEnabled; 20 @property bool startFullscreen; 21 @property (retain) WailsWindow* mainWindow; 22 23 @end 24 25 extern void HandleOpenFile(char *); 26 27 extern void HandleSecondInstanceData(char * message); 28 29 void SendDataToFirstInstance(char * singleInstanceUniqueId, char * text); 30 31 char* GetMacOsNativeTempDir(); 32 33 #endif /* ApDelegate_h */