/**
  * Return an instance of this class.
  *
  * @since     1.0.0
  *
  * @return    object    A single instance of this class.
  */
 public static function get_instance()
 {
     // If the single instance hasn"t been set, set it now.
     if (null == self::$instance) {
         self::$instance = new self();
     }
     return self::$instance;
 }
 * Plugin URI:  http://buildawebdoctor.com
 * Description: variable stock management
 * Version:     1.1.4
 * Author:      vimes1984
 * Author URI:  http://buildawebdoctor.com
 * Text Domain: gq-locale
 * License:     GPL-2.0+
 * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
 * Domain Path: /lang
 */
// If this file is called directly, abort.
if (!defined('ABSPATH')) {
    exit;
    // Exit if accessed directly
}
// If this file is called directly, abort.
if (!defined("WPINC")) {
    die;
}
//require_once(plugin_dir_path(__FILE__) . "GQ_class.php");
require_once plugin_dir_path(__FILE__) . "includes/class-variable-product-stock-reduction.php";
require_once plugin_dir_path(__FILE__) . "includes/class-catch-add-to-cart.php";
require_once plugin_dir_path(__FILE__) . "includes/class-import-categories.php";
// Register hooks that are fired when the plugin is activated, deactivated, and uninstalled, respectively.
register_activation_hook(__FILE__, array("GQ", "activate"));
register_deactivation_hook(__FILE__, array("GQ", "deactivate"));
//GQ::get_instance();
Variable_product_stock_reduction::get_instance();
//Import_categories::get_instance();
catchaddtocart::get_instance();