mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-22 20:06:49 +01:00
Bind missing enum constants.
This commit is contained in:
parent
db36151c18
commit
2f44da6c00
@ -77,11 +77,6 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_sender_address" qualifiers="const">
|
||||
<return type="String" />
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_to_data_string">
|
||||
<return type="String" />
|
||||
<description>
|
||||
@ -146,16 +141,12 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_sender_address">
|
||||
<return type="void" />
|
||||
<argument index="0" name="val" type="String" />
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="body" type="String" setter="set_body" getter="get_body" default="""">
|
||||
</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>
|
||||
<member name="subject" type="String" setter="set_subject" getter="get_subject" default="""">
|
||||
|
@ -55,5 +55,15 @@
|
||||
</signal>
|
||||
</signals>
|
||||
<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>
|
||||
</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");
|
||||
|
||||
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