aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-multipart.h
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-04-27 05:30:32 +0800
committerDan Winship <danw@src.gnome.org>2000-04-27 05:30:32 +0800
commit2a6a191e0501a677fbac59304b6bc375e221e3ec (patch)
treee352a5b911913e3254bc3c47c8315dace9bc2061 /camel/camel-multipart.h
parent2409d71026645028f49bfd0f745e93346cc17450 (diff)
downloadgsoc2013-evolution-2a6a191e0501a677fbac59304b6bc375e221e3ec.tar
gsoc2013-evolution-2a6a191e0501a677fbac59304b6bc375e221e3ec.tar.gz
gsoc2013-evolution-2a6a191e0501a677fbac59304b6bc375e221e3ec.tar.bz2
gsoc2013-evolution-2a6a191e0501a677fbac59304b6bc375e221e3ec.tar.lz
gsoc2013-evolution-2a6a191e0501a677fbac59304b6bc375e221e3ec.tar.xz
gsoc2013-evolution-2a6a191e0501a677fbac59304b6bc375e221e3ec.tar.zst
gsoc2013-evolution-2a6a191e0501a677fbac59304b6bc375e221e3ec.zip
Remove. We weren't using the fields that made this different from
* camel-mime-body-part.[ch]: Remove. We weren't using the fields that made this different from camel-mime-part, so it basically just forced us to do lots of gratuitous typecasting. * camel-multipart.[ch]: Use CamelMimePart. Remove the multipart parent stuff, since we weren't using that either. * etc: update for CamelMimeBodyPart -> CamelMimePart svn path=/trunk/; revision=2645
Diffstat (limited to 'camel/camel-multipart.h')
-rw-r--r--camel/camel-multipart.h25
1 files changed, 10 insertions, 15 deletions
diff --git a/camel/camel-multipart.h b/camel/camel-multipart.h
index 8491e0aec4..33b88d6500 100644
--- a/camel/camel-multipart.h
+++ b/camel/camel-multipart.h
@@ -62,14 +62,12 @@ typedef struct {
CamelDataWrapperClass parent_class;
/* 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);
- CamelMimeBodyPart * (*remove_part_at) (CamelMultipart *multipart, guint index);
- CamelMimeBodyPart * (*get_part) (CamelMultipart *multipart, guint index);
+ void (*add_part) (CamelMultipart *multipart, CamelMimePart *part);
+ void (*add_part_at) (CamelMultipart *multipart, CamelMimePart *part, guint index);
+ void (*remove_part) (CamelMultipart *multipart, CamelMimePart *part);
+ CamelMimePart * (*remove_part_at) (CamelMultipart *multipart, guint index);
+ CamelMimePart * (*get_part) (CamelMultipart *multipart, guint index);
guint (*get_number) (CamelMultipart *multipart);
- void (*set_parent) (CamelMultipart *multipart, CamelMimePart *parent);
- CamelMimePart * (*get_parent) (CamelMultipart *multipart);
void (*set_boundary) (CamelMultipart *multipart, gchar *boundary);
const gchar * (*get_boundary) (CamelMultipart *multipart);
@@ -83,20 +81,17 @@ GtkType camel_multipart_get_type (void);
/* public methods */
CamelMultipart * camel_multipart_new (void);
void camel_multipart_add_part (CamelMultipart *multipart,
- CamelMimeBodyPart *part);
+ CamelMimePart *part);
void camel_multipart_add_part_at (CamelMultipart *multipart,
- CamelMimeBodyPart *part,
+ CamelMimePart *part,
guint index);
void camel_multipart_remove_part (CamelMultipart *multipart,
- CamelMimeBodyPart *part);
-CamelMimeBodyPart * camel_multipart_remove_part_at (CamelMultipart *multipart,
+ CamelMimePart *part);
+CamelMimePart * camel_multipart_remove_part_at (CamelMultipart *multipart,
guint index);
-CamelMimeBodyPart * camel_multipart_get_part (CamelMultipart *multipart,
+CamelMimePart * 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);