gmime r1455 - trunk/mono
- From: fejj svn gnome org
- To: svn-commits-list gnome org
- Subject: gmime r1455 - trunk/mono
- Date: Tue, 16 Sep 2008 23:08:15 +0000 (UTC)
Author: fejj
Date: Tue Sep 16 23:08:15 2008
New Revision: 1455
URL: http://svn.gnome.org/viewvc/gmime?rev=1455&view=rev
Log:
updated, made GMimeStream, GMimeFilter, and InternetAddress abstract
Modified:
trunk/mono/GMime.metadata
trunk/mono/gmime-api.raw
Modified: trunk/mono/GMime.metadata
==============================================================================
--- trunk/mono/GMime.metadata (original)
+++ trunk/mono/GMime.metadata Tue Sep 16 23:08:15 2008
@@ -105,6 +105,7 @@
<attr path="/api/namespace/enum/member[ cname='GMIME_SIGNER_ERROR_REVKEYSIG']" name="name">RevokedSignatureKey</attr>
<!-- Filter -->
+ <attr path="/api/namespace/object[ cname='GMimeFilter']" name="abstract">1</attr>
<attr path="/api/namespace/object[ cname='GMimeFilter']/method[ cname='g_mime_filter_filter']" name="name">ApplyFilter</attr>
<attr path="/api/namespace/object[ cname='GMimeFilter']/*/*/parameter[ name='inbuf']" name="type">const-guint8*</attr>
<attr path="/api/namespace/object[ cname='GMimeFilter']/*/*/parameter[ name='inbuf']" name="array">true</attr>
@@ -142,7 +143,8 @@
<!-- iconv-utils -->
<!-- InternetAddress -->
- <remove-node path="/api/namespace/object[ cname='InternetAddress']/signal[ name='Changed']"/>
+ <attr path="/api/namespace/object[ cname='InternetAddress']" name="abstract">1</attr>
+ <remove-node path="/api/namespace/object[ cname='InternetAddress']/field[ cname='priv']"/>
<!-- InternetAddressGroup -->
<remove-node path="/api/namespace/object[ cname='InternetAddressGroup']/method[ name='AddMember']"/>
@@ -153,9 +155,9 @@
<!-- InternetAddressList -->
<!-- Remove internal methods/fields/signals -->
- <remove-node path="/api/namespace/object[ cname='InternetAddressList']/signal[ name='Changed']"/>
+ <remove-node path="/api/namespace/object[ cname='InternetAddressList']/field[ cname='array']"/>
+ <remove-node path="/api/namespace/object[ cname='InternetAddressList']/field[ cname='priv']"/>
<remove-node path="/api/namespace/object[ cname='InternetAddressList']/method[ name='Writer']"/>
- <remove-node path="/api/namespace/object[ cname='InternetAddressList']/field[ name='Array']"/>
<!-- We're going to implement the IList interface -->
<add-node path="/api/namespace/object[ cname='InternetAddressList']">
<implements>
@@ -165,7 +167,6 @@
<!-- Remove methods we're going to implement manually in InternetAddressList.custom -->
<remove-node path="/api/namespace/object[ cname='InternetAddressList']/method[ name='Add']"/>
<remove-node path="/api/namespace/object[ cname='InternetAddressList']/method[ name='Clear']"/>
- <remove-node path="/api/namespace/object[ cname='InternetAddressList']/method[ name='Concat']"/>
<remove-node path="/api/namespace/object[ cname='InternetAddressList']/method[ name='Contains']"/>
<remove-node path="/api/namespace/object[ cname='InternetAddressList']/method[ name='IndexOf']"/>
<remove-node path="/api/namespace/object[ cname='InternetAddressList']/method[ name='Insert']"/>
@@ -176,6 +177,8 @@
<remove-node path="/api/namespace/object[ cname='InternetAddressList']/method[ name='GetAddress']"/>
<remove-node path="/api/namespace/object[ cname='InternetAddressList']/method[ name='SetAddress']"/>
<remove-node path="/api/namespace/object[ cname='InternetAddressList']/method[ name='ToString']"/>
+ <remove-node path="/api/namespace/object[ cname='InternetAddressList']/method[ name='Prepend']"/>
+ <remove-node path="/api/namespace/object[ cname='InternetAddressList']/method[ name='Append']"/>
<!-- Message -->
<attr path="/api/namespace/object[ cname='GMimeMessage']/method[ name='GetAllRecipients']/return-type" name="owned">true</attr>
@@ -255,6 +258,7 @@
<remove-node path="/api/namespace/struct[ cname='GMimeStreamIOVector']"/>
<!-- Stream -->
+ <attr path="/api/namespace/object[ cname='GMimeStream']" name="abstract">1</attr>
<attr path="/api/namespace/object[ cname='GMimeStream']/method[ name='Length']" name="name">GetLength</attr>
<attr path="/api/namespace/object[ cname='GMimeStream']/method[ name='Read']/*/parameter[ name='buf']" name="type">const-guint8*</attr>
<attr path="/api/namespace/object[ cname='GMimeStream']/method[ name='Read']/*/parameter[ name='buf']" name="array">true</attr>
Modified: trunk/mono/gmime-api.raw
==============================================================================
--- trunk/mono/gmime-api.raw (original)
+++ trunk/mono/gmime-api.raw Tue Sep 16 23:08:15 2008
@@ -644,8 +644,8 @@
</method>
</object>
<object name="Message" cname="GMimeMessage" parent="GMimeObject">
+ <field name="Recipients" cname="recipients" type="InternetAddressList**" />
<field name="MimePart" cname="mime_part" type="GMimeObject*" />
- <field name="Recipients" cname="recipients" type="GHashTable*" />
<field name="MessageId" cname="message_id" type="char*" />
<field name="ReplyTo" cname="reply_to" type="char*" />
<field name="Subject" cname="subject" type="char*" />
@@ -657,7 +657,7 @@
<parameters>
<parameter type="GMimeRecipientType" name="type" />
<parameter type="const-char*" name="name" />
- <parameter type="const-char*" name="address" />
+ <parameter type="const-char*" name="addr" />
</parameters>
</method>
<method name="Foreach" cname="g_mime_message_foreach">
@@ -1967,28 +1967,23 @@
</method>
</object>
<object name="InternetAddressList" cname="InternetAddressList" parent="GObject">
+ <field name="Priv" cname="priv" type="gpointer" />
<field name="Array" cname="array" type="GPtrArray*" />
- <signal name="Changed" cname="changed" when="LAST">
- <return-type type="void" />
- <parameters>
- <parameter name="inst" type="InternetAddressList*" />
- </parameters>
- </signal>
<method name="Add" cname="internet_address_list_add">
<return-type type="int" />
<parameters>
<parameter type="InternetAddress*" name="ia" />
</parameters>
</method>
- <method name="Clear" cname="internet_address_list_clear">
- <return-type type="void" />
- </method>
- <method name="Concat" cname="internet_address_list_concat">
+ <method name="Append" cname="internet_address_list_append">
<return-type type="void" />
<parameters>
- <parameter type="InternetAddressList*" name="concat" />
+ <parameter type="InternetAddressList*" name="append" />
</parameters>
</method>
+ <method name="Clear" cname="internet_address_list_clear">
+ <return-type type="void" />
+ </method>
<method name="Contains" cname="internet_address_list_contains">
<return-type type="gboolean" />
<parameters>
@@ -2027,6 +2022,12 @@
<parameter type="const-char*" name="str" />
</parameters>
</method>
+ <method name="Prepend" cname="internet_address_list_prepend">
+ <return-type type="void" />
+ <parameters>
+ <parameter type="InternetAddressList*" name="prepend" />
+ </parameters>
+ </method>
<method name="Remove" cname="internet_address_list_remove">
<return-type type="gboolean" />
<parameters>
@@ -2062,7 +2063,7 @@
<object name="InternetAddressGroup" cname="InternetAddressGroup" parent="InternetAddress">
<field name="Members" cname="members" type="InternetAddressList*" />
<method name="AddMember" cname="internet_address_group_add_member">
- <return-type type="void" />
+ <return-type type="int" />
<parameters>
<parameter type="InternetAddress*" name="member" />
</parameters>
@@ -2107,13 +2108,8 @@
</method>
</object>
<object name="InternetAddress" cname="InternetAddress" parent="GObject">
+ <field name="Priv" cname="priv" type="gpointer" />
<field name="Name" cname="name" type="char*" />
- <signal name="Changed" cname="changed" when="LAST">
- <return-type type="void" />
- <parameters>
- <parameter name="inst" type="InternetAddress*" />
- </parameters>
- </signal>
<virtual_method name="ToString" cname="to_string">
<return-type type="void" />
<parameters>
@@ -2735,9 +2731,10 @@
</class>
<class name="Decode" cname="GMimeDecode_">
<method name="Domain" cname="g_mime_decode_domain" shared="true">
- <return-type type="char*" />
+ <return-type type="gboolean" />
<parameters>
<parameter type="const-char**" name="in" />
+ <parameter type="GString*" name="domain" />
</parameters>
</method>
<method name="Lwsp" cname="g_mime_decode_lwsp" shared="true">
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]