manager: initial work on new design

GcalManager new design includes:
1. remove deprecated methods from eds
2. remove event cache
3. remove the need for keeping date range logic
4. reorder code according to HACKING code style document

This changes will cause some other changes among the application. While
this commit build just fine, work is missing yet. Next I will fix
GcalEventWigdet and the rest of the affected components.
This commit is contained in:
Erick Pérez Castellanos
2014-12-04 17:10:38 -05:00
parent 000b1a843b
commit 9752b719f0
3 changed files with 390 additions and 730 deletions
+1
View File
@@ -6,6 +6,7 @@ AM_CPPFLAGS = \
-I$(top_srcdir)/libgd \
$(MAINTAINER_COMPILER_FLAGS) \
$(WARN_CFLAGS) \
-DEDS_DISABLE_DEPRECATED \
$(CALENDAR_CFLAGS)
bin_PROGRAMS = gnome-calendar
+389 -723
View File
File diff suppressed because it is too large Load Diff
-7
View File
@@ -69,9 +69,6 @@ gchar* gcal_manager_add_source (GcalManager *manager
gchar* gcal_manager_get_default_source (GcalManager *manager);
const gchar* gcal_manager_get_source_name (GcalManager *manager,
const gchar *source_uid);
gboolean gcal_manager_get_source_readonly (GcalManager *manager,
const gchar *source_uid);
@@ -79,10 +76,6 @@ void gcal_manager_set_new_range (GcalManager *manager
const icaltimetype *initial_date,
const icaltimetype *final_date);
gboolean gcal_manager_exists_event (GcalManager *manager,
const gchar *source_uid,
const gchar *event_uid);
/* Get methods */
icaltimetype* gcal_manager_get_event_start_date (GcalManager *manager,
const gchar *source_uid,