~stgraber/indicator-datetime/fix-deps

« back to all changes in this revision

Viewing changes to src/appointment.cpp

Improve valarm support to honor calendar events' valarm triggers. Fixes: #1419001
Approved by: Ted Gould, PS Jenkins bot

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
*****
28
28
****/
29
29
 
 
30
bool Alarm::operator==(const Alarm& that) const
 
31
{
 
32
  return (text==that.text)
 
33
      && (audio_url==that.audio_url)
 
34
      && (this->time==that.time);
 
35
}
 
36
 
30
37
bool Appointment::operator==(const Appointment& that) const
31
38
{
32
39
    return (type==that.type)
33
40
        && (uid==that.uid)
34
41
        && (color==that.color)
35
42
        && (summary==that.summary)
36
 
        && (url==that.url)
37
 
        && (audio_url==that.audio_url)
38
43
        && (begin==that.begin)
39
 
        && (end==that.end);
 
44
        && (end==that.end)
 
45
        && (alarms==that.alarms);
40
46
}
41
47
 
42
48
/****