diff options
author | Dan Winship <danw@src.gnome.org> | 2000-04-23 02:00:08 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-04-23 02:00:08 +0800 |
commit | ee7f36f84b8f45356fae240c13dd68b0e8aee8d5 (patch) | |
tree | 9f8b46f41fb4bd65722a4a4c2db9b1a1e2a7624c /camel/camel-multipart.h | |
parent | 1af18445c9aa5cd8084042a9616d13d066aa8d29 (diff) | |
download | gsoc2013-evolution-ee7f36f84b8f45356fae240c13dd68b0e8aee8d5.tar gsoc2013-evolution-ee7f36f84b8f45356fae240c13dd68b0e8aee8d5.tar.gz gsoc2013-evolution-ee7f36f84b8f45356fae240c13dd68b0e8aee8d5.tar.bz2 gsoc2013-evolution-ee7f36f84b8f45356fae240c13dd68b0e8aee8d5.tar.lz gsoc2013-evolution-ee7f36f84b8f45356fae240c13dd68b0e8aee8d5.tar.xz gsoc2013-evolution-ee7f36f84b8f45356fae240c13dd68b0e8aee8d5.tar.zst gsoc2013-evolution-ee7f36f84b8f45356fae240c13dd68b0e8aee8d5.zip |
clean, document, etc. (camel_multipart_init): pick a prettier default
* camel-multipart.[ch]: clean, document, etc.
(camel_multipart_init): pick a prettier default boundary. Still
need to deal with the larger problem
svn path=/trunk/; revision=2553
Diffstat (limited to 'camel/camel-multipart.h')
-rw-r--r-- | camel/camel-multipart.h | 53 |
1 files changed, 25 insertions, 28 deletions
diff --git a/camel/camel-multipart.h b/camel/camel-multipart.h index 201deef8e8..8491e0aec4 100644 --- a/camel/camel-multipart.h +++ b/camel/camel-multipart.h @@ -1,15 +1,15 @@ /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* camel-multipart.h : class for a multipart */ -/* +/* * - * Author : + * Author : * Bertrand Guiheneuf <bertrand@helixcode.com> * * Copyright 1999, 2000 Helix Code, Inc. (http://www.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 + * 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. * @@ -60,8 +60,8 @@ struct _CamelMultipart typedef struct { CamelDataWrapperClass parent_class; - - /* Virtual methods */ + + /* Virtual methods */ void (*add_part) (CamelMultipart *multipart, CamelMimeBodyPart *part); void (*add_part_at) (CamelMultipart *multipart, CamelMimeBodyPart *part, guint index); void (*remove_part) (CamelMultipart *multipart, CamelMimeBodyPart *part); @@ -81,28 +81,25 @@ GtkType camel_multipart_get_type (void); /* public methods */ -CamelMultipart * camel_multipart_new (void); -void camel_multipart_add_part (CamelMultipart *multipart, - CamelMimeBodyPart *part); -void camel_multipart_add_part_at (CamelMultipart *multipart, - CamelMimeBodyPart *part, - guint index); -void camel_multipart_remove_part (CamelMultipart *multipart, - CamelMimeBodyPart *part); -CamelMimeBodyPart * camel_multipart_remove_part_at (CamelMultipart *multipart, - guint index); -CamelMimeBodyPart * camel_multipart_get_part (CamelMultipart *multipart, - guint index); -guint camel_multipart_get_number (CamelMultipart *multipart); -void camel_multipart_set_parent (CamelMultipart *multipart, - CamelMimePart *parent); -CamelMimePart * camel_multipart_get_parent (CamelMultipart *multipart); -void camel_multipart_set_boundary (CamelMultipart *multipart, - gchar *boundary); -const gchar * camel_multipart_get_boundary (CamelMultipart *multipart); - - - +CamelMultipart * camel_multipart_new (void); +void camel_multipart_add_part (CamelMultipart *multipart, + CamelMimeBodyPart *part); +void camel_multipart_add_part_at (CamelMultipart *multipart, + CamelMimeBodyPart *part, + guint index); +void camel_multipart_remove_part (CamelMultipart *multipart, + CamelMimeBodyPart *part); +CamelMimeBodyPart * camel_multipart_remove_part_at (CamelMultipart *multipart, + guint index); +CamelMimeBodyPart * camel_multipart_get_part (CamelMultipart *multipart, + guint index); +guint camel_multipart_get_number (CamelMultipart *multipart); +void camel_multipart_set_parent (CamelMultipart *multipart, + CamelMimePart *parent); +CamelMimePart * camel_multipart_get_parent (CamelMultipart *multipart); +void camel_multipart_set_boundary (CamelMultipart *multipart, + gchar *boundary); +const gchar * camel_multipart_get_boundary (CamelMultipart *multipart); #ifdef __cplusplus |