2018-05-02 00:05:28 +01:00
|
|
|
#ifndef LIBDELTA_H
|
|
|
|
#define LIBDELTA_H
|
|
|
|
|
|
|
|
#define PLUGIN_ID "prpl-delta"
|
|
|
|
|
2018-05-02 02:09:59 +01:00
|
|
|
#define PLUGIN_CHAT_INFO_CHAT_ID "chat_id"
|
|
|
|
|
2018-05-02 00:05:28 +01:00
|
|
|
#define DELTA_PROTOCOL_OPTS \
|
|
|
|
OPT_PROTO_UNIQUE_CHATNAME | \
|
|
|
|
OPT_PROTO_CHAT_TOPIC | \
|
2021-01-12 00:04:46 +00:00
|
|
|
OPT_PROTO_IM_IMAGE | \
|
|
|
|
OPT_PROTO_MAIL_CHECK
|
2018-05-02 00:05:28 +01:00
|
|
|
|
|
|
|
// These two will instead be the pidgin "username" and "password" options that
|
|
|
|
// I can't seem to get rid of.
|
2018-05-02 02:09:59 +01:00
|
|
|
#define PLUGIN_ACCOUNT_OPT_ADDR "addr"
|
|
|
|
#define PLUGIN_ACCOUNT_OPT_IMAP_PASS "mail_pw"
|
2018-05-02 00:05:28 +01:00
|
|
|
|
|
|
|
// Share the remaining keys between purple and delta
|
|
|
|
#define PLUGIN_ACCOUNT_OPT_DISPLAY_NAME "displayname"
|
|
|
|
|
|
|
|
#define PLUGIN_ACCOUNT_OPT_IMAP_SERVER_HOST "mail_server"
|
|
|
|
#define PLUGIN_ACCOUNT_OPT_IMAP_SERVER_PORT "mail_port"
|
|
|
|
#define PLUGIN_ACCOUNT_OPT_IMAP_USER "mail_user"
|
|
|
|
|
|
|
|
#define PLUGIN_ACCOUNT_OPT_SMTP_SERVER_HOST "send_server"
|
|
|
|
#define PLUGIN_ACCOUNT_OPT_SMTP_SERVER_PORT "send_port"
|
|
|
|
#define PLUGIN_ACCOUNT_OPT_SMTP_USER "send_user"
|
|
|
|
#define PLUGIN_ACCOUNT_OPT_SMTP_PASS "send_pw"
|
|
|
|
|
2021-01-10 18:08:22 +00:00
|
|
|
#define PLUGIN_ACCOUNT_OPT_BCC_SELF "bcc_self"
|
|
|
|
|
2019-04-21 21:27:45 +01:00
|
|
|
#define UNUSED(x) (void)(x)
|
|
|
|
|
2018-05-02 00:05:28 +01:00
|
|
|
#endif
|