added stubs for appearance bits to all the db layers
							parent
							
								
									859d71ecfb
								
							
						
					
					
						commit
						86d2e53d1f
					
				| 
						 | 
				
			
			@ -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>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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()
 | 
			
		||||
        {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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);
 | 
			
		||||
   }
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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);
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
		Reference in New Issue