/*
 * Copyright © 2014 Canonical Ltd.
 *
 * This program is free software: you can redistribute it and/or modify it
 * under the terms of the GNU General Public License version 3,
 * as published by the Free Software Foundation.
 *
 * 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.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 * Authored by: Christopher James Halse Rogers <christopher.halse.rogers@canonical.com>>
 */

#include "mir/graphics/platform.h"
#include "mir/assert_module_entry_point.h"

namespace mir
{
namespace options
{
class ProgramOption;
}
}

mir::graphics::PlatformPriority probe_graphics_platform(mir::options::ProgramOption const& /*options*/)
{
    mir::assert_entry_point_signature<mir::graphics::PlatformProbe>(&probe_graphics_platform);
    return mir::graphics::PlatformPriority::dummy;
}

mir::ModuleProperties const description {
    "dummy",
    MIR_VERSION_MAJOR,
    MIR_VERSION_MINOR,
    MIR_VERSION_MICRO,
    "dummy"
};

mir::ModuleProperties const* describe_graphics_module()
{
    mir::assert_entry_point_signature<mir::graphics::DescribeModule>(&describe_graphics_module);
    return &description;
}
