## EBookViewListener

EBookViewListener — Listens for call responses and event notifications from EBookView objects.

## Synopsis

                EBookViewListener;
                EBookViewListenerResponse;
    enum        EBookViewListenerOperation;
    EBookViewListener* e_book_view_listener_new (void);
    void        e_book_view_listener_stop       (EBookViewListener *listener);

## Object Hierarchy

      GObject
       +----BonoboObject
             +----EBookViewListener

## Signal Prototypes

    "response"  void        user_function      (EBookViewListener *ebookviewlistener,
                                                gpointer arg1,
                                                gpointer user_data);

## Description

Exposes the Evolution:BookViewListener interface. Contrast with the EBookListener.

## Details

### EBookViewListener

    typedef struct _EBookViewListener EBookViewListener;

### EBookViewListenerResponse

    typedef struct {
    	EBookViewListenerOperation  op;

    	/* For SequenceComplete */
    	EBookViewStatus             status;

    	/* For ContactsRemovedEvent */
    	GList                  *ids;

    	/* For Contact[sAdded|Modified]Event */
    	GList                  *contacts; /* Of type EContact. */

    	/* For StatusMessageEvent */
    	char                   *message;
    } EBookViewListenerResponse;

Data sent back to the e-book object.

### enum EBookViewListenerOperation

    typedef enum {
    	/* Async events */
    	ContactsAddedEvent,
    	ContactsRemovedEvent,
    	ContactsModifiedEvent,
    	SequenceCompleteEvent,
    	StatusMessageEvent,
    } EBookViewListenerOperation;

Asynchronous events that are listened for.

### e_book_view_listener_new ()

    EBookViewListener* e_book_view_listener_new (void);

Creates and returns a new EBookViewListener.

Creation function.

Returns : | a new EBookViewListener

### e_book_view_listener_stop ()

    void        e_book_view_listener_stop       (EBookViewListener *listener);

Stops the listener.

`listener` : |

## Signals

### The "response" signal

    void        user_function                  (EBookViewListener *ebookviewlistener,
                                                gpointer arg1,
                                                gpointer user_data);

`ebookviewlistener` : | the object which received the signal.
`arg1` : |
`user_data` : | user data set when the signal handler was connected.

## See Also

EBookListener EBookTypes