manager: stub functions for enabling/disabling sources

This commit is contained in:
Georges Basile Stavracas Neto
2014-12-15 15:34:58 -02:00
parent 25cbc8627d
commit e53e514a7e
2 changed files with 36 additions and 0 deletions
+30
View File
@@ -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)
{
+6
View File
@@ -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,