aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorAdam Frisby2007-05-26 06:29:22 +0000
committerAdam Frisby2007-05-26 06:29:22 +0000
commit79df5f840c5e04d8206911a167f065519fbad92f (patch)
tree9ce08925fc7ced89ae693c7cfd08e4131b841b0d
parentFirst part of border crossing fix. (diff)
downloadopensim-SC_OLD-79df5f840c5e04d8206911a167f065519fbad92f.zip
opensim-SC_OLD-79df5f840c5e04d8206911a167f065519fbad92f.tar.gz
opensim-SC_OLD-79df5f840c5e04d8206911a167f065519fbad92f.tar.bz2
opensim-SC_OLD-79df5f840c5e04d8206911a167f065519fbad92f.tar.xz
* Added addNewUserAgent() function. No idea if it breaks compilation since MSVC#2005 solutions are broken.
-rw-r--r--OpenGridServices/OpenGrid.Framework.Data.DB4o/DB4oUserData.cs5
-rw-r--r--OpenGridServices/OpenGrid.Framework.Data.MySQL/MySQLUserData.cs5
-rw-r--r--OpenGridServices/OpenGrid.Framework.Data/UserData.cs6
3 files changed, 16 insertions, 0 deletions
diff --git a/OpenGridServices/OpenGrid.Framework.Data.DB4o/DB4oUserData.cs b/OpenGridServices/OpenGrid.Framework.Data.DB4o/DB4oUserData.cs
index 1e8273d..b95219c 100644
--- a/OpenGridServices/OpenGrid.Framework.Data.DB4o/DB4oUserData.cs
+++ b/OpenGridServices/OpenGrid.Framework.Data.DB4o/DB4oUserData.cs
@@ -71,6 +71,11 @@ namespace OpenGrid.Framework.Data.DB4o
71 manager.AddRow(user); 71 manager.AddRow(user);
72 } 72 }
73 73
74 public void addNewUserAgent(UserAgentData agent)
75 {
76 // Do nothing. yet.
77 }
78
74 public bool moneyTransferRequest(LLUUID from, LLUUID to, uint amount) 79 public bool moneyTransferRequest(LLUUID from, LLUUID to, uint amount)
75 { 80 {
76 return true; 81 return true;
diff --git a/OpenGridServices/OpenGrid.Framework.Data.MySQL/MySQLUserData.cs b/OpenGridServices/OpenGrid.Framework.Data.MySQL/MySQLUserData.cs
index 61c8288..57dbfc6 100644
--- a/OpenGridServices/OpenGrid.Framework.Data.MySQL/MySQLUserData.cs
+++ b/OpenGridServices/OpenGrid.Framework.Data.MySQL/MySQLUserData.cs
@@ -125,6 +125,11 @@ namespace OpenGrid.Framework.Data.MySQL
125 { 125 {
126 } 126 }
127 127
128 public void addNewUserAgent(UserAgentData agent)
129 {
130 // Do nothing.
131 }
132
128 public bool moneyTransferRequest(LLUUID from, LLUUID to, uint amount) 133 public bool moneyTransferRequest(LLUUID from, LLUUID to, uint amount)
129 { 134 {
130 return false; 135 return false;
diff --git a/OpenGridServices/OpenGrid.Framework.Data/UserData.cs b/OpenGridServices/OpenGrid.Framework.Data/UserData.cs
index 3ab9b5e..4802c5f 100644
--- a/OpenGridServices/OpenGrid.Framework.Data/UserData.cs
+++ b/OpenGridServices/OpenGrid.Framework.Data/UserData.cs
@@ -58,6 +58,12 @@ namespace OpenGrid.Framework.Data
58 void addNewUserProfile(UserProfileData user); 58 void addNewUserProfile(UserProfileData user);
59 59
60 /// <summary> 60 /// <summary>
61 /// Adds a new agent to the database
62 /// </summary>
63 /// <param name="agent">The agent to add</param>
64 void addNewUserAgent(UserAgentData agent);
65
66 /// <summary>
61 /// Attempts to move currency units between accounts (NOT RELIABLE / TRUSTWORTHY. DONT TRY RUN YOUR OWN CURRENCY EXCHANGE WITH REAL VALUES) 67 /// Attempts to move currency units between accounts (NOT RELIABLE / TRUSTWORTHY. DONT TRY RUN YOUR OWN CURRENCY EXCHANGE WITH REAL VALUES)
62 /// </summary> 68 /// </summary>
63 /// <param name="from">The account to transfer from</param> 69 /// <param name="from">The account to transfer from</param>