/* rygel-tracker-query-triplets.c generated by valac 0.42.2, the Vala compiler
 * generated from rygel-tracker-query-triplets.vala, do not modify */

/*
 * Copyright (C) 2008 Nokia Corporation.
 *
 * Author: Zeeshan Ali <zeenix@gmail.com>
 *
 * This file is part of Rygel.
 *
 * Rygel is free software; you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * Rygel is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
 */


#include <glib.h>
#include <glib-object.h>
#include <gee.h>
#include <stdlib.h>
#include <string.h>


#define RYGEL_TRACKER_TYPE_QUERY_TRIPLETS (rygel_tracker_query_triplets_get_type ())
#define RYGEL_TRACKER_QUERY_TRIPLETS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), RYGEL_TRACKER_TYPE_QUERY_TRIPLETS, RygelTrackerQueryTriplets))
#define RYGEL_TRACKER_QUERY_TRIPLETS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), RYGEL_TRACKER_TYPE_QUERY_TRIPLETS, RygelTrackerQueryTripletsClass))
#define RYGEL_TRACKER_IS_QUERY_TRIPLETS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), RYGEL_TRACKER_TYPE_QUERY_TRIPLETS))
#define RYGEL_TRACKER_IS_QUERY_TRIPLETS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), RYGEL_TRACKER_TYPE_QUERY_TRIPLETS))
#define RYGEL_TRACKER_QUERY_TRIPLETS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), RYGEL_TRACKER_TYPE_QUERY_TRIPLETS, RygelTrackerQueryTripletsClass))

typedef struct _RygelTrackerQueryTriplets RygelTrackerQueryTriplets;
typedef struct _RygelTrackerQueryTripletsClass RygelTrackerQueryTripletsClass;
typedef struct _RygelTrackerQueryTripletsPrivate RygelTrackerQueryTripletsPrivate;
enum  {
	RYGEL_TRACKER_QUERY_TRIPLETS_0_PROPERTY,
	RYGEL_TRACKER_QUERY_TRIPLETS_NUM_PROPERTIES
};
static GParamSpec* rygel_tracker_query_triplets_properties[RYGEL_TRACKER_QUERY_TRIPLETS_NUM_PROPERTIES];

#define RYGEL_TRACKER_TYPE_QUERY_TRIPLET (rygel_tracker_query_triplet_get_type ())
#define RYGEL_TRACKER_QUERY_TRIPLET(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), RYGEL_TRACKER_TYPE_QUERY_TRIPLET, RygelTrackerQueryTriplet))
#define RYGEL_TRACKER_QUERY_TRIPLET_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), RYGEL_TRACKER_TYPE_QUERY_TRIPLET, RygelTrackerQueryTripletClass))
#define RYGEL_TRACKER_IS_QUERY_TRIPLET(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), RYGEL_TRACKER_TYPE_QUERY_TRIPLET))
#define RYGEL_TRACKER_IS_QUERY_TRIPLET_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), RYGEL_TRACKER_TYPE_QUERY_TRIPLET))
#define RYGEL_TRACKER_QUERY_TRIPLET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), RYGEL_TRACKER_TYPE_QUERY_TRIPLET, RygelTrackerQueryTripletClass))

typedef struct _RygelTrackerQueryTriplet RygelTrackerQueryTriplet;
typedef struct _RygelTrackerQueryTripletClass RygelTrackerQueryTripletClass;
#define _rygel_tracker_query_triplet_unref0(var) ((var == NULL) ? NULL : (var = (rygel_tracker_query_triplet_unref (var), NULL)))
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
typedef struct _RygelTrackerQueryTripletPrivate RygelTrackerQueryTripletPrivate;
#define _g_free0(var) (var = (g_free (var), NULL))

struct _RygelTrackerQueryTriplets {
	GeeArrayList parent_instance;
	RygelTrackerQueryTripletsPrivate * priv;
};

struct _RygelTrackerQueryTripletsClass {
	GeeArrayListClass parent_class;
};

struct _RygelTrackerQueryTriplet {
	GTypeInstance parent_instance;
	volatile int ref_count;
	RygelTrackerQueryTripletPrivate * priv;
	gchar* graph;
	gchar* subject;
	gchar* predicate;
	gchar* obj;
	RygelTrackerQueryTriplet* next;
};

struct _RygelTrackerQueryTripletClass {
	GTypeClass parent_class;
	void (*finalize) (RygelTrackerQueryTriplet *self);
};


static gpointer rygel_tracker_query_triplets_parent_class = NULL;

GType rygel_tracker_query_triplets_get_type (void) G_GNUC_CONST;
RygelTrackerQueryTriplets* rygel_tracker_query_triplets_new (void);
RygelTrackerQueryTriplets* rygel_tracker_query_triplets_construct (GType object_type);
gpointer rygel_tracker_query_triplet_ref (gpointer instance);
void rygel_tracker_query_triplet_unref (gpointer instance);
GParamSpec* rygel_tracker_param_spec_query_triplet (const gchar* name,
                                                    const gchar* nick,
                                                    const gchar* blurb,
                                                    GType object_type,
                                                    GParamFlags flags);
void rygel_tracker_value_set_query_triplet (GValue* value,
                                            gpointer v_object);
void rygel_tracker_value_take_query_triplet (GValue* value,
                                             gpointer v_object);
gpointer rygel_tracker_value_get_query_triplet (const GValue* value);
GType rygel_tracker_query_triplet_get_type (void) G_GNUC_CONST;
gboolean rygel_tracker_query_triplet_equal_func (RygelTrackerQueryTriplet* a,
                                                 RygelTrackerQueryTriplet* b);
RygelTrackerQueryTriplets* rygel_tracker_query_triplets_new_clone (RygelTrackerQueryTriplets* triplets);
RygelTrackerQueryTriplets* rygel_tracker_query_triplets_construct_clone (GType object_type,
                                                                         RygelTrackerQueryTriplets* triplets);
RygelTrackerQueryTriplet* rygel_tracker_query_triplet_new_clone (RygelTrackerQueryTriplet* triplet);
RygelTrackerQueryTriplet* rygel_tracker_query_triplet_construct_clone (GType object_type,
                                                                       RygelTrackerQueryTriplet* triplet);
gchar* rygel_tracker_query_triplets_serialize (RygelTrackerQueryTriplets* self);
gchar* rygel_tracker_query_triplet_to_string (RygelTrackerQueryTriplet* self,
                                              gboolean include_subject);
static gboolean rygel_tracker_query_triplets_check_graph_change (RygelTrackerQueryTriplets* self,
                                                          gint i);
static gboolean rygel_tracker_query_triplets_real_add (GeeAbstractCollection* base,
                                                RygelTrackerQueryTriplet* triplet);


RygelTrackerQueryTriplets*
rygel_tracker_query_triplets_construct (GType object_type)
{
	RygelTrackerQueryTriplets * self = NULL;
	self = (RygelTrackerQueryTriplets*) gee_array_list_construct (object_type, RYGEL_TRACKER_TYPE_QUERY_TRIPLET, (GBoxedCopyFunc) rygel_tracker_query_triplet_ref, (GDestroyNotify) rygel_tracker_query_triplet_unref, (GeeEqualDataFunc) rygel_tracker_query_triplet_equal_func, NULL, NULL);
	return self;
}


RygelTrackerQueryTriplets*
rygel_tracker_query_triplets_new (void)
{
	return rygel_tracker_query_triplets_construct (RYGEL_TRACKER_TYPE_QUERY_TRIPLETS);
}


static gpointer
_g_object_ref0 (gpointer self)
{
	return self ? g_object_ref (self) : NULL;
}


RygelTrackerQueryTriplets*
rygel_tracker_query_triplets_construct_clone (GType object_type,
                                              RygelTrackerQueryTriplets* triplets)
{
	RygelTrackerQueryTriplets * self = NULL;
	g_return_val_if_fail (triplets != NULL, NULL);
	self = (RygelTrackerQueryTriplets*) gee_array_list_construct (object_type, RYGEL_TRACKER_TYPE_QUERY_TRIPLET, (GBoxedCopyFunc) rygel_tracker_query_triplet_ref, (GDestroyNotify) rygel_tracker_query_triplet_unref, (GeeEqualDataFunc) rygel_tracker_query_triplet_equal_func, NULL, NULL);
	{
		RygelTrackerQueryTriplets* _triplet_list = NULL;
		RygelTrackerQueryTriplets* _tmp0_;
		gint _triplet_size = 0;
		RygelTrackerQueryTriplets* _tmp1_;
		gint _tmp2_;
		gint _tmp3_;
		gint _triplet_index = 0;
		_tmp0_ = _g_object_ref0 (triplets);
		_triplet_list = _tmp0_;
		_tmp1_ = _triplet_list;
		_tmp2_ = gee_abstract_collection_get_size ((GeeAbstractCollection*) _tmp1_);
		_tmp3_ = _tmp2_;
		_triplet_size = _tmp3_;
		_triplet_index = -1;
		while (TRUE) {
			gint _tmp4_;
			gint _tmp5_;
			gint _tmp6_;
			RygelTrackerQueryTriplet* triplet = NULL;
			RygelTrackerQueryTriplets* _tmp7_;
			gint _tmp8_;
			gpointer _tmp9_;
			RygelTrackerQueryTriplet* _tmp10_;
			RygelTrackerQueryTriplet* _tmp11_;
			RygelTrackerQueryTriplet* _tmp12_;
			_tmp4_ = _triplet_index;
			_triplet_index = _tmp4_ + 1;
			_tmp5_ = _triplet_index;
			_tmp6_ = _triplet_size;
			if (!(_tmp5_ < _tmp6_)) {
				break;
			}
			_tmp7_ = _triplet_list;
			_tmp8_ = _triplet_index;
			_tmp9_ = gee_abstract_list_get ((GeeAbstractList*) _tmp7_, _tmp8_);
			triplet = (RygelTrackerQueryTriplet*) _tmp9_;
			_tmp10_ = triplet;
			_tmp11_ = rygel_tracker_query_triplet_new_clone (_tmp10_);
			_tmp12_ = _tmp11_;
			gee_abstract_collection_add ((GeeAbstractCollection*) self, _tmp12_);
			_rygel_tracker_query_triplet_unref0 (_tmp12_);
			_rygel_tracker_query_triplet_unref0 (triplet);
		}
		_g_object_unref0 (_triplet_list);
	}
	return self;
}


RygelTrackerQueryTriplets*
rygel_tracker_query_triplets_new_clone (RygelTrackerQueryTriplets* triplets)
{
	return rygel_tracker_query_triplets_construct_clone (RYGEL_TRACKER_TYPE_QUERY_TRIPLETS, triplets);
}


gchar*
rygel_tracker_query_triplets_serialize (RygelTrackerQueryTriplets* self)
{
	gchar* result = NULL;
	gchar* str = NULL;
	gchar* _tmp0_;
	gboolean include_subject = FALSE;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = g_strdup ("");
	str = _tmp0_;
	include_subject = TRUE;
	{
		gint i = 0;
		i = 0;
		{
			gboolean _tmp1_ = FALSE;
			_tmp1_ = TRUE;
			while (TRUE) {
				gint _tmp3_;
				gint _tmp4_;
				gint _tmp5_;
				gboolean _tmp6_ = FALSE;
				gint _tmp7_;
				gpointer _tmp8_;
				RygelTrackerQueryTriplet* _tmp9_;
				const gchar* _tmp10_;
				gboolean _tmp11_;
				const gchar* _tmp21_;
				gint _tmp22_;
				gpointer _tmp23_;
				RygelTrackerQueryTriplet* _tmp24_;
				gboolean _tmp25_;
				gchar* _tmp26_;
				gchar* _tmp27_;
				gchar* _tmp28_;
				gint _tmp29_;
				gint _tmp30_;
				gint _tmp31_;
				if (!_tmp1_) {
					gint _tmp2_;
					_tmp2_ = i;
					i = _tmp2_ + 1;
				}
				_tmp1_ = FALSE;
				_tmp3_ = i;
				_tmp4_ = gee_abstract_collection_get_size ((GeeAbstractCollection*) self);
				_tmp5_ = _tmp4_;
				if (!(_tmp3_ < _tmp5_)) {
					break;
				}
				_tmp7_ = i;
				_tmp8_ = gee_abstract_list_get ((GeeAbstractList*) self, _tmp7_);
				_tmp9_ = (RygelTrackerQueryTriplet*) _tmp8_;
				_tmp10_ = _tmp9_->graph;
				_tmp11_ = _tmp10_ != NULL;
				_rygel_tracker_query_triplet_unref0 (_tmp9_);
				if (_tmp11_) {
					gboolean _tmp12_;
					_tmp12_ = include_subject;
					_tmp6_ = _tmp12_;
				} else {
					_tmp6_ = FALSE;
				}
				if (_tmp6_) {
					const gchar* _tmp13_;
					gint _tmp14_;
					gpointer _tmp15_;
					RygelTrackerQueryTriplet* _tmp16_;
					const gchar* _tmp17_;
					gchar* _tmp18_;
					gchar* _tmp19_;
					gchar* _tmp20_;
					_tmp13_ = str;
					_tmp14_ = i;
					_tmp15_ = gee_abstract_list_get ((GeeAbstractList*) self, _tmp14_);
					_tmp16_ = (RygelTrackerQueryTriplet*) _tmp15_;
					_tmp17_ = _tmp16_->graph;
					_tmp18_ = g_strdup_printf ("GRAPH <%s> {", _tmp17_);
					_tmp19_ = _tmp18_;
					_tmp20_ = g_strconcat (_tmp13_, _tmp19_, NULL);
					_g_free0 (str);
					str = _tmp20_;
					_g_free0 (_tmp19_);
					_rygel_tracker_query_triplet_unref0 (_tmp16_);
				}
				_tmp21_ = str;
				_tmp22_ = i;
				_tmp23_ = gee_abstract_list_get ((GeeAbstractList*) self, _tmp22_);
				_tmp24_ = (RygelTrackerQueryTriplet*) _tmp23_;
				_tmp25_ = include_subject;
				_tmp26_ = rygel_tracker_query_triplet_to_string (_tmp24_, _tmp25_);
				_tmp27_ = _tmp26_;
				_tmp28_ = g_strconcat (_tmp21_, _tmp27_, NULL);
				_g_free0 (str);
				str = _tmp28_;
				_g_free0 (_tmp27_);
				_rygel_tracker_query_triplet_unref0 (_tmp24_);
				_tmp29_ = i;
				_tmp30_ = gee_abstract_collection_get_size ((GeeAbstractCollection*) self);
				_tmp31_ = _tmp30_;
				if (_tmp29_ < (_tmp31_ - 1)) {
					gboolean _tmp32_ = FALSE;
					gint _tmp33_;
					gpointer _tmp34_;
					RygelTrackerQueryTriplet* _tmp35_;
					const gchar* _tmp36_;
					gint _tmp37_;
					gpointer _tmp38_;
					RygelTrackerQueryTriplet* _tmp39_;
					const gchar* _tmp40_;
					gboolean _tmp41_;
					gboolean _tmp43_;
					_tmp33_ = i;
					_tmp34_ = gee_abstract_list_get ((GeeAbstractList*) self, _tmp33_);
					_tmp35_ = (RygelTrackerQueryTriplet*) _tmp34_;
					_tmp36_ = _tmp35_->subject;
					_tmp37_ = i;
					_tmp38_ = gee_abstract_list_get ((GeeAbstractList*) self, _tmp37_ + 1);
					_tmp39_ = (RygelTrackerQueryTriplet*) _tmp38_;
					_tmp40_ = _tmp39_->subject;
					_tmp41_ = g_strcmp0 (_tmp36_, _tmp40_) != 0;
					_rygel_tracker_query_triplet_unref0 (_tmp39_);
					_rygel_tracker_query_triplet_unref0 (_tmp35_);
					if (_tmp41_) {
						_tmp32_ = TRUE;
					} else {
						gint _tmp42_;
						_tmp42_ = i;
						_tmp32_ = rygel_tracker_query_triplets_check_graph_change (self, _tmp42_);
					}
					include_subject = _tmp32_;
					_tmp43_ = include_subject;
					if (_tmp43_) {
						const gchar* _tmp44_;
						gchar* _tmp45_;
						gint _tmp46_;
						gpointer _tmp47_;
						RygelTrackerQueryTriplet* _tmp48_;
						const gchar* _tmp49_;
						gboolean _tmp50_;
						_tmp44_ = str;
						_tmp45_ = g_strconcat (_tmp44_, " . ", NULL);
						_g_free0 (str);
						str = _tmp45_;
						_tmp46_ = i;
						_tmp47_ = gee_abstract_list_get ((GeeAbstractList*) self, _tmp46_);
						_tmp48_ = (RygelTrackerQueryTriplet*) _tmp47_;
						_tmp49_ = _tmp48_->graph;
						_tmp50_ = _tmp49_ != NULL;
						_rygel_tracker_query_triplet_unref0 (_tmp48_);
						if (_tmp50_) {
							const gchar* _tmp51_;
							gchar* _tmp52_;
							_tmp51_ = str;
							_tmp52_ = g_strconcat (_tmp51_, "} ", NULL);
							_g_free0 (str);
							str = _tmp52_;
						}
					} else {
						const gchar* _tmp53_;
						gchar* _tmp54_;
						_tmp53_ = str;
						_tmp54_ = g_strconcat (_tmp53_, " ; ", NULL);
						_g_free0 (str);
						str = _tmp54_;
					}
				} else {
					gint _tmp55_;
					gpointer _tmp56_;
					RygelTrackerQueryTriplet* _tmp57_;
					const gchar* _tmp58_;
					gboolean _tmp59_;
					_tmp55_ = i;
					_tmp56_ = gee_abstract_list_get ((GeeAbstractList*) self, _tmp55_);
					_tmp57_ = (RygelTrackerQueryTriplet*) _tmp56_;
					_tmp58_ = _tmp57_->graph;
					_tmp59_ = _tmp58_ != NULL;
					_rygel_tracker_query_triplet_unref0 (_tmp57_);
					if (_tmp59_) {
						const gchar* _tmp60_;
						gchar* _tmp61_;
						_tmp60_ = str;
						_tmp61_ = g_strconcat (_tmp60_, " . } ", NULL);
						_g_free0 (str);
						str = _tmp61_;
					}
				}
			}
		}
	}
	result = str;
	return result;
}


static gboolean
rygel_tracker_query_triplets_real_add (GeeAbstractCollection* base,
                                       RygelTrackerQueryTriplet* triplet)
{
	RygelTrackerQueryTriplets * self;
	gboolean result = FALSE;
	self = (RygelTrackerQueryTriplets*) base;
	g_return_val_if_fail (triplet != NULL, FALSE);
	if (!gee_abstract_collection_contains ((GeeAbstractCollection*) self, triplet)) {
		result = GEE_ABSTRACT_COLLECTION_CLASS (rygel_tracker_query_triplets_parent_class)->add ((GeeAbstractCollection*) G_TYPE_CHECK_INSTANCE_CAST (self, GEE_TYPE_ARRAY_LIST, GeeArrayList), triplet);
		return result;
	}
	result = FALSE;
	return result;
}


static gboolean
rygel_tracker_query_triplets_check_graph_change (RygelTrackerQueryTriplets* self,
                                                 gint i)
{
	gboolean result = FALSE;
	gboolean _tmp0_ = FALSE;
	gboolean _tmp1_ = FALSE;
	gboolean _tmp2_ = FALSE;
	gpointer _tmp3_;
	RygelTrackerQueryTriplet* _tmp4_;
	const gchar* _tmp5_;
	gboolean _tmp6_;
	g_return_val_if_fail (self != NULL, FALSE);
	_tmp3_ = gee_abstract_list_get ((GeeAbstractList*) self, i);
	_tmp4_ = (RygelTrackerQueryTriplet*) _tmp3_;
	_tmp5_ = _tmp4_->graph;
	_tmp6_ = _tmp5_ == NULL;
	_rygel_tracker_query_triplet_unref0 (_tmp4_);
	if (_tmp6_) {
		gpointer _tmp7_;
		RygelTrackerQueryTriplet* _tmp8_;
		const gchar* _tmp9_;
		_tmp7_ = gee_abstract_list_get ((GeeAbstractList*) self, i + 1);
		_tmp8_ = (RygelTrackerQueryTriplet*) _tmp7_;
		_tmp9_ = _tmp8_->graph;
		_tmp2_ = _tmp9_ != NULL;
		_rygel_tracker_query_triplet_unref0 (_tmp8_);
	} else {
		_tmp2_ = FALSE;
	}
	if (_tmp2_) {
		_tmp1_ = TRUE;
	} else {
		gboolean _tmp10_ = FALSE;
		gpointer _tmp11_;
		RygelTrackerQueryTriplet* _tmp12_;
		const gchar* _tmp13_;
		gboolean _tmp14_;
		_tmp11_ = gee_abstract_list_get ((GeeAbstractList*) self, i);
		_tmp12_ = (RygelTrackerQueryTriplet*) _tmp11_;
		_tmp13_ = _tmp12_->graph;
		_tmp14_ = _tmp13_ != NULL;
		_rygel_tracker_query_triplet_unref0 (_tmp12_);
		if (_tmp14_) {
			gpointer _tmp15_;
			RygelTrackerQueryTriplet* _tmp16_;
			const gchar* _tmp17_;
			_tmp15_ = gee_abstract_list_get ((GeeAbstractList*) self, i + 1);
			_tmp16_ = (RygelTrackerQueryTriplet*) _tmp15_;
			_tmp17_ = _tmp16_->graph;
			_tmp10_ = _tmp17_ == NULL;
			_rygel_tracker_query_triplet_unref0 (_tmp16_);
		} else {
			_tmp10_ = FALSE;
		}
		_tmp1_ = _tmp10_;
	}
	if (_tmp1_) {
		_tmp0_ = TRUE;
	} else {
		gpointer _tmp18_;
		RygelTrackerQueryTriplet* _tmp19_;
		const gchar* _tmp20_;
		gpointer _tmp21_;
		RygelTrackerQueryTriplet* _tmp22_;
		const gchar* _tmp23_;
		_tmp18_ = gee_abstract_list_get ((GeeAbstractList*) self, i);
		_tmp19_ = (RygelTrackerQueryTriplet*) _tmp18_;
		_tmp20_ = _tmp19_->graph;
		_tmp21_ = gee_abstract_list_get ((GeeAbstractList*) self, i + 1);
		_tmp22_ = (RygelTrackerQueryTriplet*) _tmp21_;
		_tmp23_ = _tmp22_->graph;
		_tmp0_ = g_strcmp0 (_tmp20_, _tmp23_) != 0;
		_rygel_tracker_query_triplet_unref0 (_tmp22_);
		_rygel_tracker_query_triplet_unref0 (_tmp19_);
	}
	result = _tmp0_;
	return result;
}


static void
rygel_tracker_query_triplets_class_init (RygelTrackerQueryTripletsClass * klass)
{
	rygel_tracker_query_triplets_parent_class = g_type_class_peek_parent (klass);
	((GeeAbstractCollectionClass *) klass)->add = (gboolean (*) (GeeAbstractCollection *, gconstpointer)) rygel_tracker_query_triplets_real_add;
}


static void
rygel_tracker_query_triplets_instance_init (RygelTrackerQueryTriplets * self)
{
}


/**
 * Represents a list of SPARQL Triplet
 */
GType
rygel_tracker_query_triplets_get_type (void)
{
	static volatile gsize rygel_tracker_query_triplets_type_id__volatile = 0;
	if (g_once_init_enter (&rygel_tracker_query_triplets_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (RygelTrackerQueryTripletsClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) rygel_tracker_query_triplets_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (RygelTrackerQueryTriplets), 0, (GInstanceInitFunc) rygel_tracker_query_triplets_instance_init, NULL };
		GType rygel_tracker_query_triplets_type_id;
		rygel_tracker_query_triplets_type_id = g_type_register_static (GEE_TYPE_ARRAY_LIST, "RygelTrackerQueryTriplets", &g_define_type_info, 0);
		g_once_init_leave (&rygel_tracker_query_triplets_type_id__volatile, rygel_tracker_query_triplets_type_id);
	}
	return rygel_tracker_query_triplets_type_id__volatile;
}



