2023-07-10 09:53:00 +00:00
|
|
|
import * as SignalTracker from './signalTracker.js';
|
|
|
|
|
2022-07-04 22:30:44 +00:00
|
|
|
const Signals = imports.signals;
|
|
|
|
|
2023-07-10 09:53:00 +00:00
|
|
|
export class EventEmitter {
|
2022-07-04 22:30:44 +00:00
|
|
|
connectObject(...args) {
|
|
|
|
return SignalTracker.connectObject(this, ...args);
|
|
|
|
}
|
|
|
|
|
|
|
|
disconnectObject(...args) {
|
|
|
|
return SignalTracker.disconnectObject(this, ...args);
|
|
|
|
}
|
|
|
|
|
|
|
|
connect_object(...args) {
|
|
|
|
return this.connectObject(...args);
|
|
|
|
}
|
|
|
|
|
|
|
|
disconnect_object(...args) {
|
|
|
|
return this.disconnectObject(...args);
|
|
|
|
}
|
2023-07-10 09:53:00 +00:00
|
|
|
}
|
2022-07-04 22:30:44 +00:00
|
|
|
|
|
|
|
Signals.addSignalMethods(EventEmitter.prototype);
|