aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenGrid.Framework.Data
diff options
context:
space:
mode:
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}