BsProjectLibraryEntries.cpp 903 B

1234567891011121314151617181920212223242526272829303132
  1. #include "BsProjectLibraryEntries.h"
  2. #include "BsProjectLibraryEntriesRTTI.h"
  3. namespace BansheeEngine
  4. {
  5. ProjectLibraryEntries::ProjectLibraryEntries(const ProjectLibrary::DirectoryEntry& rootEntry)
  6. :mRootEntry(rootEntry)
  7. { }
  8. ProjectLibraryEntries::ProjectLibraryEntries(const ConstructPrivately& dummy)
  9. { }
  10. std::shared_ptr<ProjectLibraryEntries> ProjectLibraryEntries::create(const ProjectLibrary::DirectoryEntry& rootEntry)
  11. {
  12. return cm_shared_ptr<ProjectLibraryEntries>(rootEntry);
  13. }
  14. std::shared_ptr<ProjectLibraryEntries> ProjectLibraryEntries::createEmpty()
  15. {
  16. return cm_shared_ptr<ProjectLibraryEntries>(ConstructPrivately());
  17. }
  18. RTTITypeBase* ProjectLibraryEntries::getRTTIStatic()
  19. {
  20. return ProjectLibraryEntriesRTTI::instance();
  21. }
  22. RTTITypeBase* ProjectLibraryEntries::getRTTI() const
  23. {
  24. return ProjectLibraryEntries::getRTTIStatic();
  25. }
  26. }