BsProjectLibraryEntries.cpp 972 B

1234567891011121314151617181920212223242526272829303132333435
  1. #include "BsProjectLibraryEntries.h"
  2. #include "BsProjectLibraryEntriesRTTI.h"
  3. using namespace CamelotFramework;
  4. using namespace BansheeEngine;
  5. namespace BansheeEditor
  6. {
  7. ProjectLibraryEntries::ProjectLibraryEntries(const ProjectLibrary::DirectoryEntry& rootEntry)
  8. :mRootEntry(rootEntry)
  9. { }
  10. ProjectLibraryEntries::ProjectLibraryEntries(const ConstructPrivately& dummy)
  11. { }
  12. std::shared_ptr<ProjectLibraryEntries> ProjectLibraryEntries::create(const ProjectLibrary::DirectoryEntry& rootEntry)
  13. {
  14. return cm_shared_ptr<ProjectLibraryEntries>(rootEntry);
  15. }
  16. std::shared_ptr<ProjectLibraryEntries> ProjectLibraryEntries::createEmpty()
  17. {
  18. return cm_shared_ptr<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. }