aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenGrid.Framework.Data
diff options
context:
space:
mode:
authorAdam Frisby2007-05-05 23:04:47 +0000
committerAdam Frisby2007-05-05 23:04:47 +0000
commit6d6117e0196e8aabccee2a8879b0b6ad950ab3ab (patch)
tree61d8e736ebd1a407010900d2839fbfdf83ea37d7 /OpenGrid.Framework.Data
parentGrid Framework for DB4o - supports all framework.data interfaces. (diff)
downloadopensim-SC_OLD-6d6117e0196e8aabccee2a8879b0b6ad950ab3ab.zip
opensim-SC_OLD-6d6117e0196e8aabccee2a8879b0b6ad950ab3ab.tar.gz
opensim-SC_OLD-6d6117e0196e8aabccee2a8879b0b6ad950ab3ab.tar.bz2
opensim-SC_OLD-6d6117e0196e8aabccee2a8879b0b6ad950ab3ab.tar.xz
You can now save profiles to a database. (Zomg!)
Diffstat (limited to 'OpenGrid.Framework.Data')
-rw-r--r--OpenGrid.Framework.Data/GridData.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/OpenGrid.Framework.Data/GridData.cs b/OpenGrid.Framework.Data/GridData.cs
index 3b052fb..d5516b2 100644
--- a/OpenGrid.Framework.Data/GridData.cs
+++ b/OpenGrid.Framework.Data/GridData.cs
@@ -4,6 +4,14 @@ using System.Text;
4 4
5namespace OpenGrid.Framework.Data 5namespace OpenGrid.Framework.Data
6{ 6{
7 public enum DataResponse
8 {
9 RESPONSE_OK,
10 RESPONSE_AUTHREQUIRED,
11 RESPONSE_INVALIDCREDENTIALS,
12 RESPONSE_ERROR
13 }
14
7 /// <summary> 15 /// <summary>
8 /// A standard grid interface 16 /// A standard grid interface
9 /// </summary> 17 /// </summary>
@@ -54,5 +62,12 @@ namespace OpenGrid.Framework.Data
54 /// </summary> 62 /// </summary>
55 /// <returns>A string containing the plugin version</returns> 63 /// <returns>A string containing the plugin version</returns>
56 string getVersion(); 64 string getVersion();
65
66 /// <summary>
67 /// Adds a new profile to the database
68 /// </summary>
69 /// <param name="profile">The profile to add</param>
70 /// <returns>RESPONSE_OK if successful, error if not.</returns>
71 DataResponse AddProfile(SimProfileData profile);
57 } 72 }
58} 73}