/**
 * Copyright: Copyright Auburn Sounds 2015 and later.
 * License:   $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
 * Authors:   Guillaume Piolat
 */
module dplug.client.graphics;

import dplug.client.client;
import dplug.client.daw;

enum GraphicsBackend
{
    autodetect,
    win32,
    carbon,
    cocoa
}

/// Plugin GUI
interface IGraphics
{
nothrow:
@nogc:
    /// Create an UI, return a system-specific handle for the window/view
    abstract void* openUI(void* parentInfo, void* controlInfo, DAW daw, GraphicsBackend backend);
    abstract void closeUI();
    abstract void getGUISize(int* width, int* height);
}