aboutsummaryrefslogtreecommitdiff
path: root/include/datetime/appointment.h
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-07-18 16:58:51 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-07-18 16:58:51 +0200
commitaea9abefb99d81abf48197bcfc45852ff247bb28 (patch)
treebfec00a17c4cd117576b6cbe8160f07c1d1a764f /include/datetime/appointment.h
parent6eac66d1ca86cbf85204b93f36b3ebe7082498b5 (diff)
parentb917e4ce17bc30772792a475af2eb0c64ae9f47b (diff)
downloadayatana-indicator-datetime-aea9abefb99d81abf48197bcfc45852ff247bb28.tar.gz
ayatana-indicator-datetime-aea9abefb99d81abf48197bcfc45852ff247bb28.tar.bz2
ayatana-indicator-datetime-aea9abefb99d81abf48197bcfc45852ff247bb28.zip
Merge branch 'tari01-master'
Attributes GH PR #3: https://github.com/AyatanaIndicators/ayatana-indicator-datetime/pull/3
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;