| Top |
CamelDiscoStoreStatus
camel_disco_store_status (CamelDiscoStore *store);
camel_disco_store_status is deprecated and should not be used in newly-written code.
gboolean camel_disco_store_set_status (CamelDiscoStore *store,CamelDiscoStoreStatus status,GCancellable *cancellable,GError **error);
camel_disco_store_set_status is deprecated and should not be used in newly-written code.
Sets store
to status
. If an error occurrs and the status cannot
be set to status
, error
will be set.
store |
a disconnectable store |
|
status |
the new status |
|
cancellable |
optional GCancellable method, or |
|
error |
gboolean
camel_disco_store_can_work_offline (CamelDiscoStore *store);
camel_disco_store_can_work_offline is deprecated and should not be used in newly-written code.
whether or not store
can be used offline. (Will be
FALSE if the store is not caching data to local disk, for example.)
gboolean camel_disco_store_check_online (CamelDiscoStore *store,GError **error);
camel_disco_store_check_online is deprecated and should not be used in newly-written code.
This checks that store
is online, and sets ex
if it is not. This
can be used as a simple way to set a generic error message in ex
for operations that won't work offline.
void camel_disco_store_prepare_for_offline (CamelDiscoStore *store,GCancellable *cancellable,GError **error);
camel_disco_store_prepare_for_offline is deprecated and should not be used in newly-written code.
struct CamelDiscoStore;
CamelDiscoStore is deprecated and should not be used in newly-written code.
“online” property“online” gboolean
Whether the store is online.
Flags: Read
Default value: FALSE