aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/SQLite/SQLiteGridData.cs
diff options
context:
space:
mode:
authorJeff Ames2008-06-26 20:14:33 +0000
committerJeff Ames2008-06-26 20:14:33 +0000
commit9fae975a53fbb852dfbaf811dca259ddd4f74f4c (patch)
tree7273987bd5c30c4fabca6fa68b43ce25304a703a /OpenSim/Data/SQLite/SQLiteGridData.cs
parentUpdate svn properties. Minor formatting cleanup. (diff)
downloadopensim-SC-9fae975a53fbb852dfbaf811dca259ddd4f74f4c.zip
opensim-SC-9fae975a53fbb852dfbaf811dca259ddd4f74f4c.tar.gz
opensim-SC-9fae975a53fbb852dfbaf811dca259ddd4f74f4c.tar.bz2
opensim-SC-9fae975a53fbb852dfbaf811dca259ddd4f74f4c.tar.xz
Apply patch from bug #1605 -- Documentation for Data/SQLite. Thanks kerunix_Flan!
Diffstat (limited to 'OpenSim/Data/SQLite/SQLiteGridData.cs')
-rw-r--r--OpenSim/Data/SQLite/SQLiteGridData.cs21
1 files changed, 17 insertions, 4 deletions
diff --git a/OpenSim/Data/SQLite/SQLiteGridData.cs b/OpenSim/Data/SQLite/SQLiteGridData.cs
index 7c5bb0c..0d24a40 100644
--- a/OpenSim/Data/SQLite/SQLiteGridData.cs
+++ b/OpenSim/Data/SQLite/SQLiteGridData.cs
@@ -41,13 +41,18 @@ namespace OpenSim.Data.SQLite
41 public class SQLiteGridData : GridDataBase 41 public class SQLiteGridData : GridDataBase
42 { 42 {
43 /// <summary> 43 /// <summary>
44 /// A database manager 44 /// SQLite database manager
45 /// </summary> 45 /// </summary>
46 private SQLiteManager database; 46 private SQLiteManager database;
47 47
48 /// <summary> 48 /// <summary>
49 /// Initialises the Grid Interface 49 /// <list type="bullet">
50 /// <item>Initialises Inventory interface</item>
51 /// <item>Loads and initialises a new SQLite connection and maintains it.</item>
52 /// <item>use default URI if connect string is empty.</item>
53 /// </list>
50 /// </summary> 54 /// </summary>
55 /// <param name="dbconnect">connect string</param>
51 override public void Initialise(string connect) 56 override public void Initialise(string connect)
52 { 57 {
53 database = new SQLiteManager(connect); 58 database = new SQLiteManager(connect);
@@ -87,13 +92,14 @@ namespace OpenSim.Data.SQLite
87 /// <param name="c">maximum X coordinate</param> 92 /// <param name="c">maximum X coordinate</param>
88 /// <param name="d">maximum Y coordinate</param> 93 /// <param name="d">maximum Y coordinate</param>
89 /// <returns>An array of region profiles</returns> 94 /// <returns>An array of region profiles</returns>
95 /// <remarks>NOT IMPLEMENTED ? always return null</remarks>
90 override public RegionProfileData[] GetProfilesInRange(uint a, uint b, uint c, uint d) 96 override public RegionProfileData[] GetProfilesInRange(uint a, uint b, uint c, uint d)
91 { 97 {
92 return null; 98 return null;
93 } 99 }
94 100
95 /// <summary> 101 /// <summary>
96 /// Returns a sim profile from it's location 102 /// Returns a sim profile from it's handle
97 /// </summary> 103 /// </summary>
98 /// <param name="handle">Region location handle</param> 104 /// <param name="handle">Region location handle</param>
99 /// <returns>Sim profile</returns> 105 /// <returns>Sim profile</returns>
@@ -162,8 +168,9 @@ namespace OpenSim.Data.SQLite
162 } 168 }
163 169
164 /// <summary> 170 /// <summary>
165 /// // Returns a list of avatar and UUIDs that match the query 171 /// Returns a list of avatar and UUIDs that match the query
166 /// </summary> 172 /// </summary>
173 /// <remarks>do nothing yet</remarks>
167 public List<AvatarPickerAvatar> GeneratePickerResults(LLUUID queryID, string query) 174 public List<AvatarPickerAvatar> GeneratePickerResults(LLUUID queryID, string query)
168 { 175 {
169 //Do nothing yet 176 //Do nothing yet
@@ -232,6 +239,12 @@ namespace OpenSim.Data.SQLite
232 return false; 239 return false;
233 } 240 }
234 241
242 /// <summary>
243 /// NOT IMPLEMENTED
244 /// </summary>
245 /// <param name="x">x coordinate</param>
246 /// <param name="y">y coordinate</param>
247 /// <returns>always return null</returns>
235 override public ReservationData GetReservationAtPoint(uint x, uint y) 248 override public ReservationData GetReservationAtPoint(uint x, uint y)
236 { 249 {
237 return null; 250 return null;