Allow chat displays to register themselves in a known order and to report to

one another whether they've already displayed a chat message.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4421 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2006-10-10 21:48:27 +00:00
parent 3c385628a1
commit 20d1e1d024
2 changed files with 25 additions and 8 deletions
@@ -38,7 +38,10 @@ public interface ChatDisplay
/**
* Called to display a chat message.
*
* @see ChatMessage
* @param alreadyDisplayed true if a previous chat display in the list has
* already displayed this message, false otherwise.
*
* @return true if the message was displayed, false if not.
*/
public void displayMessage (ChatMessage msg);
public boolean displayMessage (ChatMessage msg, boolean alreadyDisplayed);
}