Begin gemaakt met devices die events kunnen sturen naar applications via main opdat actions worden uitgevoerd.

This commit is contained in:
2011-02-02 20:29:41 +00:00
parent 4bf79db42e
commit 83cbde6ec3
11 changed files with 82 additions and 81 deletions

View File

@@ -1,16 +1,11 @@
package pm.event;
import pm.device.feature.Feature;
import pm.action.Action;
public class Event {
public Feature feature;
protected Action action;
public Event(Feature feature) {
this.feature = feature;
public Event(Action action) {
this.action = action;
}
public void Apply() {
feature.apply();
}
}