X-Git-Url: http://geeqie.org/cgi-bin/gitweb.cgi?p=geeqie.git;a=blobdiff_plain;f=src%2Ffilecluster.h;h=3b002dc10fb8542b1892aa7e3d59f2f926e3c484;hp=07d3be1be2887566f9bfa8ffd9b703f76eb779b0;hb=85243b64af42a1b5bd646981834eec89ec69fb6e;hpb=f2078470aaf4ea624b423f9846c0fc0ebdf9cd01 diff --git a/src/filecluster.h b/src/filecluster.h index 07d3be1b..3b002dc1 100644 --- a/src/filecluster.h +++ b/src/filecluster.h @@ -21,25 +21,6 @@ #include "main.h" -typedef struct _FileCluster FileCluster; -typedef struct _FileClusterList FileClusterList; - -// A FileCluster is a GList with HashTable access to each node (to perform contains() checks quickly). -struct _FileCluster -{ - GList *head; - GList *items; -}; - -struct _FileClusterList -{ - // All of the elements in the list, regardless of whether they're part of a cluster or not. - GList *fd_list; - - // A map from any clustered FileData to the FileCluster object that describes the cluster. - GHashTable *clusters; -}; - FileClusterList *fileclusterlist_new(); FileCluster *filecluster_new(); // internal? void fileclusterlist_free(FileClusterList *fcl);