From 1ee10d919aae59e8b97b7f24dff14a16cb50e8df Mon Sep 17 00:00:00 2001 From: Homer Horwitz Date: Sun, 19 Oct 2008 16:49:10 +0000 Subject: Added calling cards. Fixes Mantis#2409 and part of #1515. --- OpenSim/Framework/IClientAPI.cs | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'OpenSim/Framework/IClientAPI.cs') diff --git a/OpenSim/Framework/IClientAPI.cs b/OpenSim/Framework/IClientAPI.cs index 0bb790c..bf31a78 100644 --- a/OpenSim/Framework/IClientAPI.cs +++ b/OpenSim/Framework/IClientAPI.cs @@ -324,6 +324,10 @@ namespace OpenSim.Framework public delegate void MapItemRequest(IClientAPI remoteClient, uint flags, uint EstateID, bool godlike, uint itemtype, ulong regionhandle); + public delegate void OfferCallingCard(IClientAPI remoteClient, UUID destID, UUID transactionID); + public delegate void AcceptCallingCard(IClientAPI remoteClient, UUID transactionID, UUID folderID); + public delegate void DeclineCallingCard(IClientAPI remoteClient, UUID transactionID); + #endregion public struct DirPlacesReplyData @@ -625,6 +629,9 @@ namespace OpenSim.Framework event MapItemRequest OnMapItemRequest; + event OfferCallingCard OnOfferCallingCard; + event AcceptCallingCard OnAcceptCallingCard; + event DeclineCallingCard OnDeclineCallingCard; // void ActivateGesture(UUID assetId, UUID gestureId); @@ -894,7 +901,11 @@ namespace OpenSim.Framework void SendEventInfoReply(EventData info); void SendMapItemReply(mapItemReply[] replies, uint mapitemtype, uint flags); - + + void SendOfferCallingCard(UUID srcID, UUID transactionID); + void SendAcceptCallingCard(UUID transactionID); + void SendDeclineCallingCard(UUID transactionID); + void KillEndDone(); } } -- cgit v1.1