diff options
author | Adam Frisby | 2007-05-31 14:05:19 +0000 |
---|---|---|
committer | Adam Frisby | 2007-05-31 14:05:19 +0000 |
commit | a0305888bcc7cd2e97f14c5e7893d151a5b9de7b (patch) | |
tree | 54344bc967d58a368c0eda92dab9bb43b9d7cfb1 /OpenGridServices/OpenGrid.Framework.Data.MySQL/MySQLInventoryData.cs | |
parent | Shelling out a Inventory framework a bit more. (diff) | |
download | opensim-SC-a0305888bcc7cd2e97f14c5e7893d151a5b9de7b.zip opensim-SC-a0305888bcc7cd2e97f14c5e7893d151a5b9de7b.tar.gz opensim-SC-a0305888bcc7cd2e97f14c5e7893d151a5b9de7b.tar.bz2 opensim-SC-a0305888bcc7cd2e97f14c5e7893d151a5b9de7b.tar.xz |
* Yet more inventory shelling
* Very initial MySQL work done
* Refactored some of the MySQL code - functions which are passed a reader are no longer getX() but now readX().
Diffstat (limited to '')
-rw-r--r-- | OpenGridServices/OpenGrid.Framework.Data.MySQL/MySQLInventoryData.cs | 30 |
1 files changed, 28 insertions, 2 deletions
diff --git a/OpenGridServices/OpenGrid.Framework.Data.MySQL/MySQLInventoryData.cs b/OpenGridServices/OpenGrid.Framework.Data.MySQL/MySQLInventoryData.cs index 8950458..72c0139 100644 --- a/OpenGridServices/OpenGrid.Framework.Data.MySQL/MySQLInventoryData.cs +++ b/OpenGridServices/OpenGrid.Framework.Data.MySQL/MySQLInventoryData.cs | |||
@@ -1,10 +1,11 @@ | |||
1 | using System; | 1 | using System; |
2 | using System.Collections.Generic; | 2 | using System.Collections.Generic; |
3 | using System.Text; | 3 | using System.Text; |
4 | using libsecondlife; | ||
4 | 5 | ||
5 | namespace OpenGrid.Framework.Data.MySQL | 6 | namespace OpenGrid.Framework.Data.MySQL |
6 | { | 7 | { |
7 | class MySQLInventoryData | 8 | class MySQLInventoryData : IInventoryData |
8 | { | 9 | { |
9 | public MySQLManager database; | 10 | public MySQLManager database; |
10 | 11 | ||
@@ -23,7 +24,7 @@ namespace OpenGrid.Framework.Data.MySQL | |||
23 | 24 | ||
24 | public string getName() | 25 | public string getName() |
25 | { | 26 | { |
26 | return "MySQL Logdata Interface"; | 27 | return "MySQL Inventory Data Interface"; |
27 | } | 28 | } |
28 | 29 | ||
29 | public void Close() | 30 | public void Close() |
@@ -35,5 +36,30 @@ namespace OpenGrid.Framework.Data.MySQL | |||
35 | { | 36 | { |
36 | return "0.1"; | 37 | return "0.1"; |
37 | } | 38 | } |
39 | |||
40 | public List<InventoryItemBase> getInventoryInFolder(LLUUID folderID) | ||
41 | { | ||
42 | return null; | ||
43 | } | ||
44 | |||
45 | public List<InventoryFolderBase> getUserRootFolders(LLUUID user) | ||
46 | { | ||
47 | return null; | ||
48 | } | ||
49 | |||
50 | public List<InventoryFolderBase> getInventoryFolders(LLUUID parentID) | ||
51 | { | ||
52 | return null; | ||
53 | } | ||
54 | |||
55 | public InventoryItemBase getInventoryItem(LLUUID item) | ||
56 | { | ||
57 | return null; | ||
58 | } | ||
59 | |||
60 | public InventoryFolderBase getInventoryFolder(LLUUID folder) | ||
61 | { | ||
62 | return null; | ||
63 | } | ||
38 | } | 64 | } |
39 | } | 65 | } |