diff options
| author | Paul Buetow <paul@buetow.org> | 2008-05-17 20:36:00 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2008-05-17 20:36:00 +0000 |
| commit | dbb780b7295c0df60269ee6f3c85c3056d6262b8 (patch) | |
| tree | d8f084283d6b5b86482e7edb3d7fc786de737ceb /sources/events/VSProcessEvent.java | |
| parent | a622ebff377f37d14535f91e484335e2ad215acb (diff) | |
VSEvent interface has now has the init method.
Diffstat (limited to 'sources/events/VSProcessEvent.java')
| -rw-r--r-- | sources/events/VSProcessEvent.java | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/sources/events/VSProcessEvent.java b/sources/events/VSProcessEvent.java index cb651ad..28f6b86 100644 --- a/sources/events/VSProcessEvent.java +++ b/sources/events/VSProcessEvent.java @@ -1,7 +1,16 @@ package events; import core.VSProcess; +import prefs.VSPrefs; abstract public class VSProcessEvent implements VSEvent { - abstract public void onStart(VSProcess process); + protected VSProcess process; + protected VSPrefs prefs; + + public void init(VSProcess process) { + this.process = process; + this.prefs = process.getPrefs(); + } + + abstract public void onStart(); } |
