## CamelOfflineStore CamelOfflineStore |

## Synopsis

    struct              CamelOfflineStore;
    gboolean            camel_offline_store_get_online      (CamelOfflineStore *store);
    gboolean            camel_offline_store_set_online_sync (CamelOfflineStore *store,
                                                             gboolean online,
                                                             GCancellable *cancellable,
                                                             GError **error);
    gboolean            camel_offline_store_prepare_for_offline_sync
                                                            (CamelOfflineStore *store,
                                                             GCancellable *cancellable,
                                                             GError **error);

## Object Hierarchy

      GObject
       +----CamelObject
             +----CamelService
                   +----CamelStore
                         +----CamelOfflineStore
                               +----CamelIMAPXStore

## Implemented Interfaces

CamelOfflineStore implements GInitable.

## Properties

      "online"                   gboolean              : Read

## Description

## Details

### struct CamelOfflineStore

    struct CamelOfflineStore;

### camel_offline_store_get_online ()

    gboolean            camel_offline_store_get_online      (CamelOfflineStore *store);

`store` : | a CamelOfflineStore
Returns : | `TRUE` if `store` is online.

Since 2.24

### camel_offline_store_set_online_sync ()

    gboolean            camel_offline_store_set_online_sync (CamelOfflineStore *store,
                                                             gboolean online,
                                                             GCancellable *cancellable,
                                                             GError **error);

Sets the online/offline state of `store` according to `online`.

`store` : | a CamelOfflineStore
`online` : | `TRUE` for online, `FALSE` for offline
`cancellable` : | optional GCancellable object, or `NULL`
`error` : | return location for a GError, or `NULL`

### camel_offline_store_prepare_for_offline_sync ()

    gboolean            camel_offline_store_prepare_for_offline_sync
                                                            (CamelOfflineStore *store,
                                                             GCancellable *cancellable,
                                                             GError **error);

Since 2.22

## Property Details

### The `"online"` property

      "online"                   gboolean              : Read

Whether the store is online.

Default value: FALSE