mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-07 19:12:00 +08:00
23 lines
322 B
Go
23 lines
322 B
Go
//go:build linux
|
|
|
|
package events
|
|
|
|
/*
|
|
#include "events_linux.h"
|
|
#include <stdlib.h>
|
|
#include <stdbool.h>
|
|
|
|
bool hasListener[MAX_EVENTS] = {false};
|
|
|
|
void registerListener(unsigned int event) {
|
|
hasListener[event] = true;
|
|
}
|
|
|
|
bool hasListeners(unsigned int event) {
|
|
//return hasListener[event];
|
|
return true;
|
|
}
|
|
|
|
*/
|
|
import "C"
|