-- PageBase.lua
-- Lightweight base contract for migrated standalone window pages.

local addonName, SinsToolkit = ...

-- Ensure the namespace exists.
SinsToolkit.UI = SinsToolkit.UI or {}
SinsToolkit.UI.Pages = SinsToolkit.UI.Pages or {}

local PageBase = {}
SinsToolkit.UI.Pages.Base = PageBase

function PageBase:Register(id)
    self.id = id
    local registry = SinsToolkit.UI and SinsToolkit.UI.Pages and SinsToolkit.UI.Pages.Registry
    if registry then
        registry:RegisterPage(id, self)
    end
    return self
end

function PageBase:Create(parent, window)
end

function PageBase:Show()
end

function PageBase:Hide()
end

function PageBase:Refresh()
end

function PageBase:ApplySettings()
end

function PageBase:OnResize(width, height)
end
