/*
 * Copyright 2013 Canonical Ltd.
 *
 * This program 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; version 3.
 *
 * 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 Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 * Author: Zsombor Egri <zsombor.egri@canonical.com>
 */

#include "ulplugin.h"
#include "ullayouts.h"
#include "ulconditionallayout.h"
#include "ulitemlayout.h"

#include <qqml.h>

void PluginPlugin::registerTypes(const char *uri)
{
    // @uri Ubuntu.Layouts
    qmlRegisterType<ULLayouts>(uri, 0, 1, "Layouts");
    qmlRegisterType<ULConditionalLayout>(uri, 0, 1, "ConditionalLayout");
    qmlRegisterType<ULItemLayout>(uri, 0, 1, "ItemLayout");
}
