diff --git a/docs/html/annotated.html b/docs/html/annotated.html index 49ee1ec3..a1577cc7 100644 --- a/docs/html/annotated.html +++ b/docs/html/annotated.html @@ -87,13 +87,13 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
Cmrarray_t | An object containing a simple array |
Cmrchat_t | An object representing a single chat in memory |
Cmrchatlist_t | An object representing a single chatlist in memory |
Cmrcontact_t | An object representing a single contact in memory |
Cmrlot_t | An object containing a set of values |
Cmrmailbox_t | An object representing a single mailbox |
Cmrmsg_t | An object representing a single message in memory |
Cmrarray_t | An object containing a simple array |
Cmrchat_t | An object representing a single chat in memory |
Cmrchatlist_t | An object representing a single chatlist in memory |
Cmrcontact_t | An object representing a single contact in memory |
Cmrlot_t | An object containing a set of values |
Cmrmailbox_t | An object representing a single mailbox |
Cmrmsg_t | An object representing a single message in memory |
| mrchat_t | mrcontact_t | mrmailbox_t | ||
mrchatlist_t | mrlot_t | mrmsg_t | |||
mrarray_t | mrchat_t | mrcontact_t | mrmailbox_t | + | |
mrchatlist_t | mrlot_t | mrmsg_t | |||
mrarray_t | |||||
- Delta Chat Core C-API
-
- |
-
This document describes how to handle the Delta Chat core library.For general information about Delta Chat itself, see https://delta.chat and https://github.com/deltachat.
Let's start.
First of all, you have to define a function that is called by the library on specific events (eg. when the configuration is done or when fresh messages arrive). Your function should look like the following:
-After that, you can create and configure a mrmailbox_t object easily as follows:
-mrmailbox_configure_and_connect() may take a while and saves the result in the database. On subsequent starts, you can call mrmailbox_connect() instead if mrmailbox_is_configured() returns true.
+After that, you can create and configure a mrmailbox_t object easily as follows:
+mrmailbox_configure_and_connect() may take a while and saves the result in the database. On subsequent starts, you can call mrmailbox_connect() instead if mrmailbox_is_configured() returns true.
However, now you can send your first message:
-Now, go to the testing address (bob) and you should have received a normal email. Answer this email in any email program with "Got it!" and you will get the message from delta as follows:
-This will output the following two lines:
-I think, you got the idea. For further reading, please dive into the mrmailbox_t class.
+Now, go to the testing address (bob) and you should have received a normal email. Answer this email in any email program with "Got it!" and you will get the message from delta as follows:
+This will output the following two lines:
+I think, you got the idea. For further reading, please dive into the mrmailbox_t class.
For a class reference, see the "Classes" link atop.
The following constants are used as events reported to the callback given to mrmailbox_new(). +
The following constants are used as events reported to the callback given to mrmailbox_new(). More...
Go to the source code of this file.
@@ -103,7 +103,7 @@ MacrosThe following constants are used as events reported to the callback given to mrmailbox_new().
+The following constants are used as events reported to the callback given to mrmailbox_new().
If you do not want to handle an event, it is always safe to return 0, so there is no need to add a "case" for every event.
The user may write an informational string to the log.
-Passed to the callback given to mrmailbox_new(). This event should not be reported using a popup or something like that.
+Passed to the callback given to mrmailbox_new(). This event should not be reported using a popup or something like that.
data1 | 0 |
The user should write an warning string to the log.
-Passed to the callback given to mrmailbox_new(). This event should not be reported using a popup or something like that.
+The user should write a warning string to the log.
+Passed to the callback given to mrmailbox_new(). This event should not be reported using a popup or something like that.
data1 | 0 |
A single message is send successfully (state changed from MR_STATE_OUT_PENDING to MR_STATE_OUT_DELIVERED, see mrmsg_t::m_state).
+A single message is sent successfully (state changed from MR_STATE_OUT_PENDING to MR_STATE_OUT_DELIVERED, see mrmsg_t::m_state).