Search in sources :

Example 1 with GuiErrorProcessing

use of com.xenoage.zong.desktop.utils.error.GuiErrorProcessing in project Zong by Xenoage.

the class SimpleGuiDemo method initZong.

/**
 * Initializes the Zong! engine.
 */
public static void initZong() throws Exception {
    // initialize platform-dependent utilities, including I/O
    JseZongPlatformUtils.init(appName);
    // init logging and error handling
    Log.INSTANCE.init(new DesktopLogProcessing(appName + " " + appVersion));
    Err.init(new GuiErrorProcessing());
    // init audio engine
    SynthManager.init(false);
}
Also used : DesktopLogProcessing(com.xenoage.utils.jse.log.DesktopLogProcessing) GuiErrorProcessing(com.xenoage.zong.desktop.utils.error.GuiErrorProcessing)

Aggregations

DesktopLogProcessing (com.xenoage.utils.jse.log.DesktopLogProcessing)1 GuiErrorProcessing (com.xenoage.zong.desktop.utils.error.GuiErrorProcessing)1