diff options
author | Federico Mena Quintero <federico@helixcode.com> | 2000-08-03 06:15:22 +0800 |
---|---|---|
committer | Federico Mena Quintero <federico@src.gnome.org> | 2000-08-03 06:15:22 +0800 |
commit | 83cbc862e6981bd06b406a0ae01e50d15a3502e7 (patch) | |
tree | 423b39c8d157608a71ab3b3aea33dd19a2582460 /calendar/pcs/cal-backend-file.h | |
parent | 087e70c885bb19b3f76895a95159cd9f1d748bef (diff) | |
download | gsoc2013-evolution-83cbc862e6981bd06b406a0ae01e50d15a3502e7.tar.gz gsoc2013-evolution-83cbc862e6981bd06b406a0ae01e50d15a3502e7.tar.zst gsoc2013-evolution-83cbc862e6981bd06b406a0ae01e50d15a3502e7.zip |
New files for the iCalendar file backend.
2000-08-02 Federico Mena Quintero <federico@helixcode.com>
* pcs/cal-backend-file.[ch]: New files for the iCalendar file
backend.
* pcs/Makefile.am (libpcs_a_SOURCES): Added cal-backend-file.[ch].
* cal-util/cal-component.c (cal_component_set_icalcomponent):
Return an operation success code for if we are passed a component
of a type we don't support.
svn path=/trunk/; revision=4479
Diffstat (limited to 'calendar/pcs/cal-backend-file.h')
-rw-r--r-- | calendar/pcs/cal-backend-file.h | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/calendar/pcs/cal-backend-file.h b/calendar/pcs/cal-backend-file.h new file mode 100644 index 0000000000..376790751c --- /dev/null +++ b/calendar/pcs/cal-backend-file.h @@ -0,0 +1,62 @@ +/* Evolution calendar - iCalendar file backend + * + * Copyright (C) 2000 Helix Code, Inc. + * + * Author: 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 CAL_BACKEND_FILE_H +#define CAL_BACKEND_FILE_H + +#include <libgnome/gnome-defs.h> +#include "cal-backend.h" + +BEGIN_GNOME_DECLS + + + +#define CAL_BACKEND_FILE_TYPE (cal_backend_file_get_type ()) +#define CAL_BACKEND_FILE(obj) (GTK_CHECK_CAST ((obj), CAL_BACKEND_FILE_TYPE, \ + CalBackendFile)) +#define CAL_BACKEND_FILE_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), CAL_BACKEND_FILE_TYPE, \ + CalBackendFileClass)) +#define IS_CAL_BACKEND_FILE(obj) (GTK_CHECK_TYPE ((obj), CAL_BACKEND_FILE_TYPE)) +#define IS_CAL_BACKEND_FILE_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), CAL_BACKEND_FILE_TYPE)) + +typedef struct _CalBackendFile CalBackendFile; +typedef struct _CalBackendFileClass CalBackendFileClass; + +typedef struct _CalBackendFilePrivate CalBackendFilePrivate; + +struct _CalBackendFile { + CalBackend backend; + + /* Private data */ + CalBackendFilePrivate *priv; +}; + +struct _CalBackendFileClass { + CalBackendClass parent_class; +}; + +GtkType cal_backend_file_get_type (void); + + + +END_GNOME_DECLS + +#endif |