aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-cal-model.h
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@src.gnome.org>2003-08-09 17:01:35 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2003-08-09 17:01:35 +0800
commit8f65ff7000f89f936e46007d0db78c0aa602f0b8 (patch)
tree447afd042dd278f088acc87f38503b3f4a17c0c6 /calendar/gui/e-cal-model.h
parentd0ce2a3d39fbb2386a75fc4b55768fa7d708691e (diff)
downloadgsoc2013-evolution-8f65ff7000f89f936e46007d0db78c0aa602f0b8.tar.gz
gsoc2013-evolution-8f65ff7000f89f936e46007d0db78c0aa602f0b8.tar.zst
gsoc2013-evolution-8f65ff7000f89f936e46007d0db78c0aa602f0b8.zip
Merged missing bits from branch
svn path=/trunk/; revision=22152
Diffstat (limited to 'calendar/gui/e-cal-model.h')
-rw-r--r--calendar/gui/e-cal-model.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/calendar/gui/e-cal-model.h b/calendar/gui/e-cal-model.h
index 69d9e785ba..bb19ba7329 100644
--- a/calendar/gui/e-cal-model.h
+++ b/calendar/gui/e-cal-model.h
@@ -37,6 +37,8 @@ G_BEGIN_DECLS
typedef struct _ECalModelPrivate ECalModelPrivate;
typedef enum {
+ /* If you add new items here or reorder them, you have to update the
+ .etspec files for the tables using this model */
E_CAL_MODEL_FIELD_CATEGORIES,
E_CAL_MODEL_FIELD_CLASSIFICATION,
E_CAL_MODEL_FIELD_COLOR, /* not a real field */
@@ -57,6 +59,8 @@ typedef struct {
/* private data */
ECellDateEditValue *dtstart;
ECellDateEditValue *dtend;
+ ECellDateEditValue *due;
+ ECellDateEditValue *completed;
} ECalModelComponent;
typedef struct {
@@ -69,6 +73,8 @@ typedef struct {
/* virtual methods */
const gchar * (* get_color_for_component) (ECalModel *model, ECalModelComponent *comp_data);
+ void (* fill_component_from_model) (ECalModel *model, ECalModelComponent *comp_data,
+ ECalModel *source_model, gint row);
} ECalModelClass;
GType e_cal_model_get_type (void);
@@ -78,6 +84,10 @@ void e_cal_model_set_component_kind (ECalModel *model, icalcompon
icaltimezone *e_cal_model_get_timezone (ECalModel *model);
void e_cal_model_set_timezone (ECalModel *model, icaltimezone *zone);
+void e_cal_model_set_default_category (ECalModel *model, const gchar *default_cat);
+void e_cal_model_set_use_24_hour_format (ECalModel *model, gboolean use24);
+
+CalClient *e_cal_model_get_default_client (ECalModel *model);
void e_cal_model_add_client (ECalModel *model, CalClient *client);
void e_cal_model_remove_client (ECalModel *model, CalClient *client);
void e_cal_model_remove_all_clients (ECalModel *model);