📄 pref.h
字号:
/* * gsms - global preferences - can be accesed through the configuration var * * Authors: Michael Jochum <e9725005@stud3.tuwien.ac.at> * Gerhard Khueny <e9625442@student.tuwien.ac.at> * TODO: * * Fixes: * * For license terms, see the file COPYING in the project directory. */#ifndef PREF__#define PREF__#include <glib.h>typedef struct { /* E-Mail settings */ gchar *mail_send_method; gchar *mail_receive_method; /* Network settings */ gint net_timeout; gboolean http_proxy_enabled; gchar *http_proxy; guint16 http_proxy_port; gint max_threads; /* max number of sending threads */ /* POP3 settings */ gchar *pop3_server; guint16 pop3_port; gchar *pop3_user; gchar *pop3_passwd; gint pop3_check; /* check period in s; don't check if <0 */ gboolean pop3_store; /* store passwd ? */ gboolean pop3_delete; /* delete mails in reply to gsms msgs */ /* SMTP settings */ gchar *smtp_server; guint16 smtp_port; gchar *smtp_email; gchar *smtp_host; /* Font settings */ gchar *fontname; } Preferences;extern Preferences configuration;void pref_init(void);void pref_load(void);void pref_save(void);#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -