BsProjectLibraryEntries.cpp 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
  2. //**************** Copyright (c) 2016 Marko Pintera ([email protected]). All rights reserved. **********************//
  3. #include "Library/BsProjectLibraryEntries.h"
  4. #include "Private/RTTI/BsProjectLibraryEntriesRTTI.h"
  5. namespace bs
  6. {
  7. ProjectLibraryEntries::ProjectLibraryEntries(const USPtr<ProjectLibrary::DirectoryEntry>& rootEntry)
  8. :mRootEntry(rootEntry)
  9. { }
  10. ProjectLibraryEntries::ProjectLibraryEntries(const ConstructPrivately& dummy)
  11. { }
  12. SPtr<ProjectLibraryEntries> ProjectLibraryEntries::create(const USPtr<ProjectLibrary::DirectoryEntry>& rootEntry)
  13. {
  14. return bs_shared_ptr_new<ProjectLibraryEntries>(rootEntry);
  15. }
  16. SPtr<ProjectLibraryEntries> ProjectLibraryEntries::createEmpty()
  17. {
  18. return bs_shared_ptr_new<ProjectLibraryEntries>(ConstructPrivately());
  19. }
  20. RTTITypeBase* ProjectLibraryEntries::getRTTIStatic()
  21. {
  22. return ProjectLibraryEntriesRTTI::instance();
  23. }
  24. RTTITypeBase* ProjectLibraryEntries::getRTTI() const
  25. {
  26. return ProjectLibraryEntries::getRTTIStatic();
  27. }
  28. }