FileTypeUtils.h 550 B

12345678910111213141516171819
  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. #ifndef CRYINCLUDE_EDITOR_FILETYPEUTILS_H
  9. #define CRYINCLUDE_EDITOR_FILETYPEUTILS_H
  10. #pragma once
  11. // returns true if the given file path represents a file
  12. // that can be previewed in Preview mode in Editor (e.g. cgf, cga etc.)
  13. extern bool IsPreviewableFileType(const char* szPath);
  14. #endif // CRYINCLUDE_EDITOR_FILETYPEUTILS_H