BatchApplicationManager.h 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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. #if !defined(Q_MOC_RUN)
  10. #include "native/utilities/ApplicationManagerBase.h"
  11. #endif
  12. namespace AssetProcessor
  13. {
  14. extern const char ExcludeMetaDataFiles[];
  15. }
  16. class BatchApplicationManager
  17. : public ApplicationManagerBase
  18. {
  19. Q_OBJECT
  20. public:
  21. BatchApplicationManager(int* argc, char*** argv, QObject* parent = nullptr);
  22. BatchApplicationManager(int* argc, char*** argv, AZ::ComponentApplicationSettings componentAppSettings);
  23. BatchApplicationManager(int* argc, char*** argv, QObject* parent, AZ::ComponentApplicationSettings componentAppSettings);
  24. virtual ~BatchApplicationManager();
  25. void Destroy() override;
  26. bool Activate() override;
  27. ////////////////////////////////////////////////////
  28. ///MessageInfoBus::Listener interface///////////////
  29. void OnErrorMessage(const char* error) override;
  30. ///////////////////////////////////////////////////
  31. bool InitApplicationServer() override;
  32. private:
  33. void Reflect() override;
  34. const char* GetLogBaseName() override;
  35. RegistryCheckInstructions PopupRegistryProblemsMessage(QString warningText) override;
  36. void InitSourceControl() override;
  37. void InitUuidManager() override;
  38. void MakeActivationConnections() override;
  39. bool GetShouldExitOnIdle() const override { return true; }
  40. void TryScanProductDependencies() override;
  41. void TryHandleFileRelocation() override;
  42. };