ComponentEntityEditorPlugin.h 1.0 KB

12345678910111213141516171819202122232425262728293031
  1. /*
  2. * Copyright (c) Contributors to the Open 3D Engine Project.
  3. * For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. *
  5. * SPDX-License-Identifier: Apache-2.0 OR MIT
  6. *
  7. */
  8. #pragma once
  9. #include <IEditor.h>
  10. #include <Include/IPlugin.h>
  11. //------------------------------------------------------------------
  12. class ComponentEntityEditorPlugin
  13. : public IPlugin
  14. {
  15. public:
  16. ComponentEntityEditorPlugin(IEditor* editor);
  17. virtual ~ComponentEntityEditorPlugin() = default;
  18. void Release() override;
  19. void ShowAbout() override {}
  20. const char* GetPluginGUID() override { return "{11B0041C-BC34-4827-A3E4-AB7458FFF678}"; }
  21. DWORD GetPluginVersion() override { return 1; }
  22. const char* GetPluginName() override { return "ComponentEntityEditor"; }
  23. bool CanExitNow() override { return true; }
  24. void OnEditorNotify([[maybe_unused]] EEditorNotifyEvent aEventId) override {}
  25. private:
  26. bool m_registered;
  27. class SandboxIntegrationManager* m_appListener;
  28. };