<?php
/**
 * Plugin Name: Nova Jyo Inquiry for Contact Form 7
 * Description: Contact Form 7 の送信内容を問い合わせ業務管理として保存し、担当者、ステータス、期限、履歴、CSV 出力を管理します。
 * Version:     0.1.0
 * Author:      Jyo
 * Text Domain: nova-jyo-inquiry
 * Domain Path: /languages
 * Requires PHP: 7.4
 * Requires at least: 5.8
 * Tested up to: 7.0
 * Requires Plugins: contact-form-7
 * License:     GPLv2 or later
 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
 */

if (!defined('ABSPATH')) {
    exit;
}

define('NOVAJYIN_VERSION', '0.1.0');
define('NOVAJYIN_PLUGIN_FILE', __FILE__);
define('NOVAJYIN_PLUGIN_DIR', plugin_dir_path(__FILE__));
define('NOVAJYIN_PLUGIN_URL', plugin_dir_url(__FILE__));
define('NOVAJYIN_OPTION_SETTINGS', 'novajyin_settings');

require_once NOVAJYIN_PLUGIN_DIR . 'includes/class-novajyin-db.php';
require_once NOVAJYIN_PLUGIN_DIR . 'includes/class-novajyin-repository.php';
require_once NOVAJYIN_PLUGIN_DIR . 'includes/class-novajyin-rules-engine.php';
require_once NOVAJYIN_PLUGIN_DIR . 'includes/class-novajyin-capture.php';
require_once NOVAJYIN_PLUGIN_DIR . 'includes/class-novajyin-admin.php';
require_once NOVAJYIN_PLUGIN_DIR . 'includes/class-novajyin-plugin.php';

register_activation_hook(__FILE__, array('Novajyin_Plugin', 'activate'));
register_deactivation_hook(__FILE__, array('Novajyin_Plugin', 'deactivate'));

add_action('plugins_loaded', array('Novajyin_Plugin', 'instance'));





