aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/ContentManagementSystem/GitDatabase.cs
diff options
context:
space:
mode:
authorSean Dague2008-09-03 18:11:44 +0000
committerSean Dague2008-09-03 18:11:44 +0000
commitaf5c7e52b1163cf65f897e5c7ecf9ef2d9f6e88e (patch)
treefcc52c0f3e20f005873def97e3be5cd9ca16270e /OpenSim/Region/Environment/Modules/ContentManagementSystem/GitDatabase.cs
parentwhite space fixes (diff)
downloadopensim-SC-af5c7e52b1163cf65f897e5c7ecf9ef2d9f6e88e.zip
opensim-SC-af5c7e52b1163cf65f897e5c7ecf9ef2d9f6e88e.tar.gz
opensim-SC-af5c7e52b1163cf65f897e5c7ecf9ef2d9f6e88e.tar.bz2
opensim-SC-af5c7e52b1163cf65f897e5c7ecf9ef2d9f6e88e.tar.xz
narrange to do basic cleanup of the CMS module
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/Modules/ContentManagementSystem/GitDatabase.cs228
1 files changed, 120 insertions, 108 deletions
diff --git a/OpenSim/Region/Environment/Modules/ContentManagementSystem/GitDatabase.cs b/OpenSim/Region/Environment/Modules/ContentManagementSystem/GitDatabase.cs
index e337482..5e85b2e 100644
--- a/OpenSim/Region/Environment/Modules/ContentManagementSystem/GitDatabase.cs
+++ b/OpenSim/Region/Environment/Modules/ContentManagementSystem/GitDatabase.cs
@@ -1,130 +1,142 @@
1#region Header
2
1// GitDatabase.cs 3// GitDatabase.cs
2// 4//
3// 5//
4// 6//
5 7
8#endregion Header
9
6using System; 10using System;
7using System.Collections.Generic; 11using System.Collections.Generic;
8using System.IO; 12using System.IO;
13using Slash = System.IO.Path;
9using System.Reflection; 14using System.Reflection;
10using System.Xml; 15using System.Xml;
16
11using libsecondlife; 17using libsecondlife;
18
12using Nini.Config; 19using Nini.Config;
20
13using OpenSim.Framework; 21using OpenSim.Framework;
14using OpenSim.Region.Environment.Interfaces; 22using OpenSim.Region.Environment.Interfaces;
15using OpenSim.Region.Environment.Modules.World.Serialiser; 23using OpenSim.Region.Environment.Modules.World.Serialiser;
16using OpenSim.Region.Environment.Modules.World.Terrain; 24using OpenSim.Region.Environment.Modules.World.Terrain;
17using OpenSim.Region.Environment.Scenes; 25using OpenSim.Region.Environment.Scenes;
18using log4net;
19using OpenSim.Region.Physics.Manager; 26using OpenSim.Region.Physics.Manager;
27
28using log4net;
29
20using Axiom.Math; 30using Axiom.Math;
21using Slash=System.IO.Path;
22 31
23namespace OpenSim.Region.Environment.Modules.ContentManagement 32namespace OpenSim.Region.Environment.Modules.ContentManagement
24{ 33{
25 34 /// <summary>
26 /// <summary> 35 /// Just a stub :-(
27 /// Just a stub :-( 36 /// </summary>
28 /// </summary> 37 public class GitDatabase : IContentDatabase
29 public class GitDatabase : IContentDatabase 38 {
30 { 39 #region Constructors
31 40
32 public GitDatabase() 41 public GitDatabase()
33 { 42 {
34 } 43 }
35 44
36 public void Initialise(Scene scene, String dir) 45 #endregion Constructors
37 { 46
38 47 #region Public Methods
39 } 48
40 49 public SceneObjectGroup GetMostRecentObjectRevision(LLUUID id)
41 public void PostInitialise() 50 {
42 { 51 return null;
43 52 }
44 } 53
45 54 public int GetMostRecentRevision(LLUUID regionid)
46 public int NumOfObjectRev(LLUUID id) 55 {
47 { 56 return 0;
48 return 0; 57 }
49 } 58
50 59 public SceneObjectGroup GetObjectRevision(LLUUID id, int revision)
51 public int NumOfRegionRev(LLUUID regionid) 60 {
52 { 61 return null;
53 return 0; 62 }
54 } 63
55 64 public System.Collections.ArrayList GetObjectsFromRegion(LLUUID regionid, int revision)
56 public bool InRepository(LLUUID id) 65 {
57 { 66 return null;
58 return false; 67 }
59 } 68
60 69 public string GetRegionObjectHeightMap(LLUUID regionid)
61 public void SaveRegion(LLUUID regionid, string regionName, string logMessage) 70 {
62 { 71 return null;
63 72 }
64 } 73
65 74 public string GetRegionObjectHeightMap(LLUUID regionid, int revision)
66 public System.Collections.ArrayList GetRegionObjectXMLList(LLUUID regionid) 75 {
67 { 76 return null;
68 return null; 77 }
69 } 78
70 79 public string GetRegionObjectXML(LLUUID regionid)
71 public System.Collections.ArrayList GetRegionObjectXMLList(LLUUID regionid, int revision) 80 {
72 { 81 return null;
73 return null; 82 }
74 } 83
75 84 public string GetRegionObjectXML(LLUUID regionid, int revision)
76 public string GetRegionObjectXML(LLUUID regionid) 85 {
77 { 86 return null;
78 return null; 87 }
79 } 88
80 89 public System.Collections.ArrayList GetRegionObjectXMLList(LLUUID regionid)
81 public string GetRegionObjectXML(LLUUID regionid, int revision) 90 {
82 { 91 return null;
83 return null; 92 }
84 } 93
85 94 public System.Collections.ArrayList GetRegionObjectXMLList(LLUUID regionid, int revision)
86 public string GetRegionObjectHeightMap(LLUUID regionid) 95 {
87 { 96 return null;
88 return null; 97 }
89 } 98
90 99 public bool InRepository(LLUUID id)
91 public string GetRegionObjectHeightMap(LLUUID regionid, int revision) 100 {
92 { 101 return false;
93 return null; 102 }
94 } 103
95 104 public void Initialise(Scene scene, String dir)
96 public System.Collections.ArrayList GetObjectsFromRegion(LLUUID regionid, int revision) 105 {
97 { 106 }
98 return null; 107
99 } 108 public System.Collections.Generic.SortedDictionary<string, string> ListOfObjectRevisions(LLUUID id)
100 109 {
101 public System.Collections.Generic.SortedDictionary<string, string> ListOfRegionRevisions(LLUUID id) 110 return null;
102 { 111 }
103 return null; 112
104 } 113 public System.Collections.Generic.SortedDictionary<string, string> ListOfRegionRevisions(LLUUID id)
105 114 {
106 public void SaveObject(SceneObjectGroup entity) 115 return null;
107 { 116 }
108 } 117
109 118 public int NumOfObjectRev(LLUUID id)
110 public SceneObjectGroup GetMostRecentObjectRevision(LLUUID id) 119 {
111 { 120 return 0;
112 return null; 121 }
113 } 122
114 123 public int NumOfRegionRev(LLUUID regionid)
115 public SceneObjectGroup GetObjectRevision(LLUUID id, int revision) 124 {
116 { 125 return 0;
117 return null; 126 }
118 } 127
119 128 public void PostInitialise()
120 public System.Collections.Generic.SortedDictionary<string, string> ListOfObjectRevisions(LLUUID id) 129 {
121 { 130 }
122 return null; 131
123 } 132 public void SaveObject(SceneObjectGroup entity)
124 133 {
125 public int GetMostRecentRevision(LLUUID regionid) 134 }
126 { 135
127 return 0; 136 public void SaveRegion(LLUUID regionid, string regionName, string logMessage)
128 } 137 {
129 } 138 }
130} 139
140 #endregion Public Methods
141 }
142} \ No newline at end of file