aboutsummaryrefslogtreecommitdiffstats
path: root/modules/calendar/e-cal-shell-view-private.h
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2012-04-11 22:58:05 +0800
committerMilan Crha <mcrha@redhat.com>2012-04-11 22:58:05 +0800
commit49787d04feef8ff699326e54d5991a36d8ef74bb (patch)
tree17129ce5082dd431865c8afc01290dbac4dc3524 /modules/calendar/e-cal-shell-view-private.h
parente3295b4d11bca23980472f1d54f4a52927c41539 (diff)
downloadgsoc2013-evolution-49787d04feef8ff699326e54d5991a36d8ef74bb.tar
gsoc2013-evolution-49787d04feef8ff699326e54d5991a36d8ef74bb.tar.gz
gsoc2013-evolution-49787d04feef8ff699326e54d5991a36d8ef74bb.tar.bz2
gsoc2013-evolution-49787d04feef8ff699326e54d5991a36d8ef74bb.tar.lz
gsoc2013-evolution-49787d04feef8ff699326e54d5991a36d8ef74bb.tar.xz
gsoc2013-evolution-49787d04feef8ff699326e54d5991a36d8ef74bb.tar.zst
gsoc2013-evolution-49787d04feef8ff699326e54d5991a36d8ef74bb.zip
Bug #584143 - Global Search Function withing Calendar
Diffstat (limited to 'modules/calendar/e-cal-shell-view-private.h')
-rw-r--r--modules/calendar/e-cal-shell-view-private.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/modules/calendar/e-cal-shell-view-private.h b/modules/calendar/e-cal-shell-view-private.h
index ad4984a4ef..4fc5e24724 100644
--- a/modules/calendar/e-cal-shell-view-private.h
+++ b/modules/calendar/e-cal-shell-view-private.h
@@ -122,6 +122,15 @@ struct _ECalShellViewPrivate {
EActivity *memopad_activity;
EActivity *taskpad_activity;
+ /* Time-range searching */
+ EActivity *searching_activity;
+ gpointer search_alert; /* weak pointer to EAlert * */
+ gint search_pending_count; /* how many clients are pending */
+ time_t search_time; /* current search time from */
+ time_t search_min_time, search_max_time; /* time boundary for searching */
+ gint search_direction; /* negative value is backward, positive is forward, zero is error; in days */
+ GSList *search_hit_cache; /* pointers on time_t for matched events */
+
GFileMonitor *monitors[CHECK_NB];
};
@@ -159,6 +168,11 @@ void e_cal_shell_view_update_search_filter
(ECalShellView *cal_shell_view);
void e_cal_shell_view_update_timezone
(ECalShellView *cal_shell_view);
+void e_cal_shell_view_search_events
+ (ECalShellView *cal_shell_view,
+ gboolean search_forward);
+void e_cal_shell_view_search_stop
+ (ECalShellView *cal_shell_view);
/* Memo Pad Utilities */