Class
PurpleHistoryAdapter
unstable since: 3.0
Description [src]
abstract class Purple.HistoryAdapter : GObject.Object
{
/* No available fields */
}
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
Instance methods
purple_history_adapter_remove
Tells adapter
to remove messages that match query
.
unstable since: 3.0
Properties
Purple.HistoryAdapter:id
The ID of the adapter. Used for preferences and other things that need to address it.
unstable since: 3.0
Signals
Signals inherited from GObject (1)
GObject::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
);
}
PurpleHistoryAdapterClass
defines the interface for interacting with
history adapters like sqlite, and so on.
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.remove
Tells adapter
to remove messages that match query
.
unstable since: 3.0