mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-03 00:22:57 +08:00

This makes sure we always use the correct WKURLSchemeTask during processURLResponse. Only using the URL is not unique enough and might result in pending requests if two requests with the same URL are getting processed.
30 lines
514 B
C
30 lines
514 B
C
//
|
|
// message.h
|
|
// test
|
|
//
|
|
// Created by Lea Anthony on 14/10/21.
|
|
//
|
|
|
|
#ifndef export_h
|
|
#define export_h
|
|
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
{
|
|
#endif
|
|
|
|
void processMessage(const char *);
|
|
void processURLRequest(void*, unsigned long long, const char *, const char *, const char *, const void *, int);
|
|
void processMessageDialogResponse(int);
|
|
void processOpenFileDialogResponse(const char*);
|
|
void processSaveFileDialogResponse(const char*);
|
|
void processCallback(int);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
|
|
#endif /* export_h */
|