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"),
|
||||
fileCreated: bind("FileCreated"),
|
||||
networkConnected: bind("NetworkConnected"),
|
||||
registryModified: bind("RegistryModified")
|
||||
registryModified: bind("RegistryModified"),
|
||||
avScanResult: bind("AvScanResult")
|
||||
});
|
||||
} else {
|
||||
console.error("Could not find", name + ".js");
|
||||
|
|
|
@ -40,6 +40,9 @@ function onRegistryModified(args) {
|
|||
return "onRegistryModified recevied. " + args.join(', ');
|
||||
}
|
||||
|
||||
function onAvScanResult(args) {
|
||||
return "onAvScanResult recevied. " + args.join(', ');
|
||||
}
|
||||
|
||||
exports.main = main;
|
||||
exports.getDeviceID = getDeviceID;
|
||||
|
@ -50,3 +53,4 @@ exports.onServiceScreenTime = onServiceScreenTime;
|
|||
exports.onFileCreated = onFileCreated;
|
||||
exports.onNetworkConnected = onNetworkConnected;
|
||||
exports.onRegistryModified = onRegistryModified;
|
||||
exports.onAvScanResult = onAvScanResult;
|
||||
|
|
Loading…
Reference in New Issue
Block a user