From 3ccf5fd45122fcd72bc7fd5c48b9d034101a3d3a Mon Sep 17 00:00:00 2001 From: Yana Stamcheva Date: Wed, 5 Mar 2008 17:06:44 +0000 Subject: [PATCH] Defined getProtocolDisplayName() method. --- .../service/protocol/ProtocolProviderService.java | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/net/java/sip/communicator/service/protocol/ProtocolProviderService.java b/src/net/java/sip/communicator/service/protocol/ProtocolProviderService.java index e255b6ceb..b66a2cd77 100644 --- a/src/net/java/sip/communicator/service/protocol/ProtocolProviderService.java +++ b/src/net/java/sip/communicator/service/protocol/ProtocolProviderService.java @@ -90,15 +90,25 @@ public void unregister() /** * Returns the short name of the protocol that the implementation of this - * provider is based upon (like SIP, Jabber, ICQ/AIM, or others for + * provider is based upon (like SIP, Jabber, ICQ/AIM, or others for * example). If the name of the protocol has been enumerated in * ProtocolNames then the value returned by this method must be the same as * the one in ProtocolNames. + * * @return a String containing the short name of the protocol this service * is implementing (most often that would be a name in ProtocolNames). */ public String getProtocolName(); + /** + * Returns the protocol display name. This is the name that would be used + * by the GUI to display the protocol name. + * + * @return a String containing the display name of the protocol this service + * is implementing + */ + public String getProtocolDisplayName(); + /** * Returns the protocol logo icon. * @return the protocol logo icon