From 79df5f840c5e04d8206911a167f065519fbad92f Mon Sep 17 00:00:00 2001
From: Adam Frisby
Date: Sat, 26 May 2007 06:29:22 +0000
Subject: * Added addNewUserAgent() function. No idea if it breaks compilation
since MSVC#2005 solutions are broken.
---
OpenGridServices/OpenGrid.Framework.Data.DB4o/DB4oUserData.cs | 5 +++++
OpenGridServices/OpenGrid.Framework.Data.MySQL/MySQLUserData.cs | 5 +++++
OpenGridServices/OpenGrid.Framework.Data/UserData.cs | 6 ++++++
3 files changed, 16 insertions(+)
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
manager.AddRow(user);
}
+ public void addNewUserAgent(UserAgentData agent)
+ {
+ // Do nothing. yet.
+ }
+
public bool moneyTransferRequest(LLUUID from, LLUUID to, uint amount)
{
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
{
}
+ public void addNewUserAgent(UserAgentData agent)
+ {
+ // Do nothing.
+ }
+
public bool moneyTransferRequest(LLUUID from, LLUUID to, uint amount)
{
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
void addNewUserProfile(UserProfileData user);
///
+ /// Adds a new agent to the database
+ ///
+ /// The agent to add
+ void addNewUserAgent(UserAgentData agent);
+
+ ///
/// Attempts to move currency units between accounts (NOT RELIABLE / TRUSTWORTHY. DONT TRY RUN YOUR OWN CURRENCY EXCHANGE WITH REAL VALUES)
///
/// The account to transfer from
--
cgit v1.1