<?php

/*
 * This file is part of SwiftMailer.
 * (c) 2004-2009 Chris Corbyn
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

require_once __DIR__.'/classes/Swift.php';

Swift::registerAutoload(function () {
    // Load in dependency maps
    require_once __DIR__.'/dependency_maps/cache_deps.php';
    require_once __DIR__.'/dependency_maps/mime_deps.php';
    require_once __DIR__.'/dependency_maps/message_deps.php';
    require_once __DIR__.'/dependency_maps/transport_deps.php';

    // Load in global library preferences
    require_once __DIR__.'/preferences.php';
});
