Interface
CamelSubscribable
since: 3.2
Prerequisite
In order to implement Subscribable, your type must inherit fromCamelStore
.
Instance methods
camel_subscribable_folder_subscribed
Emits the CamelSubscribable::folder-subscribed
signal from an idle source
on the main loop. The idle source’s priority is #G_PRIORITY_HIGH_IDLE.
since: 3.2
camel_subscribable_folder_unsubscribed
Emits the CamelSubscribable::folder-unsubscribed
signal from an idle source
on the main loop. The idle source’s priority is #G_PRIORITY_HIGH_IDLE.
since: 3.2
camel_subscribable_subscribe_folder
Asynchronously subscribes to the folder described by folder_name
.
since: 3.2
camel_subscribable_subscribe_folder_finish
Finishes the operation started with camel_subscribable_subscribe_folder().
since: 3.2
camel_subscribable_subscribe_folder_sync
Subscribes to the folder described by folder_name
.
since: 3.2
camel_subscribable_unsubscribe_folder
Asynchronously unsubscribes from the folder described by folder_name
.
since: 3.2
camel_subscribable_unsubscribe_folder_finish
Finishes the operation started with camel_subscribable_unsubscribe_folder().
since: 3.2
camel_subscribable_unsubscribe_folder_sync
Unsubscribes from the folder described by folder_name
.
since: 3.2
Interface structure
struct CamelSubscribableInterface {
GTypeInterface parent_interface;
gboolean (* folder_is_subscribed) (
CamelSubscribable* subscribable,
const gchar* folder_name
);
gboolean (* subscribe_folder_sync) (
CamelSubscribable* subscribable,
const gchar* folder_name,
GCancellable* cancellable,
GError** error
);
gboolean (* unsubscribe_folder_sync) (
CamelSubscribable* subscribable,
const gchar* folder_name,
GCancellable* cancellable,
GError** error
);
None reserved_methods;
void (* folder_subscribed) (
CamelSubscribable* subscribable,
CamelFolderInfo* folder_info
);
void (* folder_unsubscribed) (
CamelSubscribable* subscribable,
CamelFolderInfo* folder_info
);
None reserved_signals;
}
Interface members
parent_interface |
|
No description available. | |
folder_is_subscribed |
|
No description available. | |
subscribe_folder_sync |
|
No description available. | |
unsubscribe_folder_sync |
|
No description available. | |
reserved_methods |
|
No description available. | |
folder_subscribed |
|
No description available. | |
folder_unsubscribed |
|
No description available. | |
reserved_signals |
|
No description available. |
Virtual methods
Camel.Subscribable.folder_subscribed
Emits the CamelSubscribable::folder-subscribed
signal from an idle source
on the main loop. The idle source’s priority is #G_PRIORITY_HIGH_IDLE.
since: 3.2
Camel.Subscribable.folder_unsubscribed
Emits the CamelSubscribable::folder-unsubscribed
signal from an idle source
on the main loop. The idle source’s priority is #G_PRIORITY_HIGH_IDLE.
since: 3.2
Camel.Subscribable.subscribe_folder_sync
Subscribes to the folder described by folder_name
.
since: 3.2
Camel.Subscribable.unsubscribe_folder_sync
Unsubscribes from the folder described by folder_name
.
since: 3.2