diff options
author | Adam Frisby | 2007-05-05 23:04:47 +0000 |
---|---|---|
committer | Adam Frisby | 2007-05-05 23:04:47 +0000 |
commit | 6d6117e0196e8aabccee2a8879b0b6ad950ab3ab (patch) | |
tree | 61d8e736ebd1a407010900d2839fbfdf83ea37d7 /OpenGrid.Framework.Data/GridData.cs | |
parent | Grid Framework for DB4o - supports all framework.data interfaces. (diff) | |
download | opensim-SC-6d6117e0196e8aabccee2a8879b0b6ad950ab3ab.zip opensim-SC-6d6117e0196e8aabccee2a8879b0b6ad950ab3ab.tar.gz opensim-SC-6d6117e0196e8aabccee2a8879b0b6ad950ab3ab.tar.bz2 opensim-SC-6d6117e0196e8aabccee2a8879b0b6ad950ab3ab.tar.xz |
You can now save profiles to a database. (Zomg!)
Diffstat (limited to '')
-rw-r--r-- | OpenGrid.Framework.Data/GridData.cs | 15 |
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 | ||
5 | namespace OpenGrid.Framework.Data | 5 | namespace 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 | } |