|  | /*
 * Carla Bridge Toolkit
 * Copyright (C) 2011-2012 Filipe Coelho <falktx@falktx.com>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * For a full copy of the GNU General Public License see the COPYING file
 */
#ifndef CARLA_BRIDGE_TOOLKIT_HPP
#define CARLA_BRIDGE_TOOLKIT_HPP
#include "carla_bridge.hpp"
CARLA_BRIDGE_START_NAMESPACE
#if 0
} // Fix editor indentation
#endif
/*!
 * @defgroup CarlaBridgeToolkit Carla Bridge Toolkit
 *
 * The Carla Bridge Toolkit.
 * @{
 */
class CarlaBridgeToolkit
{
public:
    CarlaBridgeToolkit(CarlaBridgeClient* const client, const char* const uiTitle);
    virtual ~CarlaBridgeToolkit();
    virtual void init() = 0;
    virtual void exec(const bool showGui) = 0;
    virtual void quit() = 0;
    virtual void show() = 0;
    virtual void hide() = 0;
    virtual void resize(const int width, const int height) = 0;
    virtual void* getContainerId();
    static CarlaBridgeToolkit* createNew(CarlaBridgeClient* const client, const char* const uiTitle);
protected:
    CarlaBridgeClient* const client;
    char* uiTitle;
};
/**@}*/
CARLA_BRIDGE_END_NAMESPACE
#endif // CARLA_BRIDGE_TOOLKIT_HPP
 |