mirror of
https://github.com/processing/processing4.git
synced 2026-02-03 21:59:20 +01:00
Backend refactoring: KjcEngine has been split up into separate classes for preprocessing, compiling, and running.
This commit is contained in:
15
app/PdeMessageConsumer.java
Normal file
15
app/PdeMessageConsumer.java
Normal file
@@ -0,0 +1,15 @@
|
||||
// -*- Mode: JDE; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
||||
|
||||
// Different instances of PdeMessageStream need to do different things with
|
||||
// messages. In particular, a stream instance used for parsing output from
|
||||
// the compiler compiler has to interpret its messages differently than one
|
||||
// parsing output from the runtime.
|
||||
//
|
||||
// Classes which consume messages and do something with them should implement
|
||||
// this interface.
|
||||
//
|
||||
public interface PdeMessageConsumer {
|
||||
|
||||
public void message(String s);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user