sysapps / device-capabilities

API to retrieve the status of the device capabilities supported and system information from the underlying device.
2 stars 7 forks source link

SystemStorage should inherit from EventTarget #11

Open halton opened 10 years ago

halton commented 10 years ago

Same as

 interface SystemDisplay : EventTarget {
    readonly    attribute DisplayUnit[] displays;
                attribute EventHandler  onconnect;
                attribute EventHandler  ondisconnect;
};

Storage should do same thing

interface SystemStorage : EventTarget {
    readonly    attribute StorageUnit[] storages;
                attribute EventHandler  onattach;
                attribute EventHandler  ondetach;
};