GitDatabase.cs 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. /*
  2. * Copyright (c) Contributors, http://opensimulator.org/
  3. * See CONTRIBUTORS.TXT for a full list of copyright holders.
  4. *
  5. * Redistribution and use in source and binary forms, with or without
  6. * modification, are permitted provided that the following conditions are met:
  7. * * Redistributions of source code must retain the above copyright
  8. * notice, this list of conditions and the following disclaimer.
  9. * * Redistributions in binary form must reproduce the above copyright
  10. * notice, this list of conditions and the following disclaimer in the
  11. * documentation and/or other materials provided with the distribution.
  12. * * Neither the name of the OpenSim Project nor the
  13. * names of its contributors may be used to endorse or promote products
  14. * derived from this software without specific prior written permission.
  15. *
  16. * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY
  17. * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
  18. * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  19. * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY
  20. * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
  21. * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
  22. * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
  23. * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  24. * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  25. * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  26. */
  27. #region Header
  28. // GitDatabase.cs
  29. //
  30. //
  31. //
  32. #endregion Header
  33. using System;
  34. using System.Collections.Generic;
  35. using System.IO;
  36. using Slash = System.IO.Path;
  37. using System.Reflection;
  38. using System.Xml;
  39. using OpenMetaverse;
  40. using Nini.Config;
  41. using OpenSim.Framework;
  42. using OpenSim.Region.Environment.Interfaces;
  43. using OpenSim.Region.Environment.Modules.World.Serialiser;
  44. using OpenSim.Region.Environment.Modules.World.Terrain;
  45. using OpenSim.Region.Environment.Scenes;
  46. using OpenSim.Region.Physics.Manager;
  47. using log4net;
  48. namespace OpenSim.Region.Environment.Modules.ContentManagement
  49. {
  50. /// <summary>
  51. /// Just a stub :-(
  52. /// </summary>
  53. public class GitDatabase : IContentDatabase
  54. {
  55. #region Constructors
  56. public GitDatabase()
  57. {
  58. }
  59. #endregion Constructors
  60. #region Public Methods
  61. public SceneObjectGroup GetMostRecentObjectRevision(UUID id)
  62. {
  63. return null;
  64. }
  65. public int GetMostRecentRevision(UUID regionid)
  66. {
  67. return 0;
  68. }
  69. public SceneObjectGroup GetObjectRevision(UUID id, int revision)
  70. {
  71. return null;
  72. }
  73. public System.Collections.ArrayList GetObjectsFromRegion(UUID regionid, int revision)
  74. {
  75. return null;
  76. }
  77. public string GetRegionObjectHeightMap(UUID regionid)
  78. {
  79. return null;
  80. }
  81. public string GetRegionObjectHeightMap(UUID regionid, int revision)
  82. {
  83. return null;
  84. }
  85. public string GetRegionObjectXML(UUID regionid)
  86. {
  87. return null;
  88. }
  89. public string GetRegionObjectXML(UUID regionid, int revision)
  90. {
  91. return null;
  92. }
  93. public System.Collections.ArrayList GetRegionObjectXMLList(UUID regionid)
  94. {
  95. return null;
  96. }
  97. public System.Collections.ArrayList GetRegionObjectXMLList(UUID regionid, int revision)
  98. {
  99. return null;
  100. }
  101. public bool InRepository(UUID id)
  102. {
  103. return false;
  104. }
  105. public void Initialise(Scene scene, String dir)
  106. {
  107. }
  108. public System.Collections.Generic.SortedDictionary<string, string> ListOfObjectRevisions(UUID id)
  109. {
  110. return null;
  111. }
  112. public System.Collections.Generic.SortedDictionary<string, string> ListOfRegionRevisions(UUID id)
  113. {
  114. return null;
  115. }
  116. public int NumOfObjectRev(UUID id)
  117. {
  118. return 0;
  119. }
  120. public int NumOfRegionRev(UUID regionid)
  121. {
  122. return 0;
  123. }
  124. public void PostInitialise()
  125. {
  126. }
  127. public void SaveObject(SceneObjectGroup entity)
  128. {
  129. }
  130. public void SaveRegion(UUID regionid, string regionName, string logMessage)
  131. {
  132. }
  133. #endregion Public Methods
  134. }
  135. }