From b5c3ca3079407391e099eea277f37ad45e5866d7 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Fri, 3 Aug 2001 13:18:08 +0000 Subject: Make "My Evolution" a normal storage instead of being the toplevel node that contains everything else. svn path=/trunk/; revision=11610 --- shell/e-summary-storage.h | 66 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 shell/e-summary-storage.h (limited to 'shell/e-summary-storage.h') diff --git a/shell/e-summary-storage.h b/shell/e-summary-storage.h new file mode 100644 index 0000000000..bdbd81bd5d --- /dev/null +++ b/shell/e-summary-storage.h @@ -0,0 +1,66 @@ +/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */ +/* e-summary-storage.h + * + * Copyright (C) 2001 Ximian, Inc. + * + * 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. + * + * Author: Ettore Perazzoli + */ + +#ifndef _E_SUMMARY_STORAGE_H_ +#define _E_SUMMARY_STORAGE_H_ + +#include "e-storage.h" + +#ifdef __cplusplus +extern "C" { +#pragma } +#endif /* __cplusplus */ + +#define E_TYPE_SUMMARY_STORAGE (e_summary_storage_get_type ()) +#define E_SUMMARY_STORAGE(obj) (GTK_CHECK_CAST ((obj), E_TYPE_SUMMARY_STORAGE, ESummaryStorage)) +#define E_SUMMARY_STORAGE_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), E_TYPE_SUMMARY_STORAGE, ESummaryStorageClass)) +#define E_IS_SUMMARY_STORAGE(obj) (GTK_CHECK_TYPE ((obj), E_TYPE_SUMMARY_STORAGE)) +#define E_IS_SUMMARY_STORAGE_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((obj), E_TYPE_SUMMARY_STORAGE)) + + +#define E_SUMMARY_STORAGE_NAME "summary" + + +typedef struct _ESummaryStorage ESummaryStorage; +typedef struct _ESummaryStoragePrivate ESummaryStoragePrivate; +typedef struct _ESummaryStorageClass ESummaryStorageClass; + +struct _ESummaryStorage { + EStorage parent; + + ESummaryStoragePrivate *priv; +}; + +struct _ESummaryStorageClass { + EStorageClass parent_class; +}; + + +GtkType e_summary_storage_get_type (void); +EStorage *e_summary_storage_new (void); + +#ifdef __cplusplus +} +#endif /* __cplusplus */ + +#endif /* _E_SUMMARY_STORAGE_H_ */ -- cgit v1.2.3