mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-02-06 06:54:58 +00:00
Add the event listener onAvScanResult
This commit is contained in:
parent
f7b1461cc5
commit
4144679db7
3
app.js
3
app.js
|
@ -629,7 +629,8 @@ function dispatchServiceEvent(name, eventType, w_args, argl) {
|
||||||
screenTime: bind("ServiceScreenTime"),
|
screenTime: bind("ServiceScreenTime"),
|
||||||
fileCreated: bind("FileCreated"),
|
fileCreated: bind("FileCreated"),
|
||||||
networkConnected: bind("NetworkConnected"),
|
networkConnected: bind("NetworkConnected"),
|
||||||
registryModified: bind("RegistryModified")
|
registryModified: bind("RegistryModified"),
|
||||||
|
avScanResult: bind("AvScanResult")
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
console.error("Could not find", name + ".js");
|
console.error("Could not find", name + ".js");
|
||||||
|
|
|
@ -40,6 +40,9 @@ function onRegistryModified(args) {
|
||||||
return "onRegistryModified recevied. " + args.join(', ');
|
return "onRegistryModified recevied. " + args.join(', ');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function onAvScanResult(args) {
|
||||||
|
return "onAvScanResult recevied. " + args.join(', ');
|
||||||
|
}
|
||||||
|
|
||||||
exports.main = main;
|
exports.main = main;
|
||||||
exports.getDeviceID = getDeviceID;
|
exports.getDeviceID = getDeviceID;
|
||||||
|
@ -50,3 +53,4 @@ exports.onServiceScreenTime = onServiceScreenTime;
|
||||||
exports.onFileCreated = onFileCreated;
|
exports.onFileCreated = onFileCreated;
|
||||||
exports.onNetworkConnected = onNetworkConnected;
|
exports.onNetworkConnected = onNetworkConnected;
|
||||||
exports.onRegistryModified = onRegistryModified;
|
exports.onRegistryModified = onRegistryModified;
|
||||||
|
exports.onAvScanResult = onAvScanResult;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user