ErrorRecorder.h 722 B

1234567891011121314151617181920212223242526272829
  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. // Description : Class that collects error reports to present them later.
  9. #ifndef CRYINCLUDE_EDITOR_CORE_ERRORRECORDER_H
  10. #define CRYINCLUDE_EDITOR_CORE_ERRORRECORDER_H
  11. #pragma once
  12. #include <EditorCoreAPI.h>
  13. //////////////////////////////////////////////////////////////////////////
  14. //! Automatic class to record and display error.
  15. class EDITOR_CORE_API CErrorsRecorder
  16. {
  17. public:
  18. CErrorsRecorder(bool showErrors = true);
  19. ~CErrorsRecorder();
  20. };
  21. #endif // CRYINCLUDE_EDITOR_ERRORREPORT_H