diff options
author | Dr Scofield | 2009-02-06 16:55:34 +0000 |
---|---|---|
committer | Dr Scofield | 2009-02-06 16:55:34 +0000 |
commit | 9b66108081a8c8cf79faaa6c541554091c40850e (patch) | |
tree | 095a232ae5a9de3a9244bcd34da08294f61eeea5 /OpenSim/Region/Environment/Interfaces/IWorldComm.cs | |
parent | * removed superfluous constants class (diff) | |
download | opensim-SC_OLD-9b66108081a8c8cf79faaa6c541554091c40850e.zip opensim-SC_OLD-9b66108081a8c8cf79faaa6c541554091c40850e.tar.gz opensim-SC_OLD-9b66108081a8c8cf79faaa6c541554091c40850e.tar.bz2 opensim-SC_OLD-9b66108081a8c8cf79faaa6c541554091c40850e.tar.xz |
This changeset is the step 1 of 2 in refactoring
OpenSim.Region.Environment into a "framework" part and a modules only
part. This first changeset refactors OpenSim.Region.Environment.Scenes,
OpenSim.Region.Environment.Interfaces, and OpenSim.Region.Interfaces
into OpenSim.Region.Framework.{Interfaces,Scenes} leaving only region
modules in OpenSim.Region.Environment.
The next step will be to move region modules up from
OpenSim.Region.Environment.Modules to OpenSim.Region.CoreModules and
then sort out which modules are really core modules and which should
move out to forge.
I've been very careful to NOT BREAK anything. i hope i've
succeeded. as this is the work of a whole week i hope i managed to
keep track with the applied patches of the last week --- could any of
you that did check in stuff have a look at whether it survived? thx!
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Interfaces/IWorldComm.cs (renamed from OpenSim/Region/Environment/Interfaces/IWorldComm.cs) | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/OpenSim/Region/Environment/Interfaces/IWorldComm.cs b/OpenSim/Region/Framework/Interfaces/IWorldComm.cs index 1a33450..24865db 100644 --- a/OpenSim/Region/Environment/Interfaces/IWorldComm.cs +++ b/OpenSim/Region/Framework/Interfaces/IWorldComm.cs | |||
@@ -28,21 +28,37 @@ | |||
28 | using System; | 28 | using System; |
29 | using OpenMetaverse; | 29 | using OpenMetaverse; |
30 | using OpenSim.Framework; | 30 | using OpenSim.Framework; |
31 | using OpenSim.Region.Environment.Modules.Scripting.WorldComm; | 31 | // using OpenSim.Region.Environment.Modules.Scripting.WorldComm; |
32 | 32 | ||
33 | namespace OpenSim.Region.Environment.Interfaces | 33 | namespace OpenSim.Region.Framework.Interfaces |
34 | { | 34 | { |
35 | public interface IWorldCommListenerInfo | ||
36 | { | ||
37 | Object[] GetSerializationData(); | ||
38 | UUID GetItemID(); | ||
39 | UUID GetHostID(); | ||
40 | int GetChannel(); | ||
41 | uint GetLocalID(); | ||
42 | int GetHandle(); | ||
43 | string GetMessage(); | ||
44 | string GetName(); | ||
45 | bool IsActive(); | ||
46 | void Deactivate(); | ||
47 | void Activate(); | ||
48 | UUID GetID(); | ||
49 | } | ||
50 | |||
35 | public interface IWorldComm | 51 | public interface IWorldComm |
36 | { | 52 | { |
37 | int Listen(uint LocalID, UUID itemID, UUID hostID, int channel, string name, UUID id, string msg); | 53 | int Listen(uint LocalID, UUID itemID, UUID hostID, int channel, string name, UUID id, string msg); |
38 | void DeliverMessage(ChatTypeEnum type, int channel, string name, UUID id, string msg); | 54 | void DeliverMessage(ChatTypeEnum type, int channel, string name, UUID id, string msg); |
39 | bool HasMessages(); | 55 | bool HasMessages(); |
40 | ListenerInfo GetNextMessage(); | 56 | IWorldCommListenerInfo GetNextMessage(); |
41 | void ListenControl(UUID itemID, int handle, int active); | 57 | void ListenControl(UUID itemID, int handle, int active); |
42 | void ListenRemove(UUID itemID, int handle); | 58 | void ListenRemove(UUID itemID, int handle); |
43 | void DeleteListener(UUID itemID); | 59 | void DeleteListener(UUID itemID); |
44 | Object[] GetSerializationData(UUID itemID); | 60 | Object[] GetSerializationData(UUID itemID); |
45 | void CreateFromData(uint localID, UUID itemID, UUID hostID, | 61 | void CreateFromData(uint localID, UUID itemID, UUID hostID, |
46 | Object[] data); | 62 | Object[] data); |
47 | } | 63 | } |
48 | } | 64 | } |