Ignore:
Timestamp:
07/22/06 08:45:34 (18 years ago)
Author:
Nicholas Riley
Message:

First pass at alarm persistence.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/hiptop/pester/net/sabi/pester/Alarm.java

    r275 r276  
    3232    private int mAbsoluteFireTime; // only valid if periodic
    3333    private danger.app.Alarm mAlarm;
     34    private int mUID;
    3435
    3536    public Alarm() {
    3637        mState = STATE_INVALID;
    3738        mAlarm = new danger.app.Alarm(0, Application.getCurrentApp(), this);
     39        mUID = 0;
    3840    }
    3941
     
    5557    public RingToneObject getAlert() {
    5658        return mAlert;
     59    }
     60    public int getUID() {
     61        return mUID;
    5762    }
    5863
     
    7075    public void setAlert(RingToneObject alert) {
    7176        mAlert = alert.isValid() ? alert : null;
     77    }
     78    public void setUID(int uid) {
     79        mUID = uid;
    7280    }
    7381
Note: See TracChangeset for help on using the changeset viewer.