X-Git-Url: http://pileus.org/git/?p=aweather;a=blobdiff_plain;f=src%2Fgis%2Fgpqueue.h;fp=src%2Fgis%2Fgpqueue.h;h=0000000000000000000000000000000000000000;hp=3cadf1856cc76cee6731407498f04b2a24104279;hb=00413dbcb8af54c99011668be8975e9f3a3a3646;hpb=42eaa69adc4578f47225ce8e1a7f89fdfaedffa4 diff --git a/src/gis/gpqueue.h b/src/gis/gpqueue.h deleted file mode 100644 index 3cadf18..0000000 --- a/src/gis/gpqueue.h +++ /dev/null @@ -1,63 +0,0 @@ -#if defined(G_DISABLE_SINGLE_INCLUDES) && !defined (__GLIB_H_INSIDE__) && !defined (GLIB_COMPILATION) -#error "Only can be included directly." -#endif - -#ifndef __G_PQUEUE_H__ -#define __G_PQUEUE_H__ - -G_BEGIN_DECLS - -typedef struct _GPQueueNode GPQueueNode; - -/** - * GPQueue: - * - * An opaque structure representing a priority queue. - * - * Since: 2.x - **/ -typedef struct _GPQueue GPQueue; - -/** - * GPQueueHandle: - * - * An opaque value representing one entry in a #GPQueue. - * - * Since: 2.x - **/ -typedef GPQueueNode* GPQueueHandle; - -GPQueue* g_pqueue_new (GCompareDataFunc compare_func, - gpointer *compare_userdata); - -void g_pqueue_free (GPQueue* pqueue); - -gboolean g_pqueue_is_empty (GPQueue *pqueue); - -void g_pqueue_foreach (GPQueue *pqueue, - GFunc func, - gpointer user_data); - -GPtrArray* g_pqueue_get_array (GPQueue *pqueue); - -GPQueueHandle g_pqueue_push (GPQueue *pqueue, - gpointer data); - -gpointer g_pqueue_peek (GPQueue *pqueue); - -gpointer g_pqueue_pop (GPQueue *pqueue); - -void g_pqueue_remove (GPQueue* pqueue, - GPQueueHandle entry); - -void g_pqueue_priority_changed (GPQueue* pqueue, - GPQueueHandle entry); - -void g_pqueue_priority_decreased (GPQueue* pqueue, - GPQueueHandle entry); - -void g_pqueue_clear (GPQueue* pqueue); - -G_END_DECLS - -#endif /* __G_PQUEUE_H__ */