ProjectLibrary.cs 737 B

12345678910111213141516171819202122232425262728293031
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Runtime.CompilerServices;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. using BansheeEngine;
  8. namespace BansheeEditor
  9. {
  10. public sealed class ProjectLibrary
  11. {
  12. public static void Create(Resource resource, string path)
  13. {
  14. Internal_Create(resource, path);
  15. }
  16. // TODO - Will also need (at least):
  17. // - GetPath
  18. // - Reimport
  19. // - Load
  20. // - Move
  21. // - Rename
  22. // - Delete
  23. // - Copy
  24. // - CreateFolder
  25. [MethodImpl(MethodImplOptions.InternalCall)]
  26. private static extern void Internal_Create(Resource resource, string path);
  27. }
  28. }