Ignore:
Timestamp:
2013-05-09T11:03:28+02:00 (12 years ago)
Author:
zverik
Message:

[josm_geochat] refactored; notifications work

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/geochat/src/geochat/ChatMessage.java

    r29558 r29568  
    1717    private long id;
    1818    private boolean priv;
     19    private boolean incoming;
    1920
    20     public ChatMessage( long id, LatLon pos, String author, String message, Date time ) {
     21    public ChatMessage( long id, LatLon pos, String author, boolean incoming, String message, Date time ) {
    2122        this.id = id;
    2223        this.author = author;
     
    2425        this.pos = pos;
    2526        this.time = time;
     27        this.incoming = incoming;
    2628        this.priv = false;
    2729        this.recipient = null;
     
    6365    }
    6466
     67    public boolean isIncoming() {
     68        return incoming;
     69    }
     70
    6571    public Date getTime() {
    6672        return time;
Note: See TracChangeset for help on using the changeset viewer.