mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-02 18:10:48 +08:00
34 lines
714 B
Objective-C
34 lines
714 B
Objective-C
//
|
|
// AppDelegate.h
|
|
// test
|
|
//
|
|
// Created by Lea Anthony on 10/10/21.
|
|
//
|
|
|
|
#ifndef AppDelegate_h
|
|
#define AppDelegate_h
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
#import "WailsContext.h"
|
|
|
|
@interface AppDelegate : NSResponder <NSApplicationDelegate, NSTouchBarProvider>
|
|
|
|
@property bool alwaysOnTop;
|
|
@property bool startHidden;
|
|
@property (retain) NSString* singleInstanceUniqueId;
|
|
@property bool singleInstanceLockEnabled;
|
|
@property bool startFullscreen;
|
|
@property (retain) WailsWindow* mainWindow;
|
|
|
|
@end
|
|
|
|
extern void HandleOpenFile(char *);
|
|
|
|
extern void HandleSecondInstanceData(char * message);
|
|
|
|
void SendDataToFirstInstance(char * singleInstanceUniqueId, char * text);
|
|
|
|
char* GetMacOsNativeTempDir();
|
|
|
|
#endif /* AppDelegate_h */
|