aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r--OpenSim/Framework/IClientAPI.cs7
-rw-r--r--OpenSim/Framework/UndoStack.cs6
2 files changed, 3 insertions, 10 deletions
diff --git a/OpenSim/Framework/IClientAPI.cs b/OpenSim/Framework/IClientAPI.cs
index 8eb82b2..5b0726b 100644
--- a/OpenSim/Framework/IClientAPI.cs
+++ b/OpenSim/Framework/IClientAPI.cs
@@ -37,11 +37,9 @@ namespace OpenSim.Framework
37 public interface IEventArgs 37 public interface IEventArgs
38 { 38 {
39 IScene Scene { get; set; } 39 IScene Scene { get; set; }
40
41 IClientAPI Sender { get; set; } 40 IClientAPI Sender { get; set; }
42 } 41 }
43 42
44
45 public delegate void ViewerEffectEventHandler(IClientAPI sender, List<ViewerEffectEventHandlerArg> args); 43 public delegate void ViewerEffectEventHandler(IClientAPI sender, List<ViewerEffectEventHandlerArg> args);
46 44
47 public delegate void ChatFromViewer(Object sender, ChatFromViewerArgs e); 45 public delegate void ChatFromViewer(Object sender, ChatFromViewerArgs e);
@@ -281,6 +279,7 @@ namespace OpenSim.Framework
281 public LLVector3 UserLocation; 279 public LLVector3 UserLocation;
282 public LLVector3 UserLookAt; 280 public LLVector3 UserLookAt;
283 } 281 }
282
284 public class RegionHandshakeArgs : EventArgs 283 public class RegionHandshakeArgs : EventArgs
285 { 284 {
286 public bool isEstateManager; 285 public bool isEstateManager;
@@ -358,6 +357,7 @@ namespace OpenSim.Framework
358 public int SourceType; 357 public int SourceType;
359 public LLUUID TransferID; 358 public LLUUID TransferID;
360 } 359 }
360
361 public class AgentUpdateArgs : EventArgs 361 public class AgentUpdateArgs : EventArgs
362 { 362 {
363 public LLUUID AgentID; 363 public LLUUID AgentID;
@@ -644,7 +644,6 @@ namespace OpenSim.Framework
644 public delegate void EstateTeleportOneUserHomeRequest(IClientAPI remoteClient, LLUUID invoice, LLUUID senderID, LLUUID prey); 644 public delegate void EstateTeleportOneUserHomeRequest(IClientAPI remoteClient, LLUUID invoice, LLUUID senderID, LLUUID prey);
645 public delegate void ScriptReset(IClientAPI remoteClient, LLUUID objectID, LLUUID itemID); 645 public delegate void ScriptReset(IClientAPI remoteClient, LLUUID objectID, LLUUID itemID);
646 646
647
648 public interface IClientAPI 647 public interface IClientAPI
649 { 648 {
650 LLVector3 StartPos { get; set; } 649 LLVector3 StartPos { get; set; }
@@ -681,8 +680,6 @@ namespace OpenSim.Framework
681 set; 680 set;
682 } 681 }
683 682
684
685
686 [Obsolete("LLClientView Specific - Circuits are unique to LLClientView")] 683 [Obsolete("LLClientView Specific - Circuits are unique to LLClientView")]
687 uint CircuitCode { get; } 684 uint CircuitCode { get; }
688 [Obsolete("LLClientView Specific - Replace with more bare-bones arguments.")] 685 [Obsolete("LLClientView Specific - Replace with more bare-bones arguments.")]
diff --git a/OpenSim/Framework/UndoStack.cs b/OpenSim/Framework/UndoStack.cs
index a49a0cc..1fbe083 100644
--- a/OpenSim/Framework/UndoStack.cs
+++ b/OpenSim/Framework/UndoStack.cs
@@ -50,7 +50,6 @@ namespace OpenSim.Framework
50 get { return m_new == m_old; } 50 get { return m_new == m_old; }
51 } 51 }
52 52
53
54 public int Capacity 53 public int Capacity
55 { 54 {
56 get { return m_Undos.Length - 1; } 55 get { return m_Undos.Length - 1; }
@@ -67,7 +66,6 @@ namespace OpenSim.Framework
67 } 66 }
68 } 67 }
69 68
70
71 public void Push(T item) 69 public void Push(T item)
72 { 70 {
73 if (IsFull) 71 if (IsFull)
@@ -95,13 +93,11 @@ namespace OpenSim.Framework
95 throw new InvalidOperationException("Cannot pop from emtpy stack"); 93 throw new InvalidOperationException("Cannot pop from emtpy stack");
96 } 94 }
97 95
98
99 public T Peek() 96 public T Peek()
100 { 97 {
101 return m_Undos[m_new]; 98 return m_Undos[m_new];
102 } 99 }
103 100
104
105 public void Clear() 101 public void Clear()
106 { 102 {
107 if (Count > 0) 103 if (Count > 0)
@@ -115,4 +111,4 @@ namespace OpenSim.Framework
115 } 111 }
116 } 112 }
117 } 113 }
118} \ No newline at end of file 114}