mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-08 20:09:36 +01:00
Bind missing enum constants.
This commit is contained in:
parent
db36151c18
commit
2f44da6c00
@ -77,11 +77,6 @@
|
|||||||
<description>
|
<description>
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="get_sender_address" qualifiers="const">
|
|
||||||
<return type="String" />
|
|
||||||
<description>
|
|
||||||
</description>
|
|
||||||
</method>
|
|
||||||
<method name="get_to_data_string">
|
<method name="get_to_data_string">
|
||||||
<return type="String" />
|
<return type="String" />
|
||||||
<description>
|
<description>
|
||||||
@ -146,16 +141,12 @@
|
|||||||
<description>
|
<description>
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="set_sender_address">
|
|
||||||
<return type="void" />
|
|
||||||
<argument index="0" name="val" type="String" />
|
|
||||||
<description>
|
|
||||||
</description>
|
|
||||||
</method>
|
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="body" type="String" setter="set_body" getter="get_body" default="""">
|
<member name="body" type="String" setter="set_body" getter="get_body" default="""">
|
||||||
</member>
|
</member>
|
||||||
|
<member name="sender_address" type="String" setter="set_sender_address" getter="get_sender_address" default="""">
|
||||||
|
</member>
|
||||||
<member name="sender_personal" type="String" setter="set_sender_personal" getter="get_sender_personal" default="""">
|
<member name="sender_personal" type="String" setter="set_sender_personal" getter="get_sender_personal" default="""">
|
||||||
</member>
|
</member>
|
||||||
<member name="subject" type="String" setter="set_subject" getter="get_subject" default="""">
|
<member name="subject" type="String" setter="set_subject" getter="get_subject" default="""">
|
||||||
|
@ -55,5 +55,15 @@
|
|||||||
</signal>
|
</signal>
|
||||||
</signals>
|
</signals>
|
||||||
<constants>
|
<constants>
|
||||||
|
<constant name="TLS_METHOD_NONE" value="0" enum="TLSMethod">
|
||||||
|
</constant>
|
||||||
|
<constant name="TLS_METHOD_STARTTLS" value="1" enum="TLSMethod">
|
||||||
|
</constant>
|
||||||
|
<constant name="TLS_METHOD_SMTPS" value="2" enum="TLSMethod">
|
||||||
|
</constant>
|
||||||
|
<constant name="SERVER_AUTH_PLAIN" value="0" enum="ServerAuthMethod">
|
||||||
|
</constant>
|
||||||
|
<constant name="SERVER_AUTH_LOGIN" value="1" enum="ServerAuthMethod">
|
||||||
|
</constant>
|
||||||
</constants>
|
</constants>
|
||||||
</class>
|
</class>
|
||||||
|
@ -725,4 +725,11 @@ void SMTPClient::_bind_methods() {
|
|||||||
ADD_PROPERTY(PropertyInfo(Variant::INT, "thread_sleep_usec"), "set_thread_sleep_usec", "get_thread_sleep_usec");
|
ADD_PROPERTY(PropertyInfo(Variant::INT, "thread_sleep_usec"), "set_thread_sleep_usec", "get_thread_sleep_usec");
|
||||||
|
|
||||||
ClassDB::bind_method(D_METHOD("send_email", "email"), &SMTPClient::send_email);
|
ClassDB::bind_method(D_METHOD("send_email", "email"), &SMTPClient::send_email);
|
||||||
|
|
||||||
|
BIND_ENUM_CONSTANT(TLS_METHOD_NONE);
|
||||||
|
BIND_ENUM_CONSTANT(TLS_METHOD_STARTTLS);
|
||||||
|
BIND_ENUM_CONSTANT(TLS_METHOD_SMTPS);
|
||||||
|
|
||||||
|
BIND_ENUM_CONSTANT(SERVER_AUTH_PLAIN);
|
||||||
|
BIND_ENUM_CONSTANT(SERVER_AUTH_LOGIN);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user