aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/calendar-model.h
blob: 7e28436e599e75f18c1b7753cd5211a61b5e11d8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
/* Evolution calendar - Data model for ETable
 *
 * Copyright (C) 2000 Helix Code, Inc.
 *
 * Authors: Federico Mena-Quintero <federico@helixcode.com>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
 */

#ifndef CALENDAR_MODEL_H
#define CALENDAR_MODEL_H

#include <libgnome/gnome-defs.h>
#include <e-table/e-table-model.h>
#include <cal-client/cal-client.h>

BEGIN_GNOME_DECLS



#define TYPE_CALENDAR_MODEL            (calendar_model_get_type ())
#define CALENDAR_MODEL(obj)            (GTK_CHECK_CAST ((obj), TYPE_CALENDAR_MODEL, CalendarModel))
#define CALENDAR_MODEL_CLASS(klass)    (GTK_CHECK_CLASS_CAST ((klass), TYPE_CALENDAR_MODEL, \
                    CalendarModelClass))
#define IS_CALENDAR_MODEL(obj)         (GTK_CHECK_TYPE ((obj), TYPE_CALENDAR_MODEL))
#define IS_CALENDAR_MODEL_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), TYPE_CALENDAR_MODEL))

typedef struct _CalendarModel CalendarModel;
typedef struct _CalendarModelClass CalendarModelClass;

struct _CalendarModel {
    ETableModel model;

    /* Private data */
    gpointer priv;
};

struct _CalendarModelClass {
    ETableModelClass parent_class;
};

GtkType calendar_model_get_type (void);

CalendarModel *calendar_model_new (void);

void calendar_model_set_cal_client (CalendarModel *model, CalClient *client, CalObjType type);



END_GNOME_DECLS

#endif
>* Use the U_() macro to get the UTF-8 translation.Jeffrey Stedfast2002-07-183-21/+28 * cvs remove.Not Zed2002-07-167-132/+203 * Changelog is pending some other patch approval so i'm not commiting.Not Zed2002-07-153-290/+0 * ** fixes for #10781Not Zed2002-07-1524-139/+496 * Make the sound type for (play-sound ) a "file" type rather than "string"Jeffrey Stedfast2002-07-094-3/+20 * fixed a spelling mistakeJeffrey Stedfast2002-05-251-1/+1 * *** empty log message ***Ettore Perazzoli2002-05-251-1/+1 * Add libfilter-i18n.h.Ettore Perazzoli2002-05-251-0/+1 * Fix English grammar.Ettore Perazzoli2002-05-252-1/+5 * Added a label definition.Jeffrey Stedfast2002-05-1712-7/+445 * Set the path in the entry widget.Jeffrey Stedfast2002-05-102-0/+4 * Add filter-file.[c,h] to the build.Jeffrey Stedfast2002-05-106-20/+66 * New filter widgets for choosing files and/or command-line's (?). Not yetJeffrey Stedfast2002-05-103-0/+375 * Changed to return a GList *, a list of the names of the rules affected byNot Zed2002-05-085-42/+126 * Get rid of ibex stuff, we no longer use it.Jeffrey Stedfast2002-04-272-1/+4 * The score "is" rule should have a value of "is" and not "less-than".Jeffrey Stedfast2002-04-192-1/+6 * Fixed a grammer mistake, or so according to bug #23376. Whatever.Jeffrey Stedfast2002-04-133-19/+25 * Fix "Follow Up" searches by comparing to the empty string, rather than justRussell Steinthal2002-04-123-4/+16 * Check that there is a value to setup. Fixes #15470.Not Zed2002-04-102-1/+4 * This needs to return a gboolean (TRUE). (rule_edit): UsingJeffrey Stedfast2002-04-102-5/+15 * Added closing ) for "not starts with" subject rule. Added closing ) forNot Zed2002-04-102-5/+6 * Added closing ) for "not starts with" subject rule.Not Zed2002-04-103-19/+24 * Remove the #ifndef SHELL part. Use an EvolutionFolderSelectorButton.Dan Winship2002-04-056-126/+40 * Set 're' as the parent window rather than as the parent widget.Jeffrey Stedfast2002-04-023-7/+14 * Free account_name so we don't leak. Also after getting the source uri, useJeffrey Stedfast2002-03-192-34/+72 * updated i18n headerJeffrey Stedfast2002-03-071-18/+20 * Added beep and play-sound actions.Jeffrey Stedfast2002-03-072-0/+13 * Copy values across to new part.Not Zed2002-02-269-18/+126 * Re-added contains and not-contains. Also added filter/vfolder rules forJeffrey Stedfast2002-02-134-2/+43 * Re-added contains and not-contains.Jeffrey Stedfast2002-02-134-1/+20 * NeedsReply no longer existsJeffrey Stedfast2002-02-082-6/+0 * Same here.Jeffrey Stedfast2002-02-053-66/+9 * Final cleanup for the CFLAGS and LIBS in the Makefiles.Ettore Perazzoli2002-01-282-5/+6 * check if re->edit != NULL before trying to unref it. Fixes a segfault whenMikael Hallendal2002-01-272-1/+10 * If we write "" to an xml file, we read back NULL. So if we read back NULL,Not Zed2002-01-152-4/+13 * Get the account name because that is the string we'd like to use forJeffrey Stedfast2002-01-043-27/+40 * Make the date comparisons read the same as the ones in filtertypes.xmlJeffrey Stedfast2002-01-033-36/+39 * Add new action to execute a shell command.Jeffrey Stedfast2001-12-183-18/+29 * Oops... this didn't get committed before.Jon Trowbridge2001-12-101-0/+8 * Implements marking messages as "Need Reply".Jon Trowbridge2001-12-102-0/+6 * Removed U_. Fixes #15415.Zbigniew Chyla2001-11-282-1/+5 * Hook onto destroy event. (edit_editor_destroyed): IF we get destroyed,Not Zed2001-11-285-27/+76 * Force the user to name the filter.Jeffrey Stedfast2001-11-133-9/+35 * Require gal 0.15.99.8Joe Shaw2001-10-301-1/+1 * Need to ref rule since add doesn't. This doesn't crash anymore but doesn't92001-10-292-0/+3 * Fixed previous fix.Michael Zucci2001-10-292-1/+2 * Some debug printf fixes for printf's that dont like null %s's.92001-10-292-2/+7 * Fix enable undo logic.Michael Zucci2001-10-292-1/+2 * Implement, change any folder uri's that have been renamed, to the new one.82001-10-287-8/+160 * Add undo for move. (rule_editor_add_undo): Add extra rank item.82001-10-286-12/+217 * Fix the address of the FSF in the licensing comments.Ettore Perazzoli2001-10-282-2/+0 * Fixing the license text.Ettore Perazzoli2001-10-2846-517/+508 * Fixing the license text.Ettore Perazzoli2001-10-282-2/+0 * Update the licensing information to require version 2 of the GPLEttore Perazzoli2001-10-272-4/+4 * Desensitize the parent dialog. (rule_edit): Same. (add_editor_clicked):Jeffrey Stedfast2001-10-262-0/+13 * Keep track of the current editor dialog window so that on exit, we canJeffrey Stedfast2001-10-263-33/+60 * added a missing close parenJeffrey Stedfast2001-10-261-1/+1 * Add a changed signal. Emits if the order changes or if you add or remove a42001-10-244-10/+109 * Translate the rule names. (Bug #13082)Jon Trowbridge2001-10-212-1/+7 * Fix the WM problems related to the folder selection dialog beingEttore Perazzoli2001-10-193-0/+8 * Kludge to raise the filter dialog when the folder-selection window isJeffrey Stedfast2001-10-162-1/+7 * If we have no node content, dont append any value or try to decode it.52001-10-162-4/+11 * And again here.Jeffrey Stedfast2001-10-054-4/+13 * "safe" save code, first save to .#name, then rename to name if it worked,42001-10-052-5/+31 * Emit changed events when we change it. (vfolder_rule_remove_source): "82001-09-292-0/+9 * Set the item label to the new rule name, not the old rule name. Fixes bugJeffrey Stedfast2001-09-292-8/+17 * Use g_strdup for the uri, not the xml memory.72001-09-284-1586/+12 * Emit changed events.32001-09-156-7/+108 * Clone the current rule before editing it so that changes can be undone.Jeffrey Stedfast2001-09-137-30/+150 * Remove the match-all from the not body-contains, so we can use the new22001-09-132-1/+6 * Encode the score as an integer string, not as a string of integers. #5098.02001-09-112-4/+6 * Allow the dialog's title to be translated.Jeffrey Stedfast2001-09-112-1/+6 * #include <sys/types.h> for regex_t on freebsd.Chris Toshok2001-08-202-0/+5 * Added key accelerators.Jeffrey Stedfast2001-08-183-30/+52 * in default_user:Peter Williams2001-08-152-1/+6 * New function. Convert a time_t to a gchar * (with i18n) (describe_button):Peter Williams2001-08-142-2/+17 * Add a gettext around our static strings.Peter Williams2001-08-132-1/+6 * Removed comment about the need to resolve nicknames properly, because weJon Trowbridge2001-08-111-18/+18 * Make this compile again.Peter Williams2001-08-102-3/+7 * No need to gtk_widget_show() the gnome dialog widget twice...Jeffrey Stedfast2001-08-103-146/+158 * don't mix g_free and xmlAlloc (xml_decode): don't mix g_free and xmlAllocRadek Doulik2001-08-095-9/+29 * use xmlStrdup rather than g_strdupRadek Doulik2001-08-083-2/+9 * Properly free the list of parts, and the private data.Not Zed2001-08-087-37/+82 * Reverted my previous change, I fixed the filter code to handle this theJeffrey Stedfast2001-08-082-0/+33 * Removed the "is" and "is not" rules from the xml file for address matchingJeffrey Stedfast2001-08-082-27/+5 * Do an evil kludgy hack so that the Rule Name entry widget gets focusedJeffrey Stedfast2001-08-042-3/+14 * Wrap some debug printf's with d().Jeffrey Stedfast2001-08-034