blob: ebe190cb2ae732bdb3ff813a3e8397366d22425d (
plain) (
tree)
|
|
/* Evolution calendar - iCalendar file backend
*
* Copyright (C) 2000 Ximian, Inc.
* Copyright (C) 2000 Ximian, Inc.
*
* Author: Federico Mena-Quintero <federico@ximian.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of version 2 of the GNU General Public
* License as published by the Free Software Foundation.
*
* 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 "pcs/cal-backend-sync.h"
G_BEGIN_DECLS
#define CAL_BACKEND_FILE_TYPE (cal_backend_file_get_type ())
#define CAL_BACKEND_FILE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CAL_BACKEND_FILE_TYPE, \
CalBackendFile))
#define CAL_BACKEND_FILE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CAL_BACKEND_FILE_TYPE, \
CalBackendFileClass))
#define IS_CAL_BACKEND_FILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CAL_BACKEND_FILE_TYPE))
#define IS_CAL_BACKEND_FILE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CAL_BACKEND_FILE_TYPE))
typedef struct _CalBackendFile CalBackendFile;
typedef struct _CalBackendFileClass CalBackendFileClass;
typedef struct _CalBackendFilePrivate CalBackendFilePrivate;
struct _CalBackendFile {
CalBackendSync backend;
/* Private data */
CalBackendFilePrivate *priv;
};
struct _CalBackendFileClass {
CalBackendSyncClass parent_class;
};
GType cal_backend_file_get_type (void);
void cal_backend_file_set_file_name (CalBackendFile *cbfile,
const char *file_name);
const char *cal_backend_file_get_file_name (CalBackendFile *cbfile);
G_END_DECLS
#endif
|