diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2020-08-19 22:13:20 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2020-08-19 22:13:20 (GMT) |
commit | 92b083e7d0d8e844849c4b86f3e8276f6419bbfb (patch) | |
tree | 499f2f356dd0ec9bca25dead1c242d28467155df /src/analysis/db/collection.h | |
parent | 708c8951f58b33ac7efc1891df41e4b8ed63311b (diff) |
Restored some old broken features of the bookmarks panel.
Diffstat (limited to 'src/analysis/db/collection.h')
-rw-r--r-- | src/analysis/db/collection.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/analysis/db/collection.h b/src/analysis/db/collection.h index f381af5..6c14624 100644 --- a/src/analysis/db/collection.h +++ b/src/analysis/db/collection.h @@ -95,6 +95,18 @@ void g_db_collection_lock_unlock(GDbCollection *, bool, bool); /* Renvoie la liste des éléments rassemblés. */ GDbItem **g_db_collection_get_items(const GDbCollection *, size_t *); +/* Renvoie la liste des éléments actifs. */ +GDbItem **g_db_collection_get_last_items(GDbCollection *, size_t *); + +/* Evénements concernant les éléments actifs */ +typedef enum _ActiveItemChange +{ + AIC_ADDED, /* Ajout d'un élément */ + AIC_REMOVED, /* Retrait d'un élément */ + AIC_UPDATED, /* Mise à jour d'un élément */ + +} ActiveItemChange; + /* Procède à l'ajout d'un nouvel élément dans la collection. */ bool g_db_collection_add_item(GDbCollection *, GDbItem *); |