FileUtil_Common.h 691 B

1234567891011121314151617181920212223242526
  1. /*
  2. * Copyright (c) Contributors to the Open 3D Engine Project. For complete copyright and license terms please see the LICENSE at the root of this distribution.
  3. *
  4. * SPDX-License-Identifier: Apache-2.0 OR MIT
  5. *
  6. */
  7. #pragma once
  8. #include "../Include/IFileUtil.h"
  9. namespace Common
  10. {
  11. enum EditFileType
  12. {
  13. FILE_TYPE_SCRIPT = IFileUtil::FILE_TYPE_SCRIPT,
  14. FILE_TYPE_SHADER = IFileUtil::FILE_TYPE_SHADER,
  15. FILE_TYPE_BSPACE = IFileUtil::FILE_TYPE_BSPACE,
  16. FILE_TYPE_TEXTURE,
  17. FILE_TYPE_ANIMATION
  18. };
  19. bool Exists(const QString& strPath, bool boDirectory, IFileUtil::FileDesc* pDesc = nullptr);
  20. bool PathExists(const QString& strPath);
  21. }