Browse Source

packethandlers: helper to have all handlers use the device

bboozzoo/device-cache
Maciek Borzecki 10 years ago
parent
commit
71a94c3f20
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      src/packethandlers.vala

+ 6
- 0
src/packethandlers.vala View File

@ -59,4 +59,10 @@ class PacketHandlers : Object {
}
// return interfaces;
}
public void use_device(Device dev) {
_handlers.foreach((h) => {
h.use_device(dev);
});
}
}

Loading…
Cancel
Save