EOfflineListener

EOfflineListener — Tracks Evolution's online/offline state

Functions

Signals

void changed Run Last

Types and Values

Object Hierarchy

    GObject
    ╰── EOfflineListener

Description

An EOfflineListener basically just tracks Evolution's online/offline state and emits a “changed” signal when a state change is detected.

This class is highly Evolution-centric and probably not suitable for general purpose use. Frankly it should be deprecated and replaced with a D-Bus method.

Functions

e_offline_listener_new ()

EOfflineListener *
e_offline_listener_new (void);

Returns a new EOfflineListener.

Returns

a new EOfflineListener

Since 2.30


e_offline_listener_get_state ()

EOfflineListenerState
e_offline_listener_get_state (EOfflineListener *eol);

FIXME Document me!

Parameters

eol

an EOfflineListener

 

Since 2.30

Types and Values

enum EOfflineListenerState

Indicates the online/offline state of the listener.

Members

EOL_STATE_OFFLINE

Evolution is in offline mode.

 

EOL_STATE_ONLINE

Evolution is in online mode.

 

Since 2.30


struct EOfflineListener

struct EOfflineListener;

Contains only private data that should be read and manipulated using the functions below.

Since 2.30

Signal Details

The “changed” signal

void
user_function (EOfflineListener *listener,
               gpointer          user_data)

Emitted when Evolution's online/offline state changes.

Parameters

listener

the EOfflineListener that received the signal

 

user_data

user data set when the signal handler was connected.

 

Flags: Run Last