Class

PurpleHistoryAdapter

Description [src]

abstract class Purple.HistoryAdapter : GObject.Object {
  parent_instance: GObject
}

PurpleHistoryAdapter is a base class that should be sub classed by history adapters. It defines the behavior of all history adapters and implements some shared properties.

Available since:3.0.0

Ancestors

Instance methods

purple_history_adapter_get_id

Gets the identifier of adapter.

Available since: 3.0.0

purple_history_adapter_get_name

Gets the name of adapter.

Available since: 3.0.0

purple_history_adapter_query

Runs query against adapter.

Available since: 3.0.0

purple_history_adapter_remove

Tells adapter to remove messages that match query.

Available since: 3.0.0

purple_history_adapter_write

Writes a message to the adapter.

Available since: 3.0.0

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Purple.HistoryAdapter:id
No description available.
Purple.HistoryAdapter:name
No description available.

Signals

Signals inherited from GObject (1)
GObject.Object::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct PurpleHistoryAdapterClass {
  gboolean (* activate) (
    PurpleHistoryAdapter* adapter,
    GError** error
  );
  gboolean (* deactivate) (
    PurpleHistoryAdapter* adapter,
    GError** error
  );
  GList* (* query) (
    PurpleHistoryAdapter* adapter,
    const gchar* query,
    GError** error
  );
  gboolean (* remove) (
    PurpleHistoryAdapter* adapter,
    const gchar* query,
    GError** error
  );
  gboolean (* write) (
    PurpleHistoryAdapter* adapter,
    PurpleConversation* conversation,
    PurpleMessage* message,
    GError** error
  );
  
}
Class members
activate
gboolean (* activate) (
    PurpleHistoryAdapter* adapter,
    GError** error
  )
  No description available.
deactivate
gboolean (* deactivate) (
    PurpleHistoryAdapter* adapter,
    GError** error
  )
  No description available.
query
GList* (* query) (
    PurpleHistoryAdapter* adapter,
    const gchar* query,
    GError** error
  )
  No description available.
remove
gboolean (* remove) (
    PurpleHistoryAdapter* adapter,
    const gchar* query,
    GError** error
  )
  No description available.
write
gboolean (* write) (
    PurpleHistoryAdapter* adapter,
    PurpleConversation* conversation,
    PurpleMessage* message,
    GError** error
  )
  No description available.

Virtual methods

Purple.HistoryAdapterClass.activate
No description available.
Purple.HistoryAdapterClass.deactivate
No description available.
Purple.HistoryAdapterClass.query

Runs query against adapter.

Available since: 3.0.0

Purple.HistoryAdapterClass.remove

Tells adapter to remove messages that match query.

Available since: 3.0.0

Purple.HistoryAdapterClass.write

Writes a message to the adapter.

Available since: 3.0.0