* Added addNewUserAgent() function. No idea if it breaks compilation since MSVC#2005 solutions are broken.

zircon^2
Adam Frisby 2007-05-26 06:29:22 +00:00
parent 64741b55a6
commit 79df5f840c
3 changed files with 16 additions and 0 deletions

View File

@ -71,6 +71,11 @@ namespace OpenGrid.Framework.Data.DB4o
manager.AddRow(user); manager.AddRow(user);
} }
public void addNewUserAgent(UserAgentData agent)
{
// Do nothing. yet.
}
public bool moneyTransferRequest(LLUUID from, LLUUID to, uint amount) public bool moneyTransferRequest(LLUUID from, LLUUID to, uint amount)
{ {
return true; return true;

View File

@ -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) public bool moneyTransferRequest(LLUUID from, LLUUID to, uint amount)
{ {
return false; return false;

View File

@ -57,6 +57,12 @@ namespace OpenGrid.Framework.Data
/// <param name="user">UserProfile to add</param> /// <param name="user">UserProfile to add</param>
void addNewUserProfile(UserProfileData user); void addNewUserProfile(UserProfileData user);
/// <summary>
/// Adds a new agent to the database
/// </summary>
/// <param name="agent">The agent to add</param>
void addNewUserAgent(UserAgentData agent);
/// <summary> /// <summary>
/// Attempts to move currency units between accounts (NOT RELIABLE / TRUSTWORTHY. DONT TRY RUN YOUR OWN CURRENCY EXCHANGE WITH REAL VALUES) /// Attempts to move currency units between accounts (NOT RELIABLE / TRUSTWORTHY. DONT TRY RUN YOUR OWN CURRENCY EXCHANGE WITH REAL VALUES)
/// </summary> /// </summary>