3
0

BatchApplicationManager.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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. explicit BatchApplicationManager(int* argc, char*** argv, QObject* parent = 0);
  22. virtual ~BatchApplicationManager();
  23. void Destroy() override;
  24. bool Activate() override;
  25. ////////////////////////////////////////////////////
  26. ///MessageInfoBus::Listener interface///////////////
  27. void OnErrorMessage(const char* error) override;
  28. ///////////////////////////////////////////////////
  29. bool InitApplicationServer() override;
  30. private:
  31. void Reflect() override;
  32. const char* GetLogBaseName() override;
  33. RegistryCheckInstructions PopupRegistryProblemsMessage(QString warningText) override;
  34. void InitSourceControl() override;
  35. void InitUuidManager() override;
  36. void MakeActivationConnections() override;
  37. bool GetShouldExitOnIdle() const override { return true; }
  38. void TryScanProductDependencies() override;
  39. void TryHandleFileRelocation() override;
  40. };