added stubs for appearance bits to all the db layers

0.6.0-stable
Sean Dague 2008-05-01 20:16:26 +00:00
parent 859d71ecfb
commit 86d2e53d1f
6 changed files with 126 additions and 1 deletions

View File

@ -744,6 +744,33 @@ namespace OpenSim.Data.MSSQL
return false;
}
/// Appearance
/// TODO: stubs for now to get us to a compiling state gently
override public UserAppearance GetUserAppearance(LLUUID user)
{
return new UserAppearance();
}
override public void UpdateUserAppearance(LLUUID user, UserAppearance appearance)
{
return;
}
override public void AddAttachment(LLUUID user, LLUUID item)
{
return;
}
override public void RemoveAttachment(LLUUID user, LLUUID item)
{
return;
}
override public List<LLUUID> GetAttachments(LLUUID user)
{
return new List<LLUUID>();
}
/// <summary>
/// Database provider name
/// </summary>

View File

@ -628,6 +628,33 @@ namespace OpenSim.Data.MySQL
return false;
}
/// Appearance
/// TODO: stubs for now to get us to a compiling state gently
override public UserAppearance GetUserAppearance(LLUUID user)
{
return new UserAppearance();
}
override public void UpdateUserAppearance(LLUUID user, UserAppearance appearance)
{
return;
}
override public void AddAttachment(LLUUID user, LLUUID item)
{
return;
}
override public void RemoveAttachment(LLUUID user, LLUUID item)
{
return;
}
override public List<LLUUID> GetAttachments(LLUUID user)
{
return new List<LLUUID>();
}
/// <summary>
/// Database provider name
/// </summary>

View File

@ -238,6 +238,33 @@ namespace OpenSim.Data.NHibernate
public override bool MoneyTransferRequest(LLUUID from, LLUUID to, uint amount) {return true;}
public override bool InventoryTransferRequest(LLUUID from, LLUUID to, LLUUID inventory) {return true;}
/// Appearance
/// TODO: stubs for now to get us to a compiling state gently
override public UserAppearance GetUserAppearance(LLUUID user)
{
return new UserAppearance();
}
override public void UpdateUserAppearance(LLUUID user, UserAppearance appearance)
{
return;
}
override public void AddAttachment(LLUUID user, LLUUID item)
{
return;
}
override public void RemoveAttachment(LLUUID user, LLUUID item)
{
return;
}
override public List<LLUUID> GetAttachments(LLUUID user)
{
return new List<LLUUID>();
}
public override string getName()
{

View File

@ -474,6 +474,33 @@ namespace OpenSim.Data.SQLite
return true;
}
/// Appearance
/// TODO: stubs for now to get us to a compiling state gently
override public UserAppearance GetUserAppearance(LLUUID user)
{
return new UserAppearance();
}
override public void UpdateUserAppearance(LLUUID user, UserAppearance appearance)
{
return;
}
override public void AddAttachment(LLUUID user, LLUUID item)
{
return;
}
override public void RemoveAttachment(LLUUID user, LLUUID item)
{
return;
}
override public List<LLUUID> GetAttachments(LLUUID user)
{
return new List<LLUUID>();
}
/// <summary>
/// Returns the name of the storage provider
/// </summary>

View File

@ -53,5 +53,10 @@ namespace OpenSim.Data
public abstract string getName();
public abstract void Initialise();
public abstract List<AvatarPickerAvatar> GeneratePickerResults(LLUUID queryID, string query);
}
public abstract UserAppearance GetUserAppearance(LLUUID user);
public abstract void UpdateUserAppearance(LLUUID user, UserAppearance appearance);
public abstract void AddAttachment(LLUUID user, LLUUID item);
public abstract void RemoveAttachment(LLUUID user, LLUUID item);
public abstract List<LLUUID> GetAttachments(LLUUID user);
}
}

View File

@ -174,5 +174,17 @@ namespace OpenSim.Framework
/// Initialises the plugin (artificial constructor)
/// </summary>
void Initialise();
/// <summary>
/// Gets the user appearance
/// </summer>
UserAppearance GetUserAppearance(LLUUID user);
void UpdateUserAppearance(LLUUID user, UserAppearance appearance);
void AddAttachment(LLUUID user, LLUUID item);
void RemoveAttachment(LLUUID user, LLUUID item);
List<LLUUID> GetAttachments(LLUUID user);
}
}