[gnome-calendar] manager: stub functions for enabling/disabling sources
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar] manager: stub functions for enabling/disabling sources
- Date: Mon, 15 Dec 2014 17:35:13 +0000 (UTC)
commit e53e514a7e3138d47147bbdc6fbf552b001cf5fe
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Mon Dec 15 15:34:58 2014 -0200
manager: stub functions for enabling/disabling sources
src/gcal-manager.c | 30 ++++++++++++++++++++++++++++++
src/gcal-manager.h | 6 ++++++
2 files changed, 36 insertions(+), 0 deletions(-)
---
diff --git a/src/gcal-manager.c b/src/gcal-manager.c
index 423b947..97e53aa 100644
--- a/src/gcal-manager.c
+++ b/src/gcal-manager.c
@@ -638,6 +638,36 @@ gcal_manager_add_source (GcalManager *manager,
return e_source_dup_uid (source);
}
+/**
+ * gcal_manager_enable_source:
+ * @manager: a #GcalManager
+ * @source: the target ESource
+ *
+ * Enable the given ESource.
+ */
+void
+gcal_manager_enable_source (GcalManager *manager,
+ ESource *source)
+{
+ /* TODO: implement me */
+ ;
+}
+
+/**
+ * gcal_manager_disable_source:
+ * @manager: a #GcalManager
+ * @source: the target ESource
+ *
+ * Disable the given ESource.
+ */
+void
+gcal_manager_disable_source (GcalManager *manager,
+ ESource *source)
+{
+ /* TODO: implement me */
+ ;
+}
+
void
gcal_manager_refresh (GcalManager *manager)
{
diff --git a/src/gcal-manager.h b/src/gcal-manager.h
index b16a7f2..a4c20ee 100644
--- a/src/gcal-manager.h
+++ b/src/gcal-manager.h
@@ -80,6 +80,12 @@ gchar* gcal_manager_add_source (GcalManager *manager
const gchar *backend,
const gchar *color);
+void gcal_manager_enable_source (GcalManager *manager,
+ ESource *source);
+
+void gcal_manager_disable_source (GcalManager *manager,
+ ESource *source);
+
void gcal_manager_refresh (GcalManager *manager);
gboolean gcal_manager_is_client_writable (GcalManager *manager,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]