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; 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> /// <summary>
/// Database provider name /// Database provider name
/// </summary> /// </summary>

View File

@ -628,6 +628,33 @@ namespace OpenSim.Data.MySQL
return false; 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> /// <summary>
/// Database provider name /// Database provider name
/// </summary> /// </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 MoneyTransferRequest(LLUUID from, LLUUID to, uint amount) {return true;}
public override bool InventoryTransferRequest(LLUUID from, LLUUID to, LLUUID inventory) {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() public override string getName()
{ {

View File

@ -474,6 +474,33 @@ namespace OpenSim.Data.SQLite
return true; 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> /// <summary>
/// Returns the name of the storage provider /// Returns the name of the storage provider
/// </summary> /// </summary>

View File

@ -53,5 +53,10 @@ namespace OpenSim.Data
public abstract string getName(); public abstract string getName();
public abstract void Initialise(); public abstract void Initialise();
public abstract List<AvatarPickerAvatar> GeneratePickerResults(LLUUID queryID, string query); 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) /// Initialises the plugin (artificial constructor)
/// </summary> /// </summary>
void Initialise(); 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);
} }
} }