/*
 * Copyright (c) Contributors to the Open 3D Engine Project.
 * For complete copyright and license terms please see the LICENSE at the root of this distribution.
 *
 * SPDX-License-Identifier: Apache-2.0 OR MIT
 *
 */

#pragma once

#include <AtomToolsFramework/Document/AtomToolsDocumentMainWindow.h>

namespace ShaderManagementConsole
{
    //! ShaderManagementConsoleWindow is the main class. Its responsibility is limited to initializing and connecting
    //! its panels, managing selection of assets, and performing high-level actions like saving. It contains...
    class ShaderManagementConsoleWindow
        : public AtomToolsFramework::AtomToolsDocumentMainWindow
    {
        Q_OBJECT
    public:
        AZ_CLASS_ALLOCATOR(ShaderManagementConsoleWindow, AZ::SystemAllocator, 0);

        using Base = AtomToolsFramework::AtomToolsDocumentMainWindow;

        ShaderManagementConsoleWindow(const AZ::Crc32& toolId, QWidget* parent = 0);
        ~ShaderManagementConsoleWindow() = default;

    protected:
        bool GetOpenDocumentParams(AZStd::string& openPath) override;
        QWidget* CreateDocumentTabView(const AZ::Uuid& documentId) override;
    };
} // namespace ShaderManagementConsole
