summaryrefslogtreecommitdiff
path: root/sources/events/VSAbstractEvent.java
diff options
context:
space:
mode:
Diffstat (limited to 'sources/events/VSAbstractEvent.java')
-rw-r--r--sources/events/VSAbstractEvent.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/sources/events/VSAbstractEvent.java b/sources/events/VSAbstractEvent.java
index d2c1352..4714b96 100644
--- a/sources/events/VSAbstractEvent.java
+++ b/sources/events/VSAbstractEvent.java
@@ -25,6 +25,7 @@ package events;
import java.io.*;
+import core.VSAbstractProcess;
import core.VSInternalProcess;
import exceptions.*;
import prefs.VSPrefs;
@@ -46,7 +47,7 @@ abstract public class VSAbstractEvent extends VSPrefs {
public VSPrefs prefs;
/** The process. */
- public VSInternalProcess process;
+ public VSAbstractProcess process;
/** The event shortname. */
private String eventShortname;
@@ -64,7 +65,7 @@ abstract public class VSAbstractEvent extends VSPrefs {
throws VSEventNotCopyableException {
if (theProcess == null)
- theProcess = process;
+ theProcess = (VSInternalProcess) process;
if (!(this instanceof VSCopyableEvent))
throw new VSEventNotCopyableException(
@@ -166,7 +167,7 @@ abstract public class VSAbstractEvent extends VSPrefs {
*
* @return the process
*/
- public VSInternalProcess getProcess() {
+ public VSAbstractProcess getProcess() {
return process;
}