<?php
if (!defined('ABSPATH')) {
    exit;
}

class Aysa_Projection_Sync_Controller {
    private $admin;

    public function __construct($admin) {
        $this->admin = $admin;
    }

    public function register_hooks() {
        add_action('wp_ajax_aysa_keyword_research_projection_sync', array($this->admin, 'handle_keyword_research_projection_sync'));
        add_action('wp_ajax_nopriv_aysa_keyword_research_projection_sync', array($this->admin, 'handle_keyword_research_projection_sync'));
        add_action('wp_ajax_aysa_technical_site_audit_projection_sync', array($this->admin, 'handle_technical_site_audit_projection_sync'));
        add_action('wp_ajax_nopriv_aysa_technical_site_audit_projection_sync', array($this->admin, 'handle_technical_site_audit_projection_sync'));
        add_action('wp_ajax_aysa_technical_pagespeed_projection_sync', array($this->admin, 'handle_technical_pagespeed_projection_sync'));
        add_action('wp_ajax_nopriv_aysa_technical_pagespeed_projection_sync', array($this->admin, 'handle_technical_pagespeed_projection_sync'));
        add_action('wp_ajax_aysa_technical_schema_projection_sync', array($this->admin, 'handle_technical_schema_projection_sync'));
        add_action('wp_ajax_nopriv_aysa_technical_schema_projection_sync', array($this->admin, 'handle_technical_schema_projection_sync'));
        add_action('wp_ajax_aysa_technical_redirects_projection_sync', array($this->admin, 'handle_technical_redirects_projection_sync'));
        add_action('wp_ajax_nopriv_aysa_technical_redirects_projection_sync', array($this->admin, 'handle_technical_redirects_projection_sync'));
        add_action('wp_ajax_aysa_technical_sitemap_robots_projection_sync', array($this->admin, 'handle_technical_sitemap_robots_projection_sync'));
        add_action('wp_ajax_nopriv_aysa_technical_sitemap_robots_projection_sync', array($this->admin, 'handle_technical_sitemap_robots_projection_sync'));
    }
}
