<?php
/**
 * Plugin Update Checker Library 4.2
 * http://w-shadow.com/
 * 
 * Copyright 2017 Janis Elsts
 * Released under the MIT license. See license.txt for details.
 */

require dirname(__FILE__) . '/Puc/v4/Factory.php';
require dirname(__FILE__) . '/Puc/v4p2/Autoloader.php';
new Puc_v4p2_Autoloader();

//Register classes defined in this file with the factory.
Puc_v4_Factory::addVersion('Plugin_UpdateChecker', 'Puc_v4p2_Plugin_UpdateChecker', '4.2');
Puc_v4_Factory::addVersion('Theme_UpdateChecker', 'Puc_v4p2_Theme_UpdateChecker', '4.2');

Puc_v4_Factory::addVersion('Vcs_PluginUpdateChecker', 'Puc_v4p2_Vcs_PluginUpdateChecker', '4.2');
Puc_v4_Factory::addVersion('Vcs_ThemeUpdateChecker', 'Puc_v4p2_Vcs_ThemeUpdateChecker', '4.2');

Puc_v4_Factory::addVersion('GitHubApi', 'Puc_v4p2_Vcs_GitHubApi', '4.2');
Puc_v4_Factory::addVersion('BitBucketApi', 'Puc_v4p2_Vcs_BitBucketApi', '4.2');
