UsedResources.cpp 512 B

1234567891011121314151617181920212223242526
  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. #include "EditorDefs.h"
  9. #include "UsedResources.h"
  10. #include "ErrorReport.h"
  11. CUsedResources::CUsedResources()
  12. {
  13. }
  14. void CUsedResources::Add(const char* pResourceFileName)
  15. {
  16. if (pResourceFileName && strcmp(pResourceFileName, ""))
  17. {
  18. files.insert(pResourceFileName);
  19. }
  20. }