aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/conduits/todo/todo-conduit.h
blob: 80245b11b01c747bbc031cc4c8d0a50faac8e3e8 (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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/* Evolution calendar - ToDo Conduit Capplet
 *
 * Copyright (C) 1998 Free Software Foundation
 * Copyright (C) 2000 Helix Code, Inc.
 *
 * Authors: Eskil Heyn Olsen <deity@eskil.dk> 
 *          JP Rosevear <jpr@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 __TODO_CONDUIT_H__
#define __TODO_CONDUIT_H__

#include <sys/types.h>
#include <fcntl.h>
#include <unistd.h>
#include <gnome.h>
#include <pi-todo.h>
#include <gpilotd/gnome-pilot-conduit.h>
#include <gpilotd/gnome-pilot-conduit-sync-abs.h>
#include <cal-client/cal-client.h>
#include <e-pilot-map.h>

/* This is the local record structure for the Evolution ToDo conduit. */
typedef struct _EToDoLocalRecord EToDoLocalRecord;
struct _EToDoLocalRecord {
    /* The stuff from gnome-pilot-conduit-standard-abs.h
       Must be first in the structure, or instances of this
       structure cannot be used by gnome-pilot-conduit-standard-abs.
    */
    GnomePilotDesktopRecord local;

    /* The corresponding Comp object */
    CalComponent *comp;

        /* pilot-link todo structure */
    struct ToDo *todo;
};

/* This is the context for all the Evolution ToDo  conduit methods. */
typedef struct _EToDoConduitContext EToDoConduitContext;
struct _EToDoConduitContext {
    EToDoConduitCfg *cfg;

    struct ToDoAppInfo ai;

    CalClient *client;
    char *calendar_file;
    gboolean calendar_load_tried;
    gboolean calendar_load_success;

    GList *uids;
    GList *changed;
    GHashTable *changed_hash;
    
    EPilotMap *map;
};

#endif __TODO_CONDUIT_H__ 






-19 15:03:50 +0800'>2001-10-191-1/+1 * camel-vee-folder.c: (folder_changed_change_uid): Use alloca for vuid, andMichael Zucci2001-10-192-35/+94 * Lock the right lock for unmatched subfolder list stuff. If the sub folder92001-10-193-16/+110 * If a charset isn't specified or claims to be utf-8, check the validity ofJeffrey Stedfast2001-10-192-2/+37 * Added CAMEL_CFLAGS so we get the right iconv stuff, patch from Yanko82001-10-196-0/+11 * Make sure the cancel_fd isn't -1.Jeffrey Stedfast2001-10-192-1/+6 * Flush the stream here, not sure it really matters but it might (hopefully)Jeffrey Stedfast2001-10-192-0/+5 * Make user-cancellable.Jeffrey Stedfast2001-10-192-6/+37 * String cleanup for bug #6640.Jeffrey Stedfast2001-10-192-2/+5 * Fix my Cyrus imapd workaround...instead of checking to see if info->flagsJeffrey Stedfast2001-10-192-5/+11 * Use '.' as the inbox name for filter new messages test.72001-10-182-1/+5 * New function to clone a folderinfo tree.72001-10-183-1/+41 * Same as maildir and mbox append-message.Jeffrey Stedfast2001-10-183-6/+20 * Make sure the new description isn't the same as the old descriptionJeffrey Stedfast2001-10-183-9/+27 * Add an optimization for when destination folder is the same as the sourceJeffrey Stedfast2001-10-182-0/+8 * Patch from Danw, Use unread count of -1 to mark unflagged messages. Make72001-10-183-9/+23 * Set the DELETED flag on directly on the info if the source folder doesn'tJeffrey Stedfast2001-10-182-1/+7 * As below.Not Zed2001-10-173-4/+19 * Rearange the order of the gpg options slightly otherwise it might try toJeffrey Stedfast2001-10-172-5/+8 * If CAMEL_DEBUG is defined, print some useful ref/unref info.Jeffrey Stedfast2001-10-176-5/+60 * If no content, dont try and decode further and spit meaningless warnings.62001-10-172-0/+9 * Only perform the operation on the folder if the folder has summaryJeffrey Stedfast2001-10-172-3/+11 * Save the errno before calling fcntl so fcntl doesn't overwrite errno inJeffrey Stedfast2001-10-162-2/+13 * Replace the Bcc headers in a single location and don't flush the dataJeffrey Stedfast2001-10-142-21/+22 * oops, it should remove the bcc header, not the cc headerJeffrey Stedfast2001-10-131-8/+29 * Remove the stripheader filter from the build.Jeffrey Stedfast2001-10-135-245/+27 * Unhook from all events before removing folder.22001-10-132-1/+23 * convert the uids list to a subset appropriate for each subfolder before12001-10-122-8/+25 * Removed charset/locale charset lookup and iconv_open/close functions,12001-10-1215-361/+58 * Same.Jeffrey Stedfast2001-10-123-10/+23 * Same hack as below.Jeffrey Stedfast2001-10-114-1/+111 * Only re-build the folder if we're expunging. Also only clear out the02001-10-112-5/+13 * slight wording changes, mainly LGPL=>GPLMichael Zucci2001-10-111-6/+7 * Added a hack for Solaris systems.Jeffrey Stedfast2001-10-112-3/+11 * oops, we want get_unread_message_count, not get_message_count!02001-10-113-2/+15 * updatedJeffrey Stedfast2001-10-111-6/+4 * Another go at getting the logic right again. Make transients only update92001-10-102-5/+21 * Forgot a little bit of debug.Michael Zucci2001-10-101-1/+1 * Implement.92001-10-1011-160/+632 * replace the ever-growing list of gbooleans with a single guint32 forDan Winship2001-10-0912-49/+64 * Unlock the store before returning error. (noted by NotZed)Dan Winship2001-10-092-1/+8 * Fix a slight error in logic. Just because the last word was an encodedJeffrey Stedfast2001-10-072-9/+24 * Implemented uuencoding and decoding. (complete): Implemented uuencodingJeffrey Stedfast2001-10-065-3/+199 * Use a folder_subscribed event rather than a folder_created one.52001-10-063-8/+41 * Turn off warnings. (get_name): Same.Jeffrey Stedfast2001-10-066-55/+106 * Try harder to get broken names out of addresses. Unencoded ,'s in names52001-10-062-7/+46 * Change the order of execution slightly. We delete the folder first, then42001-10-063-14/+28 * tedfast <fejj@ximian.com>Jeffrey Stedfast2001-10-051-0/+5 * Unregister the operation before unreffing it.Jeffrey Stedfast2001-10-051-0/+4 * Remove now unused 'recents' array/freeing func.32001-10-043-11/+17 * Dont explicitly save metadata, its saved in summary_sync.32001-10-046-50/+43 * Added MATCH_NEWLINE flag, -> REG_NEWLINE.32001-10-045-7/+25 * Call camel_folder_delete() on the folder if it's "alive".Jeffrey Stedfast2001-10-044-23/+83 * Strange are the ways of alloca. Fixes 11543.Dan Winship2001-10-032-1/+9 * remove unused variableJeffrey Stedfast2001-10-031-1/+0 * Import the certificate if the user accepts it.Jeffrey Stedfast2001-10-032-20/+16 * for hashing/comparing local url's, we ignore trailing /'s in paths (maybe22001-10-032-12/+99 * Change to camel_charset_iconv_open/close.22001-10-038-22/+207 * Revert my x-unknown special-case hack - this may mask other problems.Jeffrey Stedfast2001-10-033