/*
 * Copyright (C) 2023 Linux Studio Plugins Project <https://lsp-plug.in/>
 *           (C) 2023 Vladimir Sadovnikov <sadko4u@gmail.com>
 *
 * This file is part of lsp-ws-lib
 * Created on: 5 мая 2023 г.
 *
 * lsp-ws-lib is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * any later version.
 *
 * lsp-ws-lib 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 Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with lsp-ws-lib. If not, see <https://www.gnu.org/licenses/>.
 */

#include <lsp-plug.in/test-fw/init.h>
#include <lsp-plug.in/ws/ws.h>

#ifdef USE_LIBFONTCONFIG
    #include <fontconfig/fontconfig.h>
#endif /* USE_LIBFONTCONFIG */

INIT_BEGIN(demo_initializer1)

    INIT_FUNC
    {
        ws::init();
    }

    FINI_FUNC
    {
#ifdef USE_LIBFONTCONFIG
        FcFini();
#endif /* USE_LIBFONTCONFIG */
    }

INIT_END


