UsedResources.h 761 B

123456789101112131415161718192021222324252627282930
  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. //! Class passed to resource gathering functions
  10. #ifndef CRYINCLUDE_EDITOR_USEDRESOURCES_H
  11. #define CRYINCLUDE_EDITOR_USEDRESOURCES_H
  12. #include "Include/EditorCoreAPI.h"
  13. class EDITOR_CORE_API CUsedResources
  14. {
  15. public:
  16. typedef std::set<QString, stl::less_stricmp<QString> > TResourceFiles;
  17. CUsedResources();
  18. void Add(const char* pResourceFileName);
  19. AZ_PUSH_DISABLE_DLL_EXPORT_MEMBER_WARNING
  20. TResourceFiles files;
  21. AZ_POP_DISABLE_DLL_EXPORT_MEMBER_WARNING
  22. };
  23. #endif // CRYINCLUDE_EDITOR_USEDRESOURCES_H