Diol can save your theme preference in this browser using local storage.
size_t EsMessageGetInputText(EsMessage *message, char *buffer);
The buffer should be 64 bytes in size.
void EsMessageMutexAcquire();
Acquires the message mutex. Call this before handling messages or touching the user interface.
void EsMessageMutexCheck();
Asserts that the current thread holds the message mutex.
void EsMessageMutexRelease();
Releases the message mutex.
EsError EsMessagePost(EsElement *target, EsMessage *message);
Queues the message for the current process's message loop and wakes it. Returns ES_ERROR_INSUFFICIENT_RESOURCES if the queue is full.
EsError EsMessagePostRemote(EsHandle process, EsMessage *message);
Queues the message for the given process's message loop. Returns an EsError.
int EsMessageSend(EsElement *object, EsMessage *message);
Sends the message synchronously to the element's user and class handlers. Returns the response, or 0 if it was not handled.
EsMessage *EsMessageReceive();
Blocks until a message is available and returns the next message for the application. Some messages are handled internally. The returned pointer is overwritten by the next call.