aboutsummaryrefslogtreecommitdiff
path: root/include/datetime/appointment.h
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2020-07-11 00:11:05 +0200
committerRobert Tari <robert@tari.in>2020-07-17 18:02:32 +0200
commitb917e4ce17bc30772792a475af2eb0c64ae9f47b (patch)
treebfec00a17c4cd117576b6cbe8160f07c1d1a764f /include/datetime/appointment.h
parent6eac66d1ca86cbf85204b93f36b3ebe7082498b5 (diff)
downloadayatana-indicator-datetime-b917e4ce17bc30772792a475af2eb0c64ae9f47b.tar.gz
ayatana-indicator-datetime-b917e4ce17bc30772792a475af2eb0c64ae9f47b.tar.bz2
ayatana-indicator-datetime-b917e4ce17bc30772792a475af2eb0c64ae9f47b.zip
-Made GCC 10.1.0 friendly
-Fixed to work with ECal 2.0 -Added libaccounts-glib dependency -Added mate-time-admin handler
Diffstat (limited to 'include/datetime/appointment.h')
-rw-r--r--include/datetime/appointment.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/datetime/appointment.h b/include/datetime/appointment.h
index 700bb2e..950f4bb 100644
--- a/include/datetime/appointment.h
+++ b/include/datetime/appointment.h
@@ -39,8 +39,11 @@ struct Alarm
DateTime time;
bool operator== (const Alarm& that) const;
+ bool has_sound() const;
+ bool has_text() const;
};
+
/**
* \brief An instance of an appointment; e.g. a calendar event or clock-app alarm
*
@@ -54,6 +57,7 @@ public:
bool is_ubuntu_alarm() const { return type == UBUNTU_ALARM; }
std::string uid;
+ std::string source_uid;
std::string color;
std::string summary;
std::string activation_url;