package com.github.to2mbn.jmccc.exec;

public interface GameProcessListener {
    void onLog(String log);
    void onErrorLog(String log);
    void onExit(int code);
}

@@ -75,68 +75,381 @@
 r %7B%0A
-    void onLog(String log);%0A    void onErrorLog(String log);
+%0A    /**%0A     * Calls when recieves a log from stdout.%0A     * %0A     * @param log the log%0A     */%0A    void onLog(String log);%0A%0A    /**%0A     * Calls when recieves a log from stderr%0A     * %0A     * @param log the log%0A     */%0A    void onErrorLog(String log);%0A%0A    /**%0A     * Calls when the game process exits.%0A     * %0A     * @param code the exit code of the game process%0A     */
 %0A   

add javadoc for GameProcessListener