Updated Traditional Chinese translation(Hong Kong and Taiwan)
[evolution.git] / calendar / gui / e-cal-model-memos.h
blob3977bbe0cb47eb8605768fba15ba5586235da7ba
1 /*
3 * Evolution memo - Data model for ETable
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) version 3.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with the program; if not, see <http://www.gnu.org/licenses/>
19 * Authors:
20 * Rodrigo Moya <rodrigo@ximian.com>
21 * Nathan Owens <pianocomp81@yahoo.com>
23 * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
27 #ifndef E_CAL_MODEL_MEMOS_H
28 #define E_CAL_MODEL_MEMOS_H
30 #include "e-cal-model.h"
32 /* Standard GObject macros */
33 #define E_TYPE_CAL_MODEL_MEMOS \
34 (e_cal_model_memos_get_type ())
35 #define E_CAL_MODEL_MEMOS(obj) \
36 (G_TYPE_CHECK_INSTANCE_CAST \
37 ((obj), E_TYPE_CAL_MODEL_MEMOS, ECalModelMemo))
38 #define E_CAL_MODEL_MEMOS_CLASS(cls) \
39 (G_TYPE_CHECK_CLASS_CAST \
40 ((cls), E_TYPE_CAL_MODEL_MEMOS, ECalModelMemoClass))
41 #define E_IS_CAL_MODEL_MEMOS(obj) \
42 (G_TYPE_CHECK_INSTANCE_TYPE \
43 ((obj), E_TYPE_CAL_MODEL_MEMOS))
44 #define E_IS_CAL_MODEL_MEMOS_CLASS(cls) \
45 (G_TYPE_CHECK_CLASS_TYPE \
46 ((cls), E_TYPE_CAL_MODEL_MEMOS))
47 #define E_CAL_MODEL_MEMOS_GET_CLASS(obj) \
48 (G_TYPE_INSTANCE_GET_CLASS \
49 ((obj), E_TYPE_CAL_MODEL_MEMOS, ECalModelMemoClass))
51 G_BEGIN_DECLS
53 typedef struct _ECalModelMemos ECalModelMemos;
54 typedef struct _ECalModelMemosClass ECalModelMemosClass;
55 typedef struct _ECalModelMemosPrivate ECalModelMemosPrivate;
57 typedef enum {
58 /* If you add new items here or reorder them, you have to update the
59 .etspec files for the tables using this model */
60 E_CAL_MODEL_MEMOS_FIELD_LAST = E_CAL_MODEL_FIELD_LAST
62 } ECalModelMemoField;
64 struct _ECalModelMemos {
65 ECalModel parent;
66 ECalModelMemosPrivate *priv;
69 struct _ECalModelMemosClass {
70 ECalModelClass parent_class;
73 GType e_cal_model_memos_get_type (void);
74 ECalModel * e_cal_model_memos_new (void);
76 G_END_DECLS
78 #endif /* E_CAL_MODEL_MEMOS_H */